POV-Ray : Newsgroups : povray.general : Passing Values between Pov Files Server Time
11 Aug 2024 15:22:23 EDT (-0400)
  Passing Values between Pov Files (Message 1 to 2 of 2)  
From: Michael Soda
Subject: Passing Values between Pov Files
Date: 14 Jun 1999 20:01:02
Message: <37659792.18B0D425@erols.com>
Does anyone know how to pass values from one file into
another? Almost exactely like "clock" in an .ini file.  The value
is  increased/changed in  one file, and used in another?

I'm trying to render different "legs" of an entire animation sequence,
and for each count of clock from 0 to 1, I need to render different
things, and I just want to set a variable in Clock ("leg" or something)
that would be passed into the main POV file, and based on this "leg"
value, render different legs of the overall animation.

either it's not possible, or if it is, I'm a dunce, and can't find info
on it in the documentation.


Post a reply to this message

From: Mark Wagner
Subject: Re: Passing Values between Pov Files
Date: 15 Jun 1999 00:26:35
Message: <3765d5fb@news.povray.org>
Michael Soda wrote in message <37659792.18B0D425@erols.com>...
>Does anyone know how to pass values from one file into
>another? Almost exactely like "clock" in an .ini file.  The value
>is  increased/changed in  one file, and used in another?
>
>I'm trying to render different "legs" of an entire animation sequence,
>and for each count of clock from 0 to 1, I need to render different
>things, and I just want to set a variable in Clock ("leg" or something)
>that would be passed into the main POV file, and based on this "leg"
>value, render different legs of the overall animation.


Try using the file I/O commands to save the data in a separate file.

Mark


Post a reply to this message

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