blender/source
Ton Roosendaal f68b0ddb2a Recoded Panorama rendering.
The old implementation was added quite hackish (talking about 10 yr ago).
You also had to make a small image slice, which was extended Xparts in
size. That also required to adjust the camera angle. Very clumsy.

Now; when enabling the Panorama option, it will automatically apply the
panorama effect on the vertically aligned tiles. You can just enable or
disable the "Pano" button, to get a subtle lens effect like this:

(without pano)
http://www.blender.org/bf/rt.jpg
(with pano)
http://www.blender.org/bf/rt1.jpg

For Panorama render, the minimum slice size has been hardcoded to be 8
pixels. The XParts button goes up to 512 to allow that. In practice,
rendering 64 slices will already give very good images for a wide angle
lens of 90 degrees, the curvature of straight lines then is equal to
a circle of 256 points.
Rendering a full 360 degree panorama you do by creating an extreme wide
angle camera. The theory says camera-lens 5 should do 360 degrees, but
for some reason my tests reveil it's 5.1... there's a rounding error
somewhere, maybe related to the clipping plane start? Will look at that
later. :)

Also note that for each Xpart slice, the entire database needs to be
rotated around camera to correct for panorama, on huge scenes that might
give some overhead.

Threaded render goes fine for Panorama too, but it can only render the
vertically aligned parts in parallel. For the next panorama slice it has
to wait for all threads of the current slice to be ready.

On reading old files, I convert the settings to match as closely as
possible the new situation.
Since I cannot bump up the version #, the code detects for old panorama
by checking for the image size. If image width is smaller than height, it
assumes it's an old file (only if Panoroma option was set).
2006-02-27 12:39:36 +00:00
..
blender Recoded Panorama rendering. 2006-02-27 12:39:36 +00:00
creator == SCons == 2006-02-04 14:15:10 +00:00
darwin Updated Mac OS X icons courtesy of Erik Mendoza, re. this thread on blender.org: 2006-02-13 21:08:43 +00:00
gameengine Some issues compiling on Irix: 2006-02-22 23:34:12 +00:00
icons - Revert to NaN makefiles 2004-01-05 00:06:11 +00:00
kernel ==SCons== 2006-02-07 21:24:36 +00:00
Makefile pthreads for Makefiles/cygwin (don't forget to update lib/windows). 2006-02-27 00:03:18 +00:00
nan_compile.mk Some issues compiling on Irix: 2006-02-22 23:34:12 +00:00
nan_definitions.mk pthreads for Makefiles/cygwin (don't forget to update lib/windows). 2006-02-27 00:03:18 +00:00
nan_link.mk Using NAN_FFMPEG_CFLAGS to find the right headers, and making linking 2006-02-06 06:22:39 +00:00
nan_subdirs.mk Clean up for Makefiles: some of the directories were being printed 2005-04-09 22:40:34 +00:00
nan_warn.mk big warning hunt commit 2005-03-09 19:45:59 +00:00
SConscript == SCons == 2006-02-04 14:15:10 +00:00