Index: /OpenSceneGraph/trunk/examples/osgpoints/osgpoints.cpp
===================================================================
--- /OpenSceneGraph/trunk/examples/osgpoints/osgpoints.cpp (revision 7648)
+++ /OpenSceneGraph/trunk/examples/osgpoints/osgpoints.cpp (revision 9442)
@@ -25,4 +25,5 @@
 #include <osg/Texture2D>
 #include <osg/PointSprite>
+#include <osg/PolygonMode>
 
 #include <iostream>
@@ -116,5 +117,6 @@
     arguments.getApplicationUsage()->addCommandLineOption("-h or --help","Display this information");
     arguments.getApplicationUsage()->addCommandLineOption("--sprites","Point sprites.");
-    
+    arguments.getApplicationUsage()->addCommandLineOption("--points","Sets the polygon mode to GL_POINT for front and back faces.");
+
 
     // construct the viewer.
@@ -133,4 +135,7 @@
     bool usePointSprites = false;
     while (arguments.read("--sprites")) { usePointSprites = true; };
+
+    bool forcePointMode = false;
+    while (arguments.read("--points")) { forcePointMode = true; };
 
     if (arguments.argc()<=1)
@@ -159,8 +164,7 @@
     
 
+    osg::StateSet* stateset = loadedModel->getOrCreateStateSet();
     if (usePointSprites)    
     {
-        osg::StateSet* stateset = loadedModel->getOrCreateStateSet();
-
         /// Setup cool blending
         osg::BlendFunc *fn = new osg::BlendFunc();
@@ -175,4 +179,12 @@
         tex->setImage(osgDB::readImageFile("Images/particle.rgb"));
         stateset->setTextureAttributeAndModes(0, tex, osg::StateAttribute::ON);
+    }
+
+    if( forcePointMode )
+    {
+        /// Set polygon mode to GL_POINT
+        osg::PolygonMode *pm = new osg::PolygonMode(
+            osg::PolygonMode::FRONT_AND_BACK, osg::PolygonMode::POINT );
+        stateset->setAttributeAndModes( pm, osg::StateAttribute::ON | osg::StateAttribute::OVERRIDE);
     }
     
