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 

pspgl problems with firmware 1.0 ?

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



Joined: 07 Aug 2005
Posts: 21

PostPosted: Mon Sep 19, 2005 8:37 pm    Post subject: pspgl problems with firmware 1.0 ? Reply with quote

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
View user's profile Send private message
jsgf



Joined: 12 Jul 2005
Posts: 254

PostPosted: Thu Sep 22, 2005 8:44 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
holger



Joined: 18 Aug 2005
Posts: 204

PostPosted: Thu Sep 22, 2005 5:21 pm    Post subject: Reply with quote

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
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