POV-Ray : Newsgroups : povray.beta-test : problem with +D option at specific output file dimensions : Re: problem with +D option at specific output file dimensions Server Time
17 May 2024 03:37:08 EDT (-0400)
  Re: problem with +D option at specific output file dimensions  
From: William F Pokorny
Date: 14 Dec 2013 16:21:11
Message: <52accbc7$1@news.povray.org>
On 12/14/2013 03:40 PM, Le_Forgeron wrote:
>
> I seems to have a fix for it (I tried it locally), but would be glad to
> have a confirmation from the original poster if possible:
>
> In unix/disp_sdl.cpp, change the computation of m_display_scale (circa
> line 245) with:
>
> m_display_scale = min(float(width) / GetWidth(), float(height)/GetHeight());
>
>
I am of course not the original poster, but this fix is working in my 
testing.

My apologies, James Dietrich, for calling you David in an earlier post. 
I've not a clue where I got that name. I'm getting old and all too often 
my brain glitches...

Bill P.


Post a reply to this message

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