Search found 3 matches

by Pete333
Thu Aug 13, 2009 5:57 am
Forum: PSP Development
Topic: The equivalent to glRotatef or how to convert to Gum.
Replies: 6
Views: 2712

Take a look at the sdk GU samples. sdkdir/psp/sdk/samples/gu/... You can best start with the cube sample since thiis is the simplest. you will see sometging like this: sceGumMatrixMode(GU_MODEL); sceGumLoadIdentity(); { ScePspFVector3 pos = { 0, 0, ...
by Pete333
Thu Aug 13, 2009 3:55 am
Forum: PSP Development
Topic: The equivalent to glRotatef or how to convert to Gum.
Replies: 6
Views: 2712

I think I get this now, so my example needs to become this:

sceGumPushMatrix();
sceGumRotateZ(Angle*PI/180.0f);

I'm still pretty new to 3D so forgive my own ineptness :)
by Pete333
Thu Aug 13, 2009 1:28 am
Forum: PSP Development
Topic: The equivalent to glRotatef or how to convert to Gum.
Replies: 6
Views: 2712

The equivalent to glRotatef or how to convert to Gum.

I'm pretty new to all this so please forgive me is this is a stupid question... I have some GL code which I want to convert to Gum. glPushMatrix(); glRotatef( Angle, 0.0f, 0.0f, 1.0f ); So far I have got this far: sceGumPushMatrix(); but I can see no equivalent for glRotatef. As I said, I'm pretty n...