POV-Ray : Newsgroups : povray.newusers : Cannot layer over a patterned texture (the return !) : Cannot layer over a patterned texture (the return !) Server Time
30 Jul 2024 00:20:08 EDT (-0400)
  Cannot layer over a patterned texture (the return !)  
From: destroyedlolo
Date: 21 Dec 2004 12:20:00
Message: <web.41c85a3e73b2eb7de5987fa60@news.povray.org>
Hi again,

I have now my height_field w/ a mask allowing me to change its textures on
some places (vegetation, river, rock, ...).

How can I put another layer over it (containing roads) ?

This is the code I've tryed and rising the "Cannot layer over a patterned
texture" error.

#declare terrain = height_field {
 png "Eau.png"
 smooth
 texture {
  material_map {
   png "Eau_m.png"
   texture {
    pigment {
     slope y
     color_map {
      [0 White]
      [0.60 SteelBlue*0.1]
      [0.65 White*2]
      [0.7 Gray95]
      [0.75 Gray80]
      [0.85 MediumForestGreen]
      [1 ForestGreen]
     }
    }
   }
   texture {pigment { Sapphire_Agate } scale 1/100 } // Eaux
   texture {pigment { White_Marble } scale 1/100 } // Rochers
   texture {pigment { Jade } scale 1/100 }   // Foret
  }
  rotate x*90
 }
 pigment { image_map { png "Eau_s.png" } rotate x*90}  // This line cause
problem
 translate <-.5, 0, -.5>
 scale <6900,65535,6075>
}

Thanks

Laurent


Post a reply to this message

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