Jump to content

Instantiate objects in Shader


Recommended Posts

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! :)

Link to comment
Share on other sites

On 1/28/2020 at 6:46 PM, Librarian said:

Or post an example of what  you need :wub:

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 by JJ FX
Link to comment
Share on other sites

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.

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