POV-Ray : Newsgroups : povray.general : Elementary problem (brick) : Re: Elementary problem (brick) Server Time
31 Jul 2024 08:25:08 EDT (-0400)
  Re: Elementary problem (brick)  
From: Alain
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

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