Commit be5c5b07 authored by Jan Möbius's avatar Jan Möbius

Added a material node for the coordsys to enable multisampling

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@5847 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 4cd5359a
......@@ -118,7 +118,8 @@ Core() :
//init nodes
root_node_scenegraph_ = new ACG::SceneGraph::SeparatorNode(0, "SceneGraph Root Node");
root_node_ = new ACG::SceneGraph::SeparatorNode(root_node_scenegraph_, "Data Root Node");
coordsysNode_ = new ACG::SceneGraph::CoordsysNode(root_node_scenegraph_,"Core Coordsys Node");
coordsysMaterialNode_ = new ACG::SceneGraph::MaterialNode(root_node_scenegraph_,"Coordsys Material Node");
coordsysNode_ = new ACG::SceneGraph::CoordsysNode(coordsysMaterialNode_,"Core Coordsys Node");
coordsysNode_->setTraverseMode (BaseNode::NodeFirst | BaseNode::SecondPass);
// Add ViewMode All
......
......@@ -518,6 +518,9 @@ private:
/// Data root node
SeparatorNode* root_node_;
/// Node for coordsys Material
ACG::SceneGraph::MaterialNode* coordsysMaterialNode_;
/// Node for the coordinate system
ACG::SceneGraph::CoordsysNode* coordsysNode_;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment