Jump to content

  • Log In with Google      Sign In   
  • Create Account

We need your feedback on a survey! Each completed response supports our community and gives you a chance to win a $25 Amazon gift card!


Binding a camera to a sphere - revisited


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
No replies to this topic

#1 geocliptic   Members   -  Reputation: 103

Like
0Likes
Like

Posted 21 April 2014 - 01:49 PM

I stumbled upon an old post that addresses an issue I have been struggling with.  I am quaternion challenged, so it is difficult to figure out how to incorporate this feature into a third-party quaternion-based camera that I'm using.
 
The camera appears to perform both quaternion rotations and camera positioning separately.  Using Emergent's pseudocode, I think I have the positioning working correctly, but I won't know for sure until I get the rotations fixed.
 
The rotation portion uses mouse movement/keyboard input to rotate the camera.  I'm guessing that's were I need to put the vector portions from the article over to this code, but it ain't going well.  I guess it makes sense to commingle mouse movements with object alignment, I just don't know how to do that.  
 
I can supply additional details, just let me know what they are.  I would really appreciate any assistance anyone can give me.  
 
Thank you.


Sponsor:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS