T O P I C R E V I E W |
hayalci |
Posted - 05/24/2005 : 08:03:56 AM Hi,
I have a ship simulation using cartesian coordinate system in 3D. It is a geocentric coordinate system. I have the initial position (x,y,z) of the ship. Ship moves one step and i take new calculated x and y but z is always zero in this system. x an y ara calculated from velocities and rotations of the ship and it assumes the ship is in 2D environment. But i also need to calculate z also in the world because i will transfer it to the 3D world. How can i calculate the z component of the position? |
3 L A T E S T R E P L I E S (Newest First) |
verrallr@a |
Posted - 05/27/2005 : 3:37:13 PM Hello Halayci,
Not many people are familiar with euler angles and how to calculate x,y,z postions from them. You may have to do the "dirty work" yourself.
Richard. |
hayalci |
Posted - 05/27/2005 : 04:10:02 AM Ok, thanks, i willask this then.
How can i calculate the transition (new ellipsoidal x,y,z position) of the ship bu using euler angles? What is the formula? I have transition matrix and linear velocites...By using these how can i calculate ellipsoidal coordinates when the ship moves one step from the initial position? |
Thomas M |
Posted - 05/26/2005 : 08:10:12 AM Hi,
I think you will have to write a little bit more about your Problem. How is Z limited? If I understand you correctly it is a movement on a "Surface", so the Z-coordinate is dependent on the XY-position. So you will have to implement a function z=f(x,y). But without knowing more about your problem, further suggestions are impossible.
Thomas |
|
|