POV-Ray : Newsgroups : povray.binaries.images : The brick size in normals. : Re: The brick size in normals. Server Time
6 May 2024 17:32:19 EDT (-0400)
  Re: The brick size in normals.  
From: clipka
Date: 8 May 2016 10:00:10
Message: <572f466a@news.povray.org>
Am 08.05.2016 um 08:04 schrieb LanuHum:
> Problem.
> If I use custom brick_size I have the incorrect image.
...
> #declare Material = texture{
>     pigment{color srgbft <0.8000,0.8000,0.8000,0.0000,0.0000>}
>     normal{ brick 0.9000
>         brick_size <0.2500,0.0525,0.1250> mortar 0.0100

To compute normal perturbations for most patterns, POV-Ray samples the
pattern at 4 points in the vicinity of the surface point.

Obviously, the distance between those 4 sample points is not infinitely
small; as a matter of fact, it is in the order of magnitude of 0.02. As
you will notice, your brick_size parameters are close to that value.

To get the desired effect, it is sufficient to increase the brick_size
and mortar values, and instead make use of "scale" to get the desired size.


Post a reply to this message

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