| View previous topic :: View next topic |
| Author |
Message |
fraca7
Joined: 03 Oct 2005 Posts: 21 Location: Paris
|
Posted: Mon Nov 14, 2005 1:21 am Post subject: [newbye] Problem drawing a torus |
|
|
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 |
|
| Back to top |
|
 |
fraca7
Joined: 03 Oct 2005 Posts: 21 Location: Paris
|
Posted: Wed Nov 16, 2005 4:51 am Post subject: |
|
|
| Silly me. Missing sceKernelDcacheWritebackInvalidateAll before sceGuStart. |
|
| Back to top |
|
 |
|