Show
Ignore:
Timestamp:
11/27/06 15:52:07 (8 years ago)
Author:
robert
Message:

Renamed osg::CameraNode? to osg::Camera, cleaned up osg::View.

Added beginnings of new osgViewer::Scene,View,Viewer,CompositeViewer? and GraphicsWindowProxy? files.

Files:
1 modified

Legend:

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

    r5381 r5757  
    2626#include <osg/Projection> 
    2727#include <osg/MatrixTransform> 
    28 #include <osg/CameraNode> 
     28#include <osg/Camera> 
    2929#include <osg/io_utils> 
    3030 
     
    117117    // Can pick texts too! 
    118118 
    119     osg::CameraNode* hudCamera = new osg::CameraNode; 
     119    osg::Camera* hudCamera = new osg::Camera; 
    120120    hudCamera->setReferenceFrame(osg::Transform::ABSOLUTE_RF); 
    121121    hudCamera->setProjectionMatrixAsOrtho2D(0,1280,0,1024); 
    122122    hudCamera->setViewMatrix(osg::Matrix::identity()); 
    123     hudCamera->setRenderOrder(osg::CameraNode::POST_RENDER); 
     123    hudCamera->setRenderOrder(osg::Camera::POST_RENDER); 
    124124    hudCamera->setClearMask(GL_DEPTH_BUFFER_BIT); 
    125125