Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confusing result after scaling #132

Open
JoostvanPinxten opened this issue Feb 20, 2021 · 1 comment
Open

Confusing result after scaling #132

JoostvanPinxten opened this issue Feb 20, 2021 · 1 comment

Comments

@JoostvanPinxten
Copy link

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?

@Jeremboo
Copy link
Collaborator

Jeremboo commented Feb 21, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants