Skip to content

Commit 4f9ebbb

Browse files
author
Babylon.js Platform
committed
Version update 7.51.1
1 parent 6d4ec23 commit 4f9ebbb

File tree

38 files changed

+323
-163
lines changed

38 files changed

+323
-163
lines changed

.build/changelog.json

+141-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,146 @@
11
{
2-
"fromTag": "7.50.0",
2+
"fromTag": "7.51.0",
33
"changelog": {
4+
"7.51.1": [
5+
{
6+
"pr": "16232",
7+
"title": "Better preview update for NGE",
8+
"description": null,
9+
"author": {
10+
"name": "deltakosh",
11+
"url": "https://github.com/deltakosh"
12+
},
13+
"files": [
14+
"packages/tools/nodeGeometryEditor/src/components/preview/previewManager.ts"
15+
],
16+
"tags": [
17+
"nge"
18+
]
19+
},
20+
{
21+
"pr": "16229",
22+
"title": "PBR: Fix refraction transmittance",
23+
"description": "This will fix the problem with iridescence for some models.\r\n\r\n",
24+
"author": {
25+
"name": "Popov72",
26+
"url": "https://github.com/Popov72"
27+
},
28+
"files": [
29+
"packages/dev/core/src/Shaders/ShadersInclude/pbrBlockSubSurface.fx",
30+
"packages/dev/core/src/ShadersWGSL/ShadersInclude/pbrBlockSubSurface.fx"
31+
],
32+
"tags": [
33+
"bug",
34+
"materials",
35+
"breaking change"
36+
]
37+
},
38+
{
39+
"pr": "16223",
40+
"title": "Viewer: adaptToDeviceRatio",
41+
"description": "This change enables `adaptToDeviceRatio` by default at the `Viewer` layer, and also uses `SceneOptimizer` + `HardwareScalingOptimization` to dynamically reduce resolution as necessary if we aren't hitting target frame rate. This is not currently configurable, but I think this is a net improvement since previously it was always locked in at the bottom of the dynamic range introduced with this change. If we get asks from users, we can make this more configurable.\r\n\r\nSome notes on this change:\r\n- Previously it was possible for `HardwareScalingOptimization` to go beyond the specified `maximumScale`, so I made a small fix for this.\r\n- Whenever a model is loaded, we reset hardware scaling back to its original value and then let `SceneOptimzer` re-run.\r\n- Since the scene doesn't render continuously (e.g. we suspend scene rendering when nothing is changing), we also stop/start the scene optimizer when scene rendering suspends/resumes.\r\n- We now take into account the hardware scaling level when computing the screen space coordinates of hotspot annotations (so the value is in css pixels, which is what we want for laying out html elements).",
42+
"author": {
43+
"name": "ryantrem",
44+
"url": "https://github.com/ryantrem"
45+
},
46+
"files": [
47+
"packages/dev/core/src/Misc/sceneOptimizer.ts",
48+
"packages/tools/viewer/src/viewer.ts",
49+
"packages/tools/viewer/src/viewerElement.ts",
50+
"packages/tools/viewer/src/viewerFactory.ts",
51+
"packages/tools/viewer/test/apps/web/index.html"
52+
],
53+
"tags": []
54+
},
55+
{
56+
"pr": "16217",
57+
"title": "TextInputLineComponent input handling",
58+
"description": "Property updates were happening with each keystroke, resulting in errors while user was still typing for certain use cases.\r\n\r\n* Restrict property update only to when: “Enter” pressed (single-line), arrows pressed, on lost focus, or on exit (new)\r\n * No more property updates every keystroke\r\n * No more property updates after “Enter” pressed for multiline inputs\r\n* Restrict re-formatting to only when property updates\r\n* Continue to check for certain illegal inputs per keystroke\r\n* Allow user to keep editing invalid inputs\r\n * Add red highlight when input invalid\r\n* onValidateChangeFailed parameter to separate error messages from input validation",
59+
"author": {
60+
"name": "alexchuber",
61+
"url": "https://github.com/alexchuber"
62+
},
63+
"files": [
64+
"packages/dev/sharedUiComponents/src/lines/textInputLineComponent.tsx",
65+
"packages/tools/nodeEditor/src/graphSystem/properties/genericNodePropertyComponent.tsx"
66+
],
67+
"tags": []
68+
},
69+
{
70+
"pr": "16228",
71+
"title": "Revert \"TextInputLineComponent input handling\"",
72+
"description": "Reverts BabylonJS/Babylon.js#16217",
73+
"author": {
74+
"name": "deltakosh",
75+
"url": "https://github.com/deltakosh"
76+
},
77+
"files": [
78+
"packages/dev/sharedUiComponents/src/lines/textInputLineComponent.tsx",
79+
"packages/tools/nodeEditor/src/graphSystem/properties/genericNodePropertyComponent.tsx"
80+
],
81+
"tags": []
82+
},
83+
{
84+
"pr": "16227",
85+
"title": "Fix is32Bits detection in geometry setIndexBuffer",
86+
"description": null,
87+
"author": {
88+
"name": "sebavan",
89+
"url": "https://github.com/sebavan"
90+
},
91+
"files": [
92+
"packages/dev/core/src/Meshes/geometry.ts"
93+
],
94+
"tags": [
95+
"bug",
96+
"rendering engine"
97+
]
98+
},
99+
{
100+
"pr": "16225",
101+
"title": "CC Acceleration/max acceleration exposed",
102+
"description": "Follow up https://forum.babylonjs.com/t/physicscharactercontroller-drift-friction-ignored/56822\r\n\r\nPG : http://playground.babylonjs.com/#K3IU33#4\r\n\r\n",
103+
"author": {
104+
"name": "CedricGuillemet",
105+
"url": "https://github.com/CedricGuillemet"
106+
},
107+
"files": [
108+
"packages/dev/core/src/Physics/v2/characterController.ts"
109+
],
110+
"tags": [
111+
"physics"
112+
]
113+
},
114+
{
115+
"pr": "16220",
116+
"title": "Viewer: Make assetContainer optional for _getHotSpotToRef function",
117+
"description": "Moved the condition on the `assetContainer` in the `surface` hot spot case to allow calling this function with a nullable `assetContainer` for `world` hot spots in a multi-model scenario.",
118+
"author": {
119+
"name": "cournoll",
120+
"url": "https://github.com/cournoll"
121+
},
122+
"files": [
123+
"packages/tools/viewer/src/viewer.ts"
124+
],
125+
"tags": []
126+
},
127+
{
128+
"pr": "16224",
129+
"title": "Screenshots: Add a customDumpData function parameter to CreateScreenshotUsingRenderTarget",
130+
"description": "See https://forum.babylonjs.com/t/memory-leak-in-screenshots/37178/29",
131+
"author": {
132+
"name": "Popov72",
133+
"url": "https://github.com/Popov72"
134+
},
135+
"files": [
136+
"packages/dev/core/src/Misc/screenshotTools.ts"
137+
],
138+
"tags": [
139+
"enhancement",
140+
"rendering engine"
141+
]
142+
}
143+
],
4144
"7.51.0": [
5145
{
6146
"pr": "16207",

CHANGELOG.md

+20
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
# Changelog
22

3+
## 7.51.1
4+
5+
### Core
6+
7+
- PBR: Fix refraction transmittance - [_Bug Fix_] by [Popov72](https://github.com/Popov72) ([#16229](https://github.com/BabylonJS/Babylon.js/pull/16229))
8+
- Viewer: adaptToDeviceRatio - by [ryantrem](https://github.com/ryantrem) ([#16223](https://github.com/BabylonJS/Babylon.js/pull/16223))
9+
- Fix is32Bits detection in geometry setIndexBuffer - [_Bug Fix_] by [sebavan](https://github.com/sebavan) ([#16227](https://github.com/BabylonJS/Babylon.js/pull/16227))
10+
- CC Acceleration/max acceleration exposed - by [CedricGuillemet](https://github.com/CedricGuillemet) ([#16225](https://github.com/BabylonJS/Babylon.js/pull/16225))
11+
- Screenshots: Add a customDumpData function parameter to CreateScreenshotUsingRenderTarget - by [Popov72](https://github.com/Popov72) ([#16224](https://github.com/BabylonJS/Babylon.js/pull/16224))
12+
13+
### Node Editor
14+
15+
- TextInputLineComponent input handling - by [alexchuber](https://github.com/alexchuber) ([#16217](https://github.com/BabylonJS/Babylon.js/pull/16217))
16+
- Revert "TextInputLineComponent input handling" - by [deltakosh](https://github.com/deltakosh) ([#16228](https://github.com/BabylonJS/Babylon.js/pull/16228))
17+
18+
### Viewer
19+
20+
- Viewer: adaptToDeviceRatio - by [ryantrem](https://github.com/ryantrem) ([#16223](https://github.com/BabylonJS/Babylon.js/pull/16223))
21+
- Viewer: Make assetContainer optional for _getHotSpotToRef function - by [cournoll](https://github.com/cournoll) ([#16220](https://github.com/BabylonJS/Babylon.js/pull/16220))
22+
323
## 7.51.0
424

525
### Core

0 commit comments

Comments
 (0)