Model3D::WavefrontObject 1.00 review
DownloadModel3D::WavefrontObject is a Perl extension for reading, manipulating and writing polygonal Alias Wavefront 3D models. SYNOPSIS
|
|
Model3D::WavefrontObject is a Perl extension for reading, manipulating and writing polygonal Alias Wavefront 3D models.
SYNOPSIS
use Model3D::WavefrontObject;
my $model = Model3D::WavefrontObject->new;
$model->ReadObj('blMilWom_v3.obj');
$model->Rotate(x => 45, y => 15);
$model->Scale(135%);
$model->WriteObj('V3_modified.obj');
Model3D::WavefrontObject allows a polygonal Alias Wavefront Object file to be loaded into memory, manipulated, analysed, and re-output.
At this time the model only supports the polygon functions of the Wavefront Object format, not bezier splines, procedural surfaces, and so on. It is currently coded only far enough to support the sorts of Wavefront Object meshes that are also supported by the Poser 3D animation program, and of the sort exported by 3DSMax by using the HABWare exporter.
It supports groups and materials, but not multi-grouped polygons (only the first group is recognised if a polygon is declared to be in multiple groups).
Polygons with greater numbers of vertices are supported, even though these are not supported by the Poser software.
The models will also recognise (and support) the Region extension to the format as defined by Steve Cox's UVMapper and UVMapper Pro program. As a result, it may well be the only piece of code that writes Wavefront Objects without leaving these out.
Requirements:
Perl
Model3D::WavefrontObject 1.00 keywords