Antiprism Up
Home
Programs
Examples
Album
Download
Development
Forum
About
Rotate 3 Pt thumbnails
tree :: Antiprism Examples and Visual Reference > Program Examples > Programs: off_trans > Rotate 3 Pt Image List
Description : The -R option specifies a rotation about the origin. To rotate about a point that isn't the origin: translate by the negative of the coordinates of the point, then rotate, then translate by coordinates of the point. In this example the model is rotated about an axis through the point (1,0,0).

View this model with the command

off_color -r A0.2,f ant4 > orig.off
off_trans -T -1,0,0 -R 0,0.01,-10 -T 1,0,0 ant4 | antiview -C 0,0,0 - orig.off
 
  previous     Medium    Large    next 
Image
rot_pt_3_1.jpg  27KB JPEG image, 800 x 600 pixels
previous previous thumbnails Image List next next

Home   |   Programs   |   Examples   |   Album   |   Download   |   Development   |   Forum   |   About

Contact: adrian@antiprism.com      -      Generated on vie 22 dic 2017 13:37:55 CET