Page 1 of 1

Noesis API Separate UV Index list?

Posted: Mon Feb 18, 2019 11:23 am
by DrAwesomeXD
So I've been trying to create a noesis plugin, but I don't get how to map uv indeces.
The NoeMesh object only has one triList, but let's say I have 20 vertices and 40 uv-coordinates, a face list AND a uv-index list, how do we accomplish that in noesis? For example, in an OBJ-File, we can have

v ...
v ...
v ...
v ...

vt ...
vt ...
vt ...
vt ...

f 1/1 2/2 3/3
f 1/2 3/3 4/4

In this case, two uv-coords map to the same vertex.
Do we have to use something from the noesis or rapi module?

I'd be very grateful for any help.