POV-Ray : Newsgroups : povray.programming : Attaching PovRay to my application Server Time
22 Dec 2024 21:55:28 EST (-0500)
  Attaching PovRay to my application (Message 1 to 6 of 6)  
From: Omega
Subject: Attaching PovRay to my application
Date: 28 Nov 2003 15:20:03
Message: <3fc7adf3@news.povray.org>
Hi all,

I took a look a the PovRay Gui Extension.. I think I understand the concept,
but actually, I would like my app to call Povray, not Povray to call my app.

I guess it's possible since Moray uses this mechanism, but I don't seem to
find how...

Any idea?

Thanks,
O.


Post a reply to this message

From: Barron Gillon
Subject: Re: Attaching PovRay to my application
Date: 3 Dec 2003 21:34:24
Message: <3fce9d30@news.povray.org>
What you want to do, is have your program create another process, in this
case povray.  Unfortunately, it is fairly platform specific.  I could give
you details on how to do it in Unix, and I've done it once in java, but I'm
assuming you're using Windows, C/C++?  If so, you might start by looking up
the Process class.  Hope this helps!

Barron


Post a reply to this message

From: Omega
Subject: Re: Attaching PovRay to my application
Date: 4 Dec 2003 09:08:53
Message: <3fcf3ff5$1@news.povray.org>
"Barron Gillon" <gil### [at] purdueedu> wrote in message
news:3fce9d30@news.povray.org...
> What you want to do, is have your program create another process, in this
> case povray.  Unfortunately, it is fairly platform specific.  I could give
> you details on how to do it in Unix, and I've done it once in java, but
I'm
> assuming you're using Windows, C/C++?  If so, you might start by looking
up
> the Process class.  Hope this helps!

Indeed, I'm using Windows, C++.  But I meant using the PovRay API to
communicate with it.. just like Moray does.. I think it's via the
Gui-Extension of PovRay.. I can't figure it out.

Thanks,
O.


Post a reply to this message

From: ABX
Subject: Re: Attaching PovRay to my application
Date: 4 Dec 2003 09:12:59
Message: <e0gusvs0hhloafoijbigla5h57g75le01a@4ax.com>
On Thu, 4 Dec 2003 09:08:51 -0500, "Omega" <etr### [at] solvisionnet> wrote:
> Indeed, I'm using Windows, C++.  But I meant using the PovRay API to
> communicate with it.. just like Moray does.. I think it's via the
> Gui-Extension of PovRay.. I can't figure it out.

Using search engine on http://news.povray.org/ with magic "GUI" keyword ;-)

ABX


Post a reply to this message

From: Tom Galvin
Subject: Re: Attaching PovRay to my application
Date: 4 Dec 2003 10:11:55
Message: <Xns944767B22E20Atomatimporg@204.213.191.226>
ABX <abx### [at] abxartpl> wrote in
news:e0gusvs0hhloafoijbigla5h57g75le01a@4ax.com: 

> On Thu, 4 Dec 2003 09:08:51 -0500, "Omega" <etr### [at] solvisionnet>
> wrote: 
>> I think it's via the Gui-Extension of PovRay.. I can't figure 
>> it out.
> 
> Using search engine on http://news.povray.org/ with magic "GUI"
> keyword ;-) 
> 

And check out this page: http://www.imp.org/guiext/default.asp

It is incomplete, but it should get you started.  If you can provide 
feedback I will add to it, so that the next poor soul will have an easier 
time of it.  You can also look at the source of a working GUI Extension 
called QuietPOV: http://www.dreampeach.com/QuietPOV

-- 
Tom
_________________________________
The Internet Movie Project
http://www.imp.org/


Post a reply to this message

From: Omega
Subject: Re: Attaching PovRay to my application
Date: 5 Dec 2003 08:36:49
Message: <3fd089f1$1@news.povray.org>
"Tom Galvin" <tom### [at] imporg> wrote in message
news:Xns### [at] 204213191226...
> ABX <abx### [at] abxartpl> wrote in
> news:e0gusvs0hhloafoijbigla5h57g75le01a@4ax.com:
>
>
> And check out this page: http://www.imp.org/guiext/default.asp

Actually, I've gotten that far...

> It is incomplete, but it should get you started.  If you can provide
> feedback I will add to it, so that the next poor soul will have an easier
> time of it.  You can also look at the source of a working GUI Extension
> called QuietPOV: http://www.dreampeach.com/QuietPOV
>

I think that looking at that GUI would mostly resolve all my problems.. but
the source code link does not work :(

Thanks,
O.


Post a reply to this message

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