POV-Ray : Newsgroups : povray.newusers : turbulence : Re: turbulence - Bug ? Server Time
14 Aug 2024 07:13:40 EDT (-0400)
  Re: turbulence - Bug ?  
From: Ken
Date: 2 Dec 1999 00:53:55
Message: <384608F3.A2BC3997@pacbell.net>
Follow ups to .general.

"mr.art" wrote:
> 
> What was causing me problems went like this:
> #declare texturename = texture{...}
> object{... texture{texturename turbulence value}}
> It had worked in one of the old pre povwin versions.
> When I dug out an old scene file, this started giving
> me problems. I had used a different turbulence value
> for different objects.

Art,

 Ok. I tested the following in POV-Ray v2.2 and it did render as you said
it would. It would not render in POV-Ray for windows v3.1g watcom. Perhaps
it is a bug or was dropped to facilitate some other preferable funcionality
when POV-Ray v3.x was introduced. It might be related to the way the
turbulence modifier is not allowed in a patterned texture except after
all other modifiers are presented (illustrated at bottom of this message).

Either way lets see what the Gurus have to say about it.


Example:

  light_source{< 0,0,-5>color rgb<1,1,1>}
  camera{location<0,0,-3>look_at<0,0,0>}

  #declare T1 = 
  texture
    {
      pigment
       { bozo 
         color_map { [0 color rgb<.5,0,0>][1 color rgb<1,1,1>]}
       }
         finish
         {
           ambient .4
           diffuse .4
         }
     }

  sphere{<0,1,5>,1 texture{ T1 scale .5 turbulence .5 }}

 
> Ken wrote:
> >
> > "mr.art" wrote:
> > >
> > > I know that this is a new user sort of question, but
> > > I haven't found the answer in the FAQ section. (yet)
> > > The Docs say that turbulence can be used in a texture.
> > > When I try, I get an error. What's up?
> >
> > It is dependent upon location in the texture.
> >
> > This will not work
> >
> > texture { bozo turbulence .5
> >  texture_map{
> >              [0 T1]
> >              [1 T2]
> >             }
> >           }
> >
> > This will work
> >
> > texture { bozo
> >  texture_map{
> >              [0 T1]
> >              [1 T2]
> >             }
> >            turbulence .5
> >          }


Post a reply to this message

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