I can draw2dRectangle(), but I am trying to use this instead now.
I'm using OGL to render, becasue I dont have DX8 (and software is supposed to be buggy).
my code is simple (between start and end function calls):
Code: Select all
irr::core::vector3df tl, tr, bl;
tl.set(-10.0f, 10.0f, 0.0f);
tr.set(10.0f, 10.0f, 0.0f);
bl.set(-10.0f, -10.0f, 0.0f);
irr::core::triangle3df up, rht;
up.set( bl, tl, tr ); //tr, tl, bl );
m_driver->draw3DTriangle(up, color); This is inside of a static singleton function.
It is NOT inside of a ISceneNode derived class.
Are those things required? What am I wrongly assuming?
Your help == appreciated!