zoukankan      html  css  js  c++  java
  • osg fbx模型删除模型中的某几个节点,实现编辑模型的功能

    fbx model element count:8
    0 三维视图: {三维} 4294967295 osg::MatrixTransform
    1 基本墙 wall_240 [361750] 4294967295 osg::MatrixTransform
    2 基本墙 wall_240 [361813] 4294967295 osg::MatrixTransform
    3 基本墙 wall_240 [361889] 4294967295 osg::MatrixTransform
    4 基本墙 wall_240 [361993] 4294967295 osg::MatrixTransform
    5 基本墙 wall_240 [362170] 4294967295 osg::MatrixTransform
    6 基本墙 wall_240 [362246] 4294967295 osg::MatrixTransform
    7 基本墙 wall_240 [362332] 4294967295 osg::MatrixTransform

    osg delete fbx model node

    group1->removeChild(sg->getChild(1));
    group1->removeChild(sg->getChild(2));


    fbx model element count:6
    0 三维视图: {三维} 4294967295 osg::MatrixTransform
    1 基本墙 wall_240 [361889] 4294967295 osg::MatrixTransform
    2 基本墙 wall_240 [361993] 4294967295 osg::MatrixTransform
    3 基本墙 wall_240 [362170] 4294967295 osg::MatrixTransform
    4 基本墙 wall_240 [362246] 4294967295 osg::MatrixTransform
    5 基本墙 wall_240 [362332] 4294967295 osg::MatrixTransform

    3dMax导出的部分fbx模型删除模型中某几个节点好像还是有问题,但大多数fbx模型中的节点都能够正常删除。

  • 相关阅读:
    深度学习的一些思考
    卷积神经网络CNN
    使用seaborn探索泰坦尼克号上乘客能否获救
    问题记录贴
    相机标定
    docker的--net=host有什么用
    深度学习在3D点云处理中的探索
    python fire使用指南
    ssh配置免密登录及连接远程主机的container
    xavier安装jetpack
  • 原文地址:https://www.cnblogs.com/herd/p/11146466.html
Copyright © 2011-2022 走看看