monitor1394 / Exportscenetoobj
Licence: mit
Export scene (including objects and terrain ) or fbx to .obj file for Unity. | 导出Unity的场景或FBX到obj文件
Stars: ✭ 137
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
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
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
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
Play Instant Unity Plugin
Google Play Instant Plugin for Unity Beta (Archived)
Stars: ✭ 139 (+1.46%)
Mutual labels: unity
ExportSceneToObj
一款用于导出场景(包括GameObject
和Terrian
)或.fbx
模型到.obj
文件的Unity
插件。
功能
- 支持导出物件和地形
- 支持自定义裁剪区域
- 支持自动裁剪功能
- 支持单个选择导出
- 支持导出
.fbx
模型
截图
用法
-
通过下载源码或
unitypackage
包导入到你的项目中(放在Assets
目录下)。如果你是2018.3
及以上版本,可通过Package Manager
的Git
来导入包(也可以下载后本地安装包):- 打开
Packages
目录下的manifest.json
文件,在dependencies
下加入:
"com.monitor1394.exportscenetoobj": "https://github.com/monitor1394/ExportSceneToObj.git",
- 回到
Unity
,可能会花1分钟左右进行下载和编译,成功后就可以开始使用了。 - 如果要删除
ExportSceneToObj
,删除掉1步骤所加的内容即可。 - 如果要更新
ExportSceneToObj
,删除manifest.json
文件的lock
下的com.monitor1394.exportscenetoobj
相关内容即会从新下载编译。
- 打开
-
如果要自定义裁剪区域的话,场景中增加空
GameObject
用于表示裁剪区域(需要左下角和右上角两个空GameObject
),并修改代码中CUT_LB_OBJ_PATH
和CUT_RT_OBJ_PATH
为对应的路径 -
在
Unity
的菜单栏上有ExportScene
菜单即可 -
怎么单独导出
.fbx
模型?- 将
.fbx
拖到场景中 - 在
Hierarchy
试图中选中fbx
的GameObject
,右键执行ExportScene
-->ExportSelectedObj
单独导出即可
- 将
其他
- 目前判断物件是否在裁剪区域只是判断物件的坐标是否在区域内,还没有实现物件边界裁剪。
- 只有包含
MeshFilter
、SkinnedMeshRenderer
、Terrian
的物件才会被导出。
问题
-
为什么将脚本放入项目中后菜单栏还是看不到
ExportScene
菜单项?
答:脚本文件放到正确的目录,同时要检查是否有其他脚本有报错没有编译通过,有报错时先要处理报错。 -
为什么导出的
obj
文件在Maya
等3D
软件中显示正常,但在3d Max
显示异常?
答:3d Max
导入设置中勾选Import as single mesh
选项。
参考
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].