Hello, can anyone tell me what the “volumes” stands for in this context?
Is it a bounding box in UE4 which selects a part of a lanscape or is it a concept of Houdini?
This screenshot shows a part of FHoudiniLandscapeUtils::CreateHeightfieldFromLandscape from the source code of Houdini Engine for UE4.21
Thank you!
Question about “volumes” in HoudiniLandscapeUtils.cpp
1734 1 0- ljianwen161
- Member
- 3 posts
- Joined: March 2017
- Offline
- dpernuit
- Staff
- 550 posts
- Joined: Sept. 2016
- Offline
Hi,
It's fairly simple, Heightfields are stored as volumes in Houdini, albeit one dimension of said volume is forced to one for HF.
So in the most simple case, HF are composed of one height volume and one mask volume.
Each additional landscape layer (or heightfield “mask” in Houdini), like debris, water, bedrock etc.. is an additional volume.
AddLandscapeMaterialAttributesToVolume() is a helper function that creates the two material attributes on a given heightfield volume (one for landscape, one for hole) that contains a ref to the source unreal material.
It's fairly simple, Heightfields are stored as volumes in Houdini, albeit one dimension of said volume is forced to one for HF.
So in the most simple case, HF are composed of one height volume and one mask volume.
Each additional landscape layer (or heightfield “mask” in Houdini), like debris, water, bedrock etc.. is an additional volume.
AddLandscapeMaterialAttributesToVolume() is a helper function that creates the two material attributes on a given heightfield volume (one for landscape, one for hole) that contains a ref to the source unreal material.
-
- Quick Links