Sorry if this is in the wrong area, I’m tired and it was close as I could see.
I have been wanting to parse the 3DS format and have so much done but
texture coordinates. I looked at the .obj format thinking I may even use
it instead but, the texture coordinates are wrong, or I do not understand
how to read them.
I have a cube that I mapped uv mapped each face with approx. 1/12
of the image. It is a 512 x 512 .png file with only the top portion of the
image file with and images, the bottom half is white.
When I decode the file, my object is correct but the mapping is not.
I “hand coded” the texture coordinates of 3 faces and they work as they
Part of what I see is there should not be any “u” coordinates above 0.5
in value since I do not map from the bottom half. There are values there
in both the 3ds and obj formats.
It should have u v values for the texture coordinates that range from
0.0 to 1.0, is this right ?
The numbers almost make more sense if they were v then u and
absolute value of 1 minus the coordinate.
Does someone know what I am doing wrong and can help me please?