-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes errors and warns about build settings
Moves menu item to Window
- Loading branch information
1 parent
b322a3e
commit 2369c09
Showing
9 changed files
with
154 additions
and
53 deletions.
There are no files selected for viewing
0
Assets/Ionic.Zip.dll → ...nal Tools/SketchfabExporter/Ionic.Zip.dll
100644 → 100755
File renamed without changes.
14 changes: 14 additions & 0 deletions
14
Assets/External Tools/SketchfabExporter/Ionic.Zip.dll.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
Sketchfab unity exporter | ||
======================== | ||
|
||
The Sketchfab exporter for Unity is a script that helps uploading models from a Unity project to a Sketchfab model in just a few clicks. | ||
|
||
Release date: Nov 22, 2013 | ||
Last update: Aug 12, 2015 | ||
Unity version: 5.1.1f1 | ||
Author: Sketchfab, Clément Léger, Bryan Thatcher | ||
|
||
Installation | ||
------------ | ||
Download the unitypackage file and install it from *Assets → Import Package → Custom Package...* | ||
|
||
Or download this repository and copy assets and its content into the root of your Unity project. | ||
|
||
You should have the files : | ||
- Assets/External Tools/SketchfabExporter/SketchfabExporterWindow.cs | ||
- Assets/External Tools/SketchfabExporter/SimpleJSON.cs | ||
- Assets/External Tools/SketchfabExporter/Ionic.Zip.dll | ||
|
||
The Unity project is automatically updated and a new menu item will appear: *Window → Export Selection to Sketchfab...* | ||
|
||
Usage | ||
----- | ||
You must save your scene before using the exporter. | ||
|
||
Your project build settings shoud be set to *PC, Mac & Linux Standalone*. It won't work with Web Player, for example, because it does not allow manipulation of OBJ/ZIP files. | ||
|
||
Select the objects you want to export - static geometry and skinned meshes. Basically, MeshFilter objects SkinnedMeshRenderer are exported which covers most static geometry and characters in T-pose. | ||
|
||
Open the *Export Selection to Sketchfab...* window, add model metadata and your API token ( https://sketchfab.com/settings/password ) | ||
|
||
- Title | ||
- Description | ||
- Tags (space-sparated) | ||
- Private (PRO and Business accounts only) | ||
- Password (Optional for private models) | ||
|
||
When the fields are set just press *Upload to Sketchfab* and wait, depending on the textures and your connection speed it could take some time until a message box appears informing you of the upload result. | ||
|
||
Contact | ||
------- | ||
Please send your questions or feedback to [email protected] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
Assets/External Tools/SketchfabExporter/SimpleJSON.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
Assets/External Tools/SketchfabExporter/SketchfabExporterWindow.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,35 +4,40 @@ Sketchfab unity exporter | |
The Sketchfab exporter for Unity is a script that helps uploading models from a Unity project to a Sketchfab model in just a few clicks. | ||
|
||
Release date: Nov 22, 2013 | ||
Last update: Apr 23, 2014 | ||
Unity version: 4.3.4f1 | ||
Author: Clément Léger ([email protected]), Sketchfab ([email protected]) | ||
Last update: Aug 12, 2015 | ||
Unity version: 5.1.1f1 | ||
Author: Sketchfab, Clément Léger, Bryan Thatcher | ||
|
||
Installation | ||
------------ | ||
Just copy the folder Assets and its content into the root of your Unity project. | ||
You should have the files : | ||
- Assets/External Tools/Exporter/EditorObjExporter.cs | ||
- Assets/External Tools/Exporter/SimpleJSON.cs | ||
- Assets/Ionic.Zip.dll | ||
Download the unitypackage file and install it from *Assets → Import Package → Custom Package...* | ||
|
||
Or download this repository and copy assets and its content into the root of your Unity project. | ||
|
||
The Unity project is automatically updated so the installation is done when a menu "Custom" should appear and reveal a "Export to Sketchfab" option. | ||
You should have the files : | ||
- Assets/External Tools/SketchfabExporter/SketchfabExporterWindow.cs | ||
- Assets/External Tools/SketchfabExporter/SimpleJSON.cs | ||
- Assets/External Tools/SketchfabExporter/Ionic.Zip.dll | ||
|
||
Your project must not build for the Web Player as it disallows the manipulation of obj/zip files. | ||
To switch the build, go to File menu, and click on the Build Settings... entry. Then select a different platform than Web Player, for instance PC, Mac & Linux Standalone. | ||
The Unity project is automatically updated and a new menu item will appear: *Window → Export Selection to Sketchfab...* | ||
|
||
Usage | ||
----- | ||
Select in your scene the objects you want to export. Are exported static geometry but also skinned meshes. | ||
Basically, MeshFilter objects SkinnedMeshRenderer are exported which covers most static geometry and characters in T-pose. | ||
You must save your scene before using the exporter. | ||
|
||
Your project build settings shoud be set to *PC, Mac & Linux Standalone*. It won't work with Web Player, for example, because it does not allow manipulation of OBJ/ZIP files. | ||
|
||
Select the objects you want to export - static geometry and skinned meshes. Basically, MeshFilter objects SkinnedMeshRenderer are exported which covers most static geometry and characters in T-pose. | ||
|
||
Then open the Custom menu, then Export and finally click on "Export to Sketchfab". | ||
A window will open and some parameters are required in order to upload your model. | ||
Open the *Export Selection to Sketchfab...* window, add model metadata and your API token ( https://sketchfab.com/settings/password ) | ||
|
||
The token field matches the api key token you can find on your dashboard : http://sketchfab.com/dashboard and is required so the exporter links the model to your account. | ||
Following options are basic models properties : private if your account allows it, the model title, its description and a list of space separated tags. | ||
- Title | ||
- Description | ||
- Tags (space-sparated) | ||
- Private (PRO and Business accounts only) | ||
- Password (Optional for private models) | ||
|
||
When the fields are set just press the Upload button and wait, depending on the textures and your speed connection it could take some time until a message box appears informing you of the upload result. | ||
When the fields are set just press *Upload to Sketchfab* and wait, depending on the textures and your connection speed it could take some time until a message box appears informing you of the upload result. | ||
|
||
Contact | ||
------- | ||
|