|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |