From 8777a4abdefa5617a2b5757740c9a3d803385dfd Mon Sep 17 00:00:00 2001 From: "Mr.doob" Date: Tue, 10 Feb 2026 10:12:06 +0900 Subject: [PATCH 1/2] Updated docs. --- docs/index.html | 1 + docs/pages/OrbitControls.html | 7 +++++++ docs/pages/OrbitControls.html.md | 6 ++++++ docs/pages/Renderer.html | 20 +++++++++++++++++- docs/pages/Renderer.html.md | 15 +++++++++++++- docs/pages/TSL.html | 34 +++++++++++++++++++++++++++++++ docs/pages/TSL.html.md | 16 +++++++++++++++ docs/pages/WebGPURenderer.html | 11 ++++++++++ docs/pages/WebGPURenderer.html.md | 7 +++++++ docs/search.json | 12 +++++++++++ 10 files changed, 127 insertions(+), 2 deletions(-) diff --git a/docs/index.html b/docs/index.html index 16f393fb204f8c..8e98d9fc16c220 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1491,6 +1491,7 @@

TSL

  • viewZToLogarithmicDepth
  • viewZToOrthographicDepth
  • viewZToPerspectiveDepth
  • +
  • viewZToReversedPerspectiveDepth
  • viewport
  • viewportCoordinate
  • viewportDepthTexture
  • diff --git a/docs/pages/OrbitControls.html b/docs/pages/OrbitControls.html index 4cf8bec2248084..783b58fd1651ad 100644 --- a/docs/pages/OrbitControls.html +++ b/docs/pages/OrbitControls.html @@ -95,6 +95,13 @@

    .cursortarget.

    +
    +

    .cursorStyle : 'auto' | 'grab'

    +
    +

    Defines the visual representation of the cursor.

    +

    Default is 'auto'.

    +
    +

    .dampingFactor : number

    diff --git a/docs/pages/OrbitControls.html.md b/docs/pages/OrbitControls.html.md index 71c1a9242bf2e6..9205732b911bb0 100644 --- a/docs/pages/OrbitControls.html.md +++ b/docs/pages/OrbitControls.html.md @@ -70,6 +70,12 @@ Default is `2`. The focus point of the `minTargetRadius` and `maxTargetRadius` limits. It can be updated manually at any point to change the center of interest for the `target`. +### .cursorStyle : 'auto' | 'grab' + +Defines the visual representation of the cursor. + +Default is `'auto'`. + ### .dampingFactor : number The damping inertia used if `enableDamping` is set to `true`. diff --git a/docs/pages/Renderer.html b/docs/pages/Renderer.html index 8cd6f78a48d26b..1a1dc73cfff889 100644 --- a/docs/pages/Renderer.html +++ b/docs/pages/Renderer.html @@ -227,7 +227,7 @@

    .lighting<

    -

    .logarithmicDepthBuffer : boolean

    +

    .logarithmicDepthBuffer : boolean (readonly)

    Whether logarithmic depth buffer is enabled or not.

    Default is false.

    @@ -260,6 +260,13 @@

    . +

    .reversedDepthBuffer : boolean (readonly)

    +
    +

    Whether reversed depth buffer is enabled or not.

    +

    Default is false.

    +
    +

    .samples : number

    @@ -1881,6 +1888,17 @@

    .Options <

    Default is false.

    + + + reversedDepthBuffer +
    +boolean + + +

    Whether reversed depth buffer is enabled or not.

    +

    Default is false.

    + + alpha diff --git a/docs/pages/Renderer.html.md b/docs/pages/Renderer.html.md index d4bc4d3a3accb7..caaa6effe72df0 100644 --- a/docs/pages/Renderer.html.md +++ b/docs/pages/Renderer.html.md @@ -133,7 +133,7 @@ The node library defines how certain library objects like materials, lights or t A map-like data structure for managing lights. -### .logarithmicDepthBuffer : boolean +### .logarithmicDepthBuffer : boolean (readonly) Whether logarithmic depth buffer is enabled or not. @@ -159,6 +159,12 @@ Defines the output color space of the renderer. Default is `SRGBColorSpace`. +### .reversedDepthBuffer : boolean (readonly) + +Whether reversed depth buffer is enabled or not. + +Default is `false`. + ### .samples : number The number of samples used for multi-sample anti-aliasing (MSAA). @@ -1033,6 +1039,13 @@ Whether logarithmic depth buffer is enabled or not. Default is `false`. +**reversedDepthBuffer** +boolean + +Whether reversed depth buffer is enabled or not. + +Default is `false`. + **alpha** boolean diff --git a/docs/pages/TSL.html b/docs/pages/TSL.html index 747eb26cff6ed3..eac2a0cedfcedc 100644 --- a/docs/pages/TSL.html +++ b/docs/pages/TSL.html @@ -11732,6 +11732,40 @@

    .

    +

    .viewZToReversedPerspectiveDepth( viewZ : Node.<float>, near : Node.<float>, far : Node.<float> ) : Node.<float>

    +
    +
    +

    TSL function for converting a viewZ value to a reversed perspective depth value.

    +
    + + + + + + + + + + + + + + + +
    + viewZ + +

    The viewZ node.

    +
    + near + +

    The camera's near value.

    +
    + far + +

    The camera's far value.

    +
    +

    .viewportDepthTexture( uvNode : Node, levelNode : Node ) : ViewportDepthTextureNode

    diff --git a/docs/pages/TSL.html.md b/docs/pages/TSL.html.md index 0c0bfde34467d0..d9b84e556f3694 100644 --- a/docs/pages/TSL.html.md +++ b/docs/pages/TSL.html.md @@ -6057,6 +6057,22 @@ The camera's near value. The camera's far value. +### .viewZToReversedPerspectiveDepth( viewZ : Node., near : Node., far : Node. ) : Node. + +TSL function for converting a viewZ value to a reversed perspective depth value. + +**viewZ** + +The viewZ node. + +**near** + +The camera's near value. + +**far** + +The camera's far value. + ### .viewportDepthTexture( uvNode : Node, levelNode : Node ) : ViewportDepthTextureNode TSL function for a viewport depth texture node. diff --git a/docs/pages/WebGPURenderer.html b/docs/pages/WebGPURenderer.html index ddb9f50a45bd2e..b8a5c8d63c9b40 100644 --- a/docs/pages/WebGPURenderer.html +++ b/docs/pages/WebGPURenderer.html @@ -76,6 +76,17 @@

    .Options <

    Default is false.

    + + + reversedDepthBuffer +
    +boolean + + +

    Whether reversed depth buffer is enabled or not.

    +

    Default is false.

    + + alpha diff --git a/docs/pages/WebGPURenderer.html.md b/docs/pages/WebGPURenderer.html.md index 4f22f3dd9ba1ba..a14e74d493d99d 100644 --- a/docs/pages/WebGPURenderer.html.md +++ b/docs/pages/WebGPURenderer.html.md @@ -41,6 +41,13 @@ Whether logarithmic depth buffer is enabled or not. Default is `false`. +**reversedDepthBuffer** +boolean + +Whether reversed depth buffer is enabled or not. + +Default is `false`. + **alpha** boolean diff --git a/docs/search.json b/docs/search.json index d8d2aa57c281b4..950413823f2983 100644 --- a/docs/search.json +++ b/docs/search.json @@ -11256,6 +11256,10 @@ "title": "Renderer#renderObject", "kind": "function" }, + { + "title": "Renderer#reversedDepthBuffer", + "kind": "member" + }, { "title": "Renderer#samples", "kind": "member" @@ -19642,6 +19646,10 @@ "title": "OrbitControls#cursor", "kind": "member" }, + { + "title": "OrbitControls#cursorStyle", + "kind": "member" + }, { "title": "OrbitControls#dampingFactor", "kind": "member" @@ -27746,6 +27754,10 @@ "title": "viewZToPerspectiveDepth", "kind": "function" }, + { + "title": "viewZToReversedPerspectiveDepth", + "kind": "function" + }, { "title": "viewport", "kind": "member" From 2cc37c2bdab8318bdb14033bdbe6763b695d21b2 Mon Sep 17 00:00:00 2001 From: "Mr.doob" Date: Tue, 10 Feb 2026 10:32:03 +0900 Subject: [PATCH 2/2] Scripts: Improve changelog.js. Co-Authored-By: Claude Opus 4.6 --- utils/changelog.js | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/utils/changelog.js b/utils/changelog.js index c3798bee340e28..d2199521b0e1c7 100644 --- a/utils/changelog.js +++ b/utils/changelog.js @@ -40,16 +40,6 @@ const skipPatterns = [ // Categories that map to sections const sectionCategories = [ 'Docs', 'Manual', 'Examples', 'Editor', 'Tests', 'Scripts', 'Build' ]; -// Author name to GitHub username mapping (for commits without PR numbers) -const authorMap = { - 'Mr.doob': 'mrdoob', - 'Michael Herzog': 'Mugen87', - 'Claude': 'claude', - 'Claude Opus 4.5': 'claude', - 'Copilot': 'copilot', - 'copilot-swe-agent[bot]': 'copilot' -}; - function exec( command ) { try { @@ -296,7 +286,13 @@ function cleanSubject( subject, category ) { function normalizeAuthor( author ) { - return authorMap[ author ] || author; + const lower = author.toLowerCase(); + if ( lower === 'mr.doob' ) return 'mrdoob'; + if ( lower === 'michael herzog' ) return 'Mugen87'; + if ( lower.startsWith( 'claude' ) ) return 'claude'; + if ( lower.startsWith( 'copilot' ) ) return 'copilot'; + + return author; } @@ -562,8 +558,17 @@ function generateChangelog() { }; let skipped = 0; + const total = commits.length; + const barWidth = 40; - for ( const commit of commits ) { + for ( let i = 0; i < total; i ++ ) { + + const commit = commits[ i ]; + const done = i + 1; + const filled = Math.round( barWidth * done / total ); + const bar = '█'.repeat( filled ) + '░'.repeat( barWidth - filled ); + const pct = Math.round( 100 * done / total ); + process.stderr.write( `\r ${bar} ${pct}% (${done}/${total})` ); const result = processCommit( commit, revertedTitles ); @@ -592,6 +597,8 @@ function generateChangelog() { } + process.stderr.write( '\n\n' ); + if ( skipped > 0 ) { console.error( `Skipped ${skipped} commits (builds, dependency updates, etc.)\n` );