[英]Three.js Loading Models using Canvas Renderer
I've created something using WebGLRenderer and now the client says that we can't use WebGL so I'm trying to convert it to Canvas. 我使用WebGLRenderer创建了一些东西,现在客户端说我们不能使用WebGL,所以我试图将它转换为Canvas。 I'm trying to load a JSON model.
我正在尝试加载JSON模型。 If I create any basic geometry it looks fine but when I load a model a lot of the model isn't visible.
如果我创建任何基本几何体,它看起来很好,但是当我加载模型时,很多模型都不可见。 Any recommendation as to what the issue is here?
有关问题的建议是什么?
http://plnkr.co/edit/gAZUv8eooUHNhbMVe7mo?p=preview http://plnkr.co/edit/gAZUv8eooUHNhbMVe7mo?p=preview
With CanvasRenderer
and wireframe: true
, if you want to see the inside of the cone, you need to set 使用
CanvasRenderer
和wireframe: true
,如果要查看圆锥内部,则需要进行设置
material.side = THREE.DoubleSide;
three.js r.67 three.js r.67
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.