POV-Ray : Newsgroups : povray.general : Elementary problem (brick) : Re: Elementary problem (brick) Server Time
31 Jul 2024 08:31:44 EDT (-0400)
  Re: Elementary problem (brick)  
From: JLH
Date: 16 Jun 2007 21:20:01
Message: <web.46748b3813807091383f2f630@news.povray.org>
Alain <ele### [at] netscapenet> wrote:
> JLH nous apporta ses lumieres en ce 2007/06/16 16:26:
> > This is going back to basics but can anyone provide me with a few lines of
> > code that actually shows a brick surface according to the directions in the
> > tutorial?
> >  pigment {
> >    brick COLOR_1, COLOR_2
> >    [brick_size <Size>] [mortar Size]
> >  }
> >
> > I have tried everything (except obviously the correct thing) and I am d____d
> > if I can get it to work. Say a simple brick box. Thanks in advance:
> > Learner JLH
> >
> >
> >
> Bare minimum brick pattern:
> pigment{brick} // deep red bricks with dark gray mortar.
>
> Basic brick pattern:
> pigment{ brick rgb<0.7,0.2,0.3> rgb<0.1,0.8,0.2>} // red mortar and green bricks
>
> Advanced brick pattern:
> pigment{brick pigment{granite} pigment{PinkAbalaster}
>  brick_size<10,1,2> // 10 unit large, 1 high and 2 thick
> // in real life, such a brick will break ;)
>  mortar 0.1 // very thin mortar layer
>  }
>
> --
> Alain
> -------------------------------------------------
> The tree of liberty must be refreshed from time to time with the blood of
> patriots and tyrants.
> Thomas Jefferson

Alain: Thank you very much. That made it clear. Jim


Post a reply to this message

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