POV-Ray : Newsgroups : povray.general : Turbulence in a pigment_map : Re: Turbulence in a pigment_map Server Time
24 Apr 2024 21:11:59 EDT (-0400)
  Re: Turbulence in a pigment_map  
From: Uncle Josh
Date: 7 Sep 2020 20:35:00
Message: <web.5f56d1212e3bd598313019390@news.povray.org>
"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-2023 Persistence of Vision Raytracer Pty. Ltd.