princeton-vl / infinigen

Infinite Photorealistic Worlds using Procedural Generation
https://infinigen.org
BSD 3-Clause "New" or "Revised" License
5.14k stars 430 forks source link

Question regarding kwargs for function `placement_mask` #208

Closed zzyunzhi closed 2 months ago

zzyunzhi commented 3 months ago

Hi, thanks for the great work. Could you provide some explanations for the function arguments here https://github.com/princeton-vl/infinigen/blob/5132903cd68704367d1c44c841e5163158e0f33d/infinigen/core/placement/density.py#L26, especially select_thresh, normal_thresh, and altitude_range? In addition, is tag used anywhere outside this function, and if so, what's the purpose? Thanks a lot!

araistrick commented 3 months ago

Hello!

placement_mask constructs a noisy density mask to determine where an asset should be placed on the terrain.

The parameters are as follows:

Sorry there aren't better docs for all these, I intend to write some over the summer.