From Paul Martz, added support to textured light points into osgSim and OpenFlight loader, as part of the OpenFlight v16.0 spec.

This commit is contained in:
Robert Osfield
2006-06-08 14:32:02 +00:00
parent 4d35807a54
commit 2e2684c05a
10 changed files with 254 additions and 6 deletions

View File

@@ -82,6 +82,10 @@ class OSGSIM_EXPORT LightPointNode : public osg::Node
osgSim::LightPointSystem* getLightPointSystem() { return _lightSystem.get(); }
void setPointSprite(bool enable=true) { _pointSprites = enable; }
bool getPointSprite() const { return _pointSprites; }
virtual osg::BoundingSphere computeBound() const;
protected:
@@ -99,6 +103,8 @@ class OSGSIM_EXPORT LightPointNode : public osg::Node
float _maxVisibleDistance2;
osg::ref_ptr<osgSim::LightPointSystem> _lightSystem;
bool _pointSprites;
};