POV-Ray : Newsgroups : povray.general : Is the brick pattern 3D? : Re: Is the brick pattern 3D? Server Time
14 Aug 2024 03:19:18 EDT (-0400)
  Re: Is the brick pattern 3D?  
From: Johannes Hubert
Date: 9 Apr 1998 12:36:29
Message: <6git2r$np0$1@oz.aussie.org>
Tim Riley wrote in message <352CF3D7.E62B8CC0@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.


As I see it, this is true for the other textures too, isn't it? I just tried
it out with a marble texture. As I see it, POV-Ray only calculates the color
of an object when the ray hits the objects surface. If this color is
transparent, then the ray continues through the object, but the next
hit-test is only made when it hits the next surface, in this case the
backside of the object.
What you would want, is for POV-Ray to also calculate the texture inside the
object again, probably at a specified sample rate.
That would be a great thing (my first thought is an onion-pattern like
texture with transparent outer-layers and a little turbulence added - this
in shades of grey and applied to a sphere would give you a great rock!).
Maybe the "interior" of the upcoming 3.1 version is something like that...

Bye, Johannes.


Post a reply to this message

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