|
|
"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
|
|
|
|
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
|
|
|
|
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
|
|