POV-Ray : Newsgroups : povray.general : [wish] Limits and hints - parameters Server Time
2 Nov 2024 11:23:30 EDT (-0400)
  [wish] Limits and hints - parameters (Message 1 to 4 of 4)  
From: Rafal 'Raf256' Maj
Subject: [wish] Limits and hints - parameters
Date: 1 Apr 2004 12:54:56
Message: <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,...)

Limits could be placed both in code so that renderer will inform about them 
at parsing-time, and in documentation.


Maybe it would be a good idea to start from documentation, since especialy 
newusers could be a bit confused - I think every value should be described 
in documentation by default value, suggested values, and valid values 
limits.


-- 
http://www.raf256.com/3d/
Rafal Maj 'Raf256', home page - http://www.raf256.com/me/
Computer Graphics


Post a reply to this message

From: Rafal 'Raf256' Maj
Subject: Re: [wish] Limits and hints - parameters
Date: 1 Apr 2004 12:57:13
Message: <Xns94BECAA789234raf256com@203.29.75.35>
spa### [at] raf256com news:Xns94BECA44B61B4raf256com@203.29.75.35

> Maybe it would be a good idea to start from documentation, since
> especialy newusers could be a bit confused - I think every value
> should be described in documentation by default value, suggested
> values, and valid values limits.

Btw, I wish to help adding this to manual, can I help - what tools should I 
download to edit source code of help (AFAIK all versions of manual are 
generated from one source?). Is there maybe some tool to edit them for 
Windows (or are they in some text/html-like format?)

-- 
http://www.raf256.com/3d/
Rafal Maj 'Raf256', home page - http://www.raf256.com/me/
Computer Graphics


Post a reply to this message

From: Zeger Knaepen
Subject: Re: [wish] Limits and hints - parameters
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

From: ABX
Subject: Re: [wish] Limits and hints - parameters
Date: 2 Apr 2004 01:12:29
Message: <sp0q6055370qa0eq75bpsicfktmvos7ad6@4ax.com>
On 1 Apr 2004 12:54:56 -0500, "Rafal 'Raf256' Maj" <spa### [at] raf256com> wrote:
> photons count *must* be >= 0, so its limits are 0 .. about 2^32

POV-Ray is not 32-bit only.

ABX


Post a reply to this message

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