POV-Ray : Newsgroups : povray.animations : how to remove number from outputed file name Server Time
24 Nov 2024 05:25:39 EST (-0500)
  how to remove number from outputed file name (Message 1 to 5 of 5)  
From:
Subject: how to remove number from outputed file name
Date: 19 Jul 2002 08:38:41
Message: <kc1gjusfeankn6a70eekv3gbscee7hf9dg@4ax.com>
Any idea how using only Post_Frame/Scene_Command and other ini settings remove
number from image name after rendering ?

I have special ini file created for one image/frame. I call it for original
animation source code with apropriate settings:

// INI FILE
bonus.pov 
+FS +A0.1 +AM2 -J +R3 -D +KFI1 +KFF78 +SF10 +EF10 +W144 +H108 
Output_File_Name="70 - 'functions.inc'\10 - internal functions\bonus" 
Post_Frame_Command=cmd.exe /q /c "ren 70 - 'functions.inc'\10 - internal
functions\bonus10.bmp 70 - 'functions.inc'\10 - internal functions\f_comma().bmp" 
// END OF INI FILE

I suppose the problem is in spaces in folder names but I can't use " becouse
there is already one for cmd. I can't also remove cmd becouse ren won't work
then. Any idea ?

ABX


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: how to remove number from outputed file name
Date: 19 Jul 2002 15:33:41
Message: <3d386995@news.povray.org>

Skiba <abx### [at] babilonorg>  wrote:

> Any idea how using only Post_Frame/Scene_Command and other ini settings remove
> number from image name after rendering ?

Do it like this:

Turn of animation rendering.

In your scene change every "clock" to "Clock".

In an ini file or on the command line declare "Clock" to have your "clock"
value.

=> No more struggling with the command line ;-)

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From:
Subject: Re: how to remove number from outputed file name
Date: 22 Jul 2002 03:40:33
Message: <2gdnjuo5mon0eoa3uf530j530bubsomn6s@4ax.com>
On Fri, 19 Jul 2002 21:33:25 +0200, "Thorsten Froehlich" <tho### [at] trfde>
wrote:
> > Any idea how using only Post_Frame/Scene_Command and other ini settings remove
> > number from image name after rendering ?
>
> Do it like this:
> Turn of animation rendering.
> In your scene change every "clock" to "Clock".

Thanks, that was obvious but I forgot to mention that I can't change scene :-(
I use i_internal.pov sample file to prepare insert menu bonus pack images
(http://www.abx.art.pl/pov/bonus) with queue.

ABX


Post a reply to this message

From: Philippe Lhoste
Subject: Re: how to remove number from outputed file name
Date: 25 Jul 2002 08:59:43
Message: <3d3ff63f@news.povray.org>

> Any idea how using only Post_Frame/Scene_Command and other ini settings
remove
> number from image name after rendering ?
>
> I have special ini file created for one image/frame. I call it for
original
> animation source code with apropriate settings:
>
> // INI FILE
> bonus.pov
> +FS +A0.1 +AM2 -J +R3 -D +KFI1 +KFF78 +SF10 +EF10 +W144 +H108
> Output_File_Name="70 - 'functions.inc'\10 - internal functions\bonus"
> Post_Frame_Command=cmd.exe /q /c "ren 70 - 'functions.inc'\10 - internal
functions\bonus10.bmp 70 - 'functions.inc'\10 - internal
functions\f_comma().bmp"
> // END OF INI FILE
>
> I suppose the problem is in spaces in folder names but I can't use "
becouse
> there is already one for cmd. I can't also remove cmd becouse ren won't
work
> then. Any idea ?

I would write:
Post_Frame_Command=cmd.exe /q /c ren "70 - 'functions.inc'\10 - internal
functions\bonus10.bmp" "70 - 'functions.inc'\10 - internal
functions\f_comma().bmp"

instead. I am not sure cmd.exe needs to quote the command, it takes
everything after the options as its command.
Or so I think, I haven't tested this. :-P

--
--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--
Philippe Lhoste (Paris -- France)
Professional programmer and amateur artist
http://jove.prohosting.com/~philho/
--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--


Post a reply to this message

From:
Subject: Re: how to remove number from outputed file name
Date: 25 Jul 2002 09:11:22
Message: <frtvjusiat1um64m2gfg5oup9bf2jdqfj2@4ax.com>
On Thu, 25 Jul 2002 14:59:04 +0200, "Philippe Lhoste" <Phi### [at] GMXnet> wrote:
> I would write:
> Post_Frame_Command=cmd.exe /q /c ren "70 - 'functions.inc'\10 - internal
> functions\bonus10.bmp" "70 - 'functions.inc'\10 - internal
> functions\f_comma().bmp"
> instead. I am not sure cmd.exe needs to quote the command, it takes
> everything after the options as its command.
> Or so I think, I haven't tested this. :-P

IIRC I tried such version and it refused to execute somehow. I don't remember
details becouse I tried so many version. Finally with help of Vahur Krouverk
(in povray.off-topic) I found solution ready for long names and broken
renderings:

Pre_Frame_Command=cmd.exe /q /c "for %%d in (70-'FU~1.INC\10-INT~1\bonus*.bmp
  70-'FU~1.INC\10-INT~1\f_kummer_surface_v1*.bmp) do del %%d" 
Post_Frame_Command=cmd.exe /q /c "move 70-'FU~1.INC\10-INT~1\bonus*.bmp 
  70-'FU~1.INC\10-INT~1\f_kummer_surface_v1().bmp" 

I hope it will work under win95/98 (except command instead cmd).

ABX


Post a reply to this message

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