POV-Ray : Newsgroups : povray.binaries.images : Texture demo - rock wall : Re: Texture demo - rock wall Server Time
3 Oct 2024 13:20:58 EDT (-0400)
  Re: Texture demo - rock wall  
From: Remco de Korte
Date: 13 Jan 2000 11:05:28
Message: <387DF739.E9420936@xs4all.nl>
Robert Dawson wrote:
> 
> Here's a scene demoing a rock wall texture using MegaPOV. (Code
> below....)
> It isn't perfect - note the horizontal surface in the foreground - but
> it
> works pretty well on most surfaces.
> There is room for improvement; in particular, instead of one basic
> rock in a
> lot of colors, -some of which end up looking a little like that
> colored
> concrete that was fashionable in 1960's suburbia- one could use
> "blotches"
> (or "crackle solid")  with a pigment_map with four or five
> well-defined
> stone types at /*A*/.
> 
>     Spider - you can consider this as a response to your "favorite
> texture"
> question!
> 
>     -Robert Dawson
> 
> #declare RoughStone = texture{
> 
>              pigment{crackle pigment_map
>                    {[0.08 granite scale 0.2 color_map
>                            {[0.5 rgb 0.8]
>                             [0.8 rgb 0.2]
>                            }]
>                     [0.08 average pigment_map     /*A*/
>                                 {[0.2 granite]
>                                  [0.8 blotches  color_map
>                                         {[0.0 rgb 1]
>                                          [0.7 rgb <0.8,0.6,0.6>]
>                                          [0.8 rgb <0.8,0.75,0.5>]
>                                          [0.9 rgb 0.3]
>                                         }]
>                                 } ] }
>                 }
> 
>         normal {average normal_map {
>                         [ 0.6 crackle 2 slope_map
>                                {[0.0 <0,0>]
>                                 [0.08 <0,0>]
>                                 [0.08 <0,1>]
>                                 [0.7 <1,0>]
> 
>                                }]
>                         [0.4 granite 1.5 ]}
>              }
>         finish { ambient 0.05 diffuse 0.95}
>         }
> 
>  [Image]

I don't know about the rock texture (the edges seem too sharp) but I
like the scene. Perhaps a bit too bright. I'd like to see it from other
POVs.

Remco


Post a reply to this message

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