We are re-building Nukepedia!

Please bear with us for a little while longer

and keep an eye out for an

official announcement very soon...

 

geoTracker v1.0


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: evil kornholio
Tracks selected vertexes of any geometry in a human way.
Requirements:
11.0, 10.5, 10.0, 9.0, 8.0 or later
05 Dec 2017
909

Tracks selected vertexes of any geometry provided at once, a bit faster than nuke.....

Also can reconcile results a bit faster than nuke native reconcile...

About section should explain everything in a simple way.


Enjoy.

Just be fair.
Please login in order to download these files.

Comments   

 
0 # li zhaohui 2017-12-06 14:00
It would be better if you could generate the position of the object to rotate and zoom.
 
 
0 # evil kornholio 2017-12-06 14:09
Yes you could. Think! :)
 
 
0 # evil kornholio 2017-12-06 14:14
Yes you could. Think! :) 3 points are ok to calculate a matrix. But when mesh is deformed what happens with that transform?
 
 
0 # li zhaohui 2017-12-06 16:17
http://www.nukepedia.com/python/3d/animatedsnap3d
Scaling functions can be implemented,
But the rotation is the wrong map and it finds the model that the rotation is leaping.
But I prefer the form of the menu!
http://www.nukepedia.com/python/3d/locometry
Better than animatedSnap3D
 
 
0 # evil kornholio 2017-12-07 03:05
feel free to play

def matrixFrom3Poin ts(pp1=[0,0,0], pp2=[0,0,0],pp3 =[0,0,0]):
p1 = nuke.math.Vecto r3(pp1[0],pp1[1 ],pp1[2])
p2 = nuke.math.Vecto r3(pp2[0],pp2[1 ],pp2[2])
p3 = nuke.math.Vecto r3(pp3[0],pp3[1 ],pp3[2])
om=nuke.math.Ma trix4()
om.makeIdentity ()

v1=p2-p1
v2=p3-p1
v1.normalize()
v2.normalize()

nv1 =(v1.cross(v2))
nv1.normalize()
nv2 = (nv1.cross(v1))
nv2.normalize()

om[0]=v1[0]
om[4]=v1[1]
om[8]=v1[2]
om[1]=nv2[0]
om[5]=nv2[1]
om[9]=nv2[2]
om[2]=nv1[0]
om[6]=nv1[1]
om[10]=nv1[2]
om[3]=p1[0]
om[7]=p1[1]
om[11]=p1[2]
#ToMultiply Directly uncomment

#om.transpose()
#om.rotateZ(mat h.radians(90))
return om
 
 
0 # li zhaohui 2018-06-19 18:32
! I don't know how to do it
 

You have no rights to post comments

We have 6842 guests and 80 members online