You might also want to read a bit about PDL - the Perl Data Language, as it is used often to perform efficient 3d graphics computations. There is also a OpenGL interface for PDL called PDL::Graphics::OpenGL.

What exactly are you trying to do? How complex are you wanting this to be? Do you want something simple -- similar to a GIF or Flash animation? Or do you want high-resolution, fancy 3D letters with dynamic lighting effects, performing complex acrobatics? How is it going to be viewed? On a web page -- through a browser? Is it encoded as a video file? Or are you writing an application to render and display the video?

Perl OpenGL (POGL) would be a good choice for complex 3D graphics. SDL::OpenGL is another option, however POGL tends to perform better in benchmark tests. Here is an excellent series of articles on 3D graphics programming in Perl:

Building a 3D Engine

If you just want simple animations check out some of the SVG modules for Perl. And there is a book on this by the way -- "Graphics Programming For Perl" from Manning Publications, which I have not read, but which has decent reviews. Here are some links for SVG:

Introduction To Scalable Vector Graphics
Creating Scalable Vector Graphics With Perl

---mmmmtmmmm

In reply to Re: How to generate video in Perl by mmmmtmmmm
in thread How to generate video in Perl by kscript

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.