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 > How to get something textured working ;/

#47655 - revo - Mon Jul 11, 2005 11:46 pm

Hi,
I tried to get textured cube and quad from Dovoto site working, but I get black screen on my NDS :(, but it works on IdeaS

I made tool, which converts image to array of uint16 (used in my ConceptBall demo), but placing there my 128x128 texture makes only black screen.

So here is my question - how to get it working?

I will be grateful if someone will show me working something textured in 3D sample (with source).

Source and builded version are here: http://dscode.revo.pl/demos/textured.zip
_________________
[ sorry for all mistakes, but my english isn't as good as I wish it to be ]

#47789 - dovoto - Wed Jul 13, 2005 4:26 pm

While testing my example set against r14 last night i noticed textured quad was broken. I ended up rewritting from scratch as i could not locate the error. It now works and has been updated in the ndslib cvs along with a few GL corrections and added Micropohne code.
_________________
www.drunkencoders.com

#47881 - revo - Thu Jul 14, 2005 7:35 am

thx, it works well now ;)
_________________
[ sorry for all mistakes, but my english isn't as good as I wish it to be ]

#47947 - Volta - Fri Jul 15, 2005 3:22 am

Can you update your zip file (and the source code) in order to show us the result?

#47971 - revo - Fri Jul 15, 2005 2:32 pm

Volta wrote:
Can you update your zip file (and the source code) in order to show us the result?


It's code froma Textured_Cube sample - you can download ndslbib from CVS and check it yourself ;)
_________________
[ sorry for all mistakes, but my english isn't as good as I wish it to be ]

#47977 - dovoto - Fri Jul 15, 2005 4:06 pm

Volta wrote:
Can you update your zip file (and the source code) in order to show us the result?


I am about to reorganize the examples and build them against the libnds distrabution. I will probably not release them in zip form untill I get around to that.
_________________
www.drunkencoders.com