POV-Ray : Newsgroups : povray.animations : Calling PovRay from a batch file... Server Time
24 Nov 2024 02:32:28 EST (-0500)
  Calling PovRay from a batch file... (Message 1 to 6 of 6)  
From: Freddy D 
Subject: Calling PovRay from a batch file...
Date: 4 Nov 2002 19:01:45
Message: <3dc70a69$1@news.povray.org>
Hi all..

I'm trying to render again a pretty old animation (more than 5 years
old..)..

Povray is called within a batch file, just because i need to set many
variables before
each frame render, like this :

echo #declare Var1 = 1 > file.inc
echo #declare Var2 = 2 >> file.inc
povray +i<source_file>

echo <other values..>
povray +i<same_source_file>
etc..

The problem is that Povray just don't calculate all frames, and displays
that message :
'Only /edit and /render may be passed from the prevoius instance' (or
so..)
Each time this is displayed, povray skip a frame... and i have to hit
enter, or the comp freezes
in no time (too many processes...)

I tried to play with all options in the menus, but no succeess.. :/

What's the way to avoid that error ? A clue, anyone ?.. :)

Thanks...
--
FD
Mode { NOSPAM } = On ;


Post a reply to this message

From: Ken
Subject: Re: Calling PovRay from a batch file...
Date: 4 Nov 2002 20:37:06
Message: <3DC720A7.AB80265D@pacbell.net>
"Freddy D." wrote:
> 
> Hi all..
> 
> I'm trying to render again a pretty old animation (more than 5 years old..)

<Snip>

> What's the way to avoid that error ? A clue, anyone ?.. :)

Use an older DOS version of the program?

see - ftp://povray.org/pub/povray/Old-Versions/

-- 
Ken Tyler


Post a reply to this message

From: Mark Wagner
Subject: Re: Calling PovRay from a batch file...
Date: 4 Nov 2002 22:45:51
Message: <pan.2002.11.05.03.44.49.326742.213@gte.net>
On Mon, 04 Nov 2002 18:59:31 -0500, Freddy D. quoth:

> Hi all..
> 
> I'm trying to render again a pretty old animation (more than 5 years
> old..)..

> The problem is that Povray just don't calculate all frames, and displays
> that message :
> 'Only /edit and /render may be passed from the prevoius instance' (or
> so..)

Turning off "Keep single instance" should fix this problem.

-- 
Mark


Post a reply to this message

From: Dick Balaska
Subject: Re: Calling PovRay from a batch file...
Date: 5 Nov 2002 12:52:50
Message: <3DC8059B.72F69392@buckosoft.com>
Ken wrote:
> 
> "Freddy D." wrote:
> >
> > Hi all..
> >
> > I'm trying to render again a pretty old animation (more than 5 years old..)
> 
> <Snip>
> 
> > What's the way to avoid that error ? A clue, anyone ?.. :)
> 
> Use an older DOS version of the program?
> 
> see - ftp://povray.org/pub/povray/Old-Versions/
> 

I have a version of 3.1g compiled as a 32 bit Windows console mode program.
(as opposed to povmsdos which uses some wacky dos extender and has this
curses like windowing built in).

Mine is just a console program; give it arguments, it goes.

I could mail it to you, if you'd like.

dik


Post a reply to this message

From: Freddy D 
Subject: Re: Calling PovRay from a batch file...
Date: 5 Nov 2002 14:58:58
Message: <3dc82302@news.povray.org>
Well..

Thanks for the quick answers, guys..

.. but I'm trying to render this animation with pov 3.5, for fog, media
and
at least radiosity...

I just don't know how to 'pass' some parameters (that are not dependent
of clock var)
to povray...

Ken : I already have pov 2.2 and so on.. but i'm not planning to use it
again.. :)
Dick : Thanks for the offer.. but same answer : trying with 3.5.. :)
Mark : Already tried that : but with 1084 frames, comp was.. well..
restarted.. :)

Thanks again..

--
FD
Mode { NOSPAM } = On ;


Post a reply to this message

From: Freddy D 
Subject: Re: Calling PovRay from a batch file... [END]
Date: 7 Nov 2002 17:05:56
Message: <3dcae3c4$1@news.povray.org>
Hi..

Back on the road.. :)

Found a 'workaround'.. I just used #fopen and related commands to import
all
variables directly in Povray..

I learned something more... :)

Thanks to anybody for the help

--
FD
Mode { NOSPAM } = On ;


Post a reply to this message

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