|
|
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
|
|
|
|
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
|
|
|
|
> 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
|
|