Curtis L. Olson writes:
> 
> Cameron Moore writes:
> > Just out of curiousity, could you not take Norman's approach to the jpeg
> > server feature and write every frame to disk, and then join them all
> > together to make a movie?
> 
> As I understand it, this would make it really hard to get consistant
> frame rates (only as fast as you could collect the jpg images), 

Should be no problem with consistancy
There will be a little speed hit but on a fast machine with a good 
GFX card this should be negligible

> and the resolution is pretty small ... 
You can make the resoluion anything you want with the 
 trJpgFactory::init(int width, int height ) call

> and then you need software to assemble the jpgs 

I thought Linux had several tools todo this

However if one wants to make movies it should be fairly
easy to write them directly.  This should just entail writing
a header then streaming the imagery into the file and then 
updating the header when all the frames are written

In fact this code is basically a minor rewrite of some AVI
creation code of mine that I have used 'forever' :-)

FWIW, If we want to make movies what I have done for
most of my other Terrain visualizaion programs is to have 
the Movie maker fly a predetermined < prerecorded > 
FlightPath and just write the Movie without updating the 
GFX screen at all < just a text mode progress report >. This
should be fairly easy to build ontop of what is in SimGear
if anyone wanted todo something similar

Then again 'needing' a camera todo this certainly helps
justify 'needing' a digital video cam :-)

Cheers

Norman





_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to