Run the vklExamples Sample
Graphical user interface (GUI) is required to run this sample.
sample application renders the Intel Open VKL API results to screen through a graphical interface.
Intel® oneAPI Rendering Toolkit
for Linux* OS with Intel Open VKL. By default, the toolkit is installed to
with the default or your custom installation path.
An OpenGL*-capable device.
For Intel® Graphics devices, you can use a recent Linux* kernel with i915 kernel module. For example, you can use Linux* kernels 4.11 or higher and Intel® Graphics Technology Gen 9 or higher platforms.
For platforms without OpenGL* hardware devices, you can use
* software OpenGL* implementation.
This application functions on different Linux* OS distributions and hardware configurations. This walkthrough was validated on Intel® Core™ i7-6770HQ (NUC6i7KYK) with Intel® Iris® Pro Graphics 580. Ubuntu* 18.04.3 OS was deployed with Linux* kernel 5.3.0. The hardware OpenGL* accelerator on this platform is accessed through the i915 kernel module distributed with the OS distribution. Your system may have different hardware or OS and require its own software and library configuration.
Set up the prerequisites for the vklExamples application:
In addition to default Intel Open VKL dependencies, the
application requires the following 64-bit runtime libraries: libGL.so.1, libX11.so.6, libXrandr.so.2, libXinerama.so.1, libXxf86vm.so.1, libXcursor.so.1.
On Ubuntu* OS, you can run the following command to install the required dependencies with the following packages:
apt install libgl1 libx11-6 libxrandr2 libxinerama1 libxxf86vm1 libxcursor1
Open a new terminal window with default environment.
Set up the Intel Open VKL environment variables. These environment variables allow applications to load Intel Open VKL dynamic libraries.
Go to a writable directory, for example, to home directory
Run the sample application:
The sample results will open in a new GUI window.
The Intel Open VKL API path enabling Intel® Implicit SPMD Program Compiler (Intel® ISPC) might not be available. If the program shows a blank screen, choose the
API from the
Open VKL API used
User interface elements may overlap. Drag and drop the blue control bar to see all controls.
You can select different transfer functions, Intel Open VKL API values, and rendering controls to visualize the volume: