POV-Ray : Newsgroups : povray.binaries.animations : 3D Movie Server Time
31 Oct 2024 16:17:02 EDT (-0400)
  3D Movie (Message 1 to 7 of 7)  
From: alphaQuad
Subject: 3D Movie
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

From: alphaQuad
Subject: Re: 3D Movie
Date: 5 Jun 2009 16:55:00
Message: <web.4a2984fed1218260482e4f220@news.povray.org>
solution would be to make a counter file and read integers,
 lot of seemingly unnecessary code to overcome #read() limitations


Post a reply to this message

From: alphaQuad
Subject: Re: 3D Movie
Date: 5 Jun 2009 17:20:00
Message: <web.4a298b0cd1218260482e4f220@news.povray.org>
got it!

here's your 3D movie equipment:
http://home.earthlink.net/~openuniverse/

only difference is, single frame render and DOS window closes,
otherwise remains open


Post a reply to this message

From: alphaQuad
Subject: Re: 3D Movie
Date: 5 Jun 2009 18:00:01
Message: <web.4a2994cbd12182608d65ecee0@news.povray.org>
"alphaQuad" <alp### [at] earthlinknet> wrote:
> got it!
>
> here's your 3D movie equipment:
> http://home.earthlink.net/~openuniverse/
>
> only difference is, single frame render and DOS window closes,
> otherwise remains open

Oh. So POVray is not finished until Dos window closes. What would be the method
for closing the DOS window (automatically) for multiple frames??

Close DOS window manually 'til I figure this out.


Post a reply to this message

From: alphaQuad
Subject: Re: 3D Movie
Date: 5 Jun 2009 18:30:00
Message: <web.4a299be2d12182608d65ecee0@news.povray.org>
Open a dos window type exit and hit enter, it freekin closes!!!!!

Add exit to last line of movie.bat and Dos program was terminated on last
composite command. exit fails to execute! go figure. I was certain that was all
it needed. DOH!


Post a reply to this message

From: alphaQuad
Subject: Re: 3D Movie
Date: 5 Jun 2009 18:50:00
Message: <web.4a29a08cd12182608d65ecee0@news.povray.org>
"alphaQuad" <alp### [at] earthlinknet> wrote:
> Add exit to last line of movie.bat and Dos program was terminated on last
> composite command. exit fails to execute!


got that one ALSO!!!!!!!!!!!!!!!!!exit executes.

preface movie.bat with command.com /c
Post_Scene_Command="command.com /c movie.bat"

give me a few to upload final changes
(composite.exe included in the zip)


Post a reply to this message

From: gregjohn
Subject: Re: 3D Movie
Date: 18 Jun 2009 22:30:01
Message: <web.4a3af706d121826034d207310@news.povray.org>
With Megapov, you could average together two different camera pigments, and then
render a single-pass view of a box painted with this pigment.


Post a reply to this message

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