I created an otl that takes in source points and copies geometry created inside the otl to those points.
When brought into maya, and a normal particle is attached it works fine, but if nparticles are attached it does not copy the geometry to those particles.
Is there something I have to do with the nparticles to get them to work?
nparticles as source points?
3118 9 1- tboyce
- Member
- 22 posts
- Joined: June 2013
- Offline
- awong
- Member
- 818 posts
- Joined: Sept. 2013
- Offline
- tboyce
- Member
- 22 posts
- Joined: June 2013
- Offline
Ok, I didn't know about syncing but that worked like a charm.
I have a second question though, I'm trying to drive a channel based on the nparticle's age.
My initial attempt using $AGE doesn't seem to be working - is the nparticles' age remapped into houdini's $AGE attribute? Is there some other way I need to be going about this?
Thanks for the help!
I have a second question though, I'm trying to drive a channel based on the nparticle's age.
My initial attempt using $AGE doesn't seem to be working - is the nparticles' age remapped into houdini's $AGE attribute? Is there some other way I need to be going about this?
Thanks for the help!
______________________
Todd Boyce
Todd Boyce
- awong
- Member
- 818 posts
- Joined: Sept. 2013
- Offline
Hm, looks like the age attribute is not being mapped to Houdini Engine. The plugin uses the MEL “particle -q -perParticleDouble nParticleShape1” to list out the per-particle attributes to map. However, that list doesn't include age for some reasons. Let me look into adding it. It should be fairly straightforward.
Andrew / アンドリュー
- tboyce
- Member
- 22 posts
- Joined: June 2013
- Offline
- awong
- Member
- 818 posts
- Joined: Sept. 2013
- Offline
Having the age attribute doesn't mean you can access it right away with the $AGE variable. You would have to use attribCreate SOP to map the “age” attribute to the “AGE” variable.
Also, if you use Debugging -> View Assets in Houdini, you can see a snapshot of the Houdini Engine state. This is useful for debugging. For example, this lets you see what data is available in the input geometry.
Also, if you use Debugging -> View Assets in Houdini, you can see a snapshot of the Houdini Engine state. This is useful for debugging. For example, this lets you see what data is available in the input geometry.
Andrew / アンドリュー
- tboyce
- Member
- 22 posts
- Joined: June 2013
- Offline
- awong
- Member
- 818 posts
- Joined: Sept. 2013
- Offline
- tboyce
- Member
- 22 posts
- Joined: June 2013
- Offline
- awong
- Member
- 818 posts
- Joined: Sept. 2013
- Offline
-
- Quick Links