If stl is loaded as binary, it appears to be loaded but not visible on screen

Hello!

I am creating a viewer for stl using the example provided in vtk.js.

However, there is a problem that can not be solved. If stl is loaded as binary, it appears to be loaded, but there is an invisible problem on the screen.

As follows:

The console window looks like this:

When stl is loaded into ascii, it appears on the screen, but ascii is very inefficient.

Is there a way to make stl appear on the screen when it is loaded as binary?

Thank you!!

I’m guessing when you load STL as binary that’s because the STL is encoded as binary?

I’m wondering if all the normals are all backward? Did you try with a white background?

Thank you for you comment!!

It is as follows. The appearance of stl is invisible.

background: [1, 1, 1] -> white

[Volume rendering]

[STL]

[CONSOLE]