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 

Lib Problem with DrawList (Help i'm a noob !)

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



Joined: 22 Feb 2006
Posts: 4

PostPosted: Wed Feb 22, 2006 7:01 am    Post subject: Lib Problem with DrawList (Help i'm a noob !) Reply with quote

Hi !

I'm quite new to opengl and I'm trying to use display lists but I have an error when I compile :

model.cpp:(.text+0x3334): undefined reference to `glGenLists'
model.cpp:(.text+0x3344): undefined reference to `glNewList'
model.cpp:(.text+0x4a38): undefined reference to `glEndList'

I don't get it. It looks like there is a problem with the opengl lib but everything else works fine.
Here is the line I use in my makefile :
LIBS= -lpng -lglut -lGL -lGLU -lz -lm -lpsprtc -lstdc++

Is there something special about display lists and the PSP ?
I'm using DevKitPro 1.2.7.

Thanks in advance for those who will answer because I'm in the shit ! :)
Back to top
View user's profile Send private message
ufoz



Joined: 10 Nov 2005
Posts: 86
Location: Tokyo

PostPosted: Wed Feb 22, 2006 9:33 pm    Post subject: Reply with quote

pspgl doesn't support display lists yet, iirc...
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
Olivier



Joined: 22 Feb 2006
Posts: 4

PostPosted: Wed Feb 22, 2006 10:54 pm    Post subject: Reply with quote

Oki thanks for the news.
So there is no way to use display list on psp for now ?
Back to top
View user's profile Send private message
Olivier



Joined: 22 Feb 2006
Posts: 4

PostPosted: Wed Feb 22, 2006 11:02 pm    Post subject: Reply with quote

Should I stop using opengl and use sceGu instead ?
is sceGumDrawArray() the sceGu fonction to use kind of display lists ?
How many more question am I going to ask ?

Sorry for asking all that but I don't really know sceGu and I'm just learning how to do some stuff with the PSP :)
Back to top
View user's profile Send private message
LuMo



Joined: 21 Aug 2005
Posts: 410
Location: Austria

PostPosted: Thu Feb 23, 2006 3:01 am    Post subject: Reply with quote

yes, thats the right function, and you will be asking loads of questions ;D
i am just through all (hopefully!) those (possibly you have seen my 3dbLoader)

greets
lumo
PS: any questions, do not wait, just ask em!
PPS: you can even ask me on msn when i am online.
_________________
"Good artists copy, great artists steal."
Pablo Picasso
go2lumo.com
Back to top
View user's profile Send private message Visit poster's website
memon



Joined: 03 Oct 2005
Posts: 63

PostPosted: Thu Feb 23, 2006 5:01 am    Post subject: Reply with quote

Or you can use vertex arrays with pspgl, or better yet VBOs. The varray.c and spot.c in the test folder (in the pspgl folder) should get you started with vertex arrays and VBOs. They should be pretty much the same as they are on PCs, the only difference is that some vertex formats are native in psp, and hence much faster.

Here is more info about pspgl (you propably know that anyway):
http://www.goop.org/psp/gl/
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