Quick question about rendering triangles

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Ghoti
Posts: 288
Joined: Sat Dec 31, 2005 11:06 pm

Quick question about rendering triangles

Post by Ghoti »

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
Aion
Posts: 40
Joined: Mon Jul 24, 2006 10:58 pm
Location: Montreal

Post by Aion »

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.
siberianstar
Posts: 70
Joined: Thu Jun 22, 2006 9:24 pm

Post by siberianstar »

Nope there is no support for glBegin or glEnd in pspgu, but they are implemented on pspgl but they are very slow.
sg57
Posts: 144
Joined: Fri Oct 14, 2005 2:26 pm

Post by sg57 »

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.
siberianstar
Posts: 70
Joined: Thu Jun 22, 2006 9:24 pm

Post by siberianstar »

nope glbegin and glend are emulated and very slow.

http://www.goop.org/psp/gl for more info.
Post Reply