The Iray SDK API supports the startup and configuration of the neuray library and can issue rendering calls. The Iray SDK API includes also the Math API and the Base API. The Math API provides vector, matrix, bbox, and color classes and math functions. The Base API provides basic types, functions on them, assertions, and configurations.
The capabailities of the Iray SDK API are demonstrated in the following set of example programs.
example_start_shutdown.cpp | Starts and shuts down the Iray API |
example_rendering.cpp | Imports a scene file and renders its content |
example_configuration.cpp | Configures the Iray API |
example_progressive_rendering.cpp | Renders a scene progressively |
example_networking.cpp | Starts the Iray API in networking mode |
example_scene.cpp | Programmatically creates a scene by using the API |
example_mdl.cpp | Demonstrates working with MDL materials and functions |
example_triangle_mesh.cpp | Demonstrates working with geometry in the form of triangle meshes |
example_polygon_mesh.cpp | Demonstrates working with geometry in the form of polygon meshes |
example_subdivision_surface.cpp | Demonstrates working with geometry in the form of subdivision surfaces |
example_freeform_surface.cpp | Demonstrates working with geometry in the form of freeform surfaces |
example_on_demand_mesh.cpp | Demonstrates working with geometry in the form of on-demand meshes |
example_fibers.cpp | Demonstrates working with geometry in the form of fiber-like objects |
example_http_server.cpp | Serves a rendered image by using the HTTP server |
example_rtmp_server.cpp | Demonstrates an interactive video streaming server |
example_user_defined_classes.cpp | Demonstrates the creation of user-defined classes |
example_plugins.cpp | Provides additional functionality by using plugins |
example_importer.cpp | Implements an importer for a custom file format |
example_exporter.cpp | Implements an exporter for a custom file format |
example_psd_exporter.cpp | Implements an image exporter for the Photoshop image file format |
example_bridge_client.cpp | Rendering a scene using Iray Bridge (client-side) |
example_bridge_server.cpp | Rendering a scene using Iray Bridge (server-side) |