Hi,
I am making a 2d vector drawing in the 3d scene, and I need advice on what type of object in Babylon JS is best to use.
- Firstly I wanted to use the lines. But it seems that I cannot set their width of the line - line is always 1px wide.
Can I somehow do it? If not, I figure out multiple solutions, but I do not know which is the best and pros and cons of these solutions:
- Drawing to the texture similarly as a drawing to a 2D canvas
- Drawing by a ribbon
- Drawing with a tube
- Drawing with particles
Did someone from you solve a similar type of problem? Which solution did you use? Which is best for the performance?
Thanks for your advice!