POV-Ray : Newsgroups : povray.newusers : Wall of bricks Server Time
2 Nov 2024 03:13:20 EDT (-0400)
  Wall of bricks (Message 1 to 3 of 3)  
From: Oleguer Vilella
Subject: Wall of bricks
Date: 3 Sep 2004 03:55:49
Message: <41382385@news.povray.org>
Hello,

I'm traying to make a brikc wall but the POV-Ray are given and error.

The code that I use is:
===============================
pigment {
brick {color Gray},{color Red}
brick_size   <2, 1, 1>
mortar 0.2
}
===============================
I also find this on the insert bar:

================================
// solid pattern for use in texture/pigment/normal(/density)
  // brick pattern generates a brick wall like structure
  brick
  color Gray,          // color of mortar
  color Red            // color of brick
  brick_size <2,1,1>   // size of brick    (optional)
  mortar     0.2       // width of mortar  (optional)
=================================
Both of them give and error.

Thank you,
Oleguer
http://www.infonegocio.com/oleguervm


Post a reply to this message

From: Josh
Subject: Re: Wall of bricks
Date: 3 Sep 2004 06:29:17
Message: <4138477d$1@news.povray.org>
try this

#declare WallTexture = texture {
        pigment {
                brick Gray75,((Red *.1)+(DarkBrown*.9))  mortar 0.4
                }
        normal  {
                brick normal {bumps scale .01}, normal { agate scale
<.15,.1,.1>}  mortar 0.4
                }
        finish  {
                ambient 0
                }
        scale <.3,.3,.5>
        };

box {
        <-100,0,0>,
        <100,100,1>
        texture { WallTexture }
    }


Post a reply to this message

From: Oleguer Vilella
Subject: Re: Wall of bricks
Date: 3 Sep 2004 10:09:29
Message: <41387b19@news.povray.org>
Yes, Ok Josk. it works properly.
I understood why my code didn't work.
I added "clipped_by { plane { y, 0 } }"

Thank you. Regards,
Oleguer


news:4138477d$1@news.povray.org...
> try this
>
> #declare WallTexture = texture {
>         pigment {
>                 brick Gray75,((Red *.1)+(DarkBrown*.9))  mortar 0.4
>                 }
>         normal  {
>                 brick normal {bumps scale .01}, normal { agate scale
> <.15,.1,.1>}  mortar 0.4
>                 }
>         finish  {
>                 ambient 0
>                 }
>         scale <.3,.3,.5>
>         };
>
> box {
>         <-100,0,0>,
>         <100,100,1>
>         texture { WallTexture }
>     }
>
>


Post a reply to this message

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