|
|
#include "kolors.inc"
light_source { <10, 20, -30> rgb 1 }
camera {
perspective
location <3, 5, -15>
up y
right x*(image_width/image_height)
look_at 0
}
#default { pigment { White } }
#declare obj = sphere { 0, 0.25 }
union {
cylinder { -5*y, 5*y 0.0625 }
cylinder { -5*x, 5*x 0.0625 }
cylinder { -5*z, 5*z 0.0625 }
object { obj translate vrotate(<3,4,3>, <30, 60, 90>) }
translate -5.0*x
}
union {
cylinder { -5*y, 5*y 0.0625 }
cylinder { -5*x, 5*x 0.0625 }
cylinder { -5*z, 5*z 0.0625 }
object { obj translate <3,4,3> rotate <30, 60, 90> }
translate 5.0*x
}
Post a reply to this message
Attachments:
Download 'vrotate_test.png' (37 KB)
Preview of image 'vrotate_test.png'
|
|