THREE.JS:在网格内查看几何体 [英] THREE.JS: Seeing geometry when inside mesh

查看:31
本文介绍了THREE.JS:在网格内查看几何体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当输入几何体(例如球体网格)时,它的作用就像几何体不存在一样.从外面可以看到颜色和纹理.但是一旦我放大网格,属性就消失了.

When entering the geometry, for example a sphere mesh, it acts as if the geometry doesn't exist. The color and texture are visible on the outside. But once I zoom into the mesh, the properties are gone.

如何使球体网格的颜色和纹理在网格内可见?

How can I make the color and texture of a sphere mesh be visible inside the mesh?

推荐答案

mesh.material.side = THREE.DoubleSide;

mesh.material.side = THREE.BackSide;

three.js r.62

three.js r.62

这篇关于THREE.JS:在网格内查看几何体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