Jump to content

Instance to points Solaris


Recommended Posts

Hello guys

I want to scatter geometry, using name attribute.

I've made it work in index attribute. Its just assign 0,1,2... as integer then the instace read those index attribute.

While in name attribute it need to write anstring attribute on points relating to the prototype name. tried a few ways to write that but it still not giving the same result as index one. 

please help me.

thanks in advance

ps: i will upload an .hip file of this exemple.

 

 

name_att.thumb.JPG.65930da2ece37b4bcbe338ddba1ee08e.JPG

 

solaris_instance_byname_v00.hip

Link to comment
Share on other sites

  • 9 months later...

Hi gangland

 

It was just a matter of changing the point names to "flower_A" without the slash, but since you're using the Stage Manager the prototype name ends up needing the "FLORES" when you use `lopinputprims('.', 1)` as the instancer Prototype Primitives, so you'd also need to put "/FLORES/flower_B /FLORES/flower_C /FLORES/flower_A" there without the quotes.

Same thing with your Collection, you only needed to pick the primitives instead of leaving `lopinputprims('.', 0)` there.

I've attached a file, and Thanks for yours. I'm just studying LOPs Instances and it was quite useful.

 

 

solaris_instance_byname_v01_ED.hiplc

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...