HeightField geometry data driving shader?

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

 
Thread Tools Search this Thread Display Modes
  08 August 2017
HeightField geometry data driving shader?

Hello gents,

I am a texture artist/3D generalist eagerly diving into Houdini for the first time (while using it in a production, as it happens).

My question:

So I have a piece of terrain generated by the new Height Field nodes (see attached image). Lovely. 

What I want, is for the mask data (the red in the 3D viewport is an example of one of the masks based on height) to drive the shader live, not through a static exported image file. As I see this problem, how do I cross that divide (from the SOP (I guess) world to the SHOP (or is it VOP) world?

One suggestion I have received was to use the Attribute Promote node, to sort of flag the data I want on the geometry side, and using a Bind node on the shader side to bring that data into the shader. In reality I haven't managed to make it work. There are around 18 different attributes on the bottom most nodes - which one to flag? Or is it a data conversion type problem perhaps (trying to fit a round peg into a square hole)? Or do I need to bake the HeightField into actual geometry first perhaps? Or am I looking at this the wrong way around?

I sincerely hope you can help...


__________________
Thanks

Marque Pierre Søndergaard
Texture Artist!
- Blog - IMDb
 
reply share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 09:49 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.