POV-Ray : Newsgroups : povray.beta-test : One suggestion for *Camera default values* : Re: One suggestion for *Camera default values* Server Time
5 Oct 2024 15:22:19 EDT (-0400)
  Re: One suggestion for *Camera default values*  
From: Carlo C 
Date: 15 Mar 2009 12:05:00
Message: <web.49bd2678d7072ef56ae4d100@news.povray.org>
"Kenneth" <kdw### [at] earthlinknet> wrote:
> "Carlo C." <nomail@nomail> wrote:
> > Obviously:
> > nothing important, per se...
> >
> > In default camera:  right 1.33*x
> >
> > Uhm, ok, but 320x240, 512x384, 800x600, 1024x768, and so on are:
> > 1.33333333333....
> >
> > [snip]
> > - But 1.33 is not 1.333333...
>
> Yes, this a subtle difference that needed to be pointed out; thanks for posting
> it.
>
> I imagine that the discrepancies found in the various POV-Ray files and defaults
> are due to so many different code contributors during its past
> development--some contributors being more careful than others, perhaps; or
> writing the code in POV 'shorthand' rather than the basic syntax. Sometimes,
> it's difficult to tell just *what* the modern, accepted form of writing POV
> definitions is, since there seem to be so many different (and possibly
> deprecated) ways of doing it, having to do with backwards compatibility.
>
> KW

Thank you, Kenneth.

This problem exists because it easily falls into error.
For example, a recent illustrious victim:
*Jonathan Hunt* (sorry Jonathan! ;-)) with the immortal *Pebbles*:
http://xlcus.com/povray/pebbles/pebbles.pov

camera
{
  location <0, 10, -39>
  look_at <0, 0, -21>
  angle 55

  #if (FeatureFocalBlur)
    aperture 0.25
    blur_samples 256
    focal_point<0, 0, -21>
    confidence 0.95
    variance 1/256
  #end
}

At "1600x1200" you lose 3 pixels side!
http://xlcus.com/povray/pebbles/pebbles-1600x1200.jpg

--
Carlo


Post a reply to this message

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