随笔分类 - 三维建模
摘要:模拟一个完整的吊装流程,初始状态->起臂->放下吊绳->竖直起吊->水平旋转->放下物体->收缩吊绳。
阅读全文
摘要:osg::ref_ptr rope1 = CreateCylinder(0, 0, 7, 0.1f); osg::ref_ptr rope2 = CreateCylinder(0, 0, 8, 0.1f); osg::ref_ptr rope3 = CreateCylinder(0, 0, 9, 0.1f); osg::ref_ptr rope4 = CreateCylinder(0, 0, 1...
阅读全文
摘要:线程 0x2278 已退出,返回值为 0 (0x0)。 IfcTreeWidget==slotObjectsSelected1IfcObjectAttributeExtraction id: 3469 name: "楼板:常规 140 - 20+120:367023" class: IfcSlab
阅读全文
摘要:D:/qlbz20190802.ifc 0 006bBpRNnEKe6MNkkOF9n9 F1 0.0000 Summary 2019-08-04 23:08:52 2019-08-04 23:08:52 -1 ...
阅读全文
摘要:关于ifc数据解析与渲染整个探索过程的总结,我从2016年10月份开始接触ifc标准,刚开始探索用java3d解析、渲染ifc数据,当时参考网上的资料,最终实现了在java3d中解析与渲染ifc数据,但java3d在动态模拟方面不是很好实现,就放弃了java3d,转而使用unity3d,使用unit
阅读全文
摘要:void initGLWidgetAndViewer() { osgViewer::ViewerBase::ThreadingModel threadingModel = osgViewer::ViewerBase::SingleThreaded; IfcSystem* m_system->getRootNode()->setCullingActive( false ); ...
阅读全文
摘要:项目环境变量配置 include E:\Qt\Qt5.12.2\5.12.2\msvc2017_64\include E:\OpenSourceGraph\OpenSceneGraph_install\include E:\IFC\boost_1_66_0_vs2017_20190416 E:\IF
阅读全文
摘要:日志: “TeslaManage.exe”(Win32): 已加载“F:\OpenScenceGraphProject\OSG_QT_2019\x64\Debug\TeslaManage.exe”。已加载符号。“TeslaManage.exe”(Win32): 已加载“C:\Windows\Syst
阅读全文
摘要:/******************************************************************************** ** Form generated from reading UI file 'qt_chart1.ui' ** ** Created by: Qt User Interface Compiler version 5.12.2 *...
阅读全文
摘要:void TeslaManage::OnlineTreeViewDoubleClick(const QModelIndex & index) { int row = index.row(); qDebug() index(0, 0).child(row, 0).data().toString(); if (root != NULL) { osg...
阅读全文
摘要:osg::Node* TeslaManage::findOsgNodeByName(QString &nodeNme) { osg::Node* findNode = NULL; std::vector::iterator vec_iter; for (vec_iter = allOsgNode.begin();vec_iter != allOsgNode.end()...
阅读全文
摘要:void Test::printOsgGroup(osg::ref_ptr &groupParam) { qDebug() getNumChildren(); //std::cout getNumChildren() getNumChildren(); k++) { osg::ref_ptr group_index = groupParam->getC...
阅读全文
摘要:void TeslaManage::loadModelFile(QString &filename) { file_node = osgDB::readNodeFile(std::string((const char *)filename.toLocal8Bit())); root->addChild(file_node); root->addChild(create...
阅读全文
摘要:这是一面墙的IFC数据内容 文档内容 ISO-10303-21;HEADER; /******************************************************************************************* STEP Physical Fil
阅读全文
摘要:一个球体与三个圆柱体形成一个组合体,在该组合体中,球体的透明度属性是由全透明到不透明之间变换,而且包括:旋转、平移等变换。 package com.vfsd.test0621; import java.applet.Applet;import java.awt.BorderLayout;import
阅读全文