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

Go to the source code of this file.

Classes

class  Cylinder
 

Functions

mi::neuraylib::IPolygon_meshcreate_cylinder (mi::neuraylib::ITransaction *transaction, mi::Uint32 n, mi::Float32 radius, mi::Float32 height)
 
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 233 of file example_polygon_mesh.cpp.

mi::neuraylib::IPolygon_mesh* create_cylinder ( mi::neuraylib::ITransaction transaction,
mi::Uint32  n,
mi::Float32  radius,
mi::Float32  height 
)

Definition at line 120 of file example_polygon_mesh.cpp.

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

Definition at line 307 of file example_polygon_mesh.cpp.

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

Definition at line 248 of file example_polygon_mesh.cpp.

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

Definition at line 168 of file example_polygon_mesh.cpp.