Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Orbit Camera Test 01 (Unity3D Script)

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
4,887
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Dec 1, 2009

The art of illusion - Make it move when that is static.

Does Venus travel around in the temple of Ramesseum ?
No, that's just an illusion.

- case study for camera movement with fixed frame size.
- customized rotate matrix in YXZ order.

[source code]
http://forum.unity3d.com/viewtopic.php?p=313993

[webplayer]
http://homepage.mac.com/antonioh/unity3d/build/DualCam_007.html
(approx. 10MB)

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Video Responses

see all

All Comments (4)

Sign In or Sign Up now to post a comment!
  • Wow Venus looks sweet! Is that just a texture or has it been handled by the shader? If it is the shader might you share it with me? 0803332@live.abertay.ac.uk

    Either way, keep up the great work ;)

  • how many line of code ? the core only need 4 lines :)

    var d = c.orthographicSize /tan(c.fieldOfView *3.141592653589793/360.0);

    var r:Vector3 = rotateYX0(eyeVec)*Vector4(axis­.x,axis.y,axis.z,0).normalized­;

    c.transform.position = target + r*d;

    c.transform.LookAt(target);

    of course, you need to build a standard rotate matrix in YXZ order and some code for animation ;)

  • You guys are everywhere man! xD But indeed nice work Wish! How many lines is your script? o_0

  • Wow, well done!

    -TT

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more