POV-Ray : Newsgroups : povray.newusers : Improving resolution in povray images : Re: Improving resolution in povray images Server Time
25 Apr 2024 05:24:47 EDT (-0400)
  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.
https://vampire.york.ac.uk/images/features/sampling.jpg

http://news.povray.org/povray.advanced-users/thread/%3C57bf8a2f%241%40news.povray.org%3E/?ttop=433049&toff=150&mtop=410
480

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
again.

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.
http://news.povray.org/povray.windows/thread/%3Cweb.56edd77df9a19c455e7df57c0%40news.povray.org%3E/

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
queue.

https://wiki.povray.org/content/Reference:Tracing_Options#Render_Block_Size

- Bill


Post a reply to this message

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