in reply to Creating X BitMap (XBM) images with directional gradients

A blast from the past! :-)

This is a general reply to etj, soonix and NERDVANA who commented on, and discussed, my post from well over three years ago. Thankyou very much for the continued interest.

I've tried many times over the years to install PDL (on my Cygwin platform) without success. I've just tried it again, with Perl v5.40.0, and it worked. It did have some problems with OpenGL modules — probably due to missing libraries — but I do have PDL and PDL::GSL::RNG.

So, a future exercise is to go through PDL::Course. That looks like a lot of work and not something I'll be doing this weekend. However, thanks for prompting me to try the PDL installation again. :-)

— Ken

Replies are listed 'Best First'.
Re^2: Creating X BitMap (XBM) images with directional gradients
by etj (Priest) on Aug 10, 2024 at 05:04 UTC
    I'm glad it worked! If you don't have the latest OpenGL and OpenGL::GLUT, it won't build the TriD stuff. Sadly, to get it to do so, you'd have to rebuild/install the whole thing after installing those two. I'd be grateful for feedback on whether that worked, if you do try it.

    I remember being rather put off by the concept of a "PDL course", and never actually did it explicitly. I'd say though that these days I'm somewhat familiar with the whole thing. But a great starting point is just to run the demos; list them with the demo command in perldl. They tell you what they're doing as they go along. Again, I'd be very grateful for feedback on things you think are bad, unclear, or confusing, or could be better.

      G'day etj,

      Firstly, my apologies for the very late response. This is first time I've logged in for over six months. I've been dealing with a huge amount of real-life issues. I'm hoping to get back to regular PM attendance later this year.

      Thanks for your reply re OpenGL. That's not something I'm likely to get to any time soon but it's not off the cards. I'll try and remember to provide you with some feedback when it does happen.

      — Ken

        Hi Ken,

        I hope the real-life stuff gets dealt with soon and turns out well.

        The most recent OpenGL now contains OpenGL::GLUT within it, so you'd only need to install that one thing. And since PDL got split up in 2.096, it does not contain PDL::Graphics::TriD. That is now a separate module, that is able to express its full requirements, meaning that if it installs successfully, it will then work.