POV-Ray : Newsgroups : povray.advanced-users : How to put an image over a material_map ? : Re: How to put an image over a material_map ? Server Time
28 Jul 2024 14:18:37 EDT (-0400)
  Re: How to put an image over a material_map ?  
From: Gilles Tran
Date: 23 Dec 2004 13:24:02
Message: <41cb0d42@news.povray.org>

41C### [at] yahoocom...
> This is the code I've tryed and rising the "Cannot layer over a patterned
> texture" error.

This is a limitation of layered textures.
Two solutions:
- add a road mask to your material_map. If you have already defined zones 
for water etc. you can have another for roads.
- use a texture_map statement and a mask for roads, and then have something 
like this:
texture{
    image_pattern{png "road_mask"}
    texture_map{
        [0 T_Road]
        [1 T_Other]
    }
}


-- 
**********************
http://www.oyonale.com
**********************
- Graphic experiments
- POV-Ray and Poser computer images
- Posters


Post a reply to this message

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