Search found 3 matches

by _willa
Tue Nov 25, 2008 12:03 pm
Forum: Beginners Help
Topic: Rotate Image-2D
Replies: 8
Views: 649

Object 2D ( more features )

I have been trying various ways, including by example "2DGraphics" included in ".. \ examples" and can not get to work with rotations in 2d images. Based on the example of "2DGraphics" and included the following code. scene::ISceneNode* playerNode = smgr->addEmptySceneN...
by _willa
Fri Nov 21, 2008 12:32 pm
Forum: Beginners Help
Topic: Rotate Image-2D
Replies: 8
Views: 649

I do not understand your answer you mean something like IVideoDriver* driver = device->getVideoDriver(); ISceneManager* smgr = device->getSceneManager(); IGUIEnvironment* guienv = device->getGUIEnvironment(); IMesh* mesh = smgr->getMesh("../../media/particlewhite.bmp"); scene::IMeshSceneNo...
by _willa
Fri Nov 21, 2008 11:46 am
Forum: Beginners Help
Topic: Rotate Image-2D
Replies: 8
Views: 649

Rotate Image-2D

I do not understand after multiple tests as you can rotate a picture 2d I tested "driver-> draw2DImage" but neither works. video::ITexture* images = driver->getTexture("../../media/2ddemo.bmp"); scene::ISceneNode* image2d = smgr->addBillboardSceneNode(0,irr::core::dimension2d<f32...