POV-Ray : Newsgroups : povray.programming : Calling povray from outside software Server Time
23 Dec 2024 06:30:47 EST (-0500)
  Calling povray from outside software (Message 1 to 3 of 3)  
From: Shalom Naumann
Subject: Calling povray from outside software
Date: 10 Jan 2003 09:14:45
Message: <3e1ed555$1@news.povray.org>
I am writing a program to help produce animations in povray. I would like to
make it cross-platform (its in Java) but I'm not sure how to go about
calling povray to test the scenes. Povray, however, has different command
line options. For example, if you pass the /EDIT parameter to Povray for
Windows, it will work, even if its already open. However, such an argument
doesn't exist in any other operating systems. What's the recommended way of
calling POV-Ray from an outside program?

Shalom.

PS: I have access to Windows and Linux that I could test my program on (and
I guess DOS, too)


Post a reply to this message

From: Christoph Hormann
Subject: Re: Calling povray from outside software
Date: 10 Jan 2003 09:46:38
Message: <3E1EDCCE.A2DF0611@gmx.de>
Shalom Naumann wrote:
> 
> I am writing a program to help produce animations in povray. I would like to
> make it cross-platform (its in Java) but I'm not sure how to go about
> calling povray to test the scenes. Povray, however, has different command
> line options. For example, if you pass the /EDIT parameter to Povray for
> Windows, it will work, even if its already open. However, such an argument
> doesn't exist in any other operating systems. What's the recommended way of
> calling POV-Ray from an outside program?

POV-Ray has various command line options that work on all platforms (see
the documentation, section 5).  The windows version has some special
options like /EDIT and /RENDER since it contains an integrated editor. 
You obviously should not use them for a platform independant program.

In any case you will have to allow the user to specify the POV-Ray
executable in the program configuration since the name and location will
differ between the platforms.

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

From: Tom Galvin
Subject: Re: Calling povray from outside software
Date: 10 Jan 2003 14:45:37
Message: <Xns92FF960905EF3tomatimporg@204.213.191.226>
"Shalom Naumann" <sha### [at] fakeemailcom> wrote in
news:3e1ed555$1@news.povray.org: 

> I am writing a program to help produce animations in povray. I would
> like to make it cross-platform (its in Java) but I'm not sure how to
> go about calling povray to test the scenes. 
> 

You can take a look at our source code to see how we are tackling it.

http://sourceforge.net/projects/impfarm/


Post a reply to this message

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