Undo some of the tried fixes which doesen't work

This commit is contained in:
jriegel 2013-07-10 23:13:27 +02:00
parent c77d2c688e
commit bdd3575cd2

View File

@ -172,15 +172,16 @@ View3DInventorViewer::View3DInventorViewer (QWidget *parent, const char *name,
backgroundroot->ref();
this->backgroundroot->addChild(cam);
SoShapeHints* pShapeHints = new SoShapeHints;
pShapeHints->shapeType = SoShapeHints::UNKNOWN_SHAPE_TYPE;
pShapeHints->vertexOrdering = SoShapeHints::COUNTERCLOCKWISE;
pShapeHints->ref();
this->backgroundroot->addChild(pShapeHints);
//SoShapeHints* pShapeHints = new SoShapeHints;
//pShapeHints->shapeType = SoShapeHints::UNKNOWN_SHAPE_TYPE;
//pShapeHints->vertexOrdering = SoShapeHints::COUNTERCLOCKWISE;
//pShapeHints->ref();
//this->backgroundroot->addChild(pShapeHints);
SoLightModel* pcLightModel = new SoLightModel();
pcLightModel->model = SoLightModel::PHONG;
this->backgroundroot->addChild(pcLightModel);
//SoLightModel* pcLightModel = new SoLightModel();
////pcLightModel->model = SoLightModel::PHONG;
//pcLightModel->model = SoLightModel::BASE_COLOR;
//this->backgroundroot->addChild(pcLightModel);
// Background stuff