POV-Ray : Newsgroups : povray.advanced-users : bounding turbulence : Re: bounding turbulence Server Time
30 Jun 2024 23:56:44 EDT (-0400)
  Re: bounding turbulence  
From: Alain
Date: 28 Jan 2010 16:04:57
Message: <4b61fbf9$1@news.povray.org>
Le 2010-01-28 12:59, Leroy Whetstone a écrit :
>
> Le_Forgeron wrote:
>> Leroy Whetstone a écrit :
>>
>>> Is there a way to calculate a bounding box for a spherical pigment
>>> that uses turbulence?
>>>
>>
>>
>> Huh ?
>> Bounding boxes apply to shapes, not pigment.
>> Even with turbulence, the shape remains perfect.
>>
>> I might not have understood the query.
>
> What I'm trying to do is scale a turbulent spherical pigment so that it
> fits into a 2 unit square on the z plane. The spherical pattern start at
> one and goes toward zero. What I want to know is a way to calculate the
> minamal point from <0,0,0> where every point farther out will be zero.
> (kind of a bounding box)
>
>

For a turbulence with default lambda, omega and octaves.
Just a dirty approximation:
A turbulence of 1 seems to approximatively double the extent of a 
spherical pattern, while turbulence 0.5 seems to increase it by about 50%.

It's probable that a scale by 1/(turbulence amount +1) will do the job.
Increasing any parameter will tend to increase the dimentions.


Alain


Post a reply to this message

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