Probably I'm missing something really basic here, but I can't figure out how to convert heightfield masks into groups of prims\points once the terrain has been converted into polys.
Any idea?
That would be useful to place objects onto the landscape..
thanks for any help!
Terrain masks to groups?
4070 3 1- Andr1
- Member
- 118 posts
- Joined: 2月 2016
- Offline
- Andr1
- Member
- 118 posts
- Joined: 2月 2016
- Offline
- SaiFo
- Member
- 2 posts
- Joined: 10月 2018
- Offline
- Andr
- Member
- 900 posts
- Joined: 2月 2016
- Offline
when you convert the HF to polygons you get the @mask attribute on your points for free. Have a look at the geometry spreadsheet.
You can simply set a threshold value to do the grouping.
Was this @mask point attribute added later, or it has been always present in converted Heightfields?
I wonder how could I have missed it :O
You can simply set a threshold value to do the grouping.
if(@mask > .5) { i@group_masked = 1; }
Was this @mask point attribute added later, or it has been always present in converted Heightfields?
I wonder how could I have missed it :O
Edited by Andr - 2019年7月27日 15:42:42
-
- Quick Links