mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 12:17:45 +02:00
Merge pull request #258 from akamicah/update-unity-avatar-exporter
Update unity avatar exporter
This commit is contained in:
commit
4d782bc28b
4 changed files with 286 additions and 241 deletions
File diff suppressed because it is too large
Load diff
|
@ -1,6 +1,7 @@
|
||||||
High Fidelity, Inc.
|
|
||||||
Avatar Exporter
|
Avatar Exporter
|
||||||
Version 0.4.1
|
Version 0.5.0
|
||||||
|
Copyright 2018 High Fidelity, Inc.
|
||||||
|
Copyright 2022 Overte e.V.
|
||||||
|
|
||||||
Note: It is recommended to use Unity versions between 2017.4.15f1 and 2018.2.12f1 for this Avatar Exporter.
|
Note: It is recommended to use Unity versions between 2017.4.15f1 and 2018.2.12f1 for this Avatar Exporter.
|
||||||
|
|
||||||
|
@ -21,4 +22,4 @@ To update an existing avatar project:
|
||||||
* WARNING *
|
* WARNING *
|
||||||
If you are using any external textures as part of your .fbx model, be sure they are copied into the textures folder that is created in the project folder after exporting a new avatar.
|
If you are using any external textures as part of your .fbx model, be sure they are copied into the textures folder that is created in the project folder after exporting a new avatar.
|
||||||
|
|
||||||
For further details including troubleshooting tips, see the full documentation at https://docs.highfidelity.com/create-and-explore/avatars/create-avatars/unity-extension
|
For further details including troubleshooting tips, see the full documentation at https://docs.overte.org/create/avatars/find-avatars.html#overte-avatar-exporter-for-unity
|
||||||
|
|
Binary file not shown.
30
tools/unity-avatar-exporter/packager.sh
Executable file
30
tools/unity-avatar-exporter/packager.sh
Executable file
|
@ -0,0 +1,30 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
projectPath=$(dirname $0)
|
||||||
|
|
||||||
|
helpFunction()
|
||||||
|
{
|
||||||
|
echo ""
|
||||||
|
echo "Usage: $0 -u <UnityPath> -p <ProjectPath>"
|
||||||
|
echo -e "\t-u The path in which Unity exists"
|
||||||
|
echo -e "\t-p The path to build the project files (Default: ${projectPath})"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
while getopts "u:p" opt
|
||||||
|
do
|
||||||
|
case "$opt" in
|
||||||
|
u ) unityPath="$OPTARG" ;;
|
||||||
|
p ) projectPath="$OPTARG" ;;
|
||||||
|
? ) helpFunction ;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
if [ -z "$unityPath" ]
|
||||||
|
then
|
||||||
|
echo "Unity path was not provided";
|
||||||
|
helpFunction
|
||||||
|
fi
|
||||||
|
|
||||||
|
${unityPath}/Unity -quit -batchmode -projectPath ${projectPath} -exportPackage "Assets" "avatarExporter.unitypackage"
|
Loading…
Reference in a new issue