POV-Ray : Newsgroups : povray.advanced-users : error: Cannot layer over a patterned texture. : Re: error: Cannot layer over a patterned texture. Server Time
30 Jul 2024 08:24:25 EDT (-0400)
  Re: error: Cannot layer over a patterned texture.  
From: Nieminen Juha
Date: 25 Nov 1999 07:58:08
Message: <383d3260@news.povray.org>
Ron Parker <ron### [at] povrayorg> wrote:

  Thanks for the explanation.

: I'm guessing that whoever wrote texture_maps reasoned that all that was too 
: much work for a feature (layering texture_maps) that people would probably 
: use rarely, if at all, and besides, you're supposed to be able to work 
: around it.

  Yes, the work-around would be using a patterned texture (of patterned
textures) instead of layering. However, it doesn't work if you have normals
and you have to scale the outmost pattern (without scaling the subtextures)
due to the normal scaling bug.
  The need for layered patterned textures will disappear immediately after
the normal scaling bug is fixed... :)

  I don't know what is happening with those normals. The idea is the
following:
  Make a texture with a normal modifier.
  Scale this texture (or only the normal) by the inverse of the value you
want to scale the whole patterned texture. For example if you want the
patterned texture to be 10 times larger (without scaling the subtextures),
then scale this texture by 1/10.
  Add this texture as one component of the patterned texture.
  Now scale the patterned texture by that 10.
  The result _should_ be that the original texture has not changed. Instead,
the normals of the original texture are really weird.
  The resulting normal modifier is not the original normal modifier 10 times
deeper. Dividing the 'amount' value of the normal pattern by 10 doesn't solve
the problem. Something else is happening.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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