forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem with UV TEXTURE

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
iotaro



Joined: 01 Aug 2005
Posts: 4

PostPosted: Fri Aug 05, 2005 10:20 pm    Post subject: Problem with UV TEXTURE Reply with quote

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.
Back to top
View user's profile Send private message
iotaro



Joined: 01 Aug 2005
Posts: 4

PostPosted: Fri Aug 05, 2005 11:00 pm    Post subject: Reply with quote

Sorry.my error . :)

Anyone know why texture must be inverted in vertical ?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group