POV-Ray : Newsgroups : povray.general : Crash! Bang! : Re: Crash! Bang! Server Time
8 Aug 2024 20:22:39 EDT (-0400)
  Re: Crash! Bang!  
From: Peter Popov
Date: 28 Nov 2000 16:42:39
Message: <vnj62t8t1f3q3ib5en1u8aav7bgnmdhqs4@4ax.com>
On Mon, 27 Nov 2000 19:23:13 -0700, Dawn McKnight <mck### [at] maccom>
wrote:

<snip>

>camera {
>	location <0, 3, 0>
>	look_at 0
>	} // close camera

I am almost certain this appears in the POV-Ray documentation. At
least I am certain I knew it long before I started frequenting this
server. Basically, when the direction vector is parallel to the y
axis, there's a high chance of a division by zero error. This happens
because the default sky vector is +y and POV gets confused when it
tries to determine the transformation matrix to apply to the camera.
Try moving the camera location or look_at just a bit (1E-6 in x or z
is enough), using an up vector of +z (yuck!) or just placing your
object in the xy plane instead of xz, and then using a more common
camera such as camera { location -3*z }


Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vipbg
TAG      e-mail : pet### [at] tagpovrayorg


Post a reply to this message

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