Hi,
I want to rotate an object about a pivot point.
Basically I want to set a point based on which the object needs to be rotated.
But,
node->setRotation rotates an object which is not expected.
Please let me know how to do it.
regards,
Kguru
Search found 17 matches
- Fri Nov 06, 2009 2:14 am
- Forum: Advanced Help
- Topic: Pivot point for 3D rotation
- Replies: 1
- Views: 625
- Wed Sep 09, 2009 10:33 pm
- Forum: Advanced Help
- Topic: GUI Button click
- Replies: 8
- Views: 1064
- Wed Sep 09, 2009 9:19 pm
- Forum: Advanced Help
- Topic: 3D rotation using 2 3D points.
- Replies: 5
- Views: 1865
I calibrate the position of the IR dots to the screen co-ordinates. My screen co-ordinates X: -15 to 15 ; Y : -10 to 10 and Z: -18 to +18. Normally Raw X and Raw Y range from (0.0 - 1.0) and I calculate the depth using 1/(xL - xR) ; xL - position seen by the left wiimote and xR - position seen by th...
- Tue Sep 08, 2009 5:07 pm
- Forum: Advanced Help
- Topic: 3D rotation using 2 3D points.
- Replies: 5
- Views: 1865
Edited the code section. Is there a way in Irrlicht to find the rotation using 2 3D points. I am using wiimote for my project and I calculate the 3D position of 2 IR led dots. I use these 2 dots to find the rotations in 3D. Is there an easy way in Irrlicht to do this? (quaternions or sth). Also I di...
- Tue Sep 08, 2009 9:41 am
- Forum: Advanced Help
- Topic: 3D rotation using 2 3D points.
- Replies: 5
- Views: 1865
3D rotation using 2 3D points.
Is there a way in Irrlicht to find the rotation using 2 3D points. I am using wiimote for my project and I calculate the 3D position of 2 IR led dots. I use these 2 dots to find the rotations in 3D. Is there an easy way in Irrlicht to do this? (quaternions or sth). Also I did the rotations in 2D usi...
- Tue Sep 08, 2009 9:32 am
- Forum: Beginners Help
- Topic: GLSL shader not available erro
- Replies: 3
- Views: 183
- Tue Sep 08, 2009 3:38 am
- Forum: Beginners Help
- Topic: GLSL shader not available erro
- Replies: 3
- Views: 183
GLSL shader not available erro
Hi,
I use to program in my lab PC.
But I tried to run the same program in my laptop using GLSL shader.
It says GLSL shader not available.
Should I install any software for this or is it a hardware issue?
Also the alignment in the scene is changed. Please let me know what to do?
I use to program in my lab PC.
But I tried to run the same program in my laptop using GLSL shader.
It says GLSL shader not available.
Should I install any software for this or is it a hardware issue?
Also the alignment in the scene is changed. Please let me know what to do?
- Tue Sep 08, 2009 3:02 am
- Forum: Advanced Help
- Topic: GUI Button click
- Replies: 8
- Views: 1064
- Mon Sep 07, 2009 12:46 am
- Forum: Advanced Help
- Topic: GUI Button click
- Replies: 8
- Views: 1064
- Thu Sep 03, 2009 5:51 pm
- Forum: Advanced Help
- Topic: GUI Button click
- Replies: 8
- Views: 1064
GUI Button click
Hi, I created a login form and added login and password edit boxes. I have a couple of issues. 1. I have to check the user name and password on the editbox when I click "LOGIN" button. I dont know how to do the event receiver. I tried this, switch(event.GUIEvent.EventType) { case EGET_BUTT...
- Wed Sep 02, 2009 8:49 pm
- Forum: Beginners Help
- Topic: Irrlicht GUI Menu - Login Dialog
- Replies: 1
- Views: 198
Irrlicht GUI Menu - Login Dialog
Hi,
Is it possible to add a login dialog for the game using Irrlicht GUI.
Please help me out.
Thanks,
Kumar
Is it possible to add a login dialog for the game using Irrlicht GUI.
Please help me out.
Thanks,
Kumar
- Sun Aug 30, 2009 1:17 am
- Forum: Beginners Help
- Topic: Increasing the font size in guienv
- Replies: 2
- Views: 439
Increasing the font size in guienv
Hi,
I have created a new font.
But how to apply that font to the text displayed in GUI Menu and Messge Box. I am not able to change its default font.
I tried guienv->getFont(<My File>);
<My File> - I tried giving the bmp file and the xml file. But both didnt work.
I have created a new font.
But how to apply that font to the text displayed in GUI Menu and Messge Box. I am not able to change its default font.
I tried guienv->getFont(<My File>);
<My File> - I tried giving the bmp file and the xml file. But both didnt work.
- Fri Aug 28, 2009 6:02 pm
- Forum: Advanced Help
- Topic: OpenGL Frustum in Irrlicht
- Replies: 2
- Views: 555
- Fri Aug 28, 2009 2:21 am
- Forum: Advanced Help
- Topic: OpenGL Frustum in Irrlicht
- Replies: 2
- Views: 555
OpenGL Frustum in Irrlicht
// Projection Transformation // ========================= glMatrixMode(GL_PROJECTION); glLoadIdentity(); glFrustum( (-H_SCREENEDGE-my_camera.eye_pos[COORD_X]) * nearplane/my_camera.eye_pos[COORD_Z] * 0.3, // left (H_SCREENEDGE-my_camera.eye_pos[COORD_X]) * nearplane/my_camera.eye_pos[COORD_Z] * 0.3,...
- Wed Aug 26, 2009 2:18 am
- Forum: Advanced Help
- Topic: Projection DirectX and OpenGL
- Replies: 8
- Views: 4391
Hi andytheb, Please let me know what is the value of d_perp. The example code uses OpenCV. Is there a code that uses Nintendo Wiimotes for headtracking. I am having hard time setting up the projection matrix while using Irrlicht. I have a working code in OpenGL. Thanks, Guru Simply changing the view...