|
|
This is a little example from my latest
camera experiments.
The code below made the enclosed image.
Camera08.inc is a camera include file
that I'm working on these days.
Tor Olav
// ===== 1 ======= 2 ======= 3 ======= 4 ======= 5 ======= 6 ======= 7
#include "Camera08.inc"
#declare TransformedTorus =
torus {
4, 1
pigment { color red 1 }
translate <4, -17, 3>
rotate <57, -44, 7>
}
TransformedTorus
ShowBoundingBox(TransformedTorus, 0.02)
#declare Cam1 = DefaultCamera()
SetCameraLocation(Cam1, <1, 5, -10>)
ZoomCameraToObject(Cam1, TransformedTorus)
PerspCamera(Cam1)
background { color blue 0.5 }
light_source { <-1, 8, -5>*100 color rgb <1, 1, 1> }
// ===== 1 ======= 2 ======= 3 ======= 4 ======= 5 ======= 6 ======= 7
Post a reply to this message
Attachments:
Download 'CameraExample01.jpg' (18 KB)
Preview of image 'CameraExample01.jpg'
|
|