|
 |
"Bald Eagle" <cre### [at] netscape net> wrote:
> #declare MyObject = mesh2 {stl "MyObject.stl" make_arrays ...}
#declare MyStlObject = mesh2{stl "MyObject.stl"}
#declare MyObjObject = mesh2{obj "MyObject.obj"}
that's quite elegant, to extract from a file format, what POV-Ray understands
based on mesh2.
I'd separate extracting array into something like:
mesh2array(mySTLObject, verticesname, normalsname, facesname, uvname,
vertexcoulours etc..)
could result in a bunch of arrays declared with the given names. It should take
mesh & mesh2.
and/or
mesharrays{obj "MyObjObject.obj"} and extract everything the file supports into
arrays, even what's not understood by mesh2, like boning, face normals or non
triangle faces.
ingo
Post a reply to this message
|
 |