POV-Ray : Newsgroups : povray.binaries.animations : 3D Movie : 3D Movie Server Time
17 May 2024 18:38:15 EDT (-0400)
  3D Movie  
From: alphaQuad
Date: 5 Jun 2009 16:10:00
Message: <web.4a297b1bc335f5dd482e4f220@news.povray.org>
Some Yahoo <no### [at] waycom> wrote:
> I found this useful for creating an image name from a string created while
rendering.
>

which made me go back to reexamine post frame and scene commands for a 3D frame
AND a 3D movie. Commands works for 1 stereo frame, calling composite.exe. On to
multiple frames ---

Is it true you can only read a string from a file if it is "quote delimited"?


Really all I need is number of lines in a file that is not quote delimited.


Because ... oh man if I can explain this ... first problem:

Post_Scene_Command only executes after ALL frames compositing only the final
frame, and Post_Frame_Command is already in play with

Post_Frame_Command="Post_Frame_Command.sh h=%h n=%n o='%o' s='%s' w=%w"

without which it was previously crashing ... so make a batch file from
render-file, but then I get 2 entries, 2 for each stereo-pair.

If I had number of lines in that file, I'd know when to write to the batch file.
Current error seems to be coming from no quotes in the batfile. how to read a
file without quotes? OR a better way to solve the prob.

  #fopen batfile "movie.bat" read
  #while (defined(batfile))
    #read (batfile,readstr)
    #declare read_iter = read_iter+1;
    echof(read_iter)
  #end


Parse Error: Expected 'float, vector, or string literal', composite found
instead


#read (MyFile,MyString,MyFloat,MyVect)
It expects to read something like:
"A quote delimited string", -123.45, <1,2,-3>


will a bat file run quote delimited?
tested, answer = NO
>"composite -stereo titlepacif3_3dR1.png titlepacif3_3dL1.png titlepacif3_3d1.png"
Bad command or file name


I'm stuck!


Post a reply to this message

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