POV-Ray : Newsgroups : povray.unofficial.patches : How many lines of code: eliminate plateaus in noise3d by interval change : Re: How many lines of code: eliminate plateaus in noise3d by interval change Server Time
2 Sep 2024 14:21:00 EDT (-0400)
  Re: How many lines of code: eliminate plateaus in noise3d by interval change  
From: Chris Huff
Date: 22 Mar 2000 06:33:52
Message: <chrishuff_99-24E91A.06355822032000@news.povray.org>
In article <38d891a4@news.povray.org>, Nieminen Juha 
<war### [at] sarakerttunencstutfi> wrote:

>   That's not always a good solution. If you want to use the texture in
> a newer scene, you wouldn't be able to use new features.

Not necessarily, you could keep the old noise functions and have the 
parser use them or their replacements depending on what the #version is 
set to at the time of parsing. For example, internally there would be 
two bozo functions, one for old versions and one for newer versions. 
They would both be very similar and would use the same keyword, just the 
new one wouldn't have plateaus, and they would be chosen depending on 
the #version value.

-- 
Christopher James Huff - Personal e-mail: chr### [at] yahoocom
TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
Web page: http://chrishuff.dhs.org/


Post a reply to this message

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