Confusing result after scaling
JoostvanPinxten opened this issue · 1 comments
Nice project! I really wanted to use MeshLine as a drop-in replacement for THREE.Line, but there was some scaling code in between in our project, which ended up really messes up the end result. Took me a while to figure that out.
I would expect that the README states a warning that the billboarded triangles should not have any scaling transformations applied, as that will lead to very strange results.
On a somewhat related note: is it possible to identify whether a THREE.Mesh is created from a MeshLine?
Hi @JoostvanPinxten ! You can use the myLine.isMeshLine
attribute to check if the Mesh has been created from a MeshLine.
For the rest of your comment, I'm afraid that I can't be helpful without more context and a code demo.