POV-Ray : Newsgroups : povray.newusers : Cannot layer over a patterned texture (the return !) Server Time
26 Nov 2024 01:56:08 EST (-0500)
  Cannot layer over a patterned texture (the return !) (Message 1 to 1 of 1)  
From: destroyedlolo
Subject: Cannot layer over a patterned texture (the return !)
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.