in reply to Re (tilly) 1: distribute render jobs
in thread distribute render jobs

I believe Win32::Process doesn't work because the renderer (vmantra) was ported from *nix using the cygwin libraries. Perhaps something to do with passing arguments?

Vmantra works from the command prompt with the following syntax:
vmantra < fileToRender
I discovered that I can launch it using backticks, system, or exec.
From what I can see here, I guess I'm stuck with writing a client/server app that executes a BAT file to run the renderer.

-dys

Replies are listed 'Best First'.
Re (tilly) 3: distribute render jobs
by tilly (Archbishop) on Nov 16, 2000 at 15:22 UTC
    No, just piggyback off of a database. :-)

    Seriously, have a relational database with transactions. When new jobs need to be done, add database entries for the needed work. Have a simple client process in a loop. It is connected to the database. At the start of the loop it tries to open a transaction and get work assigned to it. If it can it then does the work (ie one render) and marks it as done. If it cannot it sleeps for a while and tries again.

    You can have other processes that add needed renders, check to see whether anything is taking a suspiciously long time, etc.

      I really like the idea of a relational database. This could make my life easier for the next 2 months! :-)

      Thanks again for your ideas and help.

      -dys

      checkout http://www.dougstruthers.com