czywind's recent timeline updates
czywind

czywind

V2EX member #279433, joined on 2018-01-04 09:06:51 +08:00
czywind's recent replies
另外不建议直接改 three.js 的
document.createElementNS( 'http://www.w3.org/1999/xhtml', 'canvas' );
后续 three.js 更新又要改一次比较麻烦。
var context = canvas.getContext('webgl');
var renderer = new THREE.WebGLRenderer(context);
new THREE.WebGLRenderer 方法传入上下文参数,一般使用这样的方式创建 renderer 是不会调用到
document.createElementNS( 'http://www.w3.org/1999/xhtml', 'canvas' );
回复不了是什么原因
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2436 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 13ms · UTC 07:46 · PVG 15:46 · LAX 00:46 · JFK 03:46
♥ Do have faith in what you're doing.