|
std::string | recoverBaseDirectory () |
|
osg::ref_ptr< osg::Texture2D > | createDefaultTexture (uint8_t value=255) |
|
void | print_osg_img_info (const osg::Image &osgimg) |
|
void | print_cimg_info (const cimg_library::CImg< unsigned char > &cimg) |
|
osg::Image * | cimg_to_osgimg (const cimg_library::CImg< unsigned char > &cimg) |
|
osg::ref_ptr< osg::Texture2D > | createTexture (const std::string &filename, const FEVV::Types::Material &material) |
|
void | loadMaterialStandard (const osg::ref_ptr< osg::Geometry > &geometry, const FEVV::Types::Material &material) |
|
void | loadMaterialPBR (const osg::ref_ptr< osg::Geometry > &geometry, const FEVV::Types::Material &material) |
|
template<typename VertexNormalMap , typename VertexTangentMap , typename FaceMaterialMap > |
osg::ref_ptr< osg::Program > | loadTexturedMesh (const std::vector< osg::ref_ptr< osg::Geometry > > &_geometries, const std::vector< osg::ref_ptr< osg::Vec3Array > > &, const std::vector< osg::ref_ptr< osg::Vec3Array > > &, const std::vector< osg::ref_ptr< osg::Vec3Array > > &_tangentsArrays, const std::vector< osg::ref_ptr< osg::Vec2Array > > &_texcoordsArrays, bool _useSmoothShading, VertexNormalMap *, VertexTangentMap *_vt_tm, FaceMaterialMap *_m_mm, std::size_t unit_ii) |
|
template<typename VertexNormalMap , typename VertexColorMap > |
osg::ref_ptr< osg::Program > | loadColoredMesh (const std::vector< osg::ref_ptr< osg::Geometry > > &_geometries, const std::vector< osg::ref_ptr< osg::Vec3Array > > &, const std::vector< osg::ref_ptr< osg::Vec3Array > > &, const std::vector< osg::ref_ptr< osg::Vec4Array > > &_colorsArrays, VertexNormalMap *, VertexColorMap *_vt_cm, std::size_t unit_ii) |
|