Hi all , anyone know a formula to get the corners cordinates of a rectagle knowing the x center,y center ,w ,h ,angle ?
corner_x_y.v4p (9.6 kB)
Hi all , anyone know a formula to get the corners cordinates of a rectagle knowing the x center,y center ,w ,h ,angle ?
corner_x_y.v4p (9.6 kB)
perhaps
*Points2Vector (2d)
*Vector2Points (2d)
are useful nodes for the solution of your problem ?!?
hi kalle i tried them without success thx
i would use a *** (3D)** and multiply a transformation with the corners:
that is a object space to world space transformation.
thx gregsn , this way works great but the problem is when the size changes + rotaing the corners swap and dont remain in it,s original corner position , how could this be avoided or solved?
corner.zip (32.3 kB)
this is a problem of the colortracker.
it is just not so precise…
corners.v4p (18.5 kB)
ok thank you