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

Go to the source code of this file.

Classes

struct  Edge
 

Functions

mi::neuraylib::ITriangle_meshcreate_tetrahedron (mi::neuraylib::ITransaction *transaction)
 
void loop_subdivision (mi::neuraylib::ITriangle_mesh *mesh)
 
void setup_scene (mi::neuraylib::ITransaction *transaction, const char *rootgroup)
 
void configuration (mi::neuraylib::INeuray *neuray, const char *mdl_path)
 
void rendering (mi::neuraylib::INeuray *neuray)
 
int main (int argc, char *argv[])
 

Function Documentation

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

Definition at line 307 of file example_triangle_mesh.cpp.

mi::neuraylib::ITriangle_mesh* create_tetrahedron ( mi::neuraylib::ITransaction transaction)

Definition at line 29 of file example_triangle_mesh.cpp.

void loop_subdivision ( mi::neuraylib::ITriangle_mesh mesh)

Definition at line 94 of file example_triangle_mesh.cpp.

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

Definition at line 381 of file example_triangle_mesh.cpp.

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

Definition at line 322 of file example_triangle_mesh.cpp.

void setup_scene ( mi::neuraylib::ITransaction transaction,
const char *  rootgroup 
)

Definition at line 242 of file example_triangle_mesh.cpp.