#include "VRAY_DemoMountain.h"#include <GEO/GEO_AttributeHandle.h>#include <GU/GU_Detail.h>#include <GU/GU_PrimPoly.h>#include <UT/UT_Counter.h>Go to the source code of this file.
Defines | |
| #define | MAX_SPLITS 8 |
| #define | UT_DEBUG 1 |
Functions | |
| VRAY_Procedural * | allocProcedural (const char *) |
| Mantra procedural primitives. | |
| const VRAY_ProceduralArg * | getProceduralArgs (const char *) |
| Dynamic load entry point to query arguments for a procedural. | |
| #define MAX_SPLITS 8 |
| #define UT_DEBUG 1 |
Definition at line 38 of file VRAY_DemoMountain.C.
| VRAY_Procedural* allocProcedural | ( | const char * | name | ) |
Mantra procedural primitives.
When a procedural is defined as a dynamic object, the allocProcedural() function is called to build a new instance of the procedural. The name passed in will be the name defined by the table entry. This can be used for: a) Error checking -- you can verify that you're name is what you expect. However, this isn't manditory. b) To have more than one procedural defined per C++ class. Using the name, you can create procedurals of different types.
The argument list for the procedural is specified by a list of arguments. The getProceduralArgs() method should return a pointer to an array of VRAY_ProceduralArg's. The list should be terminated by an entry with default arguments (i.e. null pointers). For example: Arguments can then be queried using the argValue() methods in the procedural Dynamic load entry point to create an instance
Definition at line 51 of file VRAY_DemoMountain.C.
| const VRAY_ProceduralArg* getProceduralArgs | ( | const char * | ) |
Dynamic load entry point to query arguments for a procedural.
Definition at line 57 of file VRAY_DemoMountain.C.
1.5.9