POV-Ray : Newsgroups : povray.general : Retrieving / Changing output options from script : Re: Retrieving / Changing output options from script Server Time
5 Nov 2024 03:16:35 EST (-0500)
  Re: Retrieving / Changing output options from script  
From: JC (Exether)
Date: 2 Jul 2003 10:38:49
Message: <3F02EE78.5070606@spam.fr>
It's a problem I had several times too, and I use Warp's way, doing it 
in an animation.

The only problem I couldn't solve like this is when I want to use a 
previously rendered image as a height field and I want the height field 
image to use the hf_gray_16 option, even though this option appears in 
the script and can be conditioned it seems that it is handled just like 
any other output option by POV-Ray so that all images are rendered with 
the hf_gray_16.

Beeing able to change options dynamically would ease things up a lot,

For the accessing part, you can access parameters like resolution, but 
not all parameters are accessible,

JC

Jesse Hallam wrote:
> Is there anyway to acess or change the paramaters from within the 
> script? For example, I am trying to achieve a two-pass render, and would 
> like the second pass to read in the first pass as an image_map... but I 
> would like the output options to be changed dynamically for each script 
> name.
> 
> For example, if the pov src file = "test.pov", then the resulting image 
> (in my configuration, would be test.png) -- I would like to grab 
> "test.png", and change it to "test_image_map.png", which is then read in 
> on the second pass.
> 
> Any way to achieve the above, and more?
> 
> Thanks for suggestions
>


Post a reply to this message

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