Horde3D http://horde3d.org/forums/ |
|
Can't change scenegraph color? http://horde3d.org/forums/viewtopic.php?f=1&t=45 |
Page 1 of 1 |
Author: | B_old [ 02.01.2007, 17:46 ] |
Post subject: | Can't change scenegraph color? |
Hi, I tried to change the color of a scenegraph but did not get any feedback. Is color only changeable for lights? Changing the color of 256 scenegraphs per frame also caused a major slowdown, which I did not really expect. |
Author: | marciano [ 03.01.2007, 12:54 ] |
Post subject: | |
At the moment the color parameter is only valid for light sources. You can have a look at the API documentation, there is a description of the SceneNodeParams Enum that tells which params are valid for a node. Concerning the performance, the scene graph is still completely unoptimized. It doesn't have any dirty flags yet but that will change in the near future of course. The next release of the engine for example will already give you a very strong performance boost for rendering scenes with shadows |
Author: | B_old [ 04.01.2007, 17:11 ] |
Post subject: | |
A small thing that probably doesn't warrant a new thread. In utMath.h Vec3f::normalized() should be made const. |
Author: | marciano [ 06.01.2007, 16:36 ] |
Post subject: | |
Yeah thanks, fixed that and some similiar issues in the math lib. |
Page 1 of 1 | All times are UTC + 1 hour |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |