Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Ian Ross has just released a book on Anim8or. It's perect for a beginner and a good reference for experienced users. It contains detailed chapters on every aspect, with many examples. Get your own copy here: "Anim8or Tutorial Book"

Author Topic: Camera orientation in scene mode  (Read 7466 times)

johnar

  • Hero Member
  • *****
  • Posts: 1032
  • Make it, Move it--Give it Life
    • View Profile
    • youtube vids
Camera orientation in scene mode
« on: January 30, 2015, 10:27:50 pm »

Rather than go into a long winded spiel about whats going on, it would probably be easier to just ask this question.
 Scene mode. The camera is set to 'facing other', and the other,(figure), moves around the scene, with camera following.
 The orientation of the camera changes hugely during this part of the scene, but the cameras orientation values remain the same.
0.000, -0.000 and -0.000?

 Shouldn't the values be showing the orientation of the camera.?
Logged
%

ENSONIQ5

  • Hero Member
  • *****
  • Posts: 1012
    • View Profile
    • Mission Backup Earth
Re: Camera orientation in scene mode
« Reply #1 on: January 30, 2015, 11:53:38 pm »

Not if the orientation is relative to the object it's facing, then its orientation isn't really changing at all.  It's like if you set an object as the child of another.  If you move the parent the child moves too, but the child object's position values remain unchanged as they are relative to the parent.
« Last Edit: January 30, 2015, 11:59:29 pm by ENSONIQ5 »
Logged

johnar

  • Hero Member
  • *****
  • Posts: 1032
  • Make it, Move it--Give it Life
    • View Profile
    • youtube vids
Re: Camera orientation in scene mode
« Reply #2 on: January 31, 2015, 02:18:01 am »

Ok. i see that now. Thanks for the reply.
 But..... although the orientation isn't really changing relative to the object it is facing, it is changing as far as world co-ordinates go.
  As it is now then, as soon as the camera is made a 'child' to an object, then there is no way to access the world orientation of the camera ?.
 Makes it near impossible to do a seamless camera swap, in some cases anyway, not knowing the exact orientation of the camera(s)
 hmmm, oh well, back to the drawing board.... :-\
« Last Edit: January 31, 2015, 02:46:32 am by johnar »
Logged
%

ENSONIQ5

  • Hero Member
  • *****
  • Posts: 1012
    • View Profile
    • Mission Backup Earth
Re: Camera orientation in scene mode
« Reply #3 on: January 31, 2015, 02:43:10 am »

Yeah, that's a problem.  Even a script just returns an orientation of 0,0,0.  While it would be possible to script the motion of the second camera, determining the orientation of the first camera mathematically based on its location in 3D space relative to the location of the object it's pointing at, that might be over complicating things.  Not sure of your requirements but one possible solution might be to use camera targets, each camera pointing to a different target.  In the frame where the cameras switch, if both targets are in the same location, and both cameras are in the same location, for that frame both cameras should show the exact same scene (so long as they are of the same type etc.)
Logged

johnar

  • Hero Member
  • *****
  • Posts: 1032
  • Make it, Move it--Give it Life
    • View Profile
    • youtube vids
Re: Camera orientation in scene mode
« Reply #4 on: January 31, 2015, 02:57:17 am »

Quote
...but one possible solution might be to use camera targets...
Nice one ENSONIQ5 That'll probly do it.

 Funny thing, i started off with 1 target at the beginning.....thanks for putting me back on track there.... TWO targets, same place, and with both cameras  in identical positions, the targets will take care of the cameras orientations....sounds like it'll work
 Cool....cheers for that...
Logged
%

ENSONIQ5

  • Hero Member
  • *****
  • Posts: 1012
    • View Profile
    • Mission Backup Earth
Re: Camera orientation in scene mode
« Reply #5 on: January 31, 2015, 04:19:58 am »

No probs, hope it works! Cheers. :)
Logged