Ray tracing in Mathematica using POV-Ray
Switch branches/tags
Nothing to show
Clone or download

README.md

POVRayRender For Mathematica

======

POVRayRender is a Mathematica package that uses POVRay to ray-trace 3D graphics inline.

Features

  • Ray-trace 3D graphics inline in Mathematica notebook.
  • Preserve the color and smoothness of the 3D object.

Requirements

Installation

Copy the POVRayRender folder to your $UserBaseDirectory.

On Windows system should be this directory FileNameJoin[{$InstallationDirectory, "AddOns/Packages"}]

Usage

POVRayRender[graphics3D]

Usage example:

POVRayRender@Plot3D[Sin[x + y^2], {x, -3, 3}, {y, -2, 2}, ColorFunction -> Hue, Mesh -> None, PlotPoints -> 50]

Rendered image examples:

For more examples, see documentation (search "POVRayRender" in Wolfram Lauguage Documentation Center).