mans83
07-13-2009, 02:46 PM
I'm having problems with sprites.
When I render sprites with Hardware Rendering I don't get the same results as in my viewport.
It seems that the expressions I use in -Creation- "mode" are evaluated in -Runtime before Dynamics- "mode" while rendering.
This is what I have under Creation:
nParticleShape1.spriteScaleXPP = rand(.1,1);
nParticleShape1.spriteScaleYPP = nParticleShape1.spriteScaleXPP;
This should give the sprites a random scale at birth, but they get a random scale every frame
The same happens with twisting the particle.
I use nParticles and a spritesequence of 5 images.
I run Autodesk Maya 2009 Service Pack 1a x64 on XP.
I have attached the project file.
Any help greatly appreciated.
When I render sprites with Hardware Rendering I don't get the same results as in my viewport.
It seems that the expressions I use in -Creation- "mode" are evaluated in -Runtime before Dynamics- "mode" while rendering.
This is what I have under Creation:
nParticleShape1.spriteScaleXPP = rand(.1,1);
nParticleShape1.spriteScaleYPP = nParticleShape1.spriteScaleXPP;
This should give the sprites a random scale at birth, but they get a random scale every frame
The same happens with twisting the particle.
I use nParticles and a spritesequence of 5 images.
I run Autodesk Maya 2009 Service Pack 1a x64 on XP.
I have attached the project file.
Any help greatly appreciated.
