Jump to content

pointsop "instance" load from disk cache?


Doum

Recommended Posts

hey guys and girls,

Is there a way to enter a disk path in the pointsop instance value to load .bgeo geometry as instance???

I have a cache on disk which look like( piece.1.bgeo, piece.2.bgeo, piece.3.geo ...etc) and I want to get these file cache as my instance in the pointsop. Is it possible?

Thanks

Doum

Link to comment
Share on other sites

You can use the instancefile attribute to load an instance from a file. I don't think it's on the point sop, so you'll have to create it with an attribcreate sop. Just set your attribcreate to a string called "instancefile" and make the string be the full path to your bgeos.

Link to comment
Share on other sites

I'm able to create my attribute instancefile on points as a string. it apply my string path on each point. in th pointsop I'm setting the $INSTANCEFILE to the add instance value which add my file path to each point in the instance attribute, but it does seem to work.

Link to comment
Share on other sites

Ah I should have clarified that the instancefile attribute only works with fast point instancing. Which is what you should be using for geometry most of the time anyway.

Also you don't really need that point sop. You can just set the value of the instancefile attribute on the attribcreate sop.

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...