NeurayProductName is a rendering component that you can embed in your application to provide advanced rendering functionality for your application.
The Iray SDK API is a C++ API. The Iray library is provided as a dynamic library, which can be linked to your application or dynamically loaded at runtime.
The Iray library release contains the following parts:
It is recommended that you read the brief Library Design Section and continue with the Tutorial and Example Programs Section. The Configuration Options Section describes how to configure aspects of the library to your particular integration demands.
The Iray library release contains a set of example programs. It is recommended that you compile them and take them as a starting point for your own development.
The release contains a Makefile
to build the examples on Linux and MacOS X platforms as well as solution files for Visual Studio 2012 to build the examples on a Microsoft Windows platform.
You can integrate the Iray library easily in other build environments. You can even compile the examples by hand following the steps below. Let the environment variable $NEURAY_ROOT
refer to the installation root of the Iray library.
examples/example_shared.h
for the definition of this convenience method. Alternatively, if you want to use the mi::base::Handle class: g++
compiler call could look like this: dlopen()
. A g++
linker call could look like this: PATH
(on Windows), LD_LIBRARY_PATH
(on Linux), or DYLD_LIBRARY_PATH and DYLD_FRAMEWORK_PATH (on MacOS X). Note: This step is platform and installation dependent.