Notifications
Clear all
[Closed] scaling nodes
Dec 20, 2013 3:12 pm
Does anyone know the best way to achieve scaling a teapot…
the teapot is located at [0,0,0]
but I wanted to scale it based on another matrix within the scene. Once which may be located at say [50,10,5]
5 Replies
Dec 20, 2013 3:12 pm
Scale, but it would scale towards that position. Check the picture. It will make more sense. But I don’t want to change the nodes pivot and then scale it. I was wondering if there was another way of doing this. Like
in coordsys (virtual pivot) scale teapot
Dec 20, 2013 3:12 pm
does it ? :surprised doesn’t here even if the other node is scaled about the origin or any other random point.
Dec 20, 2013 3:12 pm
Thank you. I found this
-- rotate all the boxes 30 degrees about the y_axis of $foo
about $foo rotate $box* 30 y_axis
-- rotate each planet 45 degrees around its parent
in coordsys parent about coordsys rotate $planets* 45 z_axis