Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1491,6 +1491,7 @@ <h2>TSL</h2>
<li><a href="TSL.html#viewZToLogarithmicDepth">viewZToLogarithmicDepth</a></li>
<li><a href="TSL.html#viewZToOrthographicDepth">viewZToOrthographicDepth</a></li>
<li><a href="TSL.html#viewZToPerspectiveDepth">viewZToPerspectiveDepth</a></li>
<li><a href="TSL.html#viewZToReversedPerspectiveDepth">viewZToReversedPerspectiveDepth</a></li>
<li><a href="TSL.html#viewport">viewport</a></li>
<li><a href="TSL.html#viewportCoordinate">viewportCoordinate</a></li>
<li><a href="TSL.html#viewportDepthTexture">viewportDepthTexture</a></li>
Expand Down
7 changes: 7 additions & 0 deletions docs/pages/OrbitControls.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,13 @@ <h3 class="name" id="cursor" translate="no">.<a href="#cursor">cursor</a><span c
for the <code>target</code>.</p>
</div>
</div>
<div class="member">
<h3 class="name" id="cursorStyle" translate="no">.<a href="#cursorStyle">cursorStyle</a><span class="type-signature"> : 'auto' | 'grab'</span> </h3>
<div class="description">
<p>Defines the visual representation of the cursor.</p>
<p>Default is <code>'auto'</code>.</p>
</div>
</div>
<div class="member">
<h3 class="name" id="dampingFactor" translate="no">.<a href="#dampingFactor">dampingFactor</a><span class="type-signature"> : number</span> </h3>
<div class="description">
Expand Down
6 changes: 6 additions & 0 deletions docs/pages/OrbitControls.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down
20 changes: 19 additions & 1 deletion docs/pages/Renderer.html
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ <h3 class="name" id="lighting" translate="no">.<a href="#lighting">lighting</a><
</div>
</div>
<div class="member">
<h3 class="name" id="logarithmicDepthBuffer" translate="no">.<a href="#logarithmicDepthBuffer">logarithmicDepthBuffer</a><span class="type-signature"> : boolean</span> </h3>
<h3 class="name" id="logarithmicDepthBuffer" translate="no">.<a href="#logarithmicDepthBuffer">logarithmicDepthBuffer</a><span class="type-signature"> : boolean</span> <span class="type-signature">(readonly) </span></h3>
<div class="description">
<p>Whether logarithmic depth buffer is enabled or not.</p>
<p>Default is <code>false</code>.</p>
Expand Down Expand Up @@ -260,6 +260,13 @@ <h3 class="name" id="outputColorSpace" translate="no">.<a href="#outputColorSpac
<p>Default is <code>SRGBColorSpace</code>.</p>
</div>
</div>
<div class="member">
<h3 class="name" id="reversedDepthBuffer" translate="no">.<a href="#reversedDepthBuffer">reversedDepthBuffer</a><span class="type-signature"> : boolean</span> <span class="type-signature">(readonly) </span></h3>
<div class="description">
<p>Whether reversed depth buffer is enabled or not.</p>
<p>Default is <code>false</code>.</p>
</div>
</div>
<div class="member">
<h3 class="name" id="samples" translate="no">.<a href="#samples">samples</a><span class="type-signature"> : number</span> </h3>
<div class="description">
Expand Down Expand Up @@ -1881,6 +1888,17 @@ <h3 class="name" id="~Options" translate="no">.<a href="#~Options">Options</a> <
<p>Default is <code>false</code>.</p>
</td>
</tr>
<tr>
<td class="name">
<strong>reversedDepthBuffer</strong>
<br>
<span class="param-type">boolean</span>
</td>
<td class="description last">
<p>Whether reversed depth buffer is enabled or not.</p>
<p>Default is <code>false</code>.</p>
</td>
</tr>
<tr>
<td class="name">
<strong>alpha</strong>
Expand Down
15 changes: 14 additions & 1 deletion docs/pages/Renderer.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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).
Expand Down Expand Up @@ -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

