osg 三维模型加载与解析(fbx、3ds、ive、obj、osg)
void TeslaManage::OnlineTreeViewDoubleClick(const QModelIndex & index) { int row = index.row(); qDebug() << "row:" << row; QString objName = index.model()->index(0, 0).child(row, 0).data().toString(); if (root != NULL) { osg::Node* findNode = findOsgNodeByName(objName); if (findNode != NULL) { cPickHandler->setNodeTexture(findNode); } } }
QQ 3087438119