|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
From: Christoph Hormann
Subject: Re: [REQUEST]Java API for getting status information searched
Date: 16 Feb 2003 08:52:19
Message: <3E4F9793.43882C9D@gmx.de>
|
|
|
| |
| |
|
|
norbert wrote:
>
> 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?
To do it in a platform independant way you can redirect the text output to
a file. See:
in the documentation.
> Have I to write it myself or is there any java programming interface around.
If you are planning to modify POV-Ray with some extension in that concern
make sure you read the POV-Ray license which is quite strict in that
concern:
http://www.povray.org/povlegal.html
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 31 Dec. 2002 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hello Christoph,
>
>5.2.5.3 Directing Text Streams to Files
>
Know that, but doesn't help very much for getting the status information.
>> Have I to write it myself or is there any java programming interface around.
>
>If you are planning to modify POV-Ray with some extension in that concern
>make sure you read the POV-Ray license which is quite strict in that
>concern:
>
>http://www.povray.org/povlegal.html
Thanks for the advice. I want to write public usable java application -
distributed with source code, but do not want to sell or build a modified
povray version.
So, the only question is, is there - like for the linux version a simple
possibility to get the status information for a java application.
Furthermore a java API would be nice, but not necessary.
norbert
Post a reply to this message
|
|
| |
| |
|
|
From: Christoph Hormann
Subject: Re: [REQUEST]Java API for getting status information searched
Date: 16 Feb 2003 09:35:17
Message: <3E4FA1A5.A0ADADB7@gmx.de>
|
|
|
| |
| |
|
|
norbert wrote:
>
> >5.2.5.3 Directing Text Streams to Files
> >
>
> Know that, but doesn't help very much for getting the status information.
>
You can redirect all information POV-Ray prints out with that method - i
don't see what you need in addition.
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 31 Dec. 2002 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hello Christoph,
you are right. I must have been silly for not testing it...
It is so easy!
I have tested it, and it does exactly, what I am looking for.
norbert
Post a reply to this message
|
|
| |
| |
|
|
From: Andrew Wilcox
Subject: Re: [REQUEST]Java API for getting status information searched
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hello Andrew,
>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.
Yes, I want to call the povray rendering from within a java process.
Under Linux it is very easy, because there is already a command line
version.
But with windows there isn't / wasn't.
>There is a Java API that's part of QuietPOV
>(http://www://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.
If there aren't any special things I have to know, I'll try it with the java
API.
But perhaps you can give me a short description how to use it.
And thanks a lot
norbert
Post a reply to this message
|
|
| |
| |
|
|
From: Andrew Wilcox
Subject: Re: [REQUEST]Java API for getting status information searched
Date: 20 Feb 2003 13:57:52
Message: <3e552530$1@news.povray.org>
|
|
|
| |
| |
|
|
Hey, I'm going out of town this weekend, and I didn't have time to answer
your post. I'll try to get back to you first thing Monday.
Andrew Wilcox
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |