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
1742 1 0- ljianwen161
- Member
- 3 posts
- Joined: 3月 2017
- Offline
- dpernuit
- スタッフ
- 550 posts
- Joined: 9月 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