JJ FX Posted January 28, 2020 Share Posted January 28, 2020 Hi, So I want to instantiate objects in shader. There is a Point Instance Procedural VOP node. However I have no to little experience in shader builders in houdini. This node has geometry output, I'm not sure where this even should be plugged in to make it to work and just see anything. Any help would be super helpful! Quote Link to comment Share on other sites More sharing options...
Librarian Posted January 28, 2020 Share Posted January 28, 2020 Or post an example of what you need 1 Quote Link to comment Share on other sites More sharing options...
JJ FX Posted February 4, 2020 Author Share Posted February 4, 2020 (edited) On 1/28/2020 at 6:46 PM, Librarian said: Or post an example of what you need Thanks! I will look into this! Well... I need to instatiate geometry onto milions of points. Copying creates more expensive and slow cache. Example: grass Edited February 4, 2020 by JJ FX Quote Link to comment Share on other sites More sharing options...
Librarian Posted February 4, 2020 Share Posted February 4, 2020 @JJ FX maybe it helps https://www.artstation.com/sercan/blog Quote Link to comment Share on other sites More sharing options...
toadstorm Posted February 4, 2020 Share Posted February 4, 2020 15 hours ago, JJ FX said: Thanks! I will look into this! Well... I need to instatiate geometry onto milions of points. Copying creates more expensive and slow cache. Example: grass Try copying Packed Disk Primitives to your millions of points. Any .bgeo that you save to disk can be loaded in as a Packed Disk Primitive via the File SOP. As they are technically references to a file on disk, they don't need to be embedded into the .IFD and should be nice and lightweight. The Point Instance Procedural workflow got messed up in the switch to the MAT context from SHOPs, and hasn't really been fully addressed since then. You're probably best off avoiding it. Quote Link to comment Share on other sites More sharing options...
JJ FX Posted February 5, 2020 Author Share Posted February 5, 2020 6 hours ago, toadstorm said: Try copying Packed Disk Primitives... Yeah I tested that yesterday and also tried old Instantiate object. And both perform exactly the same. I guess packed prims are the fastest way these days 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.