Community
Arnold for Cinema 4D Forum
Rendering with Arnold in CINEMA 4D using the C4DtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

X-particles multishader

6 REPLIES 6
Reply
Message 1 of 7
mikkelsandner
322 Views, 6 Replies

X-particles multishader

Hi,

I am new to X-Particles so hope anyone can give me a helping hand using Arnold to render it.

I have set up my x-particles animation which is a bunch of planes(xpGenerator) on a floor that gradually covers a character.
Would anyone know how I can use Arnold render in Cinema 4D to render this?

What I am after is to add different images to my plane objects in the xpGenerator. But I can't see any texture on my xpGenerator object when using Arnold render.

Any suggestions how to do this?

Thanks,

Mikkel

Tags (1)
Labels (1)
6 REPLIES 6
Message 2 of 7

Do you need a random texture per plane or something more specific?

Message 3 of 7

Yes a random texture per plane would be great. I know how to create a multishader when using a cloner, but I have no clue how to do it when rendering x-particles.

Message 4 of 7

If you need random textures the workflow is not much different than with a Cloner. You can use a utility shader with the object id to drive a switch shader which selects from a range of textures. Check out this scene, just connect your textures to the switch shader inputs.

xpgenerator.zip

Message 5 of 7

Hi Peter,

Thanks that seem to work. However, its not using the all the inputs in the switch node.

When I do this using a cloner I usually follow this method:
https://inlifethrill.com/c4dtoa-1-recreating-mograph-multi-shader/
Only difference is that I add a color correct node after the utility with gamma 2.2.
That way most of inputs are shown.

Would you know how to display all the inputs when using x-particles?

Thanks,
Mikkel

Message 6 of 7

Made some changes here, hopefully this will now work as you expect: xpgenerator_v02.zip

You don't need a gamma. Basically what's happening is, that the utility produces a random color per object, I added a random shader to make the distribution better and make the output grayscale, then this is scaled up to the number of inputs via the range shader (5 in this eample). I also added an float_to_int shader to do rounding instead of floor and this drives the switch shader to select an input.

Message 7 of 7

Thanks, Peter!
This works great.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report