Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® Maya® / Python / nParticle PP attributes?
  RSS 2.0 ATOM  

nParticle PP attributes?
Rate this thread
 
60152
 
Permlink of this thread  
avatar
  • Muttsy
  • Posted: 19 September 2011 10:52 AM
  • Total Posts: 1
  • Joined: 25 January 2010 10:25 AM

I have been writing a python script recently and would like to give my nParticles there own UV coordinates per particle. So as they cruise along in space I can change a texture map associated with them and use colorAtPoint, but not have to look up their UV coordinate every frame. As far as I can figure you can only give a PP attribute either a single Float value in an array or a vector value in an array. Is there a way to just pass a particle only 2 values for the vector and have it ignore the third when it returns the vector when it’s called? Are there more PP data types that I don’t know exist and that I need to be enlightened about? Or would it be easier just to make two single float array PP attributes and store the U separately from the V?



Replies: 0