Dynamically create 2D text in three.js

前端 未结 8 2064
醉梦人生
醉梦人生 2020-12-12 19:20

I have 3D model which I have created in three.js. Based on some data, I want to create a set of arrows which is decorated by a small text label. These labels should be in 2D

8条回答
  •  醉梦人生
    2020-12-12 20:08

    If you actually want to include text (or any image) from a canvas object as part of your 3D scene, check out the sample code at: http://stemkoski.github.com/Three.js/Texture-From-Canvas.html

提交回复
热议问题