gcode-preview icon indicating copy to clipboard operation
gcode-preview copied to clipboard

Wireframe render is incomplete

Open remcoder opened this issue 1 year ago • 2 comments

When selecting wireframe mode in the dev panel, some parts of the model seem to be missing.

image

remcoder avatar Aug 16 '24 21:08 remcoder

I have a suspicion this bug has the same root cause as https://github.com/remcoder/gcode-preview/issues/216

It's all about lines rendered.

I've been investigating for a while, trying to eliminate causes. _wireframe is just a boolean passed to the material and does not have logic attached to it. I've ruled out rerender logic, as it happens also on the initial render.

I've tried playing with the WebGLRenderer's and scene settings, as well as changing material type and line settings. It happens anyways.

Could it be a bug in Three.js?

sophiedeziel avatar Oct 13 '24 20:10 sophiedeziel

There's an interesting issue in the Three.js repo: https://github.com/mrdoob/three.js/issues/29045

sophiedeziel avatar Oct 19 '24 03:10 sophiedeziel

image

remcoder avatar Dec 27 '24 22:12 remcoder

Since the issue in three still exists and this was merely a debugging feature I vote for removing it for now.

remcoder avatar Dec 27 '24 22:12 remcoder

I 've removed the wireframe option in 17a474768fb7bdbf1a367c45f60322697c16c160.

remcoder avatar May 27 '25 17:05 remcoder