Six Degrees of Freedom

Started by
4 comments, last by jwblair 21 years, 8 months ago
Two Questions: 1. I am working on a globe that I created work. I have created the globe with the texture. I also rotated the globe -90 degrees and the x-axis and 90 degrees around the z-axis to get the orientation right. Now that I rotated my scene -90 degrees around the x-axis my y-axis has now become my z-axis and vice versa. So how do I correct my orientation to show true x,y and z axis without disturbing the orientation of the globe that I created? 2. Are there any good tutorials out there for moving objects in a scene in six degrees of freedom? IE Zoom in and Out, rotate about the x and y axies, and translated the object to any coordinate location in the scene? Any help would be greatly appreciated! Thanks!
Thanks!John William Blair "The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he who, in the name of charity and good will, shepherds the weak through the valley of the darkness. For he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee."
http://members.home.com/chucklez/wtc/index.html
Advertisement
u ahould use quaternions, search for them on google.com
if u want i have a nice working vc++ project about quaternions.



www.web-discovery.net

you don''t need quats for this. just use a regular matrix, but when you go to rotate it, multiply the rotation vector by the matrix.
Thanks for the suggestion. I will research quaternions. As for the last post, penetrator could you please explain this?

Thanks!
Thanks!John William Blair "The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he who, in the name of charity and good will, shepherds the weak through the valley of the darkness. For he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee."
http://members.home.com/chucklez/wtc/index.html

What I want to do is the mouse movement of objects similar to what was done in this demo.

http://www.cfxweb.net/~delphigl/
Thanks!John William Blair "The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he who, in the name of charity and good will, shepherds the weak through the valley of the darkness. For he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee."
http://members.home.com/chucklez/wtc/index.html
jwblair, check your email !



www.web-discovery.net

This topic is closed to new replies.

Advertisement