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:23:10 EDT (-0400)
  Re: How to put an image over a material_map ?  
From: destroyedlolo
Date: 31 Dec 2004 07:00:57
Message: <41D53F57.3050505@yahoo.com>
Hi Gilles,

Thanks for your help :-)

Gilles Tran wrote:

> 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.

It's the solution I use.
You can find the result on
http://destroyedlolo.homeunix.org:8080/galerie/France/RhoneAlpes/EauFroide/

I have to improve textures ...

> - 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]
>     }
> }

Where do you put this sentence ?
I've tryed to add this bloc after the first texture bloc but I got an error.

Thanks & regards

Laurent


Post a reply to this message

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