Show
Ignore:
Timestamp:
12/22/06 22:53:44 (8 years ago)
Author:
robert
Message:

Added support for sample and sampleBuffers to osg::GraphicsContext::Traits and
cleaned up the Traits naming

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgcamera/osgcamera.cpp

    r5843 r5845  
    4040    viewer.realize(); 
    4141 
    42     while(!viewer.done()) 
     42    unsigned int numFrames = 0; 
     43    unsigned int maxFrames = 100; 
     44 
     45    while(!viewer.done() && numFrames<maxFrames) 
    4346    { 
    4447        viewer.frame(); 
     48        ++numFrames; 
    4549    } 
    4650