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 

How do I use vertex buffer objects or arrays in PSPGL?

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



Joined: 20 Oct 2005
Posts: 10

PostPosted: Mon Jun 26, 2006 7:15 pm    Post subject: How do I use vertex buffer objects or arrays in PSPGL? Reply with quote

I finally got my first homebrew demo up and running but it needs some improvement. In it, I created over a thousand characters walking around the screen with simple AI and collision algorithms. Anyway, the demo is running a bit slow and I narrowed the problem down to the rendering code. You see, I am currently using immediate mode for the geometry and would like to switch over to using vertex buffer objects or vertex arrays which I've read can improve performance in this area. Can any of you please provide a simple example of how to use any of the two methods in PSPGL? I've tried out tutorials for regular opengl but I just can't get it to work on the psp. And in case you're wondering, yes I could just decrease the number of things to render, but my future projects (real games) may even be more demanding than this simple demo so I really want to see how far I can push the handheld at this stage.

Thanks.
Back to top
View user's profile Send private message
urchin



Joined: 02 Jun 2005
Posts: 121

PostPosted: Mon Jun 26, 2006 7:31 pm    Post subject: Reply with quote

The PSPGL distribution already contains such demos - have a look in the demo directory.
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