Height Fields Tracing Mismatch

   319   2   1
User Avatar
Member
712 posts
Joined: 9月 2013
オンライン
How to avoid mismatching borders when tracing height fields with increasing thresholds?
Edited by Konstantin Magnus - 2025年8月26日 10:36:59

Attachments:
traced_hf_mismatch.hip (171.4 KB)
hf_borders.png (93.0 KB)

https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
User Avatar
Member
275 posts
Joined: 2月 2016
オフライン
This seems tricky, since it's going to interpolate between the voxels.
You could fuse to a grid after tracing, using the grid spacing of the hf (and maybe a slight smooth after)
Otherwise you'll probably need to cook up a trace that does not interpolate between voxels.
Edited by AslakKS - 2025年8月27日 15:53:39

Attachments:
hf_trace_fuse.png (219.9 KB)

User Avatar
Member
712 posts
Joined: 9月 2013
オンライン
Thank you AslakKS,

I ended up setting the tracer's boundary color to a really low value which seems to avoid this issue.
Edited by Konstantin Magnus - 2025年8月28日 06:25:16

Attachments:
hf_tracing.png (808.7 KB)
height_field_trace_foreach.hip (371.8 KB)

https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
  • Quick Links