POV-Ray : Newsgroups : povray.binaries.images : A doodle and ramblings on pattern{} and iso perturbation : Re: A doodle and ramblings on pattern{} and iso perturbation Server Time
7 Jun 2025 12:34:02 EDT (-0400)
  Re: A doodle and ramblings on pattern{} and iso perturbation  
From: William F Pokorny
Date: 6 Jun 2025 09:57:46
Message: <6842f3da$1@news.povray.org>
On 6/5/25 20:21, Kenneth wrote:
> warp{ turbulence .5, omega .001 }

It just popped into my head I forgot to add a comment on the code above 
in my prior post.

What you've coded is OK for a result, but given the omega value is so 
small all the steps (octaves) of the brownian motion are meaningless 
after the first step (2nd step value is already down to 0.0005).

The octaves default is 6 and this means steps beyond 2 (the effective 
minimum) are just burning CPU time. Coding instead:

warp { turbulence .5 octaves 2 omega .001 }

is about 24% faster in a quick test just now using overkill AA to better 
seen the performance change against the total CPU bill for a complete 
render. FWIW.

Bill P.


Post a reply to this message

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