[newbye] Problem drawing a torus

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

Moderators: cheriff, TyRaNiD

Post Reply
fraca7
Posts: 21
Joined: Mon Oct 03, 2005 12:55 am
Location: Paris
Contact:

[newbye] Problem drawing a torus

Post by fraca7 »

Hello. I'm learning 3D programming with the PSP; I managed to write a simple textured cube sample and then wanted to move to a torus. The result is err, interesting. The source code may be downloaded here:

http://fraca7.free.fr/tore.c

The exact same code injected "by hand" in an OpenGL program works fine, but on the PSP the vertices seem to converge on the origin somehow... What did I miss ?

TIA
fraca7
Posts: 21
Joined: Mon Oct 03, 2005 12:55 am
Location: Paris
Contact:

Post by fraca7 »

Silly me. Missing sceKernelDcacheWritebackInvalidateAll before sceGuStart.
Post Reply