Search found 8 matches
- Tue Jul 19, 2011 5:21 am
- Forum: Beginners Help
- Topic: Rotate a mesh to a destination
- Replies: 2
- Views: 220
Rotate a mesh to a destination
Hello guys, I have a problem in rotating a mesh in my program. I load a mesh and try to rotate it to a destination. vector - current position vector - destination position. I want to know how to calculate the direction(turn left or right) and the amount of rotation from current position to the desti...
- Wed Jan 26, 2011 3:08 am
- Forum: Advanced Help
- Topic: How to update the API, UpdateTrans of VCollide?
- Replies: 0
- Views: 374
How to update the API, UpdateTrans of VCollide?
Hello guys, I try to apply VCollide to Irrlicht now. However, I don't know how to update position and rotation of an object. This is the code that I implemented. If you have the experience on VCollide, let me how to fix in updating position and rotation of an object. ptrSceneNode = m_nodePool[nId]; ...
- Tue May 11, 2010 2:11 pm
- Forum: Advanced Help
- Topic: How to convert OpenGL code to Irrlicht?
- Replies: 3
- Views: 560
How to convert OpenGL code to Irrlicht?
Hi everyone, I have a problem in converting OpenGL code to Irrlicht. This code is to draw a character based on motion capture data and composed with several links such as fore arms, tights, feets, etc. However, I don't know how to convert this code to Irrlicht. If you have any idea, let me know, ple...
- Tue May 11, 2010 12:39 am
- Forum: Advanced Help
- Topic: How to make a camera to operate like google earth camera
- Replies: 1
- Views: 362
How to make a camera to operate like google earth camera
Hi everyone,
I want to make a camera to operate like google earth camera using irrlicht. Are there any source codes which can help me to implement the camera?
Thank you.
I want to make a camera to operate like google earth camera using irrlicht. Are there any source codes which can help me to implement the camera?
Thank you.
- Sat Apr 11, 2009 12:11 pm
- Forum: Beginners Help
- Topic: glRotate and glPushMatrix
- Replies: 7
- Views: 589
- Sat Apr 11, 2009 9:54 am
- Forum: Beginners Help
- Topic: glRotate and glPushMatrix
- Replies: 7
- Views: 589
The code should be quite ok, however you're dealing with different coordinate systems here. OpenGL uses a right-handed y-up, while Irrlicht uses left-handed. This means that you have to negate one or all three coord elements of a vector. Rotations are much more involved, although using angle and ax...
- Sat Apr 11, 2009 7:46 am
- Forum: Beginners Help
- Topic: glRotate and glPushMatrix
- Replies: 7
- Views: 589
- Fri Apr 10, 2009 11:56 pm
- Forum: Beginners Help
- Topic: glRotate and glPushMatrix
- Replies: 7
- Views: 589
glRotate and glPushMatrix
Hello, I have trouble in changing OpenGL code to Irrlicht. I don't know how to change the below code to Irrlicht. Would you let me know how to convert OpenGL code to Irrlicht? for(int i = 1; i < NUM_LINKS; i++) { glPushMatrix(); glTranslatef(t[0], t[1], t[2]); glRotatef(angle, axis[0], axis[1], axis...