| View previous topic :: View next topic |
| Author |
Message |
Ghoti
Joined: 31 Dec 2005 Posts: 288
|
Posted: Wed Sep 06, 2006 4:49 am Post subject: Quick question about rendering triangles |
|
|
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 |
|
 |
Aion
Joined: 24 Jul 2006 Posts: 40 Location: Montreal
|
Posted: Wed Sep 06, 2006 9:30 am Post subject: |
|
|
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 |
|
 |
siberianstar
Joined: 22 Jun 2006 Posts: 70
|
Posted: Wed Sep 06, 2006 9:53 am Post subject: |
|
|
| 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 |
|
 |
sg57
Joined: 14 Oct 2005 Posts: 154
|
Posted: Wed Sep 06, 2006 1:46 pm Post subject: |
|
|
| 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 |
|
 |
siberianstar
Joined: 22 Jun 2006 Posts: 70
|
Posted: Thu Sep 07, 2006 6:43 am Post subject: |
|
|
nope glbegin and glend are emulated and very slow.
http://www.goop.org/psp/gl for more info. |
|
| Back to top |
|
 |
|