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

More is needed with the delete_graph .. if you can give me any information on how to use this to delete the graph it would help, other wise I would have to go through many combinations of things, that might not work even after a year of guessing...

-Mark
mrbaker_pdl@yahoo.com

  • Comment on Re: PDL TriD 3d graphics with Tk sliders.... linux only

Replies are listed 'Best First'.
Re^2: PDL TriD 3d graphics with Tk sliders.... linux only
by zentara (Cardinal) on Mar 25, 2017 at 21:02 UTC
    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
      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.