animation format

hi Greg,
thanx for the previous mail abt generating the frmaes for animation.i have
generated the frames , could u please guide me how to convert them into mpeg
format or any other video format . is there any software available in linux
that does this .
Also , i want to simulate a fish eye lens , i want to place the camera with
fish eye lens on the ceiling so that i can get the view of the whole room
which later i want to do some image processing on it .
so if u could send me the details abt fish eye lens , it would be of great
help
thanking u
gurneet

···

----- Original Message -----
From: "Greg Ward" <[email protected]>
To: <[email protected]>
Sent: Wednesday, November 27, 2002 11:12 PM
Subject: [Radiance-general] Re: Rendering Panoramas

Hi Lars,

Rob has some good tips about using rad to generate rendering options
using the OPTFILE setting, and I use this feature a lot, myself. There
are many ways to run the rad command, and the man page is the best
place to look for understanding these. In its most basic form, it acts
like a simple makefile to build an octree, optionally running mkillum,
and maintain a set of rendered and filtered pictures.

However, if you're doing a set of runs over different lighting
configurations, scene alternatives, etc., you often need a lot more
than rad can offer in terms of scene building. I sometimes use a
makefile to maintain the various octrees I use based on scene input,
then employ a rad input file that specifies only the OCTREE setting --
no explicit scene files. This can also be specified on the rad command
line, so a single rad input file can suffice for many scene
alternatives.

For generating animations, the ranimate program does a reasonable job,
though it really needs updating for running animations over a network
now that rsh no longer exists....

With regard to fisheye projections, the -vta option can go up to a 360
degree field of view, where you get a circular image whose
circumference is essentially a single value corresponding to the
direction opposite the -vd parameter. I don't know anything about
ptviewer, or the kinds of projections it uses. You may need to write a
script and pass it to rtrace with the -fac (and -x & -y) options to
take ray origin and direction on the input and produce a color picture
on the output. Using this method, you can get any projection onto a
rectangular image that you can describe mathematically.

-Greg

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

Hi!

thanx for the previous mail abt generating the frmaes for animation.i have
generated the frames , could u please guide me how to convert them into
mpeg format or any other video format . is there any software available in
linux that does this .

There are quite a lot of encoders. Imagemagick can do it as well as convert
between image formats (it even reads radiance pictures). A very powerful tool
to encode or convert video is ffmpeg, it has support for a lot of file
formats (e.g. avi, mpg, mpg4, and images) and really lots of codecs (e.g.
mpg, mpg4 / "divx", ...). You should really take a look at this!

Also , i want to simulate a fish eye lens , i want to place the camera with
fish eye lens on the ceiling so that i can get the view of the whole room
which later i want to do some image processing on it .
so if u could send me the details abt fish eye lens , it would be of great
help

That's how I used the projection:

rpict -vta -vh 360 -vv 360 -vp 0 0 1.6 -vd 1 0 0 octree.oct > image.unf

The result will be not a fisheye, but a view to every angle, 360 degrees
vertically as well as horizontally. So you might try:

rpict -vta -vh 360 -vv 180 -vp 0 0 3 -vd 1 0 0 octree.oct > image.unf
(angular fisheye)

rpict -vth -vh 180 -vv 180 -vp 0 0 3 -vd 1 0 0 octree.oct > image.unf
(hemispherical fisheye)

But, I think you should simply try what you need, using the different
projections (that's how I do this :wink: And use man rpict - there is a lot of
info...

CU, Lars.

Hi Gurneet,

I can't answer your first question as I know nothing about available tools for movie conversion under Linux, but I'm sure there's something, somewhere. On a Mac, you would need the "professional" version of QuickTime to do this, I think.

Regarding a fish-eye lens, there are two types built into rpict -- hemispherical and angular fisheye projections. These are explained (along with everything else) in the rpict man page. If you have trouble looking at this from the distribution, try the website:

  http://radsite.lbl.gov/radiance/man_html/whatis.html

Note however that some of these will be out of date, since the website has not been synchronized with the release in many a moon.

···

thanx for the previous mail abt generating the frmaes for animation.i have
generated the frames , could u please guide me how to convert them into mpeg
format or any other video format . is there any software available in linux
that does this .
Also , i want to simulate a fish eye lens , i want to place the camera with
fish eye lens on the ceiling so that i can get the view of the whole room
which later i want to do some image processing on it .
so if u could send me the details abt fish eye lens , it would be of great
help
thanking u
gurneet