hello everybody
I can use sceGuDrawArray to draw in 2D with GU_TRANSFORM_2D but in 3D with GU_TRANSFORM_3D only sceGumDrawArray work, but sceGuDrawArray draw nothing, why ?
my program use the same GU initialisation as the sample "cube", and in the sample "cube" too, when I replace sceGumDrawArray by sceGuDrawArray, nothing is draw, why ? and what can I do to draw things in 3D with sceGuDrawArray
thank you for the answer
Problem with sceGuDrawArray
sceGuDrawArray() is the function that actually renders anything. sceGumDrawArray() is a convenience-function in PSPGUM that makes sure that matrices modified by sceGum*()-functions are flushed to the hardware. It's basically this:
Code: Select all
void sceGumDrawArray(...)
{
sceGumUpdateMatrix();
sceGuDrawArray(...);
}
GE Dominator