POV-Ray : Newsgroups : povray.windows : [REQUEST]Java API for getting status information searched : Re: [REQUEST]Java API for getting status information searched Server Time
1 Jul 2024 01:26:42 EDT (-0400)
  Re: [REQUEST]Java API for getting status information searched  
From: Andrew Wilcox
Date: 17 Feb 2003 11:14:09
Message: <3e510a51@news.povray.org>
That's what I was working on as well, but haven't had much time as late to
finish it up.

I will say that spawning a process in Java with Runtime.exec() is not the
best way to run POV-Ray.  It seemed to slow down POV-Ray.  Also, there's no
way to have POV run more renders without exiting and reopening.  So for
animations you're wasting time opening POV for each frame.  Also the splash
screen apears every time, so running on a machine where other people are
working can become very annoying, since the splash screen comes to the front
every time.

There is a Java API that's part of QuietPOV
(http://www.dreampeach.com/QuietPOV).  I didn't explicitly publish how it
works, since no one showed much interest in it.  I have hooks built in to
get the status info (i.e. 75% rendered), but I'm actually recalculating them
myself, since GUI Extensions do not have access to this information.

If you're interested I can publish the java classes you'll needed, if not,
good luck.

Andrew Wilcox

"norbert" <nor### [at] querfunkde> wrote in message
news:web.3e4f8f8d95e2410e666485f50@news.povray.org...
> Hello,
> I hope I am in the right group.
> My question: Is there anywhere a possibility to get the status information
> of a currently rendered image?
> I am looking for some information of type "78% rendered" or something
> similar.
>
> What I want to do is writing a java application which can start a povray
> rendering and get the result in any way. What would be very helpful is a
> kind of a remote control and information API fpr java - know what I mean?
>
> I have read the news for a couple of hours, but could not find any helpful
> hint.
> I read the discussion with Andrew Wilcox
> (http://news.povray.org/povray.windows/27227/)
> and the question of Chuck Roberts
> (http://news.povray.org/povray.windows/30395/), but unfortunately I
haven't
> found any code.
> Have I to write it myself or is there any java programming interface
around.
>
> Any help or link or hint would be nice.
>
> norbert
>


Post a reply to this message

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