POV-Ray : Newsgroups : povray.general : Returning the file name. : Re: Returning the file name. Server Time
29 Jul 2024 20:14:54 EDT (-0400)
  Re: Returning the file name.  
From: Stephen
Date: 13 Sep 2010 17:18:26
Message: <4c8e9522$1@news.povray.org>
On 13/09/2010 9:28 PM, Le_Forgeron wrote:
> You can have the current frame number (frame_number), but we are weak on
> the string functions. (converting the number in a string is fine, but I
> do not know how to get the current scene filename, so you might have to
> hardcode it)
>

Thanks for your reply Le
I thought that be the case but I was hoping that there was some 
undocumented function that everyone but me knew.

It is a slight pain to change the code manualy as I save my files 
incrementally, a lot, as I make changes in the scene.

> For using the previously rendered image, add +L<path of the render
> directory>  in your option (especially with that settings which might be
> set or not: to render all files in one directory) (if not rendering from
> ./ to ./ )

I’m doing this as a sample scene for Bishop3D so my audience may not 
know too much about changing the Library_Path in povray.ini. I was 
hoping to automate some of it.
  Maybe a feature for Pov 4.0 ;-)

-- 

Best Regards,
	Stephen


Post a reply to this message

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