POV-Ray : Newsgroups : povray.beta-test : Render window bugs : Render window bugs Server Time
4 Nov 2024 13:03:39 EST (-0500)
  Render window bugs  
From: Anders K 
Date: 16 Oct 2001 19:15:55
Message: <3bccbfab$1@news.povray.org>
When the render window is maximized, the cursor coordinates displayed in the
title bar are wrong in two ways:

(1) If the image's aspect ratio is such that there is black space to the
left and right of the image (similarly for top and bottom), then the
x-coordinate goes from 0 to its maximum from the left of the window to the
right of the window, rather than from the left of the image to the right of
the image, as it should. (This also happens when the image's width is small
enough that the non-maximized render window has to be wider than the image.)

(2) The coordinates seem to be rounded to the nearest integer, rather than
rounded down to the next lowest integer as they should. The result is that
the coordinates change in the middle of the pixels rather than on the sides.
You can see this problem by rendering a small image (like 8x8) with obvious
differences between the pixel colors (gradient x+y or something), maximizing
the render window, and moving the cursor slowly from the top of the image to
the bottom, noting where the coordinates change. Another result of this
problem is that the coordinates go from 0 to 8 rather than 0 to 7.

POV-Ray 3.5 beta 6, Windows 98, Athlon, 256 MB.


Post a reply to this message

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