POV-Ray : Newsgroups : povray.general : Getting a pixel speed indicator in Linux Pov Server Time
6 Nov 2024 14:26:43 EST (-0500)
  Getting a pixel speed indicator in Linux Pov (Message 1 to 3 of 3)  
From: Stefan Viljoen
Subject: Getting a pixel speed indicator in Linux Pov
Date: 28 May 2004 05:54:39
Message: <40b70c5e@news.povray.org>
Hi

I noticed that KPov modeller has a pixel speed indicator, just like native
Windows Pov 3.5. Any idea how this is done? How can you construct a pixel
speed indication mechanism using Linux povray? My POV sessions started in
an XTerm just give the line numer and number of lines left. 

Again, I can find nothing in the Linux POV docs about this - any help
appreciated!

Thanks,
-- 
Stefan Viljoen
Software Support Technician
Polar Design Solutions


Post a reply to this message

From: Shalom Naumann
Subject: Re: Getting a pixel speed indicator in Linux Pov
Date: 30 May 2004 00:08:03
Message: <40b95e23@news.povray.org>
They probably just do Lines/persecond * pixels/line

Stefan Viljoen
> Hi
> 
> I noticed that KPov modeller has a pixel speed indicator, just like native
> Windows Pov 3.5. Any idea how this is done? How can you construct a pixel
> speed indication mechanism using Linux povray? My POV sessions started in
> an XTerm just give the line numer and number of lines left. 
> 
> Again, I can find nothing in the Linux POV docs about this - any help
> appreciated!
> 
> Thanks,


Post a reply to this message

From: Florian Brucker
Subject: Re: Getting a pixel speed indicator in Linux Pov
Date: 30 May 2004 11:01:21
Message: <40b9f741$1@news.povray.org>
> I noticed that KPov modeller has a pixel speed indicator, just like
 > native Windows Pov 3.5. Any idea how this is done? How can you
 > construct a pixel speed indication mechanism using Linux povray? My
 > POV sessions started in an XTerm just give the line numer and number
 > of lines left.
 > Again, I can find nothing in the Linux POV docs about this - any help
 > appreciated!

I studied the KPOVModeller sources once to see how they implemented the 
preview window without patching POV. It's done like that: They're 
telling POV-Ray to output the image data to stdout (in TGA format IIRC) 
and "pipe" the output back into KPOVModeller (okay, it's not really 
piped, but you know what I mean). That way you can

a) create a preview window showing the progress of the render
b) calculate rendering speed etc.

The drawback is that the image is not written on hard disk and you have 
the data as TGA (or whatever format you specified), so you have to do 
the conversions to other ouput formats yourself (using the appropriate 
libs of course :)

OTOH if you only want the rendering speed, use Shalom's idea, which is 
pretty much straight forward :)

Perhaps an option in povray to output to both screen and hard disk would 
be nice - of course with the possibility to use different data formats 
for both streams ;) (And no, this *is not* a feature request)

HTH,
Florian

P.S.: Follow-Up to povray.unix set


Post a reply to this message

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