Skip to content

Commit

Permalink
updated texconv to fix a bug that cubemap images will be written on n…
Browse files Browse the repository at this point in the history
…on-zeroed buffers
  • Loading branch information
matyalatte committed Jan 19, 2023
1 parent 58d5458 commit 6b0d55c
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@ jobs:
if: runner.os=='Windows'
run: |
cd external/Texconv-Custom-DLL/batch_files
./build_dds_full_support.bat
./build_small.bat
- name: build shared library (for Unix)
if: runner.os!='Windows'
run: |
cd external/Texconv-Custom-DLL/shell_scripts
bash build_dds_full_support.sh
bash build_small.sh
- name: Copy files
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,13 @@ jobs:
- name: build dll (for Windows)
if: runner.os=='Windows'
run: |
external/Texconv-Custom-DLL/batch_files/build_dds_full_support.bat
external/Texconv-Custom-DLL/batch_files/build_small.bat
cp external/Texconv-Custom-DLL/texconv.dll addons/blender_dds_addon/directx
- name: build shared library (for Unix)
if: runner.os!='Windows'
run: |
bash external/Texconv-Custom-DLL/shell_scripts/build_dds_full_support.sh
bash external/Texconv-Custom-DLL/shell_scripts/build_small.sh
cp external/Texconv-Custom-DLL/libtexconv.* addons/blender_dds_addon/directx
- name: Set up Python v${{ matrix.python-version }}
Expand Down
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ ver 0.2.0
- Added "Import from a Directory" operation
- Added "Export All Images" operation
- Added custom properties to store meta data
- Updated texconv to fix a bug that cubemap images will be written on non-zeroed buffers
- Refined codes

ver 0.1.3
Expand Down
4 changes: 2 additions & 2 deletions docs/How-To-Build.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ It'll download the file and place it in a proper location.
### for Windows

Move to `./Blender-DDS-Addon/external/Texconv-Custom-DLL/batch_files`.
Then, type `build_dds_full_support.bat`.
Then, type `build_small.bat`.
`texconv.dll` will be generated in `./Blender-DDS-Addon/external/Texconv-Custom-DLL/`

### for Unix

Move to `./Blender-DDS-Addon/external/Texconv-Custom-DLL/shell_scripts`.
Then, type `bash build_dds_full_support.sh`.
Then, type `bash build_small.sh`.
`libtexconv.so` (or `libtexconv.dylib`) will be generated in `./Blender-DDS-Addon/external/Texconv-Custom-DLL/`

## 4. Copy Texconv
Expand Down

0 comments on commit 6b0d55c

Please sign in to comment.