Run Intel® OSPRay Studio
- Intel® oneAPI Rendering Toolkitwith Intel OSPRay Studio. By default, theIntel® oneAPI Rendering Toolkitis installed toC:\Program Files (x86)\Intel\oneAPIdirectory. Replace<install-dir>with the default or your custom installation path.
- Microsoft Windows* 10, 64 bit
- From theStartmenu, typecmdand pressEnterto open a new command prompt window.
- Go to a writable directory and create a folder to save the sample application results to.For example, create the:rk_gsgfoldercd %USERPROFILE%mkdir rk_gsgcd rk_gsg
- Set Intel® oneAPI Toolkits environment variables:call "<install-dir>\setvars.bat"where<install-dir>is the directory where you installed theIntel® oneAPI Rendering Toolkit. By default, it isC:\Program Files (x86)\Intel\oneAPI\.This script checks that Render Kit programs and pre-compiled library.dllfiles are available for samples launched within the command shell session. You can also set up theRender Kitenvironment variables per component from a command prompt as follows:path <install-dir>\ospray\latest\bin;%PATH%path <install-dir>\ospray_studio\latest\bin;%PATH%path <install-dir>\embree\latest\bin;%PATH%path <install-dir>\tbb\latest\redist\intel64\vc_mt;%PATH%path <install-dir>\openvkl\latest\bin;%PATH%path <install-dir>\oidn\latest\bin;%PATH%path <install-dir>\rkcommon\latest\bin;%PATH%
- Run Intel OSPRay Studio:ospStudio.exeYou 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.