 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On 28/09/2025 01:27, 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
> ...
It is completed now: I implemented a progress bar and added two
additional metal materials for preview.
--
YB
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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
>
> I tested it only on a limited number of files, so some issues
> (especially related to displaying a model) are possible, testing now in
> progress. Please send any kind of feedback: bug reports, suggestions,
> requests to implement, etc.
> --
> YB
This looks awesome !!!
But I get " 504 Gateway Timeout " from behind my corporate proxy.(for all of
your site by the way).
So trying on my phone, I get a display smaller than my screen. but appearing
functional.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
yesbird wrote:
> On 28/09/2025 15:42, Bald Eagle wrote:
> > You could also possibly have a labeled grid, and display the center of the
> > object in text. Maybe have a checkbox "Center at origin".
> >
> > OK, maybe since a lot of objects are things that sit on a surface, have a second
> > checkbox that centers the object, and has its ymin set at 0.
> >
>
> This is the point for discussion: should converter change
> object's coordinates or just repack then into other format ?
> I guess, this is the editor's function.
>
> Maybe, it will be better just position the camera to look at object
> and set acceptable zoom ?
>
> In attachment: 'hand', loaded into C4D.
> --
> YB
I think you should look at GIS packages (QGis/OpenSceneGraph...), and the way
geometries are coupled with a text based projection file... recording
coordinates, centering for treating and reapplying on exit. or leaving separate
file from option?
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On 30/09/2025 12:07, Mr wrote:
> I think you should look at GIS packages (QGis/OpenSceneGraph...), and the way
> geometries are coupled with a text based projection file... recording
> coordinates, centering for treating and reapplying on exit. or leaving separate
> file from option?
>
Thanks - this is an interesting idea, taking in account that I have
experience working with QGis and like it very much.
There is always a space for improvement :)
--
YB
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On 30/09/2025 12:04, Mr wrote:
> This looks awesome !!!
Thanks, to my pleasure ).
>
> But I get " 504 Gateway Timeout " from behind my corporate proxy.(for all of
> your site by the way).
>
Sad times we are living in ...
> So trying on my phone, I get a display smaller than my screen. but appearing
> functional.
>
I didn't think about mobile platforms, working on design, so some
distortions are possible, but maybe this is better than nothing.)
At present the assumed resolution is HD 1920x1080, but I will try to
improve it.
--
YB
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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'

|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Kenneth" <kdw### [at] gmail com> wrote:
> 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.
All of the data is there, and the output can be tailored to the end use.
Why not have mesh2{} and the trivial{} mesh as well?
> 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
I would suggest that a user-defined name be entered, and that way the filename
AND mesh2 object can just be given that name straightaway.
Also, [X] include inside_vector
Default behaviour might be to keep the "model" name, but make the filename some
date/time combo - that also makes it easier to find in a big directory of stuff.
"I think I downloaded that as the first file on Thursday...."
>...and new downloads could overwrite the previous ones
> if we are lazy :-O
My browsers usually append a (1), (2), .. (n) to the filename automatically.
Maybe you have similar in settings?
> Thanks again for taking the time to create your site.
Absolutely! He does have plenty of skill and energy.
> I think I will still post it though, for those hardy souls who like doing things
> themselves. ;-)
Good work, Kenneth. :)
Every project that gets posted is one that we can all learn from, and one that
doesn't get lost in the Sands of Time.
- BW
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On 30/09/2025 15:04, Kenneth wrote:
> 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.
> ...
Many thanks, I am glad that you find it useful.
>
> 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!
The reason is a set of tools I am using: HTML5/JS/Three.js.
After a long time working with C++/Linux I feel like playing Lego toys
comparing to complicated real-world mechanics :).
>
> I know that you are busy with other things, but I have several small(?)
> suggestions:
This is very much in time. It will help me to make this service better,
thanks for detailed feedback, please share your ideas about possible
improvements and additional features. For example, I am thinking about
extending the list of materials and adding a reference grid(s).
>
> 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.
>
Agree with you and this is already works right "out of the box": just
select the "Flat shading" checkbox and _then_ download a model - you
will get exactly what you see :). The same approach works also for
"Vertex colors". I will write detailed help after some code polishing.
> 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
Interesting idea, I will think about it. Implementation is trivial,
just need to be sure that this will be really convenient.
>
> Thanks again for taking the time to create your site.
Always welcome !
Btw, you mentioned 3D printing - what model do you have and what
software do you prefer ? Mine is CREALITY3D ENDER-3 Pro / Simplify3d.
>
> ----------------
> 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. ;-)
No doubt - publish it !
Someone can use your code as an example for similar projects.
Wishing well.
--
YB
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Bald Eagle" <cre### [at] netscape net> wrote:
>
> >...and new downloads could overwrite the previous ones
> > if we are lazy :-O
>
> My browsers usually append a (1), (2), .. (n) to the filename automatically.
> Maybe you have similar in settings?
>
Ah, you're right, and I had forgotten; Firefox/Windows does that as well. I just
tested it again. (It has been a long time since I downloaded multiple copies of
the same file name.)
But uniquely-numbered downloads from yesbird would still be useful :-D
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
yesbird wrote:
> On 30/09/2025 15:04, Kenneth wrote:
> >
> > My suggestion would be to allow a *choice* of downloading the mesh2 model as
> > 'smooth triangles' or as just flat un-smoothed ones.
> >
> Agree with you and this is already works right "out of the box": just
> select the "Flat shading" checkbox and _then_ download a model.
Oh, I didn't know! That's great-- and I am even MORE impressed that you already
implemented it. Thanks for the tip!
Your hard work is very much appreciated.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|
 |