@zephyr3d/editor 0.3.4 → 0.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{index-DzQzWsCG.js → index-DlnbO59X.js} +2 -2
- package/dist/assistant/zephyr-types-index.json +9 -10
- package/dist/index.html +1 -1
- package/dist/modules/zephyr3d_backend-webgpu.js +13 -12
- package/dist/modules/zephyr3d_backend-webgpu.js.map +1 -1
- package/dist/modules/zephyr3d_base.js +152 -152
- package/dist/modules/zephyr3d_base.js.map +1 -1
- package/dist/modules/zephyr3d_device.js +15 -15
- package/dist/modules/zephyr3d_device.js.map +1 -1
- package/dist/modules/zephyr3d_loaders.js +6 -6
- package/dist/modules/zephyr3d_loaders.js.map +1 -1
- package/dist/modules/zephyr3d_scene.js +1382 -1385
- package/dist/modules/zephyr3d_scene.js.map +1 -1
- package/dist/vendor/zephyr3d/backend-webgpu/dist/capabilities_webgpu.js +7 -6
- package/dist/vendor/zephyr3d/backend-webgpu/dist/capabilities_webgpu.js.map +1 -1
- package/dist/vendor/zephyr3d/backend-webgpu/dist/renderpass_webgpu.js +6 -6
- package/dist/vendor/zephyr3d/backend-webgpu/dist/renderpass_webgpu.js.map +1 -1
- package/dist/vendor/zephyr3d/base/dist/vfs/common.js +152 -152
- package/dist/vendor/zephyr3d/base/dist/vfs/common.js.map +1 -1
- package/dist/vendor/zephyr3d/device/dist/device.js +15 -15
- package/dist/vendor/zephyr3d/device/dist/device.js.map +1 -1
- package/dist/vendor/zephyr3d/loaders/dist/gltf/gltf_importer.js +6 -6
- package/dist/vendor/zephyr3d/loaders/dist/gltf/gltf_importer.js.map +1 -1
- package/dist/vendor/zephyr3d/scene/dist/animation/animationset.js +191 -194
- package/dist/vendor/zephyr3d/scene/dist/animation/animationset.js.map +1 -1
- package/dist/vendor/zephyr3d/scene/dist/animation/joint_dynamics_modifier.js +19 -19
- package/dist/vendor/zephyr3d/scene/dist/animation/joint_dynamics_modifier.js.map +1 -1
- package/dist/vendor/zephyr3d/scene/dist/app/engine.js +131 -131
- package/dist/vendor/zephyr3d/scene/dist/app/engine.js.map +1 -1
- package/dist/vendor/zephyr3d/scene/dist/app/scriptregistry.js +119 -119
- package/dist/vendor/zephyr3d/scene/dist/app/scriptregistry.js.map +1 -1
- package/dist/vendor/zephyr3d/scene/dist/asset/model.js +62 -62
- package/dist/vendor/zephyr3d/scene/dist/asset/model.js.map +1 -1
- package/dist/vendor/zephyr3d/scene/dist/avatar/wardrobe.js +13 -13
- package/dist/vendor/zephyr3d/scene/dist/avatar/wardrobe.js.map +1 -1
- package/dist/vendor/zephyr3d/scene/dist/camera/camera.js +201 -201
- package/dist/vendor/zephyr3d/scene/dist/camera/camera.js.map +1 -1
- package/dist/vendor/zephyr3d/scene/dist/index.d.ts +1 -1
- package/dist/vendor/zephyr3d/scene/dist/material/mixins/lightmodel/pbrmetallicroughness.js +5 -5
- package/dist/vendor/zephyr3d/scene/dist/material/mixins/lightmodel/pbrmetallicroughness.js.map +1 -1
- package/dist/vendor/zephyr3d/scene/dist/material/mtoon.js +4 -4
- package/dist/vendor/zephyr3d/scene/dist/material/mtoon.js.map +1 -1
- package/dist/vendor/zephyr3d/scene/dist/material/pbrblueprint.js +11 -11
- package/dist/vendor/zephyr3d/scene/dist/material/pbrblueprint.js.map +1 -1
- package/dist/vendor/zephyr3d/scene/dist/material/shader/helper.js +284 -284
- package/dist/vendor/zephyr3d/scene/dist/material/shader/helper.js.map +1 -1
- package/dist/vendor/zephyr3d/scene/dist/posteffect/ssr.js +9 -9
- package/dist/vendor/zephyr3d/scene/dist/posteffect/ssr.js.map +1 -1
- package/dist/vendor/zephyr3d/scene/dist/render/lightpass.js +5 -5
- package/dist/vendor/zephyr3d/scene/dist/render/lightpass.js.map +1 -1
- package/dist/vendor/zephyr3d/scene/dist/render/renderer.js +7 -7
- package/dist/vendor/zephyr3d/scene/dist/render/renderer.js.map +1 -1
- package/dist/vendor/zephyr3d/scene/dist/shadow/esm.js +1 -1
- package/dist/vendor/zephyr3d/scene/dist/shadow/esm.js.map +1 -1
- package/dist/vendor/zephyr3d/scene/dist/shadow/shadow_region.js +45 -45
- package/dist/vendor/zephyr3d/scene/dist/shadow/shadow_region.js.map +1 -1
- package/dist/vendor/zephyr3d/scene/dist/utility/serialization/manager.js +275 -275
- package/dist/vendor/zephyr3d/scene/dist/utility/serialization/manager.js.map +1 -1
- package/dist/vendor/zephyr3d/scene/dist/utility/serialization/scene/camera.js.map +1 -1
- package/dist/vendor/zephyr3d/scene/dist/utility/serialization/scene/mesh.js.map +1 -1
- package/dist/vendor/zephyr3d/scene/dist/utility/serialization/scene/sprite.js.map +1 -1
- package/package.json +3 -3
- package/dist/vendor/zephyr3d/scene/dist/animation/joint_dynamics/convex_collider.js +0 -320
- package/dist/vendor/zephyr3d/scene/dist/animation/joint_dynamics/convex_collider.js.map +0 -1
|
@@ -24893,7 +24893,7 @@ class DepsContentData extends ListViewData {
|
|
|
24893
24893
|
return this.elements;
|
|
24894
24894
|
}
|
|
24895
24895
|
getItemIcon() {
|
|
24896
|
-
return "
|
|
24896
|
+
return "📦";
|
|
24897
24897
|
}
|
|
24898
24898
|
getItemName(item) {
|
|
24899
24899
|
return item.name;
|
|
@@ -40536,7 +40536,7 @@ class DlgEditorSettings extends DialogRenderer {
|
|
|
40536
40536
|
return this._clearApiKey;
|
|
40537
40537
|
}
|
|
40538
40538
|
}
|
|
40539
|
-
const EDITOR_VERSION = "0.3.
|
|
40539
|
+
const EDITOR_VERSION = "0.3.4";
|
|
40540
40540
|
class DlgAbout extends DialogRenderer {
|
|
40541
40541
|
static LABEL_COLUMN_WIDTH = 110;
|
|
40542
40542
|
static about(title) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 1,
|
|
3
|
-
"generatedAt": "2026-06-
|
|
3
|
+
"generatedAt": "2026-06-25T07:12:44.910Z",
|
|
4
4
|
"vendorRoot": "dist/vendor/zephyr3d",
|
|
5
5
|
"packages": [
|
|
6
6
|
"base",
|
|
@@ -9123,11 +9123,11 @@
|
|
|
9123
9123
|
"containerSymbol": "AnimationSet",
|
|
9124
9124
|
"kind": "member",
|
|
9125
9125
|
"signature": "playAnimation(name: string, options?: PlayAnimationOptions): void;",
|
|
9126
|
-
"docs": "Start (or update) playback of an animation clip.\n\nBehavior:\n- If the clip is already playing,
|
|
9127
|
-
"jsDoc": "Start (or update) playback of an animation clip.\n\nBehavior:\n- If the clip is already playing,
|
|
9126
|
+
"docs": "Start (or update) playback of an animation clip.\n\nBehavior:\n- If the clip is already playing, stops it first.\n- Otherwise initializes playback state (repeat counter, speed, weight, initial time).\n- Registers clip tracks and skeletons into the active sets for blending and application.",
|
|
9127
|
+
"jsDoc": "Start (or update) playback of an animation clip.\n\nBehavior:\n- If the clip is already playing, stops it first.\n- Otherwise initializes playback state (repeat counter, speed, weight, initial time).\n- Registers clip tracks and skeletons into the active sets for blending and application.\n\n@param name - Name of the animation to play.\n@param options - Playback options (repeat, speedRatio, fadeIn).",
|
|
9128
9128
|
"startLine": 9930,
|
|
9129
9129
|
"endLine": 9941,
|
|
9130
|
-
"searchText": "AnimationSet.playAnimation\nplayAnimation(name: string, options?: PlayAnimationOptions): void;\nStart (or update) playback of an animation clip.\n\nBehavior:\n- If the clip is already playing,
|
|
9130
|
+
"searchText": "AnimationSet.playAnimation\nplayAnimation(name: string, options?: PlayAnimationOptions): void;\nStart (or update) playback of an animation clip.\n\nBehavior:\n- If the clip is already playing, stops it first.\n- Otherwise initializes playback state (repeat counter, speed, weight, initial time).\n- Registers clip tracks and skeletons into the active sets for blending and application.\nStart (or update) playback of an animation clip.\n\nBehavior:\n- If the clip is already playing, stops it first.\n- Otherwise initializes playback state (repeat counter, speed, weight, initial time).\n- Registers clip tracks and skeletons into the active sets for blending and application.\n\n@param name - Name of the animation to play.\n@param options - Playback options (repeat, speedRatio, fadeIn).\nscene/dist/index.d.ts\nscene\nmember",
|
|
9131
9131
|
"keywords": [
|
|
9132
9132
|
"animation",
|
|
9133
9133
|
"set",
|
|
@@ -9149,12 +9149,9 @@
|
|
|
9149
9149
|
"is",
|
|
9150
9150
|
"already",
|
|
9151
9151
|
"playing",
|
|
9152
|
-
"
|
|
9153
|
-
"
|
|
9154
|
-
"
|
|
9155
|
-
"in",
|
|
9156
|
-
"resets",
|
|
9157
|
-
"out",
|
|
9152
|
+
"stops",
|
|
9153
|
+
"it",
|
|
9154
|
+
"first",
|
|
9158
9155
|
"otherwise",
|
|
9159
9156
|
"initializes",
|
|
9160
9157
|
"state",
|
|
@@ -9177,6 +9174,8 @@
|
|
|
9177
9174
|
"param",
|
|
9178
9175
|
"to",
|
|
9179
9176
|
"ratio",
|
|
9177
|
+
"fade",
|
|
9178
|
+
"in",
|
|
9180
9179
|
"scene",
|
|
9181
9180
|
"dist",
|
|
9182
9181
|
"index",
|
package/dist/index.html
CHANGED
|
@@ -2843,6 +2843,7 @@ class WebGPUTextureCaps {
|
|
|
2843
2843
|
this.maxCubeTextureSize = device.device.limits.maxTextureDimension2D;
|
|
2844
2844
|
this.npo2Mipmapping = true;
|
|
2845
2845
|
this.npo2Repeating = true;
|
|
2846
|
+
const float32Filterable = device.device.features.has('float32-filterable');
|
|
2846
2847
|
this._textureFormatInfos = {
|
|
2847
2848
|
['rgba8unorm']: {
|
|
2848
2849
|
gpuSampleType: 'float',
|
|
@@ -3094,8 +3095,8 @@ class WebGPUTextureCaps {
|
|
|
3094
3095
|
size: 2
|
|
3095
3096
|
};
|
|
3096
3097
|
this._textureFormatInfos['r32f'] = {
|
|
3097
|
-
gpuSampleType: 'unfilterable-float',
|
|
3098
|
-
filterable:
|
|
3098
|
+
gpuSampleType: float32Filterable ? 'float' : 'unfilterable-float',
|
|
3099
|
+
filterable: float32Filterable,
|
|
3099
3100
|
renderable: true,
|
|
3100
3101
|
compressed: false,
|
|
3101
3102
|
writable: true,
|
|
@@ -3194,8 +3195,8 @@ class WebGPUTextureCaps {
|
|
|
3194
3195
|
size: 4
|
|
3195
3196
|
};
|
|
3196
3197
|
this._textureFormatInfos['rg32f'] = {
|
|
3197
|
-
gpuSampleType: 'unfilterable-float',
|
|
3198
|
-
filterable:
|
|
3198
|
+
gpuSampleType: float32Filterable ? 'float' : 'unfilterable-float',
|
|
3199
|
+
filterable: float32Filterable,
|
|
3199
3200
|
renderable: true,
|
|
3200
3201
|
compressed: false,
|
|
3201
3202
|
writable: true,
|
|
@@ -3294,8 +3295,8 @@ class WebGPUTextureCaps {
|
|
|
3294
3295
|
size: 8
|
|
3295
3296
|
};
|
|
3296
3297
|
this._textureFormatInfos['rgba32f'] = {
|
|
3297
|
-
gpuSampleType: 'unfilterable-float',
|
|
3298
|
-
filterable:
|
|
3298
|
+
gpuSampleType: float32Filterable ? 'float' : 'unfilterable-float',
|
|
3299
|
+
filterable: float32Filterable,
|
|
3299
3300
|
renderable: true,
|
|
3300
3301
|
compressed: false,
|
|
3301
3302
|
writable: true,
|
|
@@ -4953,12 +4954,12 @@ class WebGPURenderPass {
|
|
|
4953
4954
|
const vy = this._device.screenYToDevice(this._currentViewport.y);
|
|
4954
4955
|
const vw = this._device.screenXToDevice(this._currentViewport.width);
|
|
4955
4956
|
const vh = this._device.screenYToDevice(this._currentViewport.height);
|
|
4956
|
-
/*
|
|
4957
|
-
if (vx < 0 || vy < 0 || vw > this._device.drawingBufferWidth || vh > this._device.drawingBufferHeight) {
|
|
4958
|
-
console.error(
|
|
4959
|
-
`** VIEWPORT ERROR **: (${vx}, ${vy}, ${vw}, ${vh}) => (0, 0, ${this._device.drawingBufferWidth}, ${this._device.drawingBufferHeight})`
|
|
4960
|
-
);
|
|
4961
|
-
}
|
|
4957
|
+
/*
|
|
4958
|
+
if (vx < 0 || vy < 0 || vw > this._device.drawingBufferWidth || vh > this._device.drawingBufferHeight) {
|
|
4959
|
+
console.error(
|
|
4960
|
+
`** VIEWPORT ERROR **: (${vx}, ${vy}, ${vw}, ${vh}) => (0, 0, ${this._device.drawingBufferWidth}, ${this._device.drawingBufferHeight})`
|
|
4961
|
+
);
|
|
4962
|
+
}
|
|
4962
4963
|
*/ if (this._renderPassEncoder) {
|
|
4963
4964
|
this._renderPassEncoder.setViewport(vx, this._device.drawingBufferHeight - vy - vh, vw, vh, 0, 1);
|
|
4964
4965
|
}
|