Page 1 of 1

2D Image in 3D Space

Posted: Wed Oct 22, 2008 11:12 pm
by jddevnet
Hi,

I have been searching around the forums and API documentation with little luck in finding what I am looking for. I want to load a 2d image into the 3d environment, like the Billboard class. The exception being that I don't want the image to face the camera.

I will be using this to dynamically load different CD covers onto CD cases in a 3d environment.

Any thoughts on how to accomplish this would be much appreciated. I'm happy to research more - just need a bit of direction.

Thanks!

Posted: Thu Oct 23, 2008 5:18 am
by aungsithu
How about just using planes and applying texture on their surface?

Posted: Thu Oct 23, 2008 6:31 am
by vitek
Sounds like you're trying to duplicate CoverFlow.

It also sounds like you want a textured quad. The code would be remarkably simlar to that found in the sample scene node in the 03.CustomSceneNode example. You don't really need to copy the scene node specific stuff if you don't want a scene node, but using it will likely make things simpler for you.

Travis

Posted: Thu Oct 23, 2008 4:48 pm
by jddevnet
Thanks for the ideas! I hadn't seen CoverFlow before - looks slick.

At this point, it looks like I have a lot to learn about how to get the right variables for the various coordinates and indices.