-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fe937d1
commit e875710
Showing
6 changed files
with
240 additions
and
5 deletions.
There are no files selected for viewing
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
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,30 @@ | ||
name: release | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Download artifacts | ||
uses: dawidd6/action-download-artifact@v2 | ||
with: | ||
workflow: cmake.yml | ||
branch: ${{ github.event.release.target_commitish }} | ||
workflow_conclusion: success | ||
|
||
- name: Repack them | ||
run: | | ||
for file in *; do | ||
if [ -d $file ]; then | ||
pushd $file | ||
7z a ../$file.7z . | ||
popd | ||
fi | ||
done | ||
- name: Release them | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
files: '*.7z' |
Submodule PreCore
updated
from 26234b to 8e98bd
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
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,159 @@ | ||
# HavokToolset | ||
|
||
Havok Toolset is a collection of conversion tools under HavokLib. | ||
|
||
This toolset runs on Spike foundation. | ||
|
||
Head to this **[Wiki](https://github.com/PredatorCZ/PreCore/wiki/Spike)** for more information on how to effectively use it. | ||
|
||
## Havok2GLTF | ||
|
||
### Module command: hk_to_gltf | ||
|
||
Converts Havok data into GLTF. | ||
|
||
Supports animation and skeleton data. | ||
|
||
### Settings | ||
|
||
- **extension-patterns** | ||
|
||
**CLI Long:** ***--extension-patterns***\ | ||
**CLI Short:** ***-p*** | ||
|
||
Specify extension patterns for file detecting separated by comma. | ||
|
||
- **animation** | ||
|
||
- **blend-override** | ||
|
||
**CLI Long:** ***--blend-override***\ | ||
**CLI Short:** ***-b*** | ||
|
||
**Default value:** AUTO | ||
|
||
**Valid values:** AUTO, NORMAL, ADDITIVE_DEPRECATED, ADDITIVE | ||
|
||
Override blend hint. | ||
|
||
- **sample-rate** | ||
|
||
**CLI Long:** ***--sample-rate***\ | ||
**CLI Short:** ***-r*** | ||
|
||
**Default value:** 60 | ||
|
||
Specify frames per second for GLTF. | ||
|
||
- **scale-type** | ||
|
||
**CLI Long:** ***--scale-type***\ | ||
**CLI Short:** ***-S*** | ||
|
||
**Default value:** NONE | ||
|
||
**Valid values:** | ||
|
||
- NONE: Ignore scale tracks. | ||
|
||
- INDEPENDENT: Input scale tracks does not affect child nodes positions. | ||
They also doesn't introduce shearing like in MATRICIAL case. | ||
They however require modified skeleton. See SkeletonGeneration. | ||
|
||
Select desired processing mode for node scale tracks. | ||
|
||
- **skeleton** | ||
|
||
- **skeleton-path** | ||
|
||
**CLI Long:** ***--skeleton-path***\ | ||
**CLI Short:** ***-s*** | ||
|
||
Specify path to a skeleton hkx. | ||
|
||
- **generation** | ||
|
||
**CLI Long:** ***--generation***\ | ||
**CLI Short:** ***-G*** | ||
|
||
**Default value:** DEFAULT | ||
|
||
**Valid values:** | ||
|
||
- DEFAULT: Do not modify skeleton in any way. | ||
|
||
- AUTO: Automatically detect nodes with children where scale animation might occur. | ||
|
||
- MANUAL: Manually select bones (in gen-cbones) where scale motion occurs and have child nodes. | ||
|
||
Set additional skeleton modifications. | ||
|
||
- **gen-cbones** | ||
|
||
**CLI Long:** ***--gen-cbones***\ | ||
**CLI Short:** ***-B*** | ||
|
||
Comma separated bone names where should be applied scale tracks. | ||
|
||
- **visualize** | ||
|
||
**CLI Long:** ***--visualize***\ | ||
**CLI Short:** ***-V*** | ||
|
||
**Default value:** true | ||
|
||
Create visualization mesh for skeletons. (Enforces armature object for Blender) | ||
|
||
- **scene** | ||
|
||
- **units** | ||
|
||
**CLI Long:** ***--units***\ | ||
**CLI Short:** ***-u*** | ||
|
||
**Default value:** METER | ||
|
||
**Valid values:** MM, CM, DM, METER, KM, INCH, FEET, MILE, CUSTOM | ||
|
||
Input scene units. | ||
|
||
- **custom-scale** | ||
|
||
**CLI Long:** ***--custom-scale***\ | ||
**CLI Short:** ***-C*** | ||
|
||
**Default value:** 1 | ||
|
||
Set unit scale in case of CUSTOM units. | ||
|
||
- **up-axis** | ||
|
||
**CLI Long:** ***--up-axis***\ | ||
**CLI Short:** ***-U*** | ||
|
||
**Default value:** Y+ | ||
|
||
**Valid values:** X-, Y-, Z-, X+, Y+, Z+ | ||
|
||
Input scene up axis. | ||
|
||
- **forward-axis** | ||
|
||
**CLI Long:** ***--forward-axis***\ | ||
**CLI Short:** ***-F*** | ||
|
||
**Default value:** Z+ | ||
|
||
**Valid values:** X-, Y-, Z-, X+, Y+, Z+ | ||
|
||
Input scene forward axis. | ||
|
||
- **right-handed** | ||
|
||
**CLI Long:** ***--right-handed***\ | ||
**CLI Short:** ***-R*** | ||
|
||
**Default value:** true | ||
|
||
Input scene uses right handed coordiante system. (Finicky with root motion rotations) | ||
|
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,10 @@ | ||
<?xml version="1.0"?> | ||
<toolset_name>HavokToolset</toolset_name> | ||
<toolset_description>Havok Toolset is a collection of conversion tools under HavokLib. | ||
|
||
This toolset runs on Spike foundation. | ||
|
||
Head to this **[Wiki](https://github.com/PredatorCZ/PreCore/wiki/Spike)** for more information on how to effectively use it.</toolset_description> | ||
<hk_to_gltf>Converts Havok data into GLTF. | ||
|
||
Supports animation and skeleton data.</hk_to_gltf> |