Search found 11 matches

by izhbq412
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: 2580

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 ...
by izhbq412
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: 2580

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 ) ); } ...
by izhbq412
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: 2580

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 ...
by izhbq412
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: 2580

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...
by izhbq412
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: 2580

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...
by izhbq412
Thu Nov 15, 2007 4:04 pm
Forum: Bug reports
Topic: [fixed] Optimization suggestion for nodes with many children
Replies: 1
Views: 343

[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...
by izhbq412
Thu Nov 15, 2007 12:58 pm
Forum: Beginners Help
Topic: Drawing text results in a filled rectangle?
Replies: 1
Views: 287

It turned out my version of OpenGL was too old. Updating the drivers for my video card solved the problem.
by izhbq412
Wed Nov 14, 2007 3:00 pm
Forum: Beginners Help
Topic: Drawing text results in a filled rectangle?
Replies: 1
Views: 287

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...
by izhbq412
Sat Sep 29, 2007 5:36 am
Forum: Beginners Help
Topic: How to share model information between views?
Replies: 5
Views: 328

That makes sense and is a viable solution in my case. Thanks for the help :)
by izhbq412
Fri Sep 28, 2007 10:26 am
Forum: Beginners Help
Topic: How to share model information between views?
Replies: 5
Views: 328

I really do need separate windows, they're different Windows windows, it's not a game running in full screen :)
by izhbq412
Fri Sep 28, 2007 9:49 am
Forum: Beginners Help
Topic: How to share model information between views?
Replies: 5
Views: 328

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...