|
|
Am 08.05.2016 um 17:26 schrieb LanuHum:
> clipka <ano### [at] anonymousorg> wrote:
>> 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.
>
>
> Your recommendations don't work. Please, give me the working source code for
> study.
My recommendations *do* work; I know because I tested them. You may have
difficulty understanding or implementing them, that's all.
#declare BRICK_SCALE = 10;
brick_size <0.2500,0.0525,0.1250> * BRICK_SCALE
mortar 0.0100 * BRICK_SCALE
...
scale 1/BRICK_SCALE
does the trick.
Post a reply to this message
|
|