Closed Artur-Sampaio closed 5 years ago
Describe the bug When loading large STL files, enabling edge rendering causes edges to be completely wrong.
To Reproduce Steps to reproduce the behavior:
var mesh = new xeogl.Mesh(model, { id: model.id + "#" + entityCount++, geometry: geometry, material: material });
with
var mesh = new xeogl.Mesh(model, { id: model.id + "#" + entityCount++, geometry: geometry, material: material, edges: true, edgeThreshold: 20 });
Expected behavior The object edges will be all over the place.
Screenshots
Desktop (please complete the following information):
Describe the bug When loading large STL files, enabling edge rendering causes edges to be completely wrong.
To Reproduce Steps to reproduce the behavior:
var mesh = new xeogl.Mesh(model, { id: model.id + "#" + entityCount++, geometry: geometry, material: material });
with
var mesh = new xeogl.Mesh(model, { id: model.id + "#" + entityCount++, geometry: geometry, material: material, edges: true, edgeThreshold: 20 });
Expected behavior The object edges will be all over the place.
Screenshots![image](https://user-images.githubusercontent.com/38528140/45095764-41126200-b0f5-11e8-9a1e-85cbcd68c41c.png)
Desktop (please complete the following information):