POV-Ray : Newsgroups : povray.beta-test : Newbie cannot make +D to work Server Time
22 Dec 2024 11:44:26 EST (-0500)
  Newbie cannot make +D to work (Message 1 to 7 of 7)  
From: wealthychef
Subject: Newbie cannot make +D to work
Date: 2 Oct 2012 20:10:00
Message: <web.506b822fd235256c4a296dd40@news.povray.org>
I am rendering a scene (which is incredibly fast with 3.7 BTW) and would like to
use +D to display the image while it renders.  Is this broken?  I see in the
output that "Graphic Display" is set to "On" but no image appears while
rendering.    Here's what I'm doing:

 povray scene.pov +W2048 +H1024 +A  +SP16 -P +K0.0 Declare=TIMESTEP=0
Declare=USE_MMA=0 Declare=USE_CCS=0 Declare=USE_CCSM4_TIMESTEPS=0
Declare=STARS=1 Declare=GRADIENT=0 Declare=ROTATE_EARTH=80
Declare=DASHED_ORBIT=0 Declare=FULL_ORBIT=0 Declare=view_lat=40.0
Declare=DATAGRID=0 Declare=SATELLITE=0 Declare=view_dist=20.0 Declare=LOOKAT_X=0
Declare=LOOKAT_Y=0 Declare=LOOKAT_Z=2   +D

With 3.6.1, I get an image (even without +D) in 13 seconds.
With 3.7.0, the rendering is less than 1 second !! but I do not get my preview
window.

Any help?  Thanks.


Post a reply to this message

From: waggy
Subject: Re: Newbie cannot make +D to work
Date: 2 Oct 2012 21:45:01
Message: <web.506b98286ba0fd709726a3c10@news.povray.org>
"wealthychef" wrote:
> I am rendering a scene (which is incredibly fast with 3.7 BTW) and would like to
> use +D to display the image while it renders.  Is this broken?  I see in the
> output that "Graphic Display" is set to "On" but no image appears while
> rendering.    Here's what I'm doing:
>
> With 3.6.1, I get an image (even without +D) in 13 seconds.
> With 3.7.0, the rendering is less than 1 second !! but I do not get my preview
> window.
>
> Any help?  Thanks.

Have you tried +P so it pauses long enough to see it?


Post a reply to this message

From: Le Forgeron
Subject: Re: Newbie cannot make +D to work
Date: 3 Oct 2012 03:06:13
Message: <506be3e5$1@news.povray.org>
Le 03/10/2012 02:09, wealthychef a écrit :
> I am rendering a scene (which is incredibly fast with 3.7 BTW) and would like to
> use +D to display the image while it renders.  Is this broken?  I see in the
> output that "Graphic Display" is set to "On" but no image appears while
> rendering.    Here's what I'm doing:
> 
>  povray scene.pov +W2048 +H1024 +A  +SP16 -P +K0.0 Declare=TIMESTEP=0
> Declare=USE_MMA=0 Declare=USE_CCS=0 Declare=USE_CCSM4_TIMESTEPS=0
> Declare=STARS=1 Declare=GRADIENT=0 Declare=ROTATE_EARTH=80
> Declare=DASHED_ORBIT=0 Declare=FULL_ORBIT=0 Declare=view_lat=40.0
> Declare=DATAGRID=0 Declare=SATELLITE=0 Declare=view_dist=20.0 Declare=LOOKAT_X=0
> Declare=LOOKAT_Y=0 Declare=LOOKAT_Z=2   +D
> 
> With 3.6.1, I get an image (even without +D) in 13 seconds.
> With 3.7.0, the rendering is less than 1 second !! but I do not get my preview
> window.
> 
> Any help?  Thanks.
> 
> 


Can you try it with the benchmark scene ? (copy benchmark.pov in your
directory from /usr/local/share/povray-3.7/scenes/advanced )

It should take enough time to see the window.

With your 1 second render, was the image-file created ?


Post a reply to this message

From: Warp
Subject: Re: Newbie cannot make +D to work
Date: 3 Oct 2012 09:01:44
Message: <506c3738@news.povray.org>
wealthychef <coo### [at] llnlgov> wrote:
> I am rendering a scene (which is incredibly fast with 3.7 BTW) and would like to
> use +D to display the image while it renders.  Is this broken?  I see in the
> output that "Graphic Display" is set to "On" but no image appears while
> rendering.

It would help if you told us what your operating system is and how you
got povray on it (iow. did you compile it yourself or did you download
a precompiled binary, and if yes, where from?)

If you are compiling it yourself you need to install the SDL libraries
or else the preview won't work. Pay attention to what the configure
script prints.

-- 
                                                          - Warp


Post a reply to this message

From: Alex Stewart
Subject: Re: Newbie cannot make +D to work
Date: 12 Jul 2013 14:41:42
Message: <51e04de6$1@news.povray.org>
On Wed, 03 Oct 2012 09:01:44 -0400, Warp wrote:
> If you are compiling it yourself you need to install the SDL libraries
> or else the preview won't work. Pay attention to what the configure
> script prints.

FWIW, this particular issue has caught me several times, and is annoying 
every single time.  It's very easy to configure and build without 
realizing that configure didn't find the SDL libraries, and if you miss 
that one little message (or if you weren't even the one who compiled it in 
the first place), there's no way to tell that this is actually the problem 
you're encountering.

Firstly, IMHO, povray should not say "Graphic display......On" if it has 
not been compiled with support for that function.  That is just plain 
wrong and misleading.  In my opinion, in such cases it should default to 
"Off" (or maybe even say something like "Disabled" instead of "Off"), and 
if you try to specify "+D", it should error out with a message something 
like "This version of POV-Ray was compiled without support for the Display 
option"..


Post a reply to this message

From: Le Forgeron
Subject: Re: Newbie cannot make +D to work
Date: 12 Jul 2013 16:16:33
Message: <51e06421$1@news.povray.org>
Le 12/07/2013 20:41, Alex Stewart nous fit lire :
> On Wed, 03 Oct 2012 09:01:44 -0400, Warp wrote:
>> If you are compiling it yourself you need to install the SDL libraries
>> or else the preview won't work. Pay attention to what the configure
>> script prints.
> 
> FWIW, this particular issue has caught me several times, and is annoying 
> every single time.  It's very easy to configure and build without 
> realizing that configure didn't find the SDL libraries, and if you miss 
> that one little message (or if you weren't even the one who compiled it in 
> the first place), there's no way to tell that this is actually the problem 
> you're encountering.
> 
> Firstly, IMHO, povray should not say "Graphic display......On" if it has 
> not been compiled with support for that function.  That is just plain 
> wrong and misleading.  In my opinion, in such cases it should default to 
> "Off" (or maybe even say something like "Disabled" instead of "Off"), and 
> if you try to specify "+D", it should error out with a message something 
> like "This version of POV-Ray was compiled without support for the Display 
> option"..
> 

you could at least look at the output of "povray --version".
Try it, you will be delighted.


Post a reply to this message

From: Alex Stewart
Subject: Re: Newbie cannot make +D to work
Date: 12 Jul 2013 19:50:16
Message: <51e09638$1@news.povray.org>
On Fri, 12 Jul 2013 22:16:20 +0200, Le_Forgeron wrote:
> you could at least look at the output of "povray --version".
> Try it, you will be delighted.

Ok, I will admit that I didn't realize it printed that information when 
you did "povray --version" (which is nice to know, thanks for the tip)..

I think my point still stands, though, that the current behavior when 
compiled without SDL is still wrong and confusing..


Post a reply to this message

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