I've just uploaded to CPAN a new version of the perl interface (Starlink::AST). It has wrappers for Tk, PGPLOT and PLplot (if you have those modules installed) as demonstrators. Should be fairly obvious how to add OpenGL. Essentially, you tell AST how to draw lines and text for your device and it works everything out for you.
A more efficient approach is to write the interface code in C and compile it into AST directly. This avoids the perl/C call overhead but for quick testing the perl interface is easier. Tim On Feb 9, 2010, at 3:30 AM, David Mertens wrote: > On Tue, Feb 9, 2010 at 7:20 AM, Matthew Kenworthy <[email protected]> > wrote: > My goal is to get PDL bundled by default with a plotting package on most > Linux distributions. Probably impossible, I know, but worth a shot. > > I am right there with you, though I'd like to get Windows in there while > we're at it. > > Tim - > > It looks like AST uses autotools. Is this correct? If so, we should expect > it to build on most OSes that have the Bourne Shell, which means Cygwin, > MSYS, Linux, Unix, and Mac. MinGW will give trouble, as well as Windows with > VC++. Do you know which environments your users use? Have people > successfully built on Cygwin? What about MinGW? > > David -- Tim Jenness Joint Astronomy Centre _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
