POV-Ray : Newsgroups : povray.general : Turbulence in a pigment_map : Re: Turbulence in a pigment_map Server Time: 26 Oct 2020 12:54:31 GMT
  Re: Turbulence in a pigment_map  
From: Uncle Josh
Date: 8 Sep 2020 00:35:00
"Bald Eagle" <cre### [at] netscapenet> wrote:
> "Uncle Josh" <nomail@nomail> wrote:
> > I'm trying to animate a burning effect on object. I tried both pigment map and
> > texture maps, but the turbulence applied to the outer texture is being applied
> > to the inner textures, which I don't want.
> > I've tried this with material maps and pigment maps. I've tried putting the
> > turbulence in a warp block, nothing works.
> >
> > I thought this was possible to do. Am I wrong?
> Well, the turbulence only applies to the underlying pattern(s).  So what you
> need to do is turbulate the pattern(s) that you want to layer on top.
> #declare T_fire = texture { pigment { P_fire turbulence 0.2} }
> The mapping applies to the gradient pattern, and if you want to turbulate the
> mapping, then what you do is turbulate _that_ pattern, which the map applies to.
> #declare Burning_Texture =
>    texture {
>        gradient x turbulence 0.2 ....
> I'm not entirely understanding what you want to do, so I hope this helps
> somewhat...
> -Bill

Ultimately the underlying T_cells texture is also subject to turbulence, even
when no turbulence is defined.

I need to find a way to not subject the T_cells texture to turbulence.

Uncle Josh
Pontificating on the web since 1995

Post a reply to this message

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