|
|
Greeting,
bothering you to inform about (hopefully) final version of img2pov
converter of PNG heightfields into POVRay 3D-mesh. The program uses
image tracing algorithm quite different from normal, creating four
triangle pyramids per pixel, rather than two triangle fold per four
pixels as most programs do. Program is written in Python and is
available from:
https://github.com/Dnyarri/img2mesh
In supposedly final 2.8.1.0 version POVRay output is completely
rewritten to remove all POVRay transforms, hopefully making things to be
parsed faster. Textures and stuff reorganized and reformatted to improve
readability.
Also Wavefront OBJ and streolithography STL outputs added. Attached is a
screencap of Windows Explorer window, showing icon preview of output
generated from 2x2 pixels checkerboard PNG image (no idea who decided to
introduce such a previews for potentially huge files but in this case it
allows me to easily show them side by side without complex presentation).
Internally, img2pov, img2obj and img2stl programs converted into
self-calling functions, thus allowing both running them as standalone
and importing into some other program. For Windows users it gives a
benefit of having single img2mesh GUI with import of all three of the
above programs into single compressed EXE file, thus reducing the size
of this all-in-one converter (exe file is available for download from
"Release" section.
Hopefully this appear of some use :-)
--
Ilyich the Toad
https://dnyarri.github.io/
Post a reply to this message
Attachments:
Download 'printscreen2x2.png' (40 KB)
Preview of image 'printscreen2x2.png'
|
|