Expand Down
34 changes: 34 additions & 0 deletions docs/pages/TSL.html
Original file line number Diff line number Diff line change
Expand Up @@ -11732,6 +11732,40 @@ <h3 class="name name-method" id="viewZToPerspectiveDepth" translate="no">.<a hre
</tbody>
</table>
</div>
<h3 class="name name-method" id="viewZToReversedPerspectiveDepth" translate="no">.<a href="#viewZToReversedPerspectiveDepth">viewZToReversedPerspectiveDepth</a><span class="signature">( viewZ : <span class="param-type"><a href="Node.html">Node</a>.&lt;float></span>, near : <span class="param-type"><a href="Node.html">Node</a>.&lt;float></span>, far : <span class="param-type"><a href="Node.html">Node</a>.&lt;float></span> )</span><span class="type-signature"> : <a href="Node.html">Node</a>.&lt;float></span> </h3>
<div class="method">
<div class="description">
<p>TSL function for converting a viewZ value to a reversed perspective depth value.</p>
</div>
<table class="params">
<tbody>
<tr>
<td class="name">
<strong translate="no">viewZ</strong>
</td>
<td class="description last">
<p>The viewZ node.</p>
</td>
</tr>
<tr>
<td class="name">
<strong translate="no">near</strong>
</td>
<td class="description last">
<p>The camera's near value.</p>
</td>
</tr>
<tr>
<td class="name">
<strong translate="no">far</strong>
</td>
<td class="description last">
<p>The camera's far value.</p>
</td>
</tr>
</tbody>
</table>
</div>
<h3 class="name name-method" id="viewportDepthTexture" translate="no">.<a href="#viewportDepthTexture">viewportDepthTexture</a><span class="signature">( uvNode : <span class="param-type"><a href="Node.html">Node</a></span>, levelNode : <span class="param-type"><a href="Node.html">Node</a></span> )</span><span class="type-signature"> : <a href="ViewportDepthTextureNode.html">ViewportDepthTextureNode</a></span> </h3>
<div class="method">
<div class="description">
Expand Down
16 changes: 16 additions & 0 deletions docs/pages/TSL.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -6057,6 +6057,22 @@ The camera's near value.
The camera's far value.
### .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
TSL function for a viewport depth texture node.
Expand Down
11 changes: 11 additions & 0 deletions docs/pages/WebGPURenderer.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,17 @@ <h3 class="name" id="~Options" translate="no">.<a href="#~Options">Options</a> <
<p>Default is <code>false</code>.</p>
</td>
</tr>
<tr>
<td class="name">
<strong>reversedDepthBuffer</strong>
<br>
<span class="param-type">boolean</span>
</td>
<td class="description last">
<p>Whether reversed depth buffer is enabled or not.</p>
<p>Default is <code>false</code>.</p>
</td>
</tr>
<tr>
<td class="name">
<strong>alpha</strong>
Expand Down
7 changes: 7 additions & 0 deletions docs/pages/WebGPURenderer.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
12 changes: 12 additions & 0 deletions docs/search.json
Original file line number Diff line number Diff line change
Expand Up @@ -11256,6 +11256,10 @@
"title": "Renderer#renderObject",
"kind": "function"
},
{
"title": "Renderer#reversedDepthBuffer",
"kind": "member"
},
{
"title": "Renderer#samples",
"kind": "member"
Expand Down Expand Up @@ -19642,6 +19646,10 @@
"title": "OrbitControls#cursor",
"kind": "member"
},
{
"title": "OrbitControls#cursorStyle",
"kind": "member"
},
{
"title": "OrbitControls#dampingFactor",
"kind": "member"
Expand Down Expand Up @@ -27746,6 +27754,10 @@
"title": "viewZToPerspectiveDepth",
"kind": "function"
},
{
"title": "viewZToReversedPerspectiveDepth",
"kind": "function"
},
{
"title": "viewport",
"kind": "member"
Expand Down
31 changes: 19 additions & 12 deletions utils/changelog.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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;

}

Expand Down Expand Up @@ -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 );

Expand Down Expand Up @@ -592,6 +597,8 @@ function generateChangelog() {

}

process.stderr.write( '\n\n' );

if ( skipped > 0 ) {

console.error( `Skipped ${skipped} commits (builds, dependency updates, etc.)\n` );
Expand Down
Loading