| View previous topic :: View next topic |
| Author |
Message |
cadaver
Joined: 07 Aug 2005 Posts: 21
|
Posted: Mon Sep 19, 2005 8:37 pm Post subject: pspgl problems with firmware 1.0 ? |
|
|
I have made a few glut programs, that run on the pc but have problems on my psp with firmware 1.0. (example code see http://forums.ps2dev.org/viewtopic.php?t=3399)
the main problems are:
- program with many polygons freezes after a few seconds
- depth buffer not working
- polys drawn with glVertex are visible, polys drawn with glDrawArrays or glDrawElements are not visible
Is there anything special, I have to do on the psp - initialize, clear buffers ? (because same progs work on pc) ? |
|
| Back to top |
|
 |
jsgf
Joined: 12 Jul 2005 Posts: 254
|
Posted: Thu Sep 22, 2005 8:44 am Post subject: |
|
|
The SVN pspGL is very lacking in lots of things. I have a set of patches against it which add proper support for texture objects, vertex arrays, etc.
See http://goop.org/~jeremy/psp/pspgl/ for the complete set of patches. The file http://goop.org/~jeremy/psp/pspgl/series lists the patches to apply in what order (though I would only go up to glLockArrays.patch).
Depth testing is still broken. Don't know why yet, but I suspect glDepthRange is doing the wrong thing. |
|
| Back to top |
|
 |
holger
Joined: 18 Aug 2005 Posts: 204
|
Posted: Thu Sep 22, 2005 5:21 pm Post subject: |
|
|
Beside the depth bug Jeremy mentioned above, the 1.00 firmware problem is the second big unresolved issue. (http://forums.ps2dev.org/viewtopic.php?t=3399)
Basically the GE seems to hang when a triangle is about to get clipped, it would be great if someone with a 1.00 could investigate this more in detail and find out where the problem is. Maybe it could be a good idea to port a trivial test program to the libgu and see whether it is hanging, too (my guess is yes, but it's a gues - ). |
|
| Back to top |
|
 |
|