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 

[newbye] Problem drawing a torus

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



Joined: 03 Oct 2005
Posts: 21
Location: Paris

PostPosted: Mon Nov 14, 2005 1:21 am    Post subject: [newbye] Problem drawing a torus Reply with quote

Hello. I'm learning 3D programming with the PSP; I managed to write a simple textured cube sample and then wanted to move to a torus. The result is err, interesting. The source code may be downloaded here:

http://fraca7.free.fr/tore.c

The exact same code injected "by hand" in an OpenGL program works fine, but on the PSP the vertices seem to converge on the origin somehow... What did I miss ?

TIA
Back to top
View user's profile Send private message Visit poster's website
fraca7



Joined: 03 Oct 2005
Posts: 21
Location: Paris

PostPosted: Wed Nov 16, 2005 4:51 am    Post subject: Reply with quote

Silly me. Missing sceKernelDcacheWritebackInvalidateAll before sceGuStart.
Back to top
View user's profile Send private message Visit poster's website
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