POV-Ray : Newsgroups : povray.programming : Who to start PovRay from another program and render a scenery... : Re: Who to start PovRay from another program and render a scenery... Server Time
23 Apr 2024 03:58:17 EDT (-0400)
  Re: Who to start PovRay from another program and render a scenery...  
From: trp
Date: 2 Jan 2011 10:35:01
Message: <web.4d209ac28918d457bba08f230@news.povray.org>
At the risk of being redundant, here is a request from Ian:

http://news.povray.org/op.vonur8vk0819q0%40gdsentropy.nc.rr.com

and what I posted a few minutes ago:

"
This does seem to come up every so often. There should be a FAQ. (Maybe there
is. I'll look after I post this.) Anyway, here are a couple of earlier
references.

http://news.povray.org/web.4c0165e33f4c95c6bba08f230%40news.povray.org

http://news.povray.org/web.4c5df3ad7c1e70dfbba08f230%40news.povray.org
"

I did look. (Based on the time between my posts you can tell it wasn't a lot.)
But, I didn't find a FAQ. No, I don't feel confident enough to write one.

I wrote my application in C++. For me the easiest thing is to have POV already
running. (I may at some point prompt the user to start POV if it is not
running.) I have the default locations I obtained from the registry and the GUI
extensions DLL I created for communications.

I write my POV code and an ini file to work files. I pass a DDE message to POV
thru the DLL. The message includes a handle to my window that will display the
image. POV writes a BMP file and in the DLL posts a Windows message to my
display window when it is done. I read the BMP and display it in my window.

I hope this helps. Have fun.
Tim


"m.steiger" <nomail@nomail> wrote:
> Hi
>
> I am searching for detailed descriptions and information about how to start
> PovRay from a self written 3d-program.
>
> I use Delphi for coding my 3d-application and want to do following steps:
> - set appropriate Povray preferences (e.g. run only one instance)
> - export a 3d-scenery as PovRay file (write a SDL-file)
> - get PovRay execution path (registry entry)
> - start PovRay (v3.6.2 or beta) with SDL-file
> - immediately continue own application after PovRay was started
>
> useful hints and links to all these points are welcome...
>
> ~~~ martin ~~~


Post a reply to this message

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