phong Posted August 1, 2009 Share Posted August 1, 2009 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 Quote Link to comment Share on other sites More sharing options...
Marc Posted August 1, 2009 Share Posted August 1, 2009 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 Quote Link to comment Share on other sites More sharing options...
phong Posted August 1, 2009 Author Share Posted August 1, 2009 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. Quote Link to comment Share on other sites More sharing options...
Marc Posted August 1, 2009 Share Posted August 1, 2009 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 Quote Link to comment Share on other sites More sharing options...
phong Posted August 1, 2009 Author Share Posted August 1, 2009 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. Quote Link to comment Share on other sites More sharing options...
Marc Posted August 1, 2009 Share Posted August 1, 2009 oh sorry, I'd assumed you'd built your own displacement shader using the hot VOPs. I'll take a look on Monday when I get into work then.. unless someone else knows? Cheers Marc Quote Link to comment Share on other sites More sharing options...
Fabiano Berlim Posted December 1, 2011 Share Posted December 1, 2011 Fist make sure that ocean_displace checkbox "export eigenvalues" is on. Then inside your vopsurface use a "Import Displacement Variable". Variable name use eminus and signature as vector. Cheers! 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.