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 

Quick question about rendering triangles

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



Joined: 31 Dec 2005
Posts: 288

PostPosted: Wed Sep 06, 2006 4:49 am    Post subject: Quick question about rendering triangles Reply with quote

Hi folks,

is there a function like the glbegin and glend function where you can put the triangles in between or is the drawarray the only function to do so?

greets ghoti
_________________
My PSP games:

Boxy II: http://www.ghoti.nl/boxyii.php
Elementals: http://www.ghoti.nl/Elementals.php
Back to top
View user's profile Send private message
Aion



Joined: 24 Jul 2006
Posts: 40
Location: Montreal

PostPosted: Wed Sep 06, 2006 9:30 am    Post subject: Reply with quote

Check the cube sample that comes with the Sdk.

It shows the exact process to render.


Last edited by Aion on Wed Sep 06, 2006 10:02 am; edited 1 time in total
Back to top
View user's profile Send private message
siberianstar



Joined: 22 Jun 2006
Posts: 70

PostPosted: Wed Sep 06, 2006 9:53 am    Post subject: Reply with quote

Nope there is no support for glBegin or glEnd in pspgu, but they are implemented on pspgl but they are very slow.
Back to top
View user's profile Send private message
sg57



Joined: 14 Oct 2005
Posts: 154

PostPosted: Wed Sep 06, 2006 1:46 pm    Post subject: Reply with quote

How are they 'very' much slower? It really depends on what your trying to render and the overall size, right? Also, since were on the matter real quick, doesnt PSPGL use the same SendCommand() function to send commands to the GPU, just as the GU does? If so, then the only explanation for a slower rendering process would be the routines OpenGL uses compared to the main GU... ? Gahhhh... Someone please answer all these questions.
Back to top
View user's profile Send private message
siberianstar



Joined: 22 Jun 2006
Posts: 70

PostPosted: Thu Sep 07, 2006 6:43 am    Post subject: Reply with quote

nope glbegin and glend are emulated and very slow.

http://www.goop.org/psp/gl for more info.
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