POV-Ray : Newsgroups : povray.general : Elementary problem (brick) Server Time
28 Nov 2024 06:01:48 EST (-0500)
  Elementary problem (brick) (Message 1 to 3 of 3)  
From: JLH
Subject: Elementary problem (brick)
Date: 16 Jun 2007 16:30:02
Message: <web.46744763758513f9383f2f630@news.povray.org>
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


Post a reply to this message

From: Alain
Subject: Re: Elementary problem (brick)
Date: 16 Jun 2007 19:53:40
Message: <46747804$1@news.povray.org>
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


Post a reply to this message

From: JLH
Subject: Re: Elementary problem (brick)
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.