Converting to .obj format - problematic textures
Posted: Tue Aug 01, 2017 7:21 am
Dealing with a older ~2000 era dx8 custom .BSP that has a standard FVF vertex blob:
Is there anything specific to look for / keep in mind when converting texture coordinates to .obj? Currently textures are a mess. Looking at UV in 3dsmax shows that even for a simple 4 face rectangle it's a rats nest - the triangles in uv map are there but warped and connected in wrong order.
EX: http://imgur.com/a/7z2NS
Currently:
Code: Select all
struct BSPD3DVertex
{
float vPosition[3];
float vNormal[3];
UBYTE color[4];
float vTextureCoord[2]
float vLightmapCoord[2];
};
EX: http://imgur.com/a/7z2NS
Currently:
Code: Select all
v vPosition[0] vPosition[1] vPosition[2]
vt vPosition[0] 1- vPosition[1] 0.0000
vn vNormal[0] vNormal[1] vNormal[2]