POV-Ray : Newsgroups : povray.newusers : Stupid Question : Re: Stupid Question Server Time
5 Nov 2024 01:22:16 EST (-0500)
  Re: Stupid Question  
From: Christoph Hormann
Date: 22 Feb 2001 12:20:37
Message: <3A954A66.717F3E1F@gmx.de>
Chris Huff wrote:
> 
> Layered textures would probably work...
> 
> object {
>     texture {pigment {basepig}}
>     texture {pigment {man1}}
>     texture {pigment {man2}}
>     texture {pigment {man3}}
> }
> 
> Just make sure the mandel pigments are at least partially transparent.
> 

Instead of that you could also use nested pigments maps:

#declare Mandel_1= pigment {..}
#declare Mandel_2= pigment {..}
#declare Mandel_3= pigment {..}

#declare Mandel_X1= 
pigment {..
  Mandel_3
  pigment_map {
    [0.0 Mandel_1] 
    [0.1 color ... ] 
  }
}

#declare Mandel_Final= 
pigment {..
  Mandel_2
  pigment_map {
    [0.0 Mandel_X1] 
    [0.1 color ... ] 
  }
}

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

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