Search found 39 matches

by mmh771
Sat May 27, 2006 8:07 am
Forum: Beginners Help
Topic: How can i change a node's coordinates!
Replies: 3
Views: 185

How can i change a node's coordinates!

I have an ICameraSceneNode* camera in my scene, i used camera->setPosition(vector3df(100, 30, 200)) to set it above a terrain. Now i need to reset the Camera coordinates to be (0, 0, 0) without moving back to 0, 0, 0! .... I hope you got what i am trying to say here ... And now when i move the camer...
by mmh771
Fri May 26, 2006 10:12 pm
Forum: Beginners Help
Topic: Need help in understanding FPS camera behaviour!
Replies: 6
Views: 257

I've got D+ in Calculas I, and D in Calculas II !!!!

And Sin and Cos, are the very last thing i can deal with! .. would you JUST show me a simple example how can i use them to solve my probelm!

please ...
by mmh771
Fri May 26, 2006 12:33 pm
Forum: Beginners Help
Topic: Need help in understanding FPS camera behaviour!
Replies: 6
Views: 257

Hybrid, thanks for your answer ... and now i've just got what getAbsolutePoistion does ... And now for my main question, which is about after setting the Camera Rotation Value around the Y-Axis, how can i know the next coordinates, to set the camera position to it. in other words: First we need to g...
by mmh771
Fri May 26, 2006 10:28 am
Forum: Beginners Help
Topic: Need help in understanding FPS camera behaviour!
Replies: 6
Views: 257

Here are the following steps I've came up with so far! current = camera->getPosition(); // gets the camera's current position camera->setRotation(0, R, 0); // sets the camera's direction along Y-Axis camera->setPosition( current++) // Now move one step forward As you can see, this is just a pseud co...
by mmh771
Fri May 26, 2006 10:17 am
Forum: Beginners Help
Topic: Need help in understanding FPS camera behaviour!
Replies: 6
Views: 257

And i've forgot to mention, that the camera will always be going forward.

Code: Select all

int i = 0;

while(device->run())
i++;

camera->setPosition(0, 0, i);
...
...
...
by mmh771
Fri May 26, 2006 9:29 am
Forum: Beginners Help
Topic: Need help in understanding FPS camera behaviour!
Replies: 6
Views: 257

Need help in understanding FPS camera behaviour!

First of all, what is the difference between get position and get absolute position? If i have array of coordinates i want my webcam to follow, like this: Turn Left -> 75% Turn Right -> 30% Turn Right -> 100% Turn right - 60% as 100% is either a full LEFT or full Right, in other words, a 100% Right ...
by mmh771
Thu May 25, 2006 10:19 am
Forum: Beginners Help
Topic: How to Control the CameraFPS using a regular webcam
Replies: 4
Views: 268

I mean the code i've posted just turn the face one time, it doesn't keep in turning right!
by mmh771
Thu May 25, 2006 7:30 am
Forum: Beginners Help
Topic: How to Control the CameraFPS using a regular webcam
Replies: 4
Views: 268

How to Control the CameraFPS using a regular webcam

Dear all, I hope you will be able to read this ASAP, because i am really running out of time and i have a graduation project to deliver after 4 days! .... Once i post a thread about, "How to Control the CameraFPS using a regular webcam!" and someone post me a helpful response that i am tha...
by mmh771
Sat May 20, 2006 10:57 am
Forum: Beginners Help
Topic: How to create a Texture Material in 3D-Max
Replies: 0
Views: 135

How to create a Texture Material in 3D-Max

Does anyone know how to create a Texture Material in 3D-Max? I've modeled a large terrain in 3D-Max and export it as my3d format, and now its working 100% in my Irrlicht Scene, but when i applied a texture to it on 3D-Max (using a Diffuse Channel-->Bitmap) it works fine when i render it in 3D-Max, a...
by mmh771
Fri May 19, 2006 5:16 pm
Forum: Beginners Help
Topic: Creating a Terrain in 3D-Max
Replies: 4
Views: 234

Actually, i am using the source code for the my3dTools patches! the one with the temple and the skydome! ....

i did the lighting thing in 3D max ..
by mmh771
Fri May 19, 2006 5:01 pm
Forum: Beginners Help
Topic: Creating a Terrain in 3D-Max
Replies: 4
Views: 234

Creating a Terrain in 3D-Max

Guys, i've done a nice big terrain using 3d-max7 and after i've added a material to it (using the diffuse channel), i exported it to my3d format and included it in my irrlicht program. The problem i am facing now is, the material i've applied to the terrain is not what exactly i see after i compile ...
by mmh771
Fri May 19, 2006 3:54 pm
Forum: Beginners Help
Topic: How to scale an IAnimatedMeshSceneNode Texture!
Replies: 1
Views: 104

How to scale an IAnimatedMeshSceneNode Texture!

Does anyone here know how to scale a SceneNode texure, like repeating it 20 or 30 times! ...

I only found in the tutorials how to scale a TerrainSceneNode texure by using:

Myterrain->setscale(....)

But i want to scale it for a different SceneNode rather than the terrainSceceNode
by mmh771
Sun May 14, 2006 3:39 pm
Forum: Beginners Help
Topic: Collision Detection, and Height Detection help needed!
Replies: 4
Views: 301

I am afraid, gravitiy won't fix the problem, i sat it to 1000, but still it is able to climb high slopes and edges!
by mmh771
Sun May 14, 2006 3:31 pm
Forum: Beginners Help
Topic: Collision Detection, and Height Detection help needed!
Replies: 4
Views: 301

Collision Detection, and Height Detection help needed!

Now the collision detection tutorial works perfect with me, and my CameraSceneNode collides 100% with the terrain (actually its *.my3d node). But the problem i am facing now, that the FPS camera is still able to go VERY HIGH slops! .. while logically it is not suppose to climb it! So, anyone have an...
by mmh771
Thu May 11, 2006 6:22 pm
Forum: Beginners Help
Topic: IWaterSurfaceSceneNode .. any suggestions ?
Replies: 1
Views: 333

IWaterSurfaceSceneNode .. any suggestions ?

Guys ... I've just added a water surface scene node to my scene, which contains a "*.my3d" Terrain, and a just raised its position along the Y-axis to cover the bottom of the terrain .... i have 2 questions here: 1. when i created it, it says that i have to write an IMesh object as my firs...