【发布时间】:2013-05-24 07:37:26
【问题描述】:
我一直想知道是否可以使用加载的图像作为纹理对 3d 文本进行蒙皮?我知道你可以用立方体和其他东西来做,因为大多数示例都展示了如何做的教程。
我尝试的是用三个映射它。 ImageUtils.loadTexture 来自路径,但我得到的是一些透明度对象。我想知道如何使用相同的概念,例如:
CubeGeometry(width, height, depth, widthSegments, heightSegments, depthSegments, listofmaterials)
在 TextGeometry 自 TextGeometry( text, {parameters} ).
我们可能必须使用https://github.com/mrdoob/three.js/issues/1318 作为指导,为每一方做这件事。
【问题讨论】:
标签: 3d three.js webgl mesh texture-mapping