Posted By

vorp on 04/06/10


open osg graph scene wireframe

Versions (?)

OSG Wireframe display

 / Published in: C++

Use this to make objects render in wireframe.

  1. osg::PolygonMode * polygonMode = new osg::PolygonMode;
  3. polygonMode->setMode( osg::PolygonMode::FRONT_AND_BACK, osg::PolygonMode::LINE );
  5. stateSet->setAttributeAndModes( polygonMode,
  6. osg::StateAttribute::OVERRIDE | osg::StateAttribute::ON );

Report this snippet  


RSS Icon Subscribe to comments
Posted By: ziye on April 7, 2010

The clock in the high church tower struck and the sound made him remember his parents'wow gold sale early love

for him. They had taught him and prayed to God for his accounts But he chose the wrong way. wow account With shame and glonger look towards that .ghd straighteners His

darkened eyes were full of tears, LVand with a despairing effort, he burst out a cry: "Come back, my early days! Come back!" yy2010.4.7

You need to login to post a comment.