Jump to content

Get Eigenvalues from ocean_displace


phong

Recommended Posts

Hi!

I'm currently trying to get the Eigenvalues from the HOT ocean_displace shader to use in my surface shader to i.e. create some foam patterns. I checked the Export Eigenvalues flag. How do I get these into other shaders?

Thanks a lot!

Phong

Link to comment
Share on other sites

Have a look at the 'Import Displacement Variable' in the surface shader VOPs. If you're writing vex code then 'dimport' is what you're looking for.

Cheers

Marc

Thanks for the dimport hint! I just don't know how the eigenvalue variable is named in the HOT ocean_displace shader.

Link to comment
Share on other sites

I don't have a Houdini in front of me at the moment, but I'm fairly sure you can wire the eigen into a parameter VOP and call it whatever you like. Just make sure to export it.

Cheers

Marc

Link to comment
Share on other sites

Well, I figured out how to get the Eigenvalues into SOP geometry (like in the foamparts example), but I still don't know how to get these values from the displacement shader, since it's precompiled and I cannot open its network to add any further nodes. Otherwise the Export Eigenvalues flag must be sufficient to make easily access these values.

Link to comment
Share on other sites

  • 2 years later...

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