zoukankan      html  css  js  c++  java
  • (转)OgreMax Merging Meshes

    There are two ways to merge meshes during export:

    1. Export the scene as a mesh file - When selecting the .mesh extension during an export all meshes in the scene will be merged into a single mesh centered around the world origin.
    2. Export the scene as a scene file, with individual meshes configured to be merged - This tutorial covers this method.

    Any number of meshes of varying complexity can be merged. In this tutorial, we'll create create two boxes:

    The blue box will be considered the main mesh, and the red box will be considered the one that needs to be merged into the main mesh.

    To achieve this, the red box needs to be a child of the blue box. Select the red box and link it to the blue box using the Select and Link tool in 3DS Max:

    Next, select the red box, and choose the Object Settings item in the OgreMax menu. Choose Submesh as the object type:

    Now, when the scene is exported, the red box will be merged into the blue box as a single mesh. This can be seen by loading the exported mesh into the OgreMax WinViewer and selecting it - there's one bounding box that encompasses the entire object:

  • 相关阅读:
    JavaScript的执行
    关于k阶裴波那契序列的两种解法
    科普 eclipse中的Java build
    [BZOJ 1037] 生日聚会Party
    [POJ 1185] 炮兵阵地
    [POJ 1935] Journey
    [POJ 2397] Spiderman
    [POJ 2373][BZOJ 1986] Dividing the Path
    [POJ 3378] Crazy Thairs
    [POJ 2329] Nearest number-2
  • 原文地址:https://www.cnblogs.com/lancidie/p/1909105.html
Copyright © 2011-2022 走看看