POV-Ray : Newsgroups : povray.general : [wish] Limits and hints - parameters : Re: [wish] Limits and hints - parameters Server Time
3 Aug 2024 08:09:28 EDT (-0400)
  Re: [wish] Limits and hints - parameters  
From: Zeger Knaepen
Date: 1 Apr 2004 21:56:12
Message: <406cd64c$1@news.povray.org>
"Rafal 'Raf256' Maj" <spa### [at] raf256com> wrote in message
news:Xns94BECA44B61B4raf256com@203.29.75.35...
> Hi,
> how about adding an limits and hints system?
>
> Let me explain on example,
>
> photons count *must* be >= 0, so its limits are 0 .. about 2^32
> Any other value will cause should stop render with error mesage.
>
> For IOR, usualy values are >= 1, but for artistics reasons any value could
> be used, so there is no limit, but there is a hint - 1.0 .. 10.0 (other
> values will cause Warining, or rather Hints - new stream type in addition
> to debug, warning,...)

I often use IOR's > 10 for metal textures (using fresnel reflection)

cu!
--
camera{location-z*3}#macro G(b,e)b+(e-b)*(C/50)#end#macro L(b,e,k,l)#local C=0
;#while(C<50)sphere{G(b,e),.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1
;#end#end L(y-x,y,x,x+y)L(y,-x-y,x+y,y)L(-x-y,-y,y,y+z)L(-y,y,y+z,x+y)L(0,x+y,
<.5,1,.5>,x)L(0,x-y,<.5,1,.5>,x)               // ZK http://www.povplace.be.tf


Post a reply to this message

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