Added: 2 years ago
From: wish24601
Views: 4,971
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

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 ;)

  • Wow, well done!

    -TT

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

  • 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 ;)

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