Problem with UV TEXTURE

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
iotaro
Posts: 4
Joined: Mon Aug 01, 2005 8:59 pm

Problem with UV TEXTURE

Post by iotaro »

Hi guys,
i have made some routine for conversion XSI dotxsi object for load in code.
I have a problem when acquire UV coordinates. In XSI seems to be good . From 0 to 1 for each vertex point.

I use this function : sceGuDrawArray(GU_TRIANGLES,GU_TEXTURE_32BITF|GU_COLOR_8888|GU_VERTEX_32BITF|GU_TRANSFORM_3D,1528*3,0,vertices);

where vertices is an structure with :
struct Vertex
{
float u, v;
unsigned int color;
float x,y,z;
};


Help i dont know why my 3D model have wrong texture.
iotaro
Posts: 4
Joined: Mon Aug 01, 2005 8:59 pm

Post by iotaro »

Sorry.my error . :)

Anyone know why texture must be inverted in vertical ?
Post Reply