spite / THREE.MeshLine

Mesh replacement for THREE.Line
MIT License
2.14k stars 381 forks source link

Simple line behaving strangely #58

Closed ffpetrovic closed 6 years ago

ffpetrovic commented 6 years ago

I literally just copied the code from the README and this is what I got.

https://jsfiddle.net/filipetrovic/ggnLaaqt/

Why is it not a line, but this weird half circle shape?

Thanks

spite commented 6 years ago

Check out the REQUIRED part of the MeshLineMaterial section in the Readme.

ffpetrovic commented 6 years ago

Solved by setting sizeAttenuation to 0, but please look at the updated fiddle, there seems to be some fog involved, where you can't see the entire line, any ideas? If you start zooming out ,you can see what I mean

ffpetrovic commented 6 years ago

The issue was in the camera and it's viewing distance, I updated the fiddle.

Thanks for the help