PDA

View Full Version : Blobby Surface - particle transparency


daliwonga
08-25-2004, 02:15 PM
I want to change the transparency of 'Blobby Surface' particles during the particle lifespan.
Although the variable opacityPP is listed, creating expressions doesn't have any affect. From the help files:
'Do not add a per object or per particle opacity attribute to a software render particle type. The attribute value has no effect when you software render the scene.'
Is there any workaround to change the transparency of 'Blobby Surface' particles on a PP basis with expressions?

noxy
08-25-2004, 08:16 PM
Sure, since blobbies use a typical Maya shader, create a particle sampler info node and connect the outTransparency into the transparency of the shader. Any OpacityPP rules will be piped into the shader. works great for custom userScalarPP and userVectorPP into various shader attributes.

noxy

daliwonga
08-26-2004, 03:51 PM
@noxy: thanks for replying.
Unfortunately I cannot get this working for 'Blobby Surface' particles.
I tried the tutorial 'Create raytraced shadows with particles - Example: Using the particles age to color particles' (avail from help section) but this only works for 'Clouds (s/w)' and 'Tubes (s/w)'. When I change particles to 'Blobby Surface', the colouring no longer works.
It would be great if someone could tell me how to get this tut working for blobbies.

noxy
08-26-2004, 07:16 PM
It sounds like you're using the particleCloud shader, which can't be used for blobby particles, only a typical surface shader (like blinn or lambert). If you set up an age ramp in the particle shape throught the rgbPP attribute, you can then use the ParticleSamplerInfo node to pipe that into the shader on the particles. Remember, everything hinges on the ParticleSamplerInfo node, so read up on that in the docs.

Noxy

@noxy: thanks for replying.
Unfortunately I cannot get this working for 'Blobby Surface' particles.
I tried the tutorial 'Create raytraced shadows with particles - Example: Using the particles age to color particles' (avail from help section) but this only works for 'Clouds (s/w)' and 'Tubes (s/w)'. When I change particles to 'Blobby Surface', the colouring no longer works.
It would be great if someone could tell me how to get this tut working for blobbies.

daliwonga
08-26-2004, 09:51 PM
@noxy: thx for explaining again; all is ok now.

CGTalk Moderation
01-19-2006, 01:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.