POV-Ray : Newsgroups : povray.binaries.images : Camera macros example - 1 attachment Server Time
13 Aug 2024 17:28:21 EDT (-0400)
  Camera macros example - 1 attachment (Message 1 to 2 of 2)  
From: Tor Olav Kristensen
Subject: Camera macros example - 1 attachment
Date: 5 Feb 2003 14:50:04
Message: <Xns9319D4893DE15torolavk@204.213.191.226>
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'
CameraExample01.jpg


 

From: Mick Hazelgrove
Subject: Re: Camera macros example - 1 attachment
Date: 6 Feb 2003 02:16:36
Message: <3e420bd4@news.povray.org>
Hi

promising

I'm looking forward to seeing a fully documented set of macros so that I can
play with them!

Mick


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.