POV-Ray : Newsgroups : povray.newusers : how to create a wall made of stones : Re: how to create a wall made of stones Server Time
2 Nov 2024 03:17:13 EDT (-0400)
  Re: how to create a wall made of stones  
From: Oleguer Vilella
Date: 11 Oct 2004 16:58:25
Message: <416af3f1$1@news.povray.org>
If you want to make like briks, you have this code:
======================================
#declare ParedTextura=texture {
pigment { brick Gray75 mortar 0.4 }
normal { brick normal { bump scale 0.1 } normal { agate scale <1.5, .1, .1>
mortar 0.4 }
finish { ambient 0 }
scale <.3, .3, .5> };
box { <-100, 0, 0> <100, 100, 1> texture { ParedTextura } translate <0, -30,
38> }
=======================================
Maybe it helps you.

Best regards,
Oleguer



news:web.416ae2d75c6a7794851714370@news.povray.org...
> #declare Mortar = texture {
>  pigment {
>   marble
>   turbulence 0.5
>   lambda 1.5
>   omega 1
>   octaves 9
>   frequency 3
>   color_map {
>    [0.0 color Gray50]
>    [0.9 color Black]
>    [1.0 color Gray50]
>   }
>  }
>  normal {
>   dents 1
>   scale 0.001
>  }
>  finish {
>   ambient 0.2
>   diffuse 0.6
>  }
> }
>
> #declare WallBrick = texture {
>  T_Stone6
> }
>
> #declare WallTexture = texture {
>  brick texture { Mortar }, texture { WallBrick }
>  brick_size <0.25, 0.25, 1> mortar 0.03
> }
>
> And I build a wall with my WallTexture:
> #declare Wall_Z = box {    //wall in z direction (left and right),
> definition as left wall, but also used as the right wall
>  <-10   ,  0, -20>
>  <- 9.75, 10,  20>
>  texture {
>   WallTexture
>  }
> }
>
> But the wall looks like something was painted on it, not like it was
> constructed of stones that are independent from each other.
>
>
>


Post a reply to this message

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