POV-Ray : Newsgroups : povray.newusers : Cannot layer over a patterned texture : hum ???? Server Time
26 Nov 2024 01:43:33 EST (-0500)
  Cannot layer over a patterned texture : hum ???? (Message 1 to 3 of 3)  
From: destroyedlolo
Subject: Cannot layer over a patterned texture : hum ????
Date: 21 Dec 2004 06:00:01
Message: <web.41c800ef18a96d1fe5987fa60@news.povray.org>
Hi have a scene w/ the following object :
#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 { Jade } scale 1/60 } // Foret
  }
  rotate x*90
 }
 translate <-.5, 0, -.5>
 scale <6900,65535,6075>
 finish { ambient rgb <0.1,0.2,0.1> }
}

But when I'm trying to generate the scene, I got following message :
File: Eau.pov  Line: 35
File Context (5 lines):
                rotate x*90
        }
        translate <-.5, 0, -.5>
        scale <6900,65535,6075>
        finish
Parse Error: Cannot layer over a patterned texture.

Can someone explain me why I got this kind of error ? I don't understand has
I use the same script (I think ;-D) w/ another scenes and it's working
perfectly.

Thanks

Lolo


Post a reply to this message

From: Christoph Hormann
Subject: Re: Cannot layer over a patterned texture : hum ????
Date: 21 Dec 2004 06:15:01
Message: <cq90b4$9jg$1@chho.imagico.de>
destroyedlolo wrote:
> 
> Can someone explain me why I got this kind of error ? I don't understand has
> I use the same script (I think ;-D) w/ another scenes and it's working
> perfectly.

I doubt that - see what's different in the other scenes and you will 
realize what's wrong.

You are trying to layer a second texture (the "finish { ambient rgb 
<0.1,0.2,0.1> }") over the material_map texture and this can't work. 
What you probably want to do is place that finish where it belongs - 
namely inside the textures of the material map.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 23 Sep. 2004 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: destroyedlolo
Subject: Re: Cannot layer over a patterned texture : hum ????
Date: 21 Dec 2004 08:10:00
Message: <web.41c81f74efdb3a57e5987fa60@news.povray.org>
Hi Christoph,

> I doubt that - see what's different in the other scenes and you will
> realize what's wrong.

Yes, you're right : I forgot to remove this line after my copy/past.
Thanks a lot, it's working now :-)

Laurent


Post a reply to this message

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