POV-Ray : Newsgroups : povray.binaries.images : Question about brick pattern Server Time
3 Nov 2024 05:20:40 EST (-0500)
  Question about brick pattern (Message 1 to 3 of 3)  
From: Dave Blandston
Subject: Question about brick pattern
Date: 1 Feb 2010 09:35:01
Message: <web.4b66e5c19fd01073cba3fb0f0@news.povray.org>
Hi there,

I'm using the brick pattern to simulate the texture of ballistic nylon. Here's
the texture definition:

#local BallisticNylon = texture {
   pigment {brick color Black transmit .3, color Black transmit 1}
   scale <.05, .05, 1>
}

The texture is layered over another texture and then applied to a plane {z, 0}.
I noticed that when I render the image at 4000 x 3000 pixels then resize it to
1280 x 960 it looks great, but when I render it at 1280 x 960 it looks horrible.
The attached image shows what I mean. In both cases I'm using +am2 +r3. Am I
doing something wrong?

Regards,
Dave Blandston


Post a reply to this message


Attachments:
Download 'brick normal.png' (41 KB)

Preview of image 'brick normal.png'
brick normal.png


 

From: Rarius
Subject: Re: Question about brick pattern
Date: 1 Feb 2010 09:48:38
Message: <4b66e9c6$1@news.povray.org>
Dave Blandston wrote:
> Hi there,
> 
> I'm using the brick pattern to simulate the texture of ballistic nylon. Here's
> the texture definition:
> 
> #local BallisticNylon = texture {
>    pigment {brick color Black transmit .3, color Black transmit 1}
>    scale <.05, .05, 1>
> }
> 
> The texture is layered over another texture and then applied to a plane {z, 0}.
> I noticed that when I render the image at 4000 x 3000 pixels then resize it to
> 1280 x 960 it looks great, but when I render it at 1280 x 960 it looks horrible.
> The attached image shows what I mean. In both cases I'm using +am2 +r3. Am I
> doing something wrong?
> 
> Regards,
> Dave Blandston
> 
> 
> ------------------------------------------------------------------------
> 

It looks like something akin to a moire pattern to me. Can you post an 
original 1280x960 image showing this problem?

Because the brick pattern is close to the resolution of the render (ie 
the mortar gaps are about 1 pixel across at 1280x960) the AA sampling is 
not good enough to correctly render the pattern. I suggest you look at 
the AA options in the manual section 2.1.2.8.4, especially the 
Antialias_Depth option.

Rarius


Post a reply to this message

From: Dave Blandston
Subject: Re: Question about brick pattern
Date: 1 Feb 2010 10:30:01
Message: <web.4b66f24d6cdc0505cba3fb0f0@news.povray.org>
Rarius <rar### [at] rariuscouk> wrote:
> It looks like something akin to a moire pattern to me. Can you post an
> original 1280x960 image showing this problem?
>
> Because the brick pattern is close to the resolution of the render (ie
> the mortar gaps are about 1 pixel across at 1280x960) the AA sampling is
> not good enough to correctly render the pattern. I suggest you look at
> the AA options in the manual section 2.1.2.8.4, especially the
> Antialias_Depth option.
>
> Rarius

That was the problem. Lowering the aa-threshold to +a0.0001 seems to have fixed
everything. Thanks for the suggestion!

Regards,
Dave Blandston


Post a reply to this message

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