NVIDIA Index example code nvidia_logo_transpbg.gif Up
normal_recalculation.cpp File Reference

Import a heightfield, then edit it to see the normal recalculation result. More...

#include <mi/dice.h>
#include "utility/example_shared.h"
#include "utility/index_resource.h"
#include <nv/index/icamera.h>
#include <nv/index/iconfig_settings.h>
#include <nv/index/idata_distribution.h>
#include <nv/index/iindex.h>
#include <nv/index/ilight.h>
#include <nv/index/imaterial.h>
#include <nv/index/iregular_heightfield_patch.h>
#include <nv/index/iscene.h>
#include <nv/index/isession.h>
#include <nv/index/app/index_connect.h>
#include <nv/index/app/string_dict.h>
#include "utility/app_rendering_context.h"
#include "utility/canvas_utility.h"
#include <iostream>
#include <sstream>

Go to the source code of this file.

Classes

class  Normal_recalculation
 
class  Example_height_fill_task
 
class  Example_heightfield_operation
 

Functions

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

Detailed Description

Import a heightfield, then edit it to see the normal recalculation result.

Definition in file normal_recalculation.cpp.

Function Documentation

 main()

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

Definition at line 810 of file normal_recalculation.cpp.