OpenCLImplicitRender3D
This feature is not supported on the Wolfram Cloud.


ray traces the implicit surface poly=0 as a function of vars with bound sphere of radius r.

DetailsDetails

  • The OpenCLLink application must be loaded using Needs["OpenCLLink"].
  • is similar to ContourPlot3D.
  • The format of is and it controls the parameter .
  • PerformanceGoal can be set to or .
  • is a list in the format . cameraPos is in cylindrical coordinates, while lightPos is given in Cartesian coordinates. The parameter is a single real number.
  • The following options can be given:
  • AspectRatio1.ratio of height to width of output
    ImageSize256width of output
    PerformanceGoalAutomatictarget rendering performance
    "Device"Automaticdevice on which OpenCL computation is performed
    "Floor"Falseenable or disable floor in rendering
    "FloorPosition"-5.position of floor
    "Platform"Automaticplatform on which OpenCL computation is performed
    "Precision"0.01epsilon distance between surface and ray to be considered a hit
    "Shadows"Trueenable or disable ray tracing of shadows
    "SingleFrame"Falsedisplay only one frame of rendering
    "SingleFrameParameters"Nonea list containing camera position, fractal parameters, and light position
    "SliderParameters"{-20., 20., 0.}slider parameters for the free variable
    "TargetPrecision""Single"precision used in calculation
    "BlockSize"128size of launch block size

ExamplesExamplesopen allclose all

Basic Examples  (8)Basic Examples  (8)

First, load the OpenCLLink application:

In[1]:=
Click for copyable input

This renders the tangle surface:

In[2]:=
Click for copyable input
In[3]:=
Click for copyable input
Out[3]=

This renders the Barth sextic surface:

In[1]:=
Click for copyable input
Out[1]=

This renders the Klein bottle with higher precision:

In[1]:=
Click for copyable input
Out[1]=

This renders a bifolia surface:

In[1]:=
Click for copyable input
Out[1]=

This renders a Boy surface:

In[1]:=
Click for copyable input
Out[1]=

The parameter can be changed:

In[1]:=
Click for copyable input
Out[1]=

This renders a heart surface:

In[1]:=
Click for copyable input
Out[1]=

This renders a kiss surface:

In[1]:=
Click for copyable input
Out[1]=