Search found 7 matches

by cvf
Fri Jun 22, 2007 4:27 pm
Forum: Beginners Help
Topic: Speed problems with lots of primitives
Replies: 3
Views: 302

Speed problems with lots of primitives

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::vector3df(6*...
by cvf
Thu May 24, 2007 3:59 pm
Forum: Beginners Help
Topic: Mouse coordinates shifted in GUI
Replies: 7
Views: 1186

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);
by cvf
Thu May 24, 2007 3:57 pm
Forum: Beginners Help
Topic: Offset in Collision Detection with Ray?
Replies: 27
Views: 3714

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);
by cvf
Thu May 24, 2007 3:54 pm
Forum: Bug reports
Topic: setFarValue bug affects getSceneNodeFromScreenCoordinatesBB
Replies: 0
Views: 659

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 modif...
by cvf
Thu May 24, 2007 3:24 pm
Forum: Beginners Help
Topic: Offset in Collision Detection with Ray?
Replies: 27
Views: 3714

I have modified the "14. Win32Window " Irrlicht example to show the bug. Here it is the modified version of " main.cpp ": // this example only runs in windows and demonstrates that Irrlicht // can run inside a win32 window. #include <irrlicht.h> #include <afxwin.h> #include <wind...
by cvf
Wed May 16, 2007 1:56 pm
Forum: Beginners Help
Topic: Mouse coordinates shifted in GUI
Replies: 7
Views: 1186

I have the same problem in my window: http://img66.imageshack.us/img66/5150/irrbug1fn3.png http://img66.imageshack.us/img66/8800/irrbug2em5.png http://img66.imageshack.us/img66/5558/irrbug3jf0.png http://img70.imageshack.us/img70/8939/irrbug4th8.png I have checked the mouse coordinates I get, and th...
by cvf
Wed May 16, 2007 12:56 pm
Forum: Beginners Help
Topic: Offset in Collision Detection with Ray?
Replies: 27
Views: 3714

I have the same problem in my window: http://img66.imageshack.us/img66/5150/irrbug1fn3.png http://img66.imageshack.us/img66/8800/irrbug2em5.png http://img66.imageshack.us/img66/5558/irrbug3jf0.png http://img70.imageshack.us/img70/8939/irrbug4th8.png I have checked the mouse coordinates I get, and th...