gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > Old Display_Capture dosn't work/ 3D export

#154671 - Interrobang - Sun Apr 20, 2008 4:24 am

There is a file on these forums somewhere called Display_Capture. It was made for an older version of libnds. I tested the .nds that came in the file, and it worked. When I tried compiling, it gave me all kinds of errors.
I was able to fix the errors, because they were simple. (glViewPort -> glViewport, glIdentity -> glLoadIdentity)

So, now it compiles, but the .nds dosn't work.

here is my files
http://www.sendspace.com/file/vytky2

so, can anyone help, or give me a display capture demo that works?

Also, what is the best format for models/textures, and what are they easiest to export from?

#154697 - a128 - Sun Apr 20, 2008 1:23 pm

http://forum.gbadev.org/viewtopic.php?t=7958&start=15&postdays=0&postorder=asc&highlight=


there is a working one

search the forum !

#154707 - Interrobang - Sun Apr 20, 2008 6:56 pm

Thanks. I guess I didn't search enough. (Display capture instead of two pass)

I still had to change glViewPort to glViewport, but after that it actually worked!

#154712 - a128 - Sun Apr 20, 2008 8:28 pm

the glReset() code is different to the libnds version...thats why the other vesion did not worked