#include <Trees.h>
|
| vtPlantAppearance3d (AppearType type, const char *filename, float width, float height, float shadow_radius, float shadow_darkness) |
|
| vtPlantAppearance3d (const vtPlantAppearance &v) |
|
void | CheckAvailability () |
|
void | LoadAndCreate () |
|
bool | GenerateGeom (vtTransform *container) |
|
bool | IsAvailable () |
|
| vtPlantAppearance (AppearType type, const char *filename, float width, float height, float shadow_radius, float shadow_darkness) |
|
|
static float | s_fPlantScale = 1.0f |
|
static bool | s_bPlantShadows = false |
|
|
osg::ref_ptr< vtMaterialArray > | m_pMats |
|
vtGeodePtr | m_pGeode |
|
osg::ref_ptr< vtMesh > | m_pMesh |
|
int | m_iMatIdx |
|
osg::ref_ptr< osg::Node > | m_pExternal |
|
bool | m_bAvailable |
|
bool | m_bCreated |
|
|
AppearType | m_eType |
|
vtString | m_filename |
|
float | m_width |
|
float | m_height |
|
float | m_shadow_radius |
|
float | m_shadow_darkness |
|
This class extends vtPlantAppearance with the ability to construct 3D geometry for an appearance.
vtMesh * vtPlantAppearance3d::CreateTreeMesh |
( |
float |
fTreeScale, |
|
|
bool |
bShadows |
|
) |
| |
|
protected |
Create an object to represent a textured plant billboard. Makes two intersecting polygons (4 triangles).
The documentation for this class was generated from the following files:
- D:/job/3kb/gelistirme/umasoft/vtp-src/VTP/TerrainSDK/vtlib/core/Trees.h
- D:/job/3kb/gelistirme/umasoft/vtp-src/VTP/TerrainSDK/vtlib/core/Trees.cpp