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 ;)
tawmuller 4 months ago
Wow, well done!
-TT
TornadoTwins 2 years ago
You guys are everywhere man! xD But indeed nice work Wish! How many lines is your script? o_0
Stinnie89 2 years ago
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 ;)
wish24601 2 years ago
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 ;)
tawmuller 4 months ago
Wow, well done!
-TT
TornadoTwins 2 years ago
You guys are everywhere man! xD But indeed nice work Wish! How many lines is your script? o_0
Stinnie89 2 years ago
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 ;)
wish24601 2 years ago