STL Viewer / Renderer

Hi,

Here is a free product we built in my company, I thought I would share it as it can be used to create incredible renders with just a raw STL file:

stl-viewer.dualbox.com

No upload, no remote baking, everything occurs online. STL files are processed automatically for the smooth render option. For now we use a StandardMaterial applied to the whole model. The model can be rotated for better light orientation, the background is customizable (and can be transparent).
Anti-Aliasing is not perfect as we are still working on how to combine the shadow baker with Three.js anti-aliasing pass in the best way.
Also note that it does not work on some Apple devices, due to a hardware or driver bug on their end.

I especially like the render of the skull example, quite cool for a model with no normals or textures:

If you make use of this, please post some of your resulting images here, I’m curious :slight_smile:

We are considering adding features too.

10 Likes

Ambient occlusion looks very good ! How does it work ?

It would be nice I think to select parts to render with flat shading and parts with smooth shading. Bellow for instance, the ring looks better in smooth shading while the gemstone should remain flat shaded.


1 Like

Thanks for your feedback !

I can’t tell much about the method used to compute the ambient shadows. It’s a kind of fake raytracing made by batch on the GPU. Very greedy as we take several hundred milllion samples, most of them are discarded. Incoming light for each pixel is then accumulated and averaged to get the final result which is applied as a final pass.
The algorithm can also take into account the intensity of the environment to have some areas brighter than others, but it’s not activated here as the benefit is small.

Concerning the stone, the system is detecting sharp edges here, but we may later add a way to import other file format with sharp edges already split (like OBJ or PLY).

That being said, I’m not sure we will address this particular need since we have other systems more adapted to jewelery, as you can see in this example : https://dualbox.com/apps/stones-ring-3design-01/production

Thanks again for your feedback !

1 Like

Man, I love the AO, it looks so smooth! I’m trying to set shadows to “Baked per Vertex”, but is not letting me select it. Is that feature not activated yet?

Thanks!
Indeed, Vertex Baking is a “future feature” :grin:

Actually it’s already implemented but not yet integrated in the app. I will post the news here when it is done. Unfortunately, my working time on this free app has been limited :disappointed_relieved:

Think about sharing the link, the more visitors we have and the easiest it will be for me to justify spending time on improvements :wink:

Added per vertex baking. A bit slow on mobiles and slow GPUs, but gives very nice results for applications like miniature configurators like this one.

1 Like

That is so cool! It may be a little slow, but at least it only has to be calculated once! :wink:

What a great tool! Just amazing!

Question: do you have any plans for STL editing? Ie: scaling, water-tighting?

Not in this tool which is basically a renderer for screenshots.

On https://dualbox.com, you can find some free tools to merge STL vertices, detect sharp edges and export in other formats.
A tool for scaling STL can easily be done with Dualbox’s builder, and we have some modules you can use to compute volume or surface, and even a basic mesh simplifier… We may add more later, but we do not have much requests in this direction for now.

1 Like

Great!
Did your company make dualbox?

Yes :slight_smile:
Dualbox is a saas software to create online 3D apps without coding. We also offer consulting services.