NVIDIA Iray API — software examples nvidia_logo_transpbg.gif Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
example_mdl.cpp File Reference
#include <iostream>
#include <mi/neuraylib.h>
#include "example_shared.h"
#include "example_render_target_simple.h"

Go to the source code of this file.

Functions

void configuration (mi::neuraylib::INeuray *neuray, const char *mdl_path)
 
void render_and_export (mi::neuraylib::INeuray *neuray, mi::neuraylib::ITransaction *transaction, const char *uri)
 
void import_and_render_original_scene (mi::neuraylib::INeuray *neuray, mi::neuraylib::IScope *scope)
 
void modify_material_instance (mi::neuraylib::INeuray *neuray, mi::neuraylib::IScope *scope, mi::neuraylib::IMdl_factory *mdl_factory)
 
void create_new_material_instance (mi::neuraylib::INeuray *neuray, mi::neuraylib::IScope *scope, mi::neuraylib::IMdl_factory *mdl_factory)
 
void attach_function_call (mi::neuraylib::INeuray *neuray, mi::neuraylib::IScope *scope, mi::neuraylib::IMdl_factory *mdl_factory)
 
void use_struct_and_array_constructors (mi::neuraylib::INeuray *neuray, mi::neuraylib::IScope *scope, mi::neuraylib::IMdl_factory *mdl_factory)
 
void create_variant (mi::neuraylib::INeuray *neuray, mi::neuraylib::IScope *scope, mi::neuraylib::IMdl_factory *mdl_factory)
 
void distill (mi::neuraylib::INeuray *neuray, mi::neuraylib::IScope *scope, mi::neuraylib::IMdl_factory *mdl_factory)
 
void rendering (mi::neuraylib::INeuray *neuray)
 
int main (int argc, char *argv[])
 

Function Documentation

void attach_function_call ( mi::neuraylib::INeuray neuray,
mi::neuraylib::IScope scope,
mi::neuraylib::IMdl_factory mdl_factory 
)

Definition at line 196 of file example_mdl.cpp.

void configuration ( mi::neuraylib::INeuray neuray,
const char *  mdl_path 
)

Definition at line 27 of file example_mdl.cpp.

void create_new_material_instance ( mi::neuraylib::INeuray neuray,
mi::neuraylib::IScope scope,
mi::neuraylib::IMdl_factory mdl_factory 
)

Definition at line 148 of file example_mdl.cpp.

void create_variant ( mi::neuraylib::INeuray neuray,
mi::neuraylib::IScope scope,
mi::neuraylib::IMdl_factory mdl_factory 
)

Definition at line 486 of file example_mdl.cpp.

void distill ( mi::neuraylib::INeuray neuray,
mi::neuraylib::IScope scope,
mi::neuraylib::IMdl_factory mdl_factory 
)

Definition at line 582 of file example_mdl.cpp.

void import_and_render_original_scene ( mi::neuraylib::INeuray neuray,
mi::neuraylib::IScope scope 
)

Definition at line 73 of file example_mdl.cpp.

int main ( int  argc,
char *  argv[] 
)

Definition at line 742 of file example_mdl.cpp.

void modify_material_instance ( mi::neuraylib::INeuray neuray,
mi::neuraylib::IScope scope,
mi::neuraylib::IMdl_factory mdl_factory 
)

Definition at line 101 of file example_mdl.cpp.

void render_and_export ( mi::neuraylib::INeuray neuray,
mi::neuraylib::ITransaction transaction,
const char *  uri 
)

Definition at line 42 of file example_mdl.cpp.

void rendering ( mi::neuraylib::INeuray neuray)

Definition at line 719 of file example_mdl.cpp.

void use_struct_and_array_constructors ( mi::neuraylib::INeuray neuray,
mi::neuraylib::IScope scope,
mi::neuraylib::IMdl_factory mdl_factory 
)

Definition at line 309 of file example_mdl.cpp.