#173847 - SatNav - Tue May 04, 2010 1:49 pm
Hi,
As the title suggests, I'm trying to find the best way to display a jpeg or png image from disk in a 3d scene. I want to be able to select an image to use as a background in my Rubik's Cube game. I've had a search around, and didn't find anything of much use, but I may have missed something, so apologies if I have.
I've found pnglib, and libjpeg - I'm guessing I have to use those. would I need to compile them for DS first? once I can actually load in the images, how would I use them in the scene? Would it involve somehow texture-mapping them to the rear poly (or another poly that I draw in manually)? Or is there some easier way that I could just plop them onto the background?
TIA,
Mark
_________________
Cube-DS: A Kick-Ass Rubik's Cube Game for DS
http://cube-ds.googlecode.com
As the title suggests, I'm trying to find the best way to display a jpeg or png image from disk in a 3d scene. I want to be able to select an image to use as a background in my Rubik's Cube game. I've had a search around, and didn't find anything of much use, but I may have missed something, so apologies if I have.
I've found pnglib, and libjpeg - I'm guessing I have to use those. would I need to compile them for DS first? once I can actually load in the images, how would I use them in the scene? Would it involve somehow texture-mapping them to the rear poly (or another poly that I draw in manually)? Or is there some easier way that I could just plop them onto the background?
TIA,
Mark
_________________
Cube-DS: A Kick-Ass Rubik's Cube Game for DS
http://cube-ds.googlecode.com