13 #include <diguyGraphicsShape.h>
18 #include <osg/Texture2D>
20 #include <osgEarth/ShaderUtils>
43 virtual void unbuild();
56 virtual void set_graphics_lod_ranges(
float* lodRanges);
59 void update_variation_texture(
int num_pixels,
unsigned char* pixel_data);
64 virtual void update();
73 virtual osg::Node* rootNode();
75 virtual void setAdditionalTboData(
const std::vector<float>& tboData);
76 virtual const std::vector<float>& getAdditionalTboData();
79 void create_shared_variation_texture();
80 void create_variation_texture(
unsigned char* variation_texture_data);
osg::ref_ptr< osg::StateSet > myStateSet
Definition: DtDiGuyOsgGraphicsShape.h:89
osg::ref_ptr< osg::LOD > myLodNode
Definition: DtDiGuyOsgGraphicsShape.h:82
static osg::ref_ptr< osg::Texture2D > sm_variation_texture
Definition: DtDiGuyOsgGraphicsShape.h:71
std::vector< osg::Geode * > m_geodes
Definition: DtDiGuyOsgGraphicsShape.h:69
osg::ref_ptr< osg::Uniform > myUniformComponentMapRow
Definition: DtDiGuyOsgGraphicsShape.h:92
diguyGraphicsShape * diguyOsgGraphicsShape_create_func(void *internal_data)
Creator for VRV diguyGraphicsShape override.
Contains DLL export macros.
static char * UniformLinkMatricesString
Static name of the bone uniform.
Definition: DtDiGuyOsgGraphicsShape.h:67
diguyCharacter * myCharacter
Definition: DtDiGuyOsgGraphicsShape.h:95
Override of diguyGraphicsShape to create OSG geometry for DI-Guy shapes.
Definition: DtDiGuyOsgGraphicsShape.h:26
osg::ref_ptr< osg::Uniform > myUniformLinkColor
Definition: DtDiGuyOsgGraphicsShape.h:88
osg::ref_ptr< osg::Switch > mySwitchNode
Definition: DtDiGuyOsgGraphicsShape.h:81
static bool UsePixelLods
Whether LOD calculations are based on distance from camera or pixel size in frame.
Definition: DtDiGuyOsgGraphicsShape.h:85
osg::ref_ptr< osg::Uniform > myUniformPBRReady
Definition: DtDiGuyOsgGraphicsShape.h:93
osg::ref_ptr< osg::Uniform > myUniformLinkMatrices
Definition: DtDiGuyOsgGraphicsShape.h:90
#define DT_DLL_VRVDIGUY
Definition: vrvDiGuy.h:21
std::vector< float > myAdditionalTboData
Definition: DtDiGuyOsgGraphicsShape.h:94
osg::ref_ptr< osg::Uniform > myUniformLinkMatricesAlt
Definition: DtDiGuyOsgGraphicsShape.h:91