Complete newbie question: I've used VRay (Max, Maya) for many years, but I'm finally trying out Houdini. I'm doing a procedural landscape that has a lot of heightfield masks in the SOP, and I'd like to use them in different ways in the material. How can I do that? I found solutions for Mantra and Redshift, but those seem to be specific to those renderers. Any help appreciated.
Announcement
Collapse
No announcement yet.
(Resolved) Using masks generated in SOP's as masks in material?
Collapse
X
-
You generate geometry in SOP - it's information written on attributes of the points, vertices or volumes, like maybe in your case with height fields, which are a 2D volume. To use this in the shader, you need to call that attribute, one way is using the vray user color node, it has attribute options. I think you can't render the height field directly yet, you gotta convert to a mesh first.Hristo Velev
MD/FX Lead, Bottleship VFX
Sofia, Bulgaria
- Likes 1
-
Originally posted by glacierise View PostYou generate geometry in SOP - it's information written on attributes of the points, vertices or volumes, like maybe in your case with height fields, which are a 2D volume. To use this in the shader, you need to call that attribute, one way is using the vray user color node, it has attribute options. I think you can't render the height field directly yet, you gotta convert to a mesh first.
Comment
-
like glacierise said highfields are 2D volumes. Unfortunately there is no way, for now, to use them directly. But when convert the heighfield into a poly object, Houdini will promote the mask volume as float point attribute. Check the example bellow.
Attached Files
Comment
-
Originally posted by chakarov View Postlike glacierise said highfields are 2D volumes. Unfortunately there is no way, for now, to use them directly. But when convert the heighfield into a poly object, Houdini will promote the mask volume as float point attribute. Check the example bellow.
Edit: nevermind, heightfield_copylayer->edit that layer worked. Thanks again.Last edited by Monkeybrother; 02-10-2020, 03:09 AM.
- Likes 1
Comment
Comment