|
|
On 16.12.2024 12:37, Ilya Razmanov wrote:
>
> And that's where a question comes: a good short name for this
> repository. Converting 2D images into POVRay something. What could it be?
Ok, I see people are just laughing at all this, so I guess I'll call it
something like "POVSmith". Currently I have more or less functional
variants for export from PNG and PNM to POVRay pseudo-heightfield
patches, or blobs, or net structure I sent here. They still need more
work (just found a bug in patches), but still I think I'll be able to
turn it into something I can show people without feeling a shame.
Still, I have more questions.
Right now I changed stuff so it exports two files - .pov with some scene
stub and .inc with main object, so it's easier to edit the scene and
will simplify plugging object into another scene. What is people opinion
- is it a good idea?
Following question is, for importing PNM I wrote small yet fully
operational module (and even dared to upload it to PyPI as "PyPNM")
which reads PPM and PGM files and returns image as nested list (and,
surely, may do the opposite), so it becomes easier to assemble image
editors and stuff from blocks, exchanging data as nested lists of
logical structure. The question is, I may do the same with POVRay
pseudo-heightfield export (including my img2mesh), thus making it easier
for other potential developers to assemble something funny from a ready
blocks (I always said that we need something like POVRay virtual printer
driver so one may send any document to it and get a 3D rendering of it,
lol). The question is - is anybody interested?
--
Ilyich the Toad
https://dnyarri.github.io/
Post a reply to this message
|
|