What kind of interpolation is this?
1292 2 1- Andr
- Member
- 900 posts
- Joined: Feb. 2016
- Offline
I need to calculate a custom targetmeshsize attribute for the Remesh Sop, trying to mimicking what the node already does in adaptive mode.
I don't quite understand how Houdini interpolate stuff.
In the image you can see the color ramp blue to yellow using the attribute "ds", whose values are also visualized on the points.
It seems to me that the color interpolation is not correct.
Also, if I use the same attribute as a custom targetmeshsize for the Remesh Sop, the remeshing would match the same (wrong?) interpolation of values in the color example.
Interestingly, even when you let alone the Remesh Sop to use its own "adaptive" method (without any custom attribute from you), it would produce the same unexpected (and unsymmetrical) mesh density at corners.
What am I missing here?
I attached the project file
I don't quite understand how Houdini interpolate stuff.
In the image you can see the color ramp blue to yellow using the attribute "ds", whose values are also visualized on the points.
It seems to me that the color interpolation is not correct.
Also, if I use the same attribute as a custom targetmeshsize for the Remesh Sop, the remeshing would match the same (wrong?) interpolation of values in the color example.
Interestingly, even when you let alone the Remesh Sop to use its own "adaptive" method (without any custom attribute from you), it would produce the same unexpected (and unsymmetrical) mesh density at corners.
What am I missing here?
I attached the project file
- tamte
- Member
- 8589 posts
- Joined: July 2007
- Online
Andrit's all about internal triangulation as the interpolation happens per triangle
What am I missing here?
so you need to shift the vertex order to alter that
here is the file with such manual fix to specific corner prims as well as visualization of the triangulation which may make the observed behavior clearer
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- Andr
- Member
- 900 posts
- Joined: Feb. 2016
- Offline
-
- Quick Links