POV-Ray : Newsgroups : povray.unofficial.patches : HELP! layered patterns : Re: HELP! layered patterns Server Time
1 Sep 2024 14:25:24 EDT (-0400)
  Re: HELP! layered patterns  
From: Christoph Hormann
Date: 17 Mar 2001 03:07:12
Message: <3AB31B30.4235EB9A@gmx.de>
Ryan Constantine wrote:
> 
> <plead>i'm trying to do a fairly complicated texture, and when i tried
> to make a layered texture with a base color on the bottom, a proximity
> pattern over that (which has semi transparent parts), and then a planar
> texture on top (which is mostly transparent except for stripes) i got an
> error stating i'm not allowed to layer patterned textures.  my question
> is why not?  is there another way i can accomplish the same thing?  or
> will i have to make a duplicate of my original object, cut it to the
> same size as the stripe, expand the overall dimensions by a minute
> amount and then texture that with the stripe color?  it seems quite
> inelegant if i have to do this.  perhaps i should look into shaders for
> the povman patch?  or is there a way to combine a proximity pattern on
> the same layer as a planar (or gradient) pattern?</plead>
> 
> TIA

Often similar effects as with a layered texture can be achieved with
pigment maps.  It's not that easy to construct, but it's quite flexible.

To replace a two layer texture you can either use the first or the second
layer as a base pigment and where you use transparency in the layered
texture just place the other pigment in the pigment_map.  Of yourse it's
not really identical, because the 'filter' effect can not be achieved.

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.