Matthias Mullie has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/394535 )
Change subject: Increase far plane
......................................................................
Increase far plane
Bug: T181761
Change-Id: I21599269618a7f8cbd488d6db1ab647e95c02fb6
---
M 3d2png.js
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/3d2png refs/changes/35/394535/1
diff --git a/3d2png.js b/3d2png.js
index 66c999f..9b95635 100755
--- a/3d2png.js
+++ b/3d2png.js
@@ -19,7 +19,7 @@
// Create a WebGL context and ask it to keep its rendering buffer
this.gl = GL( this.width, this.height, { preserveDrawingBuffer: true }
);
this.canvas = new Canvas( this.width, this.height );
- this.camera = new THREE.PerspectiveCamera( 60, this.width /
this.height, 1, 5000 );
+ this.camera = new THREE.PerspectiveCamera( 60, this.width /
this.height, 1, 500000 );
this.renderer = new THREE.WebGLRenderer( { canvas: this.canvas,
context: this.gl, antialias: true, preserveDrawingBuffer: true } );
this.scene = new THREE.Scene();
}
--
To view, visit https://gerrit.wikimedia.org/r/394535
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I21599269618a7f8cbd488d6db1ab647e95c02fb6
Gerrit-PatchSet: 1
Gerrit-Project: 3d2png
Gerrit-Branch: master
Gerrit-Owner: Matthias Mullie <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits