hide an instance by particle ID

28 views
Skip to first unread message

john clausing

unread,
Aug 10, 2012, 11:36:11 AM8/10/12
to softimage list softimage list
i have a particle cloud with geo instances attatched to them.......
in some cases, i need to "hide" the instances and replace them with actual geometry.

normally, i would just delete these associated particles by ID, however, i still need the particles to generate pose information for the practicle geo and "constrain" them ("transform objects by particle") to the generated particles.

alternatively, i could plot the animation, then delete the particle, but i want to keep it all live.

is there anyway to selectively hide instanced geometry by ID?

thanks all,

john

Alan Fregtman

unread,
Aug 10, 2012, 11:39:05 AM8/10/12
to john clausing, soft...@listproc.autodesk.com
You could set their self.Shape to "Point" by testing their indices and they won't render (without a pointcloud renderer/shader.)

john clausing

unread,
Aug 10, 2012, 11:44:05 AM8/10/12
to Alan Fregtman, soft...@listproc.autodesk.com
that with a string and string array, worked perfectly.....

thanks as alway Alan.!

john



From: Alan Fregtman <alan.f...@gmail.com>
To: john clausing <jclau...@yahoo.com>; soft...@listproc.autodesk.com
Sent: Friday, August 10, 2012 11:39 AM
Subject: Re: hide an instance by particle ID

Alan Fregtman

unread,
Aug 10, 2012, 11:49:09 AM8/10/12
to john clausing, soft...@listproc.autodesk.com
Happy to help! :)

If you want to restore the instance shape after, you could technically get self.Shape and set it to a custom attribute when you're setting your instance shapes, say self.OriginalShape, then when you wanna switch back to the instanceshape, read that custom attribute and set self.Shape with its data.

Peter Agg

unread,
Aug 10, 2012, 12:00:57 PM8/10/12
to soft...@listproc.autodesk.com
How would it react to having the shape set as an empty polymesh? I know it used to insta-kill mental ray if you tried doing that, but is that still the case now we have the Empty Poly Mesh as an actual 'thing'?

Alan Fregtman

unread,
Aug 10, 2012, 12:44:01 PM8/10/12
to soft...@listproc.autodesk.com
Should work I guess. I prefer the Point shape though; it's lighter.
Reply all
Reply to author
Forward
0 new messages