Intel® OSPRay Essentials

Start Learning Intel OSPRay

Get hands-on practice with code samples in Jupyter Notebooks running live on Intel® DevCloud.

Intel® DevCloud

Sign Up  Sign In

To get started:

  1. Sign in to Intel DevCloud, select One Click Log In for JupyterLab, and then select Launch Server (if needed).
  2. Open the OSPRay_Essentials folder, and then select Overview.ipynb notebook.

Introduction to JupyterLab* and Notebooks

Use Jupyter Notebooks to modify, compile, and run code as part of the learning exercises.

Note If you are already familiar with Jupyter Notebooks, you may skip this module.

To begin, open Introduction_to_Jupyter.ipnyb.

Introduction to the oneAPI Programming Model and Intel® oneAPI Rendering Toolkit

  • Learn how oneAPI can help solve the challenges of programming in a heterogeneous world.
  • Understand how the Intel oneAPI Rendering Toolkit enables rapid development of performant visualization applications. 
  • Get an orientation to key rendering capabilities such as ray-surface hit testing, volumetric space iteration, and denoising images.

Introduction to Intel® OSPRay

  • Familiarize yourself with the Intel® OSPRay renderer and API.
  • Initialize the renderer and other supporting resources.
  • Add simplified geometry data and render a single frame using instructions within the ospTutorial sample.
  • Shutdown the renderer and free supporting resources.

ospExamples - Practice Intel® OSPRay Techniques with Procedural Scenes

  • Practice rendering mode setup techniques using provided code and detailed code comments.
  • Set up OSPRay rendering of procedural scenes using the scivis and pathtracer rendering modes.
  • Switch rendering modes within the code and use a command-line option in the sample executable run script, run.sh.
  • Select a different scene with a command-line option passed to the sample executable run script, run.sh.

Asset Loading Using an OBJ/MTL File and the loadObj() Function

  • Understand OSPRay constructs related to loading objects, and then manipulate data to achieve various effects.
  • Modify command line options of the executable run script, run.sh, to load different OBJ files.
  • Use the loadObj() wrapper function to transfer data for geometry, materials, and lighting effects from the OBJ file and into the appropriate OSPRay API function calls.
  • Modify command line options of the executable run script, run.sh, to change the camera position to account for the different object sizes in the OBJ file.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.