Changeset 3984 for OpenSceneGraph/trunk/examples/osgshaders/osgshaders.cpp
- Timestamp:
- 04/07/05 22:20:09 (8 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgshaders/osgshaders.cpp
r2369 r3984 1 1 /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2003 Robert Osfield 2 * Copyright (C) 2003 3Dlabs Inc. Ltd.2 * Copyright (C) 2003-2005 3Dlabs Inc. Ltd. 3 3 * 4 4 * This application is open source and may be redistributed and/or modified … … 11 11 */ 12 12 13 /* file: examples/osg shaders/osgshaders.cpp14 * author: Mike Weiblen 200 3-09-1813 /* file: examples/osgglsl/osgshaders.cpp 14 * author: Mike Weiblen 2005-04-05 15 15 * 16 * A demo of the OpenGL Shading Language shaders using osgGL2.16 * A demo of the OpenGL Shading Language shaders using core OSG. 17 17 * 18 18 * See http://www.3dlabs.com/opengl2/ for more information regarding … … 26 26 #include <osgUtil/Optimizer> 27 27 #include <osgProducer/Viewer> 28 #include <osgGL2/Version>29 28 30 29 #include "GL2Scene.h" … … 72 71 args.getApplicationUsage()->setApplicationName(args.getApplicationName()); 73 72 args.getApplicationUsage()->setDescription(args.getApplicationName() + 74 " demonstrates the OpenGL Shading Language using osgGL2");73 " demonstrates the OpenGL Shading Language using core OSG"); 75 74 args.getApplicationUsage()->setCommandLineUsage(args.getApplicationName()); 76 75 args.getApplicationUsage()->addCommandLineOption("-h or --help","Display this information"); … … 99 98 100 99 // create the scene 101 osg::notify(osg::NOTICE) << "osgGL2 version " << osgGL2GetVersion() << std::endl;102 100 GL2ScenePtr gl2Scene = new GL2Scene; 103 101
