POV-Ray : Newsgroups : povray.general : Is the brick pattern 3D? Server Time
6 Nov 2024 06:24:21 EST (-0500)
  Is the brick pattern 3D? (Message 1 to 1 of 1)  
From: Tim Riley
Subject: Is the brick pattern 3D?
Date: 9 Apr 1998 12:18:52
Message: <352CF4EC.4BBC3416@its.bldrdoc.gov>
I was playing around with the brick pattern yesterday and came across
what I consider an anomaly: the "bricks" are not continuous, that is,
they do not exist in the center of the solid, but are "decals" that
exist only on the surface. To see what I mean, render a solid with a
brick pattern and make the mortar transparent. Instead of seeing the
individual "bricks", you see two flat rectangles on either side of the
solid. This causes a problem when using Jeff Lee's brick.inc file and
look at the object at an oblique angle: the "bricks" float above the
surface of the "mortar".

Here is a sample file demonstrating what I'm talking about:

camera {
  location  <-20.0, 5.0, -100.0>
  direction 4*z
  right     4/3*x
  look_at   <0.0, 0.0, 0.0>
}

light_source { <30, 30, -30> color rgb 1.0 }

box { -0.5, 0.5
  scale <200, 100, 3>
  texture {
    pigment {
      brick
        pigment { rgbt 1 },
        pigment { rgb <0.6, 0.1, 0.1> }
        mortar 1.0
    }
  }
}

 -----------------------------------------
|               Tim Riley                 |
|            Boulder, Colorado            |
|      E-mail:tri### [at] itsbldrdocgov      |
|     Per favore spenga le Sue scarpe     |
|  davanti abbandonare il nave spaziale.  |
 -----------------------------------------


Post a reply to this message

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