in reply to Re^5: Creating X BitMap (XBM) images with directional gradients
in thread Creating X BitMap (XBM) images with directional gradients
I kind of want a "Perl Standard Polygon Mesh Object"
I'd not call it a "standard", because I doubt anyone but me has used it, but <shameless plug>I wrote CAD::Mesh3D for helping me write STL files.</shameless plug> (It's based on Math::Vector::Real instead of PDL. Sorry, etj.)
like surface normals per polygon
That's the assumption mine made (because that's what STL wants).
Though mine only has triangular facets, and a helper function to define a rectangle to turn it into a triangle. No higher-node polygons have helpers.
or texture coordinates, texture references etc
Definitely not included in mine.
input/output formats:
Since my focus when writing it was STL, CAD::Mesh3D comes with a formatter to read or write STL. But I tried to make it extensible, so CAD::Mesh3D::ProvideNewFormat should allow you to define another file format, if desired.
conclusion:
Based on your description, CAD::Mesh3D isn't likely what you need or want, but this seemed a good place for a <shameless plug>...</shameless plug>, just in case you or anyone else wanted to play with it.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^7: Creating X BitMap (XBM) images with directional gradients
by etj (Priest) on Aug 11, 2024 at 17:11 UTC | |
Re^7: Creating X BitMap (XBM) images with directional gradients
by NERDVANA (Priest) on Aug 15, 2024 at 00:21 UTC | |
by etj (Priest) on Aug 15, 2024 at 01:51 UTC | |
by NERDVANA (Priest) on Aug 15, 2024 at 05:10 UTC | |
by etj (Priest) on Aug 15, 2024 at 18:49 UTC | |
by NERDVANA (Priest) on Aug 16, 2024 at 00:32 UTC | |
|