in reply to Re: PDL TriD 3d graphics with Tk sliders.... linux only
in thread PDL TriD 3d graphics with Tk sliders.... linux only

Hi, I had to jog my memory to remember this code! :-) On my new system, I'm having trouble with OpenGL, for instance when I run the script now, I get
"glutCloseFunc: not implemented Segmentation fault".
I'm afarid PDL Graphics is falling by the wayside, succeeded by Python's Matplotlib and other newer languages like Julia's Plot.jl. If you go to the PDL document page for PDL::Graphics::TriD::Tk it's empty. :-( The site says that Tk support has been withdrawn until OpenGL is more integrated into PDL, whatever that means.

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh
  • Comment on Re^2: PDL TriD 3d graphics with Tk sliders.... linux only

Replies are listed 'Best First'.
Re^3: PDL TriD 3d graphics with Tk sliders.... linux only
by etj (Priest) on May 10, 2022 at 15:13 UTC
    PDL's TriD graphics now (as of 2.066) uses OpenGL::GLUT which implements glutCloseFunc (although I plan to integrate that back into main OpenGL). The TriD support has received a fair bit of updating this year (2022), and I also intend to bring back the Tk support to enable better viewing controls. See https://github.com/PDLPorters/pdl/issues/328 for the issue tracking this.