Figured I'd start a new thread. This has been arousing my curiosity for a
while and I need your wisdom :-)

In Houdini I build locations by providing a polygon index and what is
called a "uv parametric location". The term uv is misleading here. All it
is, is a coordinate on each polygon plane.

Softimage's sdk calls it "subtriangle barycentric weights". So along with
the polygon index and the vertex indices I managed to build my location in
python. I didn't test this thoroughly but I seem to be getting an
equivalent to what I'm used to in Houdini.

With regard to recreate this in ICE:
1) Do we have access to the necessary data? (that is, polygon index,
subtriangle indices and the normalized weights on the triangle?)
2) How would we go about assembling it?

I understand this all sounds a bit abstract. Like everyone I use locations
a lot in ICE, they're amazing and manipulating them is easy. Maybe there is
no need for exposing lower-level functionalities.
I'm merely experimenting here to see how far I can push them. An example
would be to access those barycentric coordinates and, say, slide a particle
on a polygon without having to resort to the Get Closest Location node.

Thoughts?

Reply via email to