Search found 11 matches
- Thu Nov 22, 2007 10:45 am
- Forum: Bug reports
- Topic: Some triangles are not drawn when using a scaled Octree node
- Replies: 8
- Views: 2593
I did a little experimenting and found out a few things: - if the bounding box of the view frustum is used instead of the frustum, the problem appears in somewhat less situations. - if when transforming the frustum to the absolute transformation of the node the transformed planes are normalized and ...
- Tue Nov 20, 2007 1:35 pm
- Forum: Bug reports
- Topic: Some triangles are not drawn when using a scaled Octree node
- Replies: 8
- Views: 2593
Upgrading to 1.4b didn't fix the problem. HERE'S HOW TO REPLICATE THE BUG: 1. Open up example 02. Quake3Map and change if (node) node->setPosition(core::vector3df(-1300,-144,-1249)); to if (node) { node->setPosition(core::vector3df(-1300,-144,-1249)); node->setScale( core::vector3df( 1, 5, 1 ) ); } ...
- Mon Nov 19, 2007 2:04 pm
- Forum: Bug reports
- Topic: Some triangles are not drawn when using a scaled Octree node
- Replies: 8
- Views: 2593
The scaling has to be dynamic and there is no modeler - this is actual field data that has been triangulated. I'm not scaling the model itself, just applying a transformation. If no transformation is applied the octree performs as expected. @hybrid: If you are referring to the classifyPointRelation ...
- Mon Nov 19, 2007 10:56 am
- Forum: Bug reports
- Topic: Some triangles are not drawn when using a scaled Octree node
- Replies: 8
- Views: 2593
Further examination revealed that the problem is caused by the fact that a transformation is being applied to the scene node, namely that it's being scaled. The octtree however uses the unscaled bounding box of the mesh and decides that it's outside the frustum. I believe this is a bug in the engine...
- Mon Nov 19, 2007 10:19 am
- Forum: Bug reports
- Topic: Some triangles are not drawn when using a scaled Octree node
- Replies: 8
- Views: 2593
Some triangles are not drawn when using a scaled Octree node
I have a static mesh from which I'm creating an OctTree scene node. However some (or all) of the triangles disappear when the camera is looking at the mesh from certain angles. Debugging through the code I found out that irrlicht thinks that some of the bounding boxes inside the tree (or even the wh...
- Thu Nov 15, 2007 4:04 pm
- Forum: Bug reports
- Topic: [fixed] Optimization suggestion for nodes with many children
- Replies: 1
- Views: 347
[fixed] Optimization suggestion for nodes with many children
I have an hierarchy where many nodes share a common parent. A really significant amount of time is spent creating new nodes that share this parent, because currently irrlicht traverses its list with children every time a new one is being added: // ISceneNode's constructor: ISceneNode( ISceneNode* pa...
- Thu Nov 15, 2007 12:58 pm
- Forum: Beginners Help
- Topic: Drawing text results in a filled rectangle?
- Replies: 1
- Views: 291
- Wed Nov 14, 2007 3:00 pm
- Forum: Beginners Help
- Topic: Drawing text results in a filled rectangle?
- Replies: 1
- Views: 291
Drawing text results in a filled rectangle?
Hi everyone, I'm trying to show some text in my 3D world but instead only a filled rectangle appears at the given position (filled with the color I'm passing to the function). Here's how I add the text scene node: gui::IGUIFont* font = m_pSceneManager->getGUIEnvironment()->getBuiltInFont(); SColor c...
- Sat Sep 29, 2007 5:36 am
- Forum: Beginners Help
- Topic: How to share model information between views?
- Replies: 5
- Views: 336
- Fri Sep 28, 2007 10:26 am
- Forum: Beginners Help
- Topic: How to share model information between views?
- Replies: 5
- Views: 336
- Fri Sep 28, 2007 9:49 am
- Forum: Beginners Help
- Topic: How to share model information between views?
- Replies: 5
- Views: 336
How to share model information between views?
Hi everyone. I have a pretty simple question - I want to display a single mesh in several different windows - each window has its own IrrlichtDevice, video driver, scene graph etc. However they all need to display the same model data, which takes up quite a lot of memory. So, how can I share the mod...