Skip to content

Commit 4fa6c0b

Browse files
committed
Merge branch 'main' into kit-107-update-2
2 parents f35e201 + 54498c1 commit 4fa6c0b

File tree

9 files changed

+24
-9
lines changed

9 files changed

+24
-9
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,9 @@ jobs:
138138
if: ${{ runner.os == 'Linux' && matrix.config.name != 'AlmaLinux 8 - GCC' }}
139139
run: |
140140
sudo apt update
141-
sudo apt install -y doxygen clang-tidy-15 gcovr
141+
sudo apt install -y doxygen clang-tidy-15 clang-format-15 gcovr
142+
sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-15 100
143+
sudo update-alternatives --set clang-format /usr/bin/clang-format-15
142144
sudo pip3 install conan==1.63.0 black==23.1.0 flake8==7.1.1 --ignore-installed
143145
144146
# Could not figure out how to add Chocolatey libraries to the PATH automatically with refreshenv, so
@@ -151,6 +153,7 @@ jobs:
151153
run: |
152154
choco install -y conan --version 1.63.0
153155
choco install -y llvm --version=15.0.7 --allow-downgrade
156+
echo "C:/Program Files/LLVM/bin" >> $env:GITHUB_PATH
154157
pip3 install black==23.1.0 flake8==7.1.1 requests
155158
echo "C:/Program Files/conan/conan" >> $env:GITHUB_PATH
156159

CHANGES.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Change Log
22

3-
### v0.25.0 - 2024-04-01
3+
### v0.25.0 - 2026-01-05
4+
5+
* Fixed loading KTX2 textures with mipmaps.
6+
7+
### v0.25.0 - 2025-04-01
48

59
* **Breaking change:** Cesium for Omniverse now requires Kit 106.5 or above (Isaac Sim 4.5.0 or above).
610

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ endif()
99
# Both CXX and C need to be given otherwise Conan may ignore the CMAKE_C_COMPILER flag
1010
project(
1111
CesiumOmniverse
12-
VERSION 0.24.0
12+
VERSION 0.26.0
1313
DESCRIPTION "Cesium for Omniverse"
1414
LANGUAGES CXX C)
1515

apps/exts/cesium.performance.app/cesium/performance/app/extension.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
Tokens as CesiumTokens,
2424
)
2525

26-
ION_ACCESS_TOKEN = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJkZWI3NjA5Yy01Mjc1LTQzMmMtYTg5NS00NDU0NzI1ZWUzYTkiLCJpZCI6MjU5LCJpYXQiOjE3MzA0NjY1NDJ9.LAGLqUcOI1wUKYvpEYfgd0PfAbAB0pN9KsZjiMlyCks" # noqa: E501
26+
ION_ACCESS_TOKEN = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiIyYjg2NWRjMS1iM2EzLTQ0NmQtYTJlMi05MjEyMTcxYWI1YWMiLCJpZCI6MjU5LCJpYXQiOjE3Njc2Mjc1NTN9.bXYbdecWJWzddE_ZuYjIDtWS67bypgZUuXyDgEsukuo" # noqa: E501
2727
GOOGLE_3D_TILES_ION_ID = 2275207
2828

2929
CESIUM_DATA_PRIM_PATH = "/Cesium"

exts/cesium.omniverse/config/extension.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
version = "0.24.0"
2+
version = "0.26.0"
33
category = "simulation"
44
feature = false
55
app = false
@@ -33,7 +33,7 @@ python = false
3333

3434
# Which extensions this extension depends on
3535
[dependencies]
36-
"cesium.usd.plugins" = { version = "0.6.0" }
36+
"cesium.usd.plugins" = { version = "0.7.0" }
3737
"usdrt.scenegraph" = {}
3838
"omni.ui" = {}
3939
"omni.usd" = {}

exts/cesium.omniverse/premake5.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ repo_build.prebuild_link { "certs", ext.target_dir.."/certs" }
88
repo_build.prebuild_link { "cesium", ext.target_dir.."/cesium" }
99
repo_build.prebuild_link { "doc", ext.target_dir.."/doc" }
1010
repo_build.prebuild_link { "images", ext.target_dir.."/images" }
11+
repo_build.prebuild_link { "mdl", ext.target_dir.."/mdl" }
12+
repo_build.prebuild_link { "vendor", ext.target_dir.."/vendor" }

exts/cesium.usd.plugins/config/extension.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
order = -100
55

66
[package]
7-
version = "0.6.0"
7+
version = "0.7.0"
88
category = "simulation"
99
feature = false
1010
app = false

src/core/src/FabricTexture.cpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,15 @@ void FabricTexture::setImage(const CesiumGltf::ImageCesium& image, TransferFunct
120120
} else {
121121
// As of Kit 105.1, omni::ui::kAutoCalculateStride doesn't work for compressed textures. This value somehow works.
122122
const auto stride = isCompressed ? 4ULL * static_cast<uint64_t>(image.width) : omni::ui::kAutoCalculateStride;
123-
const auto data = reinterpret_cast<const uint8_t*>(image.pixelData.data());
123+
auto data = reinterpret_cast<const uint8_t*>(image.pixelData.data());
124124
const auto dimensions = carb::Uint2{static_cast<uint32_t>(image.width), static_cast<uint32_t>(image.height)};
125125

126+
if (!image.mipPositions.empty()) {
127+
// Just set the first mip level for now
128+
// Later, investigate using setMipMappedBytesData
129+
data = data + image.mipPositions[0].byteOffset;
130+
}
131+
126132
_pTexture->setBytesData(data, dimensions, stride, imageFormat);
127133
}
128134
}

vcpkg/ports/ktx/portfile.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
vcpkg_from_github(
22
OUT_SOURCE_PATH SOURCE_PATH
33
REPO KhronosGroup/KTX-Software
4-
REF "v${VERSION}"
4+
REF "refs/tags/v${VERSION}"
55
SHA512 5a89f8986464705ec36ac1becaddd0ff335e4c3c235468aaef0e963fcfeda4c0d669a086b91e61c16a3ae9e1fa5bf456dccf12cc65720e1a22e7cc0f30552541
66
HEAD_REF master
77
PATCHES

0 commit comments

Comments
 (0)