POV-Ray : Newsgroups : povray.general : Camera in union? : Re: Camera in union? Server Time
10 Aug 2024 20:58:59 EDT (-0400)
  Re: Camera in union?  
From: Rune
Date: 2 Nov 1999 17:48:09
Message: <381f6a29@news.povray.org>
mr.art wrote:
>Is it possible to include a camera statement in a union?
>I want to place the camera in the head of a figure, but
>POV gives an error for this.
>I am using POVray 3.1g for Windows.

I don't think it is possible.

I would #declare a transformation, and apply it to
both the camera and the object:

// start of code

#declare Transformation =
transform {[scale, rotate and translate here...]}

camera {
   [camera settings here]
   transform Transformation
}

object {transform Transformation}

// end of code

Greetings,

Rune

---
Updated October 17: http://rsj.mobilixnet.dk
Containing 3D images, stereograms, tutorials,
The POV Desktop Theme, 350+ raytracing jokes,
miscellaneous other things, and a lot of fun!


Post a reply to this message

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