Three.js: exceptions in text example

Created on 14 Sep 2017  路  3Comments  路  Source: mrdoob/three.js

If you go to https://threejs.org/examples/webgl_geometry_text_earcut.html#FF003E110#Schei%C3%9Fe! you get no text and this in the console:

TypeError: textGeo.faces is undefined
webgl_geometry_text_earcut.html:451:23

If you go to https://threejs.org/examples/webgl_geometry_text_earcut.html and type somehing, the text appears... Only to disappear when you click bevel button. And then there is the same error as above.

Bug

Most helpful comment

BTW: The german word you used in your link is not very decent, you know 馃槅.

All 3 comments

Good find! The example needs TextGeometry instead of TextBufferGeometry otherwise this code won't work.

BTW: The german word you used in your link is not very decent, you know 馃槅.

there are two more text examples, I think, I did not check these, but it might be good idea to.

Was this page helpful?
0 / 5 - 0 ratings