Doum Posted June 21, 2013 Share Posted June 21, 2013 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 Quote Link to comment Share on other sites More sharing options...
DanBode Posted June 21, 2013 Share Posted June 21, 2013 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. Quote Link to comment Share on other sites More sharing options...
Doum Posted June 21, 2013 Author Share Posted June 21, 2013 thx trying it right away Quote Link to comment Share on other sites More sharing options...
Doum Posted June 21, 2013 Author Share Posted June 21, 2013 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. Quote Link to comment Share on other sites More sharing options...
DanBode Posted June 21, 2013 Share Posted June 21, 2013 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. Quote Link to comment Share on other sites More sharing options...
Doum Posted June 21, 2013 Author Share Posted June 21, 2013 With the fast point, I'll see the instances in the viewport or only at render time And do you think that setup will works with the rbd point object in Dop? Thx a lot for the help Quote Link to comment Share on other sites More sharing options...
DanBode Posted June 21, 2013 Share Posted June 21, 2013 I think you'd only see it at render time. I haven't tried it in 12.5 though. Also I don't think it would work with the rbd point object dop. It's really just for rendering. Quote Link to comment Share on other sites More sharing options...
Doum Posted June 21, 2013 Author Share Posted June 21, 2013 Thx for your help DanBode! Doum Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.