Hello, I need to use a 50x50 grid os small spheres in my program, but it makes Irrlicht go extremelly slow ... here it is the code I use:
for (int y = 0; y < 50; y++)
{
for (int x = 0; x < 50; x++)
{
scene::ISceneNode* DotSceneNode = smgr->addSphereSceneNode(.5, 8, NULL, IDFILTER,
core ...
Search found 7 matches
- Fri Jun 22, 2007 4:27 pm
- Forum: Beginners Help
- Topic: Speed problems with lots of primitives
- Replies: 3
- Views: 383
- Thu May 24, 2007 3:59 pm
- Forum: Beginners Help
- Topic: Mouse coordinates shifted in GUI
- Replies: 7
- Views: 1489
I have found the solution to this problem. I posted it at:
http://irrlicht.sourceforge.net/phpBB2/ ... 895#117895
The problem is the line: cam->setFarValue(10000000.0f);
http://irrlicht.sourceforge.net/phpBB2/ ... 895#117895
The problem is the line: cam->setFarValue(10000000.0f);
- Thu May 24, 2007 3:57 pm
- Forum: Beginners Help
- Topic: Offset in Collision Detection with Ray?
- Replies: 27
- Views: 4869
I have found the solution to this problem. I posted it at:
http://irrlicht.sourceforge.net/phpBB2/ ... 895#117895
The problem is the line: cam->setFarValue(10000000.0f);
http://irrlicht.sourceforge.net/phpBB2/ ... 895#117895
The problem is the line: cam->setFarValue(10000000.0f);
- Thu May 24, 2007 3:54 pm
- Forum: Bug reports
- Topic: setFarValue bug affects getSceneNodeFromScreenCoordinatesBB
- Replies: 0
- Views: 729
setFarValue bug affects getSceneNodeFromScreenCoordinatesBB
After thinking there was a bug at getSceneNodeFromScreenCoordinatesBB , I discovered in my code it was a bug in setFarValue the cause of the problem... this last function, when called with a big value (which is in the f32 range), affects the results of the retreived mouse coordinates...
I have ...
I have ...
- Thu May 24, 2007 3:24 pm
- Forum: Beginners Help
- Topic: Offset in Collision Detection with Ray?
- Replies: 27
- Views: 4869
- Wed May 16, 2007 1:56 pm
- Forum: Beginners Help
- Topic: Mouse coordinates shifted in GUI
- Replies: 7
- Views: 1489
- Wed May 16, 2007 12:56 pm
- Forum: Beginners Help
- Topic: Offset in Collision Detection with Ray?
- Replies: 27
- Views: 4869