POV-Ray : Newsgroups : povray.binaries.utilities : Online files converter : Re: Online files converter Server Time
2 Oct 2025 20:56:58 EDT (-0400)
  Re: Online files converter  
From: Kenneth
Date: 30 Sep 2025 08:10:00
Message: <web.68dbc6fdc9089336e83955656e066e29@news.povray.org>
yesbird wrote:
> Finally, after two sleepless nights I finished a web application that
> converts obj, fbx, glb, gltf, stl formats to mesh2:
> https://povlab.yesbird.online/all2pov
>

[Running Windows 10 and v3.8 beta 1; Firefox is my browser]

That is really a fabulous service, yesbird! I just used it to convert two
binary-file STL models (from Thingiverse) that I have been wanting to see in
POV-ray for a long time.

Your site works beautifully, and the upload/download speeds for me are VERY
fast. I am amazed at how quickly you wrote code to accomplish this task. Thank
you!

I know that you are busy with other things, but I have several small(?)
suggestions:

One of the models I uploaded (see my attached POV-ray render of your conversion)
is a very high-triangle-count model, and very smooth when 3D-printed-- and it
actually looked better on your webpage when I checked 'flat shading' there. As
you can see here, the 'smooth triangles' of the converted mesh2 are causing the
sharp edges to 'crinkle'...similar to what I saw when the model was 'smoothed'
on your page.

My suggestion would be to allow a *choice* of downloading the mesh2 model as
'smooth triangles' or as just flat un-smoothed ones. My guess is that there are
plenty of STL models available that don't really need such smoothing, because of
their high triangle count.

My 2nd suggestion: Currently, your mesh2 downloads are named 'model' (as is the
mesh2 itself.) They show up in my 'downloads' file...which, sadly, I don't
immediately check or look at when I am busy with other things. So my second
suggestion would be to *number* your converted files in some way, so that every
file we convert has a unique number-- like model6374, similar to what
Thingiverse does. The reason is that we could be uploading/downloading several
models in quick succession...and new downloads could overwrite the previous ones
if we are lazy :-O

Thanks again for taking the time to create your site.

----------------
Over the last several days, I have been working on my own ascii-STL-to-mesh
converter scheme, totally within POV-ray as SDL code (well, along with some
'manual/automated' editing of the STL file to get it into a form that POV-ray
can #read.) But it's all accomplished within the program, no external editor
required. Anyway, I finished it last night, and it works quite nicely. But THEN
I saw that you had created your online converter! Which of course works better
and faster than my DIY scheme. Mine only works with ascii files anyway.

I think I will still post it though, for those hardy souls who like doing things
themselves. ;-)


Post a reply to this message


Attachments:
Download 'stl_to_mesh2_example_1_kw.png' (69 KB)

Preview of image 'stl_to_mesh2_example_1_kw.png'
stl_to_mesh2_example_1_kw.png


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.