THREE.JS:在网格内部时看到几何 [英] THREE.JS: Seeing geometry when inside mesh

查看:119
本文介绍了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天全站免登陆