READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

Noesis API Separate UV Index list?

Coders and would-be coders alike, this is the place to talk about programming.
Post Reply
DrAwesomeXD
ultra-n00b
Posts: 4
Joined: Sun Apr 09, 2017 8:38 pm

Noesis API Separate UV Index list?

Post by DrAwesomeXD » Mon Feb 18, 2019 11:23 am

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.

Post Reply