POV-Ray : Newsgroups : povray.newusers : Can't Access Certain Commands in Tools : Re: Can't Access Certain Commands in Tools Server Time
30 Jul 2024 20:21:26 EDT (-0400)
  Re: Can't Access Certain Commands in Tools  
From: Patrick Elliott
Date: 19 May 2004 18:56:26
Message: <MPG.1b1593b5ac824b37989a51@news.povray.org>
In article <web.40abc81027c58a6ac3f22c770@news.povray.org>, nomail@nomail 
says...
> > >Ok, yes, you can use the command line parameters to specify both file
> > >type, the number of frames, etc. I am used to using the GUI and frankly
> > >never saw any real point to running it from the command line, so
> > >basically using the command line in this case is just like using the INI
> > >file. All the INI file really does is provide POVRay with the command
> > >line options in a file you can run from the GUI. The results are exactly
> > >the same.
> > >
> > >
> > In the windows version, there is a "command line" box nexe to the quick
> > res drop-list. For a 20 frame animation you just put +kff20 there, start
> > the render, sit back, and you get your 20 frames animation.
> > You can input parameters far longer than what you can see in the box,
> > separate each parameters by a space.
> > Look section 5.2.1 (Animation Options) in the documentation.
> > +kfi<val> = initial frame
> > +kff<val> = final frame
> > +ki<float> = initial clock
> > +kf<float> = final clock
> > +sf<val> = start subset frame (+sf0.<val> for % position)
> > +ef<val> = end subset frame
> > +kc = cyclic animation
> >
> > Alain
> 
> OK, I rendered the POV-ray file clockdemo.pov, and the program renders the
> 20 frames, one after the other. I don't consider that an animation. It's
> too slow. I still cannot figure out how to use TMPGEnc to run it in faster
> speed. If TMPGEnc only compresses multiple frames with different file names
> into a running video stream, then it would not work in this case since all
> 20 frames are created in just one file: clockdemo.pov. It looks to me that
> the version of POV-ray that I'm using renders multiple frames in only one
> file. It's not one frame per file, but 20 frames in a single file. So if
> TMPGEnc won't work with this, then what will?
> 
> 

Umm. What??? Try looking in the folder with clockdemo.pov. Unless you 
have changed the master file (povray.ini), then by default all 'frames' 
are outputed into that same folder as clockdemo1.bmp, clockdemo2.bmp, 
clockdemo3.bmp, etc. These are the actual animation that gets generated.

Lets put it this way.. Think of the clockdemo.pov file like a set of 
instructions for a photographer. You give him a folder named "clockdemo", 
which contains the instructions on 'what' to photograph (clockdemo.pov). 
However, your sticking a post-it note on the outside (your command line 
options), and telling him to ignore the instruction in the folder 
(clockdemo.ini). He takes out the .pov instructions, sets up his camera 
in front of the stuff it tells him to take pictures of, then starts 
snapping photos according to your instructions on the post-it note. Each 
photo he takes (he is using a Polaroid, so the develop themselves each 
time one is snapped), he numbers it and drops it into the folder. Once he 
has all twenty, he hand the folder back to you, with each of the numbered 
photos in it.

I think what is confusing you is that POVRay only 'takes' the snapshots 
and shows the one 'currently in front of the camera'. It doesn't have any 
way to look at all the ones it previously took. You need a program like 
Photoshop, Paintshop Pro, Gimp, etc. to look at each of the snapshots. 
What TMPGEnc does is take each of those individual snapshots and stick 
them together into a movie. The images needed to do this are *not* in the 
clockdemo.pov file, but they 'should' be in the same folder though and be 
numbered 1 through 20.

If they are not there, then try looking in a couple of other places. The 
first place to look, if you are running it using the command line thing 
'inside' POVRay is in the directory POVRay itself runs from. It is 
possible, since you are not using the normal method of running it, that 
it could be placing them there instead, but I doubt it. If you are 
running it from a DOS window, try looking in the same place as you ran it 
from in there. If you still can't find it, then look in povray.ini for 
the line:

Output_File_Name= ...

If this line exists, then it should only contain a directory. All images 
you create with POVRay will be created in 'that' folder. Normally this 
line is empty or blocked out so it doesn't do anything. I don't remember 
which. In any case, someplace, somewhere you have a set of files called 
clockdemo1.bmp through clockdemo20.bmp or something similar. If all else 
fails, open a DOS window and type "dir clockdemo*.* /s/p". If the files 
are anywhere on you hard drive, it will find them. TMPGEnc needs the 
'first' one of those files, **not** the .pov file.


-- 
void main () {

    call functional_code()
  else
    call crash_windows();
}


Post a reply to this message

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