I recently started working on three.js and now im facing issue on textgeometry.
Im using three.js version 75 and i used js/helvetiker_bold.typeface.js font.
var geometry = new THREE.TextGeometry( this.txt, {
size: this.textSize,
height: this.textHeight,
curveSegments: 3,
font: this.textFont,
weight: "bold",
style: "normal",
bevelEnabled: false
});
test is not rendering because of the following issue
1 Uncaught ReferenceError: _typeface_js is not defined
2.three.min.js:889 THREE.TextGeometry: font parameter is not an instance of THREE.Font
Can anyone please help me out.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…