Keep It Simple, Stupid | |
PerlMonks |
Re: IndexedFaceSet to 3D lines in two lines of PDLby etj (Deacon) |
on Apr 17, 2022 at 22:23 UTC ( [id://11143039]=note: print w/replies, xml ) | Need Help?? |
That last bit now suggests to me we need PDL::IO::TriD::VRML, PDL::IO::TriD::OpenGL1, PDL::IO::TriD::X3D, etc: the "intermediate format" I had in mind was tuples of ("thingtype", \@needed_pdls, \%options), where "thingtype" might be "line", "triangles", etc. Now it looks like we need functions in each of those packages like line, triangles, etc, which take e.g. line($suitable_handle, \@pdls, \%options).
In Section
Cool Uses for Perl
|
|