I've been telling people for quite some time to make their own custom widgets, on a sub-classed Zinc object. As a matter of fact, I advocate using the Tk Zinc Canvas as the basis for a whole new GUI language, with all sorts of custom looking buttons, and rounded shapes, all prebuilt as Zinc-only widgets. There is nothing stopping you from doing that right now. There are other advantages besides OpenGL color gradients, bezier curves, and transparencies. The Canvas and Zinc are very good at handling their memory, so you can do alot of "creating-destroying" without gaining memory in your apps.

BUT it isn't 3d, and people will not write for OpenGL until all computers support it. Most don't, and even those that do, there are enough inconsistencies, that people avoid it.

Why do you think that you see very few OpenGL apps in wide use? Why are there almost no 3d applications in wide use on desktops? It just isn't time yet, because considering the power of the average computer out there, things are peppier and easier to write without it. Eye candy is great for the salesroom, but when people get it home, and run it day-to-day, they want it simple and fast.

There are some great examples in the Tk::Zinc demo, like the #7 in The Use of OpenGL( but they don't require OpenGL to run)


I'm not really a human, but I play one on earth. flash japh

In reply to Re^5: OPENGL perl widgets by zentara
in thread OPENGL perl widgets by aquarium

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.