All Projects → monitor1394 → Exportscenetoobj

monitor1394 / Exportscenetoobj

Licence: mit
Export scene (including objects and terrain ) or fbx to .obj file for Unity. | 导出Unity的场景或FBX到obj文件

Projects that are alternatives of or similar to Exportscenetoobj

Unity Scene Query
A library to traverse and query the Unity scene to find particular objects, uses something similar to CSS selectors to identify game objects.
Stars: ✭ 63 (-54.01%)
Mutual labels:  unity, scene
Unity.library.eppz.geometry
2D Geometry for Unity. Suited for everyday polygon hassle. Polygon clipping, polygon winding direction, polygon area, polygon centroid, centroid of multiple polygons, line intersection, point-line distance, segment intersection, polygon-point containment, polygon triangulation, polygon Voronoi diagram, polygon offset, polygon outline, polygon buffer, polygon union, polygon substraction, polygon boolean operations, and more. It is a polygon fest.
Stars: ✭ 198 (+44.53%)
Mutual labels:  unity, scene
Steamworks.net Example
Example project for Steamworks.NET
Stars: ✭ 130 (-5.11%)
Mutual labels:  unity
Eazy Sound Manager
Eazy Sound Manager is a simple Unity3D tool which aims to make sound and music management in games easier
Stars: ✭ 135 (-1.46%)
Mutual labels:  unity
Steamworks.net
Steamworks wrapper for Unity / C#
Stars: ✭ 1,855 (+1254.01%)
Mutual labels:  unity
Customsrp
Many mini-custom-SRPs showing how to achieve different things when creating your own SRP. Only SRP Core package is needed.
Stars: ✭ 132 (-3.65%)
Mutual labels:  unity
Unity Webxr Export
Develop and export WebXR experiences using Unity WebGL
Stars: ✭ 130 (-5.11%)
Mutual labels:  unity
Unity Raymarching Framework
A framework to easy implement raymarching in unity. Include lots of hash,noise,fbm,SDF,rotate functions
Stars: ✭ 129 (-5.84%)
Mutual labels:  unity
Unity Android Live Wallpaper
Run your Unity game as live wallpaper on Android
Stars: ✭ 138 (+0.73%)
Mutual labels:  unity
Textureupdateexample
An example showing how to update textures from a native plugin in Unity.
Stars: ✭ 133 (-2.92%)
Mutual labels:  unity
Mrcnn Scene Recognition
MR-CNNs for Large-Scale Scene Recognition
Stars: ✭ 135 (-1.46%)
Mutual labels:  scene
Retrosuite3d
Some image effects and shaders to achieve a retro look in Unity
Stars: ✭ 132 (-3.65%)
Mutual labels:  unity
Parlour
A package of UI extensions, components and improvements for Unity's UI frameworks.
Stars: ✭ 132 (-3.65%)
Mutual labels:  unity
Dxr
DXR is a Unity package for rapid prototyping of immersive data visualizations in augmented, mixed, and virtual reality (AR, MR, VR) or XR for short.
Stars: ✭ 134 (-2.19%)
Mutual labels:  unity
Akyuiunity
Adobe XD to Akyui to Unity UI
Stars: ✭ 131 (-4.38%)
Mutual labels:  unity
Beatsabercustomavatars
Allows the use of custom player models for body presence in Beat Saber.
Stars: ✭ 137 (+0%)
Mutual labels:  unity
Ruffles
Lightweight and fully managed reliable UDP library.
Stars: ✭ 131 (-4.38%)
Mutual labels:  unity
Unium
Automation for Unity games
Stars: ✭ 132 (-3.65%)
Mutual labels:  unity
Pencilsketcheffect
Real Time Hatching In Unity
Stars: ✭ 134 (-2.19%)
Mutual labels:  unity
Play Instant Unity Plugin
Google Play Instant Plugin for Unity Beta (Archived)
Stars: ✭ 139 (+1.46%)
Mutual labels:  unity

ExportSceneToObj

一款用于导出场景(包括GameObjectTerrian)或.fbx模型到.obj文件的Unity插件。

功能

  • 支持导出物件和地形
  • 支持自定义裁剪区域
  • 支持自动裁剪功能
  • 支持单个选择导出
  • 支持导出.fbx模型

截图

用法

  • 通过下载源码或unitypackage包导入到你的项目中(放在Assets目录下)。如果你是2018.3及以上版本,可通过Package ManagerGit来导入包(也可以下载后本地安装包):

    1. 打开Packages目录下的manifest.json文件,在dependencies下加入:
       "com.monitor1394.exportscenetoobj": "https://github.com/monitor1394/ExportSceneToObj.git",
    
    1. 回到Unity,可能会花1分钟左右进行下载和编译,成功后就可以开始使用了。
    2. 如果要删除ExportSceneToObj,删除掉1步骤所加的内容即可。
    3. 如果要更新ExportSceneToObj,删除manifest.json文件的lock下的com.monitor1394.exportscenetoobj相关内容即会从新下载编译。
  • 如果要自定义裁剪区域的话,场景中增加空GameObject用于表示裁剪区域(需要左下角和右上角两个空GameObject),并修改代码中CUT_LB_OBJ_PATHCUT_RT_OBJ_PATH为对应的路径

  • Unity的菜单栏上有ExportScene菜单即可

  • 怎么单独导出.fbx模型?

    1. .fbx拖到场景中
    2. Hierarchy试图中选中fbxGameObject,右键执行ExportScene --> ExportSelectedObj单独导出即可

其他

  1. 目前判断物件是否在裁剪区域只是判断物件的坐标是否在区域内,还没有实现物件边界裁剪。
  2. 只有包含MeshFilterSkinnedMeshRendererTerrian的物件才会被导出。

问题

  1. 为什么将脚本放入项目中后菜单栏还是看不到ExportScene菜单项?
    答:脚本文件放到正确的目录,同时要检查是否有其他脚本有报错没有编译通过,有报错时先要处理报错。

  2. 为什么导出的obj文件在Maya3D软件中显示正常,但在3d Max显示异常?
    答:3d Max导入设置中勾选Import as single mesh选项。

参考

  1. ExportOBJ
  2. TerrainObjExporter
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].