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.
In reply to Re^6: Creating X BitMap (XBM) images with directional gradients
by pryrt
in thread Creating X BitMap (XBM) images with directional gradients
by kcott
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |