Question about “volumes” in HoudiniLandscapeUtils.cpp

   1740   1   0
User Avatar
Member
3 posts
Joined: 3月 2017
Offline
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!

Attachments:
1.PNG (36.5 KB)

User Avatar
スタッフ
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.
  • Quick Links