POV-Ray : Newsgroups : povray.general : Getting a pixel speed indicator in Linux Pov : Re: Getting a pixel speed indicator in Linux Pov Server Time
3 Aug 2024 02:16:55 EDT (-0400)
  Re: Getting a pixel speed indicator in Linux Pov  
From: Florian Brucker
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.