POV-Ray : Newsgroups : povray.international : [ES] specular map : Re: [ES] specular map Server Time: 8 Aug 2008 18:17:15 GMT
  Re: [ES] specular map  
From: Jaime Vives Piqueres
Date: 11 Jan 2007 12:42:15
JSR wrote:
> Ahora sí que funciona, pero el resultado no parece demasiado bueno.
> He usado el siguiente código, me pregunto como se podría mejorar...
> 
> #declare mat_PARQUET_pigment =
>   pigment { image_map { jpeg "diffuse_map.jpg" } }
> 
> #declare mat_PARQUET =
>   texture {
>     uv_mapping pigment_pattern { image_map { jpeg "specular_map.jpg" } }
>     texture_map {
>       [0.0 pigment { mat_PARQUET_pigment }
>            finish { ambient 0.0 diffuse 0.8 specular 0 } ]
>       [1.0 pigment { mat_PARQUET_pigment }
>            finish { ambient 0.0 diffuse 0.8 specular 2 } ]
>     }
>   }
> 
> Voy a colgar la imagen en povray.binaries.images para poder ver el
> resultado.

   Como dice Thomas en p.b.i., te has olvidado el bump_map! Ademas, creo 
que deberías usar algo de reflexion en la segunda entrada del mapa para 
que la diferencia sea mas acusada. Tambien se puede experimentar con una 
transicion mas breve entre las texturas, o añadir mas texturas intermedias.

   Saludos...

--
Jaime


Post a reply to this message

Copyright 1991-2004 POV-Team™