POV-Ray : Newsgroups : povray.pov4.discussion.general : Suggest v4.0 drop global noise_generator. (yuqk R17 v0.6.11.0) : Suggest v4.0 drop global noise_generator. (yuqk R17 v0.6.11.0) Server Time
21 Nov 2024 04:55:26 EST (-0500)
  Suggest v4.0 drop global noise_generator. (yuqk R17 v0.6.11.0)  
From: William F Pokorny
Date: 8 Nov 2024 09:33:26
Message: <672e2136@news.povray.org>
The yuqk fork does this and more in the next release.

The global_settings{} noise_generator option was removed. It was never 
truly global! The old set up added overhead for all patterns. It left a 
situation where sharing SDL was exposed to differences in behavior, any 
time the user sharing did not lock all the noise generator use. It 
limited flexibility with options like fog{} and irid{}.

Created a new 'ip_noise_generator' keyword for the patterns / 
perturbations: agate, bozo, bumps, dents, granite, marble, noise_cubed, 
spiral1, spiral2 and wrinkles. Made changes so the two remaining uses of 
'noise_generator' now set values local to 'fog{}' and 'irid{}'. The 
patterns and features mentioned here are the only ones ever affected by 
'noise_generator' settings, global and not

The attached image is a bit contrived, but does show the updated 
capability with fog{} and irid{}.

In the top row changing the irid{} noise generators with 
'noise_generator' keyword. Left to right, 1, 2 and 3.

In the bottom row playing with fog{}'s new 'noise_generator' setting as 
follows left to right. Maybe a Holiday fog on the right...

// Left
//fog { Fog01_wTurb color <0.9,0.9,0.9>}

// Middle
//fog { Fog01_wTurb color <0.9,0.0,0.0> noise_generator 2}
//fog { Fog01_wTurb color <0.0,0.9,0.0> noise_generator 2}
//fog { Fog01_wTurb color <0.0,0.0,0.9> noise_generator 2}

// Right
fog { Fog01_wTurb color <0.9,0.0,0.0> noise_generator 3}
fog { Fog01_wTurb color <0.0,0.9,0.0> noise_generator 2}
fog { Fog01_wTurb color <0.0,0.0,0.9> noise_generator 3}

Bill P.


Post a reply to this message


Attachments:
Download 'ng_yuqk_changes.png' (506 KB)

Preview of image 'ng_yuqk_changes.png'
ng_yuqk_changes.png


 

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