Search found 17 matches

by kparamas
Fri Nov 06, 2009 2:14 am
Forum: Advanced Help
Topic: Pivot point for 3D rotation
Replies: 1
Views: 702

Pivot point for 3D rotation

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
by kparamas
Wed Sep 09, 2009 10:33 pm
Forum: Advanced Help
Topic: GUI Button click
Replies: 8
Views: 1235

Thanks. I ll put my code in tag in future.
by kparamas
Wed Sep 09, 2009 9:19 pm
Forum: Advanced Help
Topic: 3D rotation using 2 3D points.
Replies: 5
Views: 1992

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 ...
by kparamas
Tue Sep 08, 2009 5:07 pm
Forum: Advanced Help
Topic: 3D rotation using 2 3D points.
Replies: 5
Views: 1992

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 ...
by kparamas
Tue Sep 08, 2009 9:41 am
Forum: Advanced Help
Topic: 3D rotation using 2 3D points.
Replies: 5
Views: 1992

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 ...
by kparamas
Tue Sep 08, 2009 9:32 am
Forum: Beginners Help
Topic: GLSL shader not available erro
Replies: 3
Views: 265

I try to set the position of objects in the scene.

Its not the same if I try to render it with DirectX shader. My hardware supports directx shader.
by kparamas
Tue Sep 08, 2009 3:38 am
Forum: Beginners Help
Topic: GLSL shader not available erro
Replies: 3
Views: 265

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?
by kparamas
Tue Sep 08, 2009 3:02 am
Forum: Advanced Help
Topic: GUI Button click
Replies: 8
Views: 1235

I did the comparison like this and it works. Thanks all for the help.

stringw login = guienv->getRootGUIElement()->getElementFromId(GUI::GUI_LOGIN_BOX, true)->getText();
stringw pwd = guienv->getRootGUIElement()->getElementFromId(GUI::GUI_PW_BOX, true)->getText();

if(login == L"loginname ...
by kparamas
Mon Sep 07, 2009 12:46 am
Forum: Advanced Help
Topic: GUI Button click
Replies: 8
Views: 1235

Thanks a lot. The event is being caught it works perfectly.

But still I could not evaluate the text in the login and password box.

I tried to print what getText() returns and it always returns
loginname = 049BF9D0 and the check fails.

I entered "loginname" and "pw" in the login and password ...
by kparamas
Thu Sep 03, 2009 5:51 pm
Forum: Advanced Help
Topic: GUI Button click
Replies: 8
Views: 1235

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 ...
by kparamas
Wed Sep 02, 2009 8:49 pm
Forum: Beginners Help
Topic: Irrlicht GUI Menu - Login Dialog
Replies: 1
Views: 324

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
by kparamas
Sun Aug 30, 2009 1:17 am
Forum: Beginners Help
Topic: Increasing the font size in guienv
Replies: 2
Views: 544

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.
by kparamas
Fri Aug 28, 2009 6:02 pm
Forum: Advanced Help
Topic: OpenGL Frustum in Irrlicht
Replies: 2
Views: 646

Thanks devsh.

I saw your Ninja Project. Looks interesting. I am using IrrNewton in my code.

Please let me know if I can join you in the code.
by kparamas
Fri Aug 28, 2009 2:21 am
Forum: Advanced Help
Topic: OpenGL Frustum in Irrlicht
Replies: 2
Views: 646

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 ...
by kparamas
Wed Aug 26, 2009 2:18 am
Forum: Advanced Help
Topic: Projection DirectX and OpenGL
Replies: 8
Views: 4630

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