POV-Ray : Newsgroups : povray.general : [wish] Limits and hints - parameters : [wish] Limits and hints - parameters Server Time
2 Nov 2024 09:18:17 EDT (-0400)
  [wish] Limits and hints - parameters  
From: Rafal 'Raf256' Maj
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

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