POV-Ray : Newsgroups : povray.newusers : Improving resolution in povray images : Re: Improving resolution in povray images Server Time
2 Mar 2024 11:31:15 EST (-0500)
  Re: Improving resolution in povray images  
From: Bald Eagle
Date: 13 Oct 2022 14:15:00
Message: <web.634854eab9eaa0bc1f9dae3025979125@news.povray.org>
"vishesh saxena" <sax### [at] gmailcom> wrote:
> Hello all,
> I am using povray to generate png images of spin textures from another program
> called as VAMPIRE. The generated png files are blurred. I cannot see the spins
> properply when I zoom in.
> I am very new to povray. Any suggestions on how to increase the resolution?
> Best regards,
> Vishesh

Hi Vishesh,

This is a very interesting program.   I'm particularly interested in the Monte
Carlo methods section - particularly the sampling algorithm.
Our developer at the time was trying to come up with a way to preferentially
sample in the areas where an attribute's density was the highest, while ignoring
most or all of the areas where it was low or nonexistent.


Perhaps you have some of the mathematical expertise - or connections who, that
can offer some advice in that area.

As for not being able to see what you want in your spin texture, what you want
to do - as others have suggested - is to increase the render image size in
POV-Ray before rendering your image, which essentially increases the resolution.
 You will then be rendering the same scene over a larger number of pixels.
Depending on how you have everything set up, you might need to adjust your
camera angle or distance to get your scene to fill the entire render window

BEFORE you jump ahead to a very large image, be aware that this can massively
slow down the render time, due to technical under-the-hood details.

The solution probably lies in tailoring the render block size to the scene:

Render Block Size
POV-Ray provides a mechanism to specify the render block size via either an
INI-style option Render_Block_Size=n or on the command-line +BSn, where n is an
integer larger than or equal to 4. This represents the edge size of the square
used to distribute work to the render threads, and thus the number of pixels in
each block will be n squared. The default value is 32. If you specify a value
that is greater than the larger of the width or height of the image being
rendered, it is clipped to that value. Using render block sizes of less than
eight can impact performance, particularly on large images that render quickly,
as it significantly increases the amount of message traffic between the render
back-end and the graphical front-end, which communicate using a shared-memory


- Bill

Post a reply to this message

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