OpenCLLink`
OpenCLLink`

OpenCLImplicitRender3D

OpenCLImplicitRender3D[poly,vars,r]

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

Details

  • The OpenCLLink application must be loaded using Needs["OpenCLLink"].
  • OpenCLImplicitRender3D is similar to ContourPlot3D.
  • The format of "SliderParameters" is {min,max,default} and it controls the parameter w.
  • PerformanceGoal can be set to "Quality" or "Speed".
  • "SingleFrameParameters" is a list in the format {cameraPos,w,lightPos}. cameraPos is in cylindrical coordinates, while lightPos is given in Cartesian coordinates. The parameter w 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 w
    "TargetPrecision""Single"precision used in calculation
    "BlockSize"128size of launch block size

Examples

open allclose all

Basic Examples  (8)

First, load the OpenCLLink application:

This renders the tangle surface:

This renders the Barth sextic surface:

This renders the Klein bottle with higher precision:

This renders a bifolia surface:

This renders a Boy surface:

The parameter can be changed:

This renders a heart surface:

This renders a kiss surface:

Neat Examples  (13)

This renders a devil's curve:

This renders a bicorn surface:

This renders the Cassini ovals:

This renders a Cayley cubic surface:

This renders a Clebsch diagonal cubic surface:

This renders a cushion surface:

This renders a folium surface:

This renders a glob surface:

This renders a hyperbolic torus:

This renders a Kampyle of Eudoxus surface:

This renders a mitre surface:

This renders a torus:

This renders a Witch of Agnesi surface:

Wolfram Research (2010), OpenCLImplicitRender3D, Wolfram Language function, https://reference.wolfram.com/language/OpenCLLink/ref/OpenCLImplicitRender3D.html.

Text

Wolfram Research (2010), OpenCLImplicitRender3D, Wolfram Language function, https://reference.wolfram.com/language/OpenCLLink/ref/OpenCLImplicitRender3D.html.

BibTeX

@misc{reference.wolfram_2020_openclimplicitrender3d, author="Wolfram Research", title="{OpenCLImplicitRender3D}", year="2010", howpublished="\url{https://reference.wolfram.com/language/OpenCLLink/ref/OpenCLImplicitRender3D.html}", note=[Accessed: 17-April-2021 ]}

BibLaTeX

@online{reference.wolfram_2020_openclimplicitrender3d, organization={Wolfram Research}, title={OpenCLImplicitRender3D}, year={2010}, url={https://reference.wolfram.com/language/OpenCLLink/ref/OpenCLImplicitRender3D.html}, note=[Accessed: 17-April-2021 ]}

CMS

Wolfram Language. 2010. "OpenCLImplicitRender3D." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/OpenCLLink/ref/OpenCLImplicitRender3D.html.

APA

Wolfram Language. (2010). OpenCLImplicitRender3D. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/OpenCLLink/ref/OpenCLImplicitRender3D.html