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 04:06:57 EDT (-0400)
  Re: problem with +D option at specific output file dimensions  
From: James Dietrich
Date: 16 Dec 2013 08:35:01
Message: <web.52af016e151ce5afe8302f4e0@news.povray.org>
"James Dietrich" <jdi### [at] fastmailfm> wrote:
> Le_Forgeron <jgr### [at] freefr> 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 will try the above fix tomorrow, and will report back with my results.

OK, I can now confirm that this does fix the issue for me.

Thanks again to each of you who helped with this.

James Dietrich


Post a reply to this message

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