How to render 3D text in JavaFX?

陌路散爱 提交于 2019-12-05 11:43:20

Have a look at the FXyz project. It already contains a Text3DMesh class that will allow you generating a 3D mesh for any string and font you need.

Under the hood there is a complex process of converting (2D) Text to Path, Delaunay triangulation and mesh extrusion.

As a result, you have a 3D mesh that can be easily rendered and textured (solid color, density map, images).

Have a look at the sample to get you started.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!