2D Image in 3D Space

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
jddevnet
Posts: 17
Joined: Mon Oct 06, 2008 8:27 pm

2D Image in 3D Space

Post 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!
aungsithu
Posts: 39
Joined: Thu Sep 04, 2008 2:14 am
Location: Singapore
Contact:

Post by aungsithu »

How about just using planes and applying texture on their surface?
Aung Sithu
*** Check out my latest book, Beginner's guide to Irrlicht 3D engine: http://bit.ly/rSnm4O
Company: http://rivaledge.sg
vitek
Bug Slayer
Posts: 3919
Joined: Mon Jan 16, 2006 10:52 am
Location: Corvallis, OR

Post 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
jddevnet
Posts: 17
Joined: Mon Oct 06, 2008 8:27 pm

Post 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.
Post Reply