POV-Ray : Newsgroups : povray.newusers : turbulence Server Time
5 Nov 2024 07:20:14 EST (-0500)
  turbulence (Message 1 to 4 of 4)  
From: mr art
Subject: turbulence
Date: 1 Dec 1999 14:24:46
Message: <384575E2.3891A2EC@gci.net>
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?


Post a reply to this message

From: Ken
Subject: Re: turbulence
Date: 1 Dec 1999 14:28:48
Message: <38457672.F1E58991@pacbell.net>
"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
         }

-- 
Ken Tyler -  1200+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: mr art
Subject: Re: turbulence
Date: 1 Dec 1999 22:54:30
Message: <3845ED5E.2A553C69@gci.net>
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.

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
>          }
> 
> --
> Ken Tyler -  1200+ Povray, Graphics, 3D Rendering, and Raytracing Links:
> http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: Ken
Subject: Re: turbulence - Bug ?
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.