Show
Ignore:
Timestamp:
11/09/08 12:56:02 (5 years ago)
Author:
robert
Message:

Added support for Camera::PACKED_DEPTH_STENCIL_BUFFER to .osg and .ive formats

Files:
1 modified

Legend:

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

    r8448 r9137  
    3939#include <osgDB/Registry> 
    4040#include <osgDB/ReadFile> 
     41#include <osgDB/WriteFile> 
    4142 
    4243#include <osgViewer/Viewer> 
     
    484485    rootNode->addChild(createPreRenderSubGraph(loadedModelTransform,tex_width,tex_height, renderImplementation, useImage, useTextureRectangle, useHDR, samples, colorSamples)); 
    485486 
     487    osgDB::writeNodeFile(*rootNode, "test.ive"); 
     488 
    486489    // add model to the viewer. 
    487490    viewer.setSceneData( rootNode );