3D Font Problems

I am having a problem with the 3D Fonts in threejs. On the left are what mine looked like in ver 103 and earlier with BevelSize of 6 and bevelThickness of 2. All 3 sides look great.
After version 103 (104 & above) look like the fonts on the right side which all look like crap. In a Perfect world the fonts would look like the backside of those on the left (not just on the back). I would love if there is a way to pull that off. If not how can I get the new code to work properly with bevels like it use to. The code in example has not changed, its still the same code as before even up to ver 130.

Is it possible to pull the font code from old build and replace new one in the three.js file? I tried that just in the main code and saw a new option “bevelOffset:” but I tried that and still nothing like before. Also just changing that part of code did not seem to do anything differrent. Any help in the right direction is GREATLY appreciated.

Hi!
Could you provide a live code working example, that demonstrates the issue?
Or, at least, show the object of parameters you use for TextGeometry, and what font.

Well in the webgl text example in any version since 104 will do this if you set the bevel to 6 like I did, you will see it, the other defaults it uses are fine. If you need I can put up examples on my site where I edit that file

jsfiddle, codepen or any other sandbox example is enough :slight_smile:

I made a small example and it works as expected with the latest release: Edit fiddle - JSFiddle - Code Playground

Used the same parameters, like in the example with text, plus, changed bevelSize to 6 and bevelThickness to 2. You can see the result.


Well your code is different from the code in the example
https://threejs.org/examples/#webgl_geometry_text
This one is the one I have been using

Yours is much closer but when I turned on light and no wireframe, you can see that there are 2 bevels instead of one? idea on how to get just one?

I didn’t get what you mean with this.
I updated the fiddle. Added bevelSegments (that described in the docs of TextGeometry), with the value of 12. Also, increased curveSegments value from 3 to 10.
изображение

In my pic it looks like there are 2 different bevels on yours it looks like one, I will try the changes you suggested . Thanks for all the help

Well I FOUND my problem. It was driving me nuts. I copied your code over and it was given me the same ugly text. Then I hardcoded the variables and it worked, so now i do a parseFloat() on the bevelsize and such and ALL IS WORKING… Damn Thanks sooo much…

You’re welcome :beers: