2 questions :) (white color ? and... origin unwanted change)
Posted: Wed Nov 08, 2006 8:20 pm
Hi all !
Here I am with 2 new noob questions
1) The first one (the simplest I guess) :
I can't get many colours work....
When I write :
I hope to get a white color, but no, I get red (or green, dont remember)...
The same happens if I try
I get red as well...
Did I do something wrong ?
2) The second question (more difficult maybe)
I use the CQuadTreeSceneNode (picked here http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=13500 thanks to bitplane), but when I put the first and the 42nd node on the map, (Im currently working on a simple level editor for my future game) it changes the origin of my whole world to the place where I put the node !!
(then everything is shifted, for example if I try to draw the bounding box of a node... the drawed box is shifted by a distance that equals the position of the "new" origin, substracted by the "normal" origin (0,0,0) )
Please, if someone knows what can be the cause of that thing, I would really appreciate any help
Thanks , and good evening !
Here I am with 2 new noob questions
1) The first one (the simplest I guess) :
I can't get many colours work....
When I write :
Code: Select all
const SColor COLOR_BOUNDING_BOX = SColor(255, 255, 255, 255);
The same happens if I try
Code: Select all
const SColor COLOR_BOUNDING_BOX = SColor(255, 255, 0, 255);
Did I do something wrong ?
2) The second question (more difficult maybe)
I use the CQuadTreeSceneNode (picked here http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=13500 thanks to bitplane), but when I put the first and the 42nd node on the map, (Im currently working on a simple level editor for my future game) it changes the origin of my whole world to the place where I put the node !!
(then everything is shifted, for example if I try to draw the bounding box of a node... the drawed box is shifted by a distance that equals the position of the "new" origin, substracted by the "normal" origin (0,0,0) )
Please, if someone knows what can be the cause of that thing, I would really appreciate any help
Thanks , and good evening !