-
Notifications
You must be signed in to change notification settings - Fork 1
Generating Object files for AFrame from Unity
Softwares used:
Unity: https://unity.com/download
Blender: https://www.blender.org/thanks/
Started with creating a template project:
Sample -> 3D Sample Scene

To export Unity Assets to FBX file, make sure to install the FBX Exporter First
Windows -> Package Manager. Click Packages: Unity Registery and then search FBX:
https://www.youtube.com/watch?v=-voE4FrU0Ms
Right click on the asset and click FBX export
Make sure to select binary export format since Blender will fail to import ASCII FBX format

File -> import -> import fbx

Select the FBX file and click import

8ee2cd8f5fd1.png">
Click exprot glb

Note: I clicked the free checkmark since free is nice for proof of concept
Note: I added Low Poly Simple Furniture FREE instead of the one shown above
Note: I already downloaded it so it says re-Download, but it should be in the same spot

The assets should show up in the bottom in the Project Menu. In my case, I downloaded the Low Poly Furniture which is available as one of the directories

You can now open up the directories and look for the prebuilt models, you can then drag them into the scene as shown in the image

Click export -> Wavefont obj file

Save to the appropriate place and click exportfront obj

Click export -> Wavefront obj file Select the colors and triangulated mesh on the side <img width="531" alt="image" src="https://user-images.githubusercontent.com/10234268/215002817-aa162d91-c5d3-44f5-a919-