<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <HTML ><HEAD ><TITLE >Panoramic renderings</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+ "><LINK REL="HOME" TITLE="Blender Documentation Volume I - User Guide" HREF="book1.html"><LINK REL="UP" TITLE="Rendering" HREF="c7592.html"><LINK REL="PREVIOUS" TITLE="Rendering" HREF="c7592.html"><LINK REL="NEXT" TITLE="Antialiasing" HREF="x7735.html"></HEAD ><BODY CLASS="section" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >Blender Documentation Volume I - User Guide: Last modified April 29 2004 S68</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="c7592.html" ACCESSKEY="P" ><<< Previous</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" >Rendering</TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="x7735.html" ACCESSKEY="N" >Next >>></A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="rendering_panorama" ></A >Panoramic renderings</H1 ><P > To obtain nice panoramic renderings, up to a full 360 view of the horizon, Blender provides an automatic procedure. </P ><P > If the <TT CLASS="literal" >Xparts</TT > is greater than 1 and the <TT CLASS="literal" >Pano</TT > button of the <TT CLASS="literal" >Render</TT > Panel is pressed (<A HREF="x7671.html#BSG.REN.F.S68.201" >Figure 5</A >), then the rendered image is created to be <TT CLASS="literal" >Xparts</TT > times <TT CLASS="literal" >SizeX</TT > wide and <TT CLASS="literal" >SizeY</TT > high, rendering each part by rotating the camera as far as necessary to obtain seamless images. </P ><DIV CLASS="figure" ><A NAME="BSG.REN.F.S68.201" ></A ><DIV CLASS="mediaobject" ><P ><IMG SRC="PartR/rendering/gfx/Render03.png"></P ></DIV ><P ><B >Figure 5. Panorama button.</B ></P ></DIV ><P > <A HREF="x7671.html#BSG.REN.F.S68.202" >Figure 6</A > shows a test set up with 12 spheres surrounding a camera. By leaving the camera as it is, you obtain the rendering shown in <A HREF="x7671.html#BSG.REN.F.S68.203" >Figure 7</A >. By setting <TT CLASS="literal" >Xparts</TT > to 3 and selecting <TT CLASS="literal" >Panorama</TT > the result is an image three times wider showing one more full camera shot to the right and one full to the left (<A HREF="x7671.html#BSG.REN.F.S68.204" >Figure 8</A >). </P ><DIV CLASS="figure" ><A NAME="BSG.REN.F.S68.202" ></A ><DIV CLASS="mediaobject" ><P ><IMG SRC="PartR/rendering/gfx/Panorama01.png"></P ></DIV ><P ><B >Figure 6. Panorama test set up.</B ></P ></DIV ><P > To obtain something similar without the Panorama option, the only way is to decrease the camera focal length. For example <A HREF="x7671.html#BSG.REN.F.S68.205" >Figure 9</A > shows a comparable view, obtained with a 7.0 focal length, equivalent to a very wide angle, or fish-eye, lens. Distortion is very evident. </P ><DIV CLASS="figure" ><A NAME="BSG.REN.F.S68.203" ></A ><DIV CLASS="mediaobject" ><P ><IMG SRC="PartR/rendering/gfx/Panorama02.png"></P ></DIV ><P ><B >Figure 7. Non-panoramic rendering.</B ></P ></DIV ><DIV CLASS="figure" ><A NAME="BSG.REN.F.S68.204" ></A ><DIV CLASS="mediaobject" ><P ><IMG SRC="PartR/rendering/gfx/Panorama03.png"></P ></DIV ><P ><B >Figure 8. Panoramic rendering.</B ></P ></DIV ><DIV CLASS="figure" ><A NAME="BSG.REN.F.S68.205" ></A ><DIV CLASS="mediaobject" ><P ><IMG SRC="PartR/rendering/gfx/Panorama04.png"></P ></DIV ><P ><B >Figure 9. Fish-eye rendering.</B ></P ></DIV ><P > To obtain a full 360 view some tweaking is necessary. It is known that a focal length of 16.0 corresponds to a viewing angle of 90. Hence a panoramic render with 4 Xparts and a camera with a 16.0 lens yields a full 360 view, as that shown in <A HREF="x7671.html#BSG.REN.F.S68.206" >Figure 10</A >. This is grossly distorted, since a 16.0 lens is a wide angle lens, and distorts at the edges. </P ><DIV CLASS="figure" ><A NAME="BSG.REN.F.S68.206" ></A ><DIV CLASS="mediaobject" ><P ><IMG SRC="PartR/rendering/gfx/Panorama05.png"></P ></DIV ><P ><B >Figure 10. Full 360 panorama with 16.0 lenses.</B ></P ></DIV ><P > To have undistorted views the focal length should be around 35.0. <A HREF="x7671.html#BSG.REN.F.S68.207" >Figure 11</A > shows the result for a panorama with 8 Xparts and a camera with a 38.5 lens, corresponding to a 45 viewing angle. </P ><DIV CLASS="figure" ><A NAME="BSG.REN.F.S68.207" ></A ><DIV CLASS="mediaobject" ><P ><IMG SRC="PartR/rendering/gfx/Panorama06.png"></P ></DIV ><P ><B >Figure 11. Full 360 panorama with 38.5 lenses.</B ></P ></DIV ><P > The image is much less distorted, but special attention must be given to proportion. The original image was 320x256 pixels. The panorama in <A HREF="x7671.html#BSG.REN.F.S68.206" >Figure 10</A > is 4 x 320 wide. To keep this new panorama the same width, the <TT CLASS="literal" >SizeX</TT > of the image must be set to 160 so that 8 x 160 = 4 x 320. But the camera viewing angle width occurs for the largest dimension, so that, if <TT CLASS="literal" >SizeX</TT > is kept to 256 the image spans 45 vertically but less than that horizontally, so that the final result is not a 360 panorama unless <TT CLASS="literal" >SizeX</TT > ≥ <TT CLASS="literal" >SizeY</TT > or you are willing to make some tests. </P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="c7592.html" ACCESSKEY="P" ><<< Previous</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="book1.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="x7735.html" ACCESSKEY="N" >Next >>></A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >Rendering</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="c7592.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Antialiasing</TD ></TR ></TABLE ></DIV ></BODY ></HTML >