| View previous topic :: View next topic |
| Author |
Message |
Olivier
Joined: 22 Feb 2006 Posts: 4
|
Posted: Wed Feb 22, 2006 7:01 am Post subject: Lib Problem with DrawList (Help i'm a noob !) |
|
|
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 |
|
 |
ufoz
Joined: 10 Nov 2005 Posts: 86 Location: Tokyo
|
Posted: Wed Feb 22, 2006 9:33 pm Post subject: |
|
|
| pspgl doesn't support display lists yet, iirc... |
|
| Back to top |
|
 |
Olivier
Joined: 22 Feb 2006 Posts: 4
|
Posted: Wed Feb 22, 2006 10:54 pm Post subject: |
|
|
Oki thanks for the news.
So there is no way to use display list on psp for now ? |
|
| Back to top |
|
 |
Olivier
Joined: 22 Feb 2006 Posts: 4
|
Posted: Wed Feb 22, 2006 11:02 pm Post subject: |
|
|
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 |
|
 |
LuMo
Joined: 21 Aug 2005 Posts: 410 Location: Austria
|
Posted: Thu Feb 23, 2006 3:01 am Post subject: |
|
|
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 |
|
 |
memon
Joined: 03 Oct 2005 Posts: 63
|
Posted: Thu Feb 23, 2006 5:01 am Post subject: |
|
|
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 |
|
 |
|