Difference between revisions of "Documentation:Tutorial Section 5.1"

From POV-Wiki
Jump to navigation Jump to search
(→‎Microsoft Windows: updated information on digital signature)
 
(11 intermediate revisions by 2 users not shown)
Line 7: Line 7:
 
<br>
 
<br>
 
<!--</wikitalk>--->
 
<!--</wikitalk>--->
<!--REMOVE--->==Apendices==<!--THIS--->
+
<!--REMOVE--->==Appendices==<!--THIS--->
 
===What to do if you don't have POV-Ray===
 
===What to do if you don't have POV-Ray===
 
<p>This documentation assumes you already have POV-Ray installed and running however the POV-Team does distribute this file by itself in various formats including online on the internet. If you do not have POV-Ray or are not sure you have the official version or the latest version, then the following sections will tell you what to get and where to get it.</p>
 
<p>This documentation assumes you already have POV-Ray installed and running however the POV-Team does distribute this file by itself in various formats including online on the internet. If you do not have POV-Ray or are not sure you have the official version or the latest version, then the following sections will tell you what to get and where to get it.</p>
 +
 +
<p class="Note"><b>Note:</b> We <b>strongly recommend</b> that you obtain POV-Ray directly from [http://www.povray.org/download/ the POV-Ray website] (or your company/school intranet, if applicable). Some websites have been known to re-package the POV-Ray software in an installer that bundles adware. If the installation package is not signed by <i>Persistence of Vision Raytracer Pty. Ltd.</i>, then <b>it is not from us</b> and may have been tampered with. The official installer supplied by us contains <i>no adware or third-party software of any kind.</i></p>
 
====Which Version of POV-Ray should you use?====
 
====Which Version of POV-Ray should you use?====
 
<p>POV-Ray can be used under Windows&trade; XP or newer, x86 Apple&trade; Macintosh&trade;, and Linux&trade; &amp;
 
<p>POV-Ray can be used under Windows&trade; XP or newer, x86 Apple&trade; Macintosh&trade;, and Linux&trade; &amp;
Line 15: Line 17:
  
 
<p>
 
<p>
Dos, Windows 3.1, Windows for Workgroups, SunOS and Amiga are no longer supported (though we do preserve old versions for these platforms in our [http://www.povray.org/ftp/pub/povray/Old-Versions/ archives] if you wish to access them).</p>
+
Older versions of POV-Ray supported many platforms no longer in regular use; we preserve such old versions in our [http://www.povray.org/ftp/pub/povray/Old-Versions/ archives] if you wish to access them.</p>
  
 
<p>
 
<p>
Line 21: Line 23:
 
source code programs written in C/C++, then you may like to retrieve
 
source code programs written in C/C++, then you may like to retrieve
 
the source for POV-Ray from our website and attempt to built it
 
the source for POV-Ray from our website and attempt to built it
yourself (note that the POV-Team provides no official support for
+
yourself.</p>
building POV-Ray from source code).</p>
 
  
 
=====Microsoft Windows=====
 
=====Microsoft Windows=====
 
<p>
 
<p>
As of POV-Ray version 3.7 the Microsoft&trade; Windows&trade; versions of POV-Ray require Windows XP and later.
+
As of POV-Ray version 3.7 the Windows versions of POV-Ray require Windows XP and later.
 
We have had reports of v3.7 working on Windows 2000 with all service packs installed, however
 
We have had reports of v3.7 working on Windows 2000 with all service packs installed, however
 
we cannot guarantee that this will remain the case indefinitely, as we do not test against W2K.
 
we cannot guarantee that this will remain the case indefinitely, as we do not test against W2K.
Line 65: Line 66:
 
<li>Required POV-Ray files: the setup EXE supplied via our [http://www.povray.org/download/ download page].
 
<li>Required POV-Ray files: the setup EXE supplied via our [http://www.povray.org/download/ download page].
 
This file will be timestamped and digitally signed by <em>Persistence of Vision Raytracer Pty Ltd</em>.
 
This file will be timestamped and digitally signed by <em>Persistence of Vision Raytracer Pty Ltd</em>.
The key in use at the time of writing is issued by DigiCert and remains current until August 2014.
+
The key in use at the time of writing is issued by DigiCert and remains current until September 2017.
All binaries (DLL's and EXE's) supplied by us for version 3.7 are also signed by this key.</li>
+
All binaries (DLL's and EXE's) supplied by us for version 3.8 are also signed by this key.
 +
If you come across an unsigned binary (or one signed by anyone other than the above) that claims
 +
to be an official release, <i>it is not from us and should not be used</i>.</li>
 
<li>Optional: The source code is not needed to use POV-Ray. It is provided for the curious and adventurous.
 
<li>Optional: The source code is not needed to use POV-Ray. It is provided for the curious and adventurous.
 
See the source-code links on our [http://www.povray.org/download/ download page].
 
See the source-code links on our [http://www.povray.org/download/ download page].
Line 74: Line 77:
 
<p class="Note"><Strong>Note:</strong> System admins/lab techs who wish to do custom installs of POV-Ray for Windows should refer to the windows platform-specific documentation for more details.</p>
 
<p class="Note"><Strong>Note:</strong> System admins/lab techs who wish to do custom installs of POV-Ray for Windows should refer to the windows platform-specific documentation for more details.</p>
  
=====Linux for Intel x86/x64=====
+
=====Apple  Macintosh=====
 +
<p>Documentation Pending</p>
 +
 
 +
=====Linux/Unix=====
 
<p>
 
<p>
The PC-Linux version should run on any GNU/Linux distribution based on the
+
Because Linux/Unix run on a wide variety of hardware, the POV-Team
kernel 2.2 series or above using the ELF 32-bit format for executables.
+
cannot provide executable versions for every variation. Instead, we distribute
The binary is fully static, meaning that it has no external dependencies
+
a generic, portable C++ source code package suitable for generating binaries
to system or third-party libraries. It includes support for two kinds of
+
on Unix or Unix-like platforms. It is known to compile and run correctly on recent versions of
display: the standard text-based display and the graphics display using
+
GNU/Linux for x86/x64, and should be fairly straightforward to get running on any
either the X Window System or the SVGA library.
+
POSIX-compliant Unix-like operating system with a Bourne-compatible shell.
</p>
 
 
 
<p>Required hardware and software:
 
An Intel Pentium-compatible CPU (i586 or better) and at least 32 MB of RAM.
 
About 20 MB of disk space to install the program, its documentation,
 
scenes and standard include files.
 
A text editor capable of editing plain ASCII text files.
 
Graphic file viewer capable of viewing image formats such as
 
PNG, TIFF, PPM or TGA.
 
</p>
 
 
 
<p>Required POV-Ray files:
 
povlinux-3.7.tgz or povlinux-3.7.tar.gz - archive
 
containing an official binary combining text, SVGALib and X Window displays.
 
Also contains sample scenes, standard include files and documentation in HTML
 
and plain ASCII text.
 
 
</p>
 
</p>
 
<p>Recommended:
 
Intel Pentium 4 or AMD Athlon XP (faster the better) with
 
128 MB (text console) / 256 MB (X Window running a window manager) or more RAM.
 
A recent GNU/Linux distribution with kernel 2.4.x or above running KDE 3.x
 
for full POV-Ray integration in the window manager.
 
Alternatively, SVGA display preferably with VESA interface and high color
 
or true color ability.
 
</p>
 
 
<p class="Note"><strong>Note:</strong> Accelerated graphics hardware will not improve performance.</p>
 
 
<p>Optional:
 
povray-3.7.tgz or povray-3.7.tar.gz - archive containing the generic
 
UNIX/Linux C++ source code of POV-Ray for UNIX.
 
The source code is not needed to use POV-Ray.
 
It is provided for the curious and adventurous.
 
The archive contains generic Unix parts and Linux specific parts
 
(namely: support for SVGAlib).
 
This package does also include sample scenes, standard include files and
 
documentation.
 
For displaying purposes, the SVGAlib and X11 (X Window) includes and
 
libraries can be used by the source code of POV-Ray for UNIX.
 
See the section related to the
 
<!--<linkto "Generic Unix">generic Unix source code package</linkto>--->[[Documentation:Tutorial Section 5.1#Generic Unix|generic Unix source code package]] for
 
further details.
 
</p>
 
 
=====Apple  Macintosh=====
 
<p>The Macintosh version runs under Apple's Mac OS operating system version
 
8.6 (it may run on 8.1 and 8.5 as well, but we do not support POV-Ray 3.6
 
running on Mac OS 8.1 and 8.5) or newer with CarbonLib 1.0.4 or newer installed.
 
Note that we no longer support 68K based Macintosh computers.
 
POV-Ray 3.7 requires a Power Macintosh!</p>
 
 
<p>A Power Macintosh is any iMac, iBook, Mac G3, Mac G4, Mac G5,
 
Cube, any older Mac with a four digit model number (i.e. 5200,
 
6300, 7200, 8100, 9600) and any third party computer running Mac
 
OS 8.1 or later.  Mac OS X 10.2 or later are supported but for
 
maximum render speed it is not recommended to use Mac OS X.</p>
 
 
<p>Required hardware and software: Power Macintosh computer with at least 16
 
MB of free RAM. Mac OS 8.6 or newer with CarbonLib 1.0.4 or newer installed
 
CarbonLib 1.0.4. About 20 MB free disk space to install and an additional 5-10
 
MB free space for your own creations (scenes and images). Graphic file viewer
 
utility capable of viewing Mac PICT, GIF and perhaps TGA and PNG formats (the
 
shareware GraphicConverter applications is good.)</p>
 
 
<p>Required POV-Ray files: POVPMAC.SIT or POVPMAC.HQX - a StuffIt archive
 
containing the native Power Macintosh application, sample scenes, standard
 
include files and documentation.</p>
 
 
<p>Recommended: Power Macintosh G3 with 64 MB or more of free RAM. Mac OS
 
9.0.4 or newer with CarbonLib 1.6 (works with Mac OS 8.6 or newer) to access
 
all features of the Mac frontend. CarbonLib 1.6 is available for free download
 
from Apple in the software update section of the Apple website. Color monitor
 
with millions of colors.</p>
 
 
<p>Optional: The source code is not needed to use POV-Ray. It is provided for
 
the curious and adventurous.  POV-Ray can be compiled using Metrowerks
 
CodeWarrior Pro 7.2 (for other compilers no project or make files are provided).
 
Read the file &quot;How to compile!&quot; before compiling.  There is no other support or
 
help for compiling the source code! POVMACS.SIT or POVMACS.HQX - The full C
 
source code for POV-Ray for Macintosh. Contains generic parts and Macintosh
 
specific parts. It does not include sample scenes, standard include files and
 
documentation so you should also get the executable archive as well.</p>
 
 
=====Generic Unix=====
 
 
<p>
 
<p>
Because Unix runs on a wide variety of hardware and CPUs, the POV-Team
 
cannot provide executable versions for every kind of Unix systems.
 
We distribute a generic, portable C++ source code suitable for running
 
on Unix or Unix-like platforms.
 
 
You will need a recent C++ compiler which follows the ISO C++ standard
 
You will need a recent C++ compiler which follows the ISO C++ standard
as close as possible, and (optionally) the X11 and/or SVGA include files
+
as closely as possible (g++ 4.x is known to work), and (optionally) SVGAlib
and libraries (SVGAlib is for GNU/Linux based systems).
+
for GNU/Linux based systems if you wish to enable render preview display.
Although we provide source code for generic Unix systems, we
 
do not provide technical support on how to compile the program.
 
Support may be obtained from the POV-Ray user community on the
 
dedicated POV-Ray newsgroups (povray.unix at news.povray.org).
 
</p>
 
 
 
<p>Required hardware and software:
 
A UNIX operating system with 32 MB of RAM.
 
A recent C++ compiler, a working make utility and Bourne-compatible shell;
 
see the INSTALL file in the package for details.
 
Graphic file viewer capable of viewing e.g. PNG, TIFF, PPM or TGA formats.
 
A text editor capable of editing plain ASCII text files.
 
 
</p>
 
</p>
  
 
<p>Required POV-Ray files:
 
<p>Required POV-Ray files:
povray-3.7.tgz or povray-3.7.tar.gz - the C++ source code of POV-Ray for UNIX.
+
povray-3.7.tar.bz2 - the C++ source code of POV-Ray for UNIX.
 
Contains generic parts and UNIX/Linux specific parts.  The package includes
 
Contains generic parts and UNIX/Linux specific parts.  The package includes
 
sample scenes, standard include files and documentation in HTML and plain
 
sample scenes, standard include files and documentation in HTML and plain
 
text ASCII format.
 
text ASCII format.
</p>
 
 
<p>Recommended:
 
Math co-processor.
 
128 MB (text console) / 256 MB (X Window running a window manager) or more RAM.
 
</p>
 
 
<p>Optional:
 
The X Window System (e.g. XFree86) to be able to display the
 
image while rendering.  The X Window System is available on most UNIX
 
platforms nowadays.
 
On GNU/Linux platforms, the SVGAlib library can be an alternative to
 
the X Window System, as it allows to display the rendered image directly
 
on the console screen.
 
 
</p>
 
</p>
  
 
=====All Versions=====
 
=====All Versions=====
<p>Each executable archive includes full documentation for POV-Ray itself as well as specific instructions for using POV-Ray with your type of platform. All versions of the program share the same ray-tracing features like shapes,
+
<p>All versions of the program share the same ray-tracing features like shapes, lighting and textures. In other words, a Windows PC can create the same pictures as a supercomputer as long as it has enough memory and you are willing to wait enough time.</p>
lighting and textures. In other words, an Windows PC can create the same pictures as a Cray supercomputer as long as it has enough memory. The user will want to get the executable that best matches their computer hardware. In
 
addition to the files listed above, the POV-Team also distributes the appropriate user documentation. Note this is the same documentation distributed in other archives but in a different format. This may be especially useful for Linux/Unix and Mac OS users because their documentation is in stand-alone HTML only at this time.</p>
 
 
 
<p>See the section <!--<linkto "Where to Find POV-Ray Files">Where to Find POV-Ray Files</linkto>--->[[Documentation:Tutorial Section 5.1#Where to Find POV-Ray Files|Where to Find POV-Ray Files]] for where to find these files. You can contact those sources to find out what the best version is for you and your computer.</p>
 
  
 
====Where to Find POV-Ray Files====
 
====Where to Find POV-Ray Files====
<p>The latest versions of the POV-Ray software are available from the following sources.</p>
 
 
=====World Wide Website www.povray.org=====
 
 
<p>
 
<p>
The internet home of POV-Ray is reachable on the World Wide Web via the
+
The internet home of POV-Ray is reachable on the World Wide Web at [http://www.povray.org/ http://www.povray.org/].
address [http://www.povray.org/ http://www.povray.org/] and via
+
There is also an active user community in our [http://www.povray.org/groups.html forums].
ftp as [ftp://ftp.povray.org/ ftp://ftp.povray.org/]. Please stop by
 
often for the latest files, utilities, news and images from the official
 
POV-Ray internet site. The POV-Team operates its [http://www.povray.org/groups.html own news server] on the
 
internet with several news groups related to POV-Ray and other interesting
 
programs.
 
 
</p>
 
</p>
  

Latest revision as of 07:57, 1 July 2017

This document is protected, so submissions, corrections and discussions should be held on this documents talk page.


Appendices

What to do if you don't have POV-Ray

This documentation assumes you already have POV-Ray installed and running however the POV-Team does distribute this file by itself in various formats including online on the internet. If you do not have POV-Ray or are not sure you have the official version or the latest version, then the following sections will tell you what to get and where to get it.

Note: We strongly recommend that you obtain POV-Ray directly from the POV-Ray website (or your company/school intranet, if applicable). Some websites have been known to re-package the POV-Ray software in an installer that bundles adware. If the installation package is not signed by Persistence of Vision Raytracer Pty. Ltd., then it is not from us and may have been tampered with. The official installer supplied by us contains no adware or third-party software of any kind.

Which Version of POV-Ray should you use?

POV-Ray can be used under Windows™ XP or newer, x86 Apple™ Macintosh™, and Linux™ & UNIX™ on numerous hardware platforms. See section Where to Find POV-Ray Files for more info.

Older versions of POV-Ray supported many platforms no longer in regular use; we preserve such old versions in our archives if you wish to access them.

If your platform is not supported and you are proficient in compiling source code programs written in C/C++, then you may like to retrieve the source for POV-Ray from our website and attempt to built it yourself.

Microsoft Windows

As of POV-Ray version 3.7 the Windows versions of POV-Ray require Windows XP and later. We have had reports of v3.7 working on Windows 2000 with all service packs installed, however we cannot guarantee that this will remain the case indefinitely, as we do not test against W2K. If you have an older system you may like to look at POV-Ray version 3.6, which works on Windows 95 and up.

We supply both 32 and 64-bit versions of POVWIN which have been tested to run with AMD™ and Intel™ x86 and x64 processors. As of version 3.7, SMP systems are fully supported; by default POVWIN will use all available processing cores when rendering. For 32-bit systems, we supply both non-SSE2 and SSE2-enabled binaries. The installer will determine which is the most appropriate for your system at install time and install shortcuts to that executable (note however all executables are always placed in the bin folder regardless of the platform). For 64-bit systems there is only a single executable - a separate SSE version is not needed as all x64 CPU's have SSE2 available.

We recommend 100mb free disk space (the installation does not require that much, but room for temporary files during rendering is generally required) and at least 1gb free (i.e. available to POV-Ray at runtime) memory. POV's actual RAM requirement can vary greatly; it's possible to render files with as little as 30mb of free RAM, but typical needs are much greater than this. The actual use depends on what SDL files are provided for rendering and the image output options in use. We strongly recommend that you have sufficient RAM for rendering your scene files without resorting to swap - if a render hits the pagefile regularly it will completely destroy rendering performance.

Note: Accelerated graphics hardware (such as 3D cards) will not improve rendering performance. This technology is not currently aimed at raytracing but is, generally speaking, optimized for single-precision scanline rendering as used in games or other simulations. POV-Ray, like all raytracers, requires double-precision floating-point in order to be able to accurately render scenes.

  • Required POV-Ray files: the setup EXE supplied via our download page. This file will be timestamped and digitally signed by Persistence of Vision Raytracer Pty Ltd. The key in use at the time of writing is issued by DigiCert and remains current until September 2017. All binaries (DLL's and EXE's) supplied by us for version 3.8 are also signed by this key. If you come across an unsigned binary (or one signed by anyone other than the above) that claims to be an official release, it is not from us and should not be used.
  • Optional: The source code is not needed to use POV-Ray. It is provided for the curious and adventurous. See the source-code links on our download page.

Note: System admins/lab techs who wish to do custom installs of POV-Ray for Windows should refer to the windows platform-specific documentation for more details.

Apple Macintosh

Documentation Pending

Linux/Unix

Because Linux/Unix run on a wide variety of hardware, the POV-Team cannot provide executable versions for every variation. Instead, we distribute a generic, portable C++ source code package suitable for generating binaries on Unix or Unix-like platforms. It is known to compile and run correctly on recent versions of GNU/Linux for x86/x64, and should be fairly straightforward to get running on any POSIX-compliant Unix-like operating system with a Bourne-compatible shell.

You will need a recent C++ compiler which follows the ISO C++ standard as closely as possible (g++ 4.x is known to work), and (optionally) SVGAlib for GNU/Linux based systems if you wish to enable render preview display.

Required POV-Ray files: povray-3.7.tar.bz2 - the C++ source code of POV-Ray for UNIX. Contains generic parts and UNIX/Linux specific parts. The package includes sample scenes, standard include files and documentation in HTML and plain text ASCII format.

All Versions

All versions of the program share the same ray-tracing features like shapes, lighting and textures. In other words, a Windows PC can create the same pictures as a supercomputer as long as it has enough memory and you are willing to wait enough time.

Where to Find POV-Ray Files

The internet home of POV-Ray is reachable on the World Wide Web at http://www.povray.org/. There is also an active user community in our forums.

Suggested Reading

Beside the POV-Ray material mentioned in Books, Magazines and CD-ROMs, there are several good books or periodicals that you should be able to locate in your local computer book store or your local university library.

  1. "An Introduction to Ray tracing" Andrew S. Glassner (editor)
    ISBN 0-12-286160-4; Academic Press; 1989
  2. "Realistic Image Synthesis Using Photon Mapping" Henrik Wann Jensen
    ISBN: 1568811470; AK Peters; July 2001
  3. "3D Artist" Newsletter, "The Only Newsletter about Affordable PC 3D Tools and Techniques")
    Publisher: Bill Allen; P.O. Box 4787; Santa Fe, NM 87502-4787; (505) 982-3532
  4. "Image Synthesis: Theory and Practice" Nadia Magnenat-Thalman and Daniel Thalmann;
    Springer-Verlag; 1987
  5. "The RenderMan Companion" Steve Upstill;
    Addison Wesley; 1989
  6. "Graphics Gems" Andrew S. Glassner (editor);
    Academic Press; 1990
  7. "Fundamentals of Interactive Computer Graphics" J. D. Foley and A. Van Dam;
    ISBN 0-201-14468-9; Addison-Wesley 1983
  8. "Computer Graphics: Principles and Practice (2nd Ed.)" J. D. Foley, A. van Dam, J. F. Hughes;
    ISBN 0-201-12110-7; Addison-Wesley; 1990
  9. "Computers, Pattern, Chaos, and Beauty" Clifford Pickover;
    St.Martin's Press;
  10. "SIGGRAPH Conference Proceedings";
    Association for Computing Machinery Special Interest Group on Computer Graphics
  11. "IEEE Computer Graphics and Applications"; The Computer Society;
    10662, Los Vaqueros Circle; Los Alamitos, CA 90720

The POV-Team no longer recommends books from CRC Press.


Thanks Table of Contents


This document is protected, so submissions, corrections and discussions should be held on this documents talk page.