Solaris getting explorevariants to randomize instances

   2071   3   3
User Avatar
Member
697 posts
Joined: Aug. 2013
Offline
Hi.

I am planning on teaching a few layout things in Solaris on Monday. I have made an object with variants of a blue box and a redish sphere.

I am trying to scatter them using the: layout LOP, Copy to points LOP and the Instancer LOP. Just to show three ways to work on layout.

I know I am really close, but I am not able to get the explore instance to randomly switch between the two shapes correctly on any of the three examples. Has anyone go this to work? I have been Googling and found some answers but not all. Thanks in advance!

Best

Mark

Attachments:
vatiantsTest.JPG (223.3 KB)
variantsTest.hipnc (591.6 KB)

User Avatar
Staff
412 posts
Joined: Feb. 2008
Online
The instancer LOP emits a warning message
Primitive is embedded in a composition arc: /explorevariants1/shapes/geo_box_mtl_componentmaterial3
It would be necessary to flatten the stage to access it.

If you add a Configure Layer LOP after the explore variants, set it to flatten input stage, your instancing of the variants will work as expected.
User Avatar
Member
697 posts
Joined: Aug. 2013
Offline
Hi. Thanks so much!. ;-)

Best
User Avatar
Member
732 posts
Joined: Dec. 2006
Offline
Note that this flattens the stage, which means your USD files get huge, amongst other things. Here is a better approach: https://www.sidefx.com/forum/topic/94812/ [www.sidefx.com]
Sean Lewkiw
CG Supervisor
Machine FX - Cinesite MTL
  • Quick Links