Run Intel® OSPRay Studio
- Intel® oneAPI Rendering Toolkitwith Intel OSPRay Studio. By default, theIntel® oneAPI Rendering Toolkitis installed to/opt/intel/oneapi/directory. Replace<install-dir>with the default or your custom installation path.
- Optional: A.ppmimage viewer (for example, ImageMagick* or GIMP*)
- Open a new terminal window.
- Go to a writable directory and create a folder to save the sample application results to.For example, create the:rk_gsgfoldercd ~mkdir rk_gsgcd rk_gsg
- Set Intel® oneAPI Toolkits environment variables:source <install-dir>/setvars.shwhere<install-dir>is the directory where you installed theIntel® oneAPI Rendering Toolkit. By default, it is/opt/intel/oneapi/.All prerequisite Render Kit dynamic libraries should now be available for the Intel OSPRay Studio.
- Run Intel OSPRay Studio:ospStudioYou should see an interactive rendering window:
- In the rendering window, go toand select one of the predefined demo scenes.Some scenes demonstrate Intel® Open Volume Kernel Library integration capability.
- Review the selected scene. For example, the Multilevel Hierarchy demo looks as follows:You can control the scene view with a mouse as follows:
- Right-click to pan.
- Left-click to rotate.
- Scroll the mouse wheel to zoom in and out.
- Drag and drop to move the camera.
- You can save output image fromin a preferred image format. The image is saved to the workingrk_gsgdirectory asstudio.<NNNN>.
- You can review the saved screenshot with your preferred image viewer.
- Review the Intel OSPRay Studio sources to understand how you can use the Intel OSPRay API in your project.