Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

osgpointsprite.cpp File Reference

#include <osg/PointSprite>
#include <osg/BlendFunc>
#include <osg/StateAttribute>
#include <osg/Point>
#include <osg/Geometry>
#include <osg/Texture2D>
#include <osg/TexEnv>
#include <osgDB/ReadFile>
#include <osgProducer/Viewer>
#include <osg/GLExtensions>

Include dependency graph for osgpointsprite.cpp:


Functions

osg::GeodemakeGalaxy (unsigned nvertices)
osg::StateSetmakeStateSet (float size)
int main (int, char *[])

Function Documentation

int main int  ,
char *  []
 

Make the galaxy of points

osg::Geode* makeGalaxy unsigned  nvertices  ) 
 

Formula for the two spirals

osg::StateSet* makeStateSet float  size  ) 
 

Setup cool blending

Setup the point sprites

Give some size to the points to be able to see the sprite

Disable depth test to avoid sort problems and Lighting

The texture for the sprites


Generated at Thu Oct 13 08:18:16 2005 for the OpenSceneGraph by doxygen 1.4.1.