in reply to Perl Opengl Question

I tried to use PDL modules but I could not get PGPLOT or TriD to work

How about PDL's GD capabilities (PDL::IO::GD). Can it produce the graphics you want ?

Cheers,
Rob

Replies are listed 'Best First'.
Re^2: Perl Opengl Question
by Anonymous Monk on Jul 13, 2008 at 18:18 UTC
    I looked at the module you mentioned it is only 2d. I also now looked at PGPLOT, I now see that it is also for only 2 dimensions. So all I am left to is either learn perl opengl, get PDL:TriD working somehow or do it with matlab and just distribute that part as a code to those who own a copy of matlab.
      Anyone with opengl knowledge to answer this question? I hope the answer is easy... If there is no one I assume I will have to seek opengl forums

      I personally believe that a (perlishly) OT solution may be given in terms of Scilab since the latter is "free enough" - if your concern is to only have to restrict to people holding a regular MATLAB license. In fact, I don't even know Scilab, but for the fact that it's similar in functionality to MATLAB, and its syntax is largely based on that of the latter, although the two are known not to be completely compatible. However "there is a converter included in Scilab for MATLAB=>Scilab Conversions." Thus that may be an option.

      --
      If you can't understand the incipit, then please check the IPB Campaign.
Re^2: Perl Opengl Question
by Anonymous Monk on Jul 13, 2008 at 08:12 UTC
    I found a wrong statement in my message ''And also I want to deform the coordinates of sphere so that I can transform them into sphere'' would be ellipsoid at the very end. As for the replies, I have tried PDL but was not able to get it working for TriD or PGPLOT (findows plays a role here I assume). I havent heard of the other module you mentioned, but I will try it as soon as possible thanks