Get Started

  • 2021.2
  • 03/26/2021
  • Public Content

Run Intel® OSPRay Studio

Intel® OSPRay Studio is a showcase application and creates an implementation of an interactive and extendable ray-tracing application. This walkthrough demonstrates how to run the Intel OSPRay Studio application.
Prerequisites
  • Intel® oneAPI Rendering Toolkit
    with Intel OSPRay Studio. By default, the
    Intel® oneAPI Rendering Toolkit
    is installed to
    C:\Program Files (x86)\Intel\oneAPI
    directory. Replace
    <install-dir>
    with the default or your custom installation path.
  • Microsoft Windows* 10, 64 bit
  • Optional: A
    .ppm
    image viewer ()
Run Intel OSPRay Studio
  1. From the
    Start
    menu, type
    cmd
    and press
    Enter
    to open a new command prompt window.
  2. Go to a writable directory and create a folder to save the sample application results to.
    For example, create the
    rk_gsg
    folder
    :
    cd %USERPROFILE%
    mkdir rk_gsg
    cd rk_gsg
  3. Set Intel® oneAPI Toolkits environment variables:
    call "<install-dir>\setvars.bat"
    where
    <install-dir>
    is the directory where you installed the
    Intel® oneAPI Rendering Toolkit
    . By default, it is
    C:\Program Files (x86)\Intel\oneAPI\
    .
    This script checks that Render Kit programs and pre-compiled library
    .dll
    files are available for samples launched within the command shell session. You can also set up the
    Render Kit
    environment 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%
  4. Run Intel OSPRay Studio:
    ospStudio.exe
    You should see an interactive rendering window:
    Intel oneAPI Rendering Toolkit: Intel OSPRay Studio interactive window on Windows OS
  5. In the rendering window, go to
    File
    Demo Scene
    and select one of the predefined demo scenes.
    Intel oneAPI Rendering Toolkit: Select Intel OSPRay Studio demo scene on Windows OS
    Some scenes demonstrate Intel® Open Volume Kernel Library integration capability.
  6. Review the selected scene. For example, the Multilevel Hierarchy demo looks as follows:
    Intel oneAPI Rendering Toolkit: Multilevel Hierarchy Intel OSPRay Studio demo scene on Windows OS
    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.
  7. You can save output image from
    Menu
    Save...
    Screenshot
    in a preferred image format. The image is saved to the working
    rk_gsg
    directory as
    studio.<NNNN>
    .
    Intel oneAPI Rendering Toolkit: Save Intel OSPRay Studio demo scene on Windows OS
  8. You can review the saved screenshot with your preferred image viewer.

Next Steps

Product and Performance Information

1

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