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 

PSP OpenGL Question

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



Joined: 14 Apr 2005
Posts: 142
Location: Florida, USA

PostPosted: Fri Oct 14, 2005 6:54 am    Post subject: PSP OpenGL Question Reply with quote

Does anyone know of a working simple sample of say a triangle or something ortho even for PSP OpenGL? I know how to code in regular opengl, it's just setting up the device this "egl" that has me somewhat confused.

-- EDIT --
Forgot to mention that I do not want to use glut. Please no glut submissions.
_________________
w00t
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
mrbrown



Joined: 17 Jan 2004
Posts: 1536

PostPosted: Fri Oct 14, 2005 10:51 am    Post subject: Reply with quote

http://www.khronos.org/opengles/
http://svn.pspdev.org/filedetails.php?repname=psp&path=%2Ftrunk%2Fpspgl%2Ftest-egl%2Feglcube.c&rev=0&sc=0
Back to top
View user's profile Send private message
ChaosKnight



Joined: 14 Apr 2005
Posts: 142
Location: Florida, USA

PostPosted: Fri Oct 14, 2005 11:40 pm    Post subject: Reply with quote

I had tried the cube example out by copying and pasting its code into my project, alas, only got the clear color. No cube to be seen.
_________________
w00t
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
holger



Joined: 18 Aug 2005
Posts: 204

PostPosted: Sat Oct 15, 2005 1:47 am    Post subject: Reply with quote

see test-glut for an example of glOrtho usage.
Back to top
View user's profile Send private message
jsgf



Joined: 12 Jul 2005
Posts: 254

PostPosted: Mon Oct 17, 2005 5:54 pm    Post subject: Reply with quote

ChaosKnight wrote:
I had tried the cube example out by copying and pasting its code into my project, alas, only got the clear color. No cube to be seen.

Did it work for you stand-alone? If so, how did the two cases differ?

Which PSPGL were you using?
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