I think you mentioned a similar idea elsewhere of making the TriD stuff available even when GLUT isn't available. I haven't run with that yet, because polygon objects don't really have any existence in PDL other than something like "indexed facesets", which are just two ndarrays of appropriate dimensions. The only output for those currently is into the GLUT stuff. You don't need any special code to handle two PDL objects. The code that does handle them is a couple of lines of sliceing madness, then chucking them into GLUT operations. There's no other rendering code that PDL has that could do anything with them (well, except giving 3D stuff to PDL::Graphics::Gnuplot).

As discussed on your 3Space repo, I think it likely that bulk processing of this geospatial stuff could be quicker/easier to write with PDL (and run quicker too), but the hard grind of getting the maths right would still be there.


In reply to Re^4: Creating X BitMap (XBM) images with directional gradients by etj
in thread Creating X BitMap (XBM) images with directional gradients by kcott

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.