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 

Will OpenGL Compile and Run Properly on PS2?

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



Joined: 28 Aug 2008
Posts: 2

PostPosted: Thu Aug 28, 2008 12:45 pm    Post subject: Will OpenGL Compile and Run Properly on PS2? Reply with quote

Hello,

I was reading some of the tutorials, and I believe one of them was about 3d graphics programming on the ps2. The code looked extremely similar to that of the opengl code I used to work with. The triangle function and the way you drew on the screen. So, my question is, can you include the opengl libraries with your game and just link to them when you go to compile? If not, it doesn't seem that hard to implement a little opengl api thing, seeing as the code is so similar.
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Thu Aug 28, 2008 5:47 pm    Post subject: Reply with quote

Dreamgl is part of the repo. You can use that for OpenGL on the ps2.

There's also libito for non-OpenGL 3D on the ps2. It's in the ps2dev repo as well.
Back to top
View user's profile Send private message AIM Address
SG_Sonic



Joined: 28 Aug 2008
Posts: 2

PostPosted: Fri Aug 29, 2008 12:57 pm    Post subject: Reply with quote

So most of the fuctions of dreamgl are similar to that of OpenGL? Once I get my code machine up and running I'll take a look myself, just wanted to prepare for my game engine design. GL seemed to be a good option to start with. I want to implement a BSP rendering module next. Thank for your help!
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Fri Aug 29, 2008 2:54 pm    Post subject: Reply with quote

From the readme in the dreamgl folder:

Quote:
The current API subset is based on the 1.1 OpenGL specification and is similar in functionalty to the MiniGL drivers used by games like id's Quake I and II.


You'll just have to try to see if it has what you need.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 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