Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 5 of 5

Thread: Visualization effect on OpenGL ?

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2002
    Location
    Seoul, South Korea
    Posts
    26

    Visualization effect on OpenGL ?

    Hi.

    When the music is played on windows media player, it show visualization effects on the window.

    To develop them, as I know, I should use WMP SDK and the result is only shown in WMP.

    However, I'd like to visualize it on my own OpenGL window.

    Are there any OpenGL examples, how to create visual effect which windows media player shows ?
    Wonwoo Lee

  2. #2
    Senior Member OpenGL Pro
    Join Date
    May 2001
    Location
    The Round Table at Camelot
    Posts
    1,537

    Re: Visualization effect on OpenGL ?

    I know it's not a lot but here is a link about music visualization: http://www.cg.tuwien.ac.at/studentwo...2000/OKubelka/

    They describe somethings about doing this and talk a bit about a program they made. Perhaps you could email them for specifics or whatever you need.

    -SirKnight
    -SirKnight

  3. #3
    Senior Member OpenGL Pro
    Join Date
    May 2001
    Location
    The Round Table at Camelot
    Posts
    1,537

    Re: Visualization effect on OpenGL ?

    Oh you know I just thought of something. You could also try looking at xmms (X Multimedia System) player which is just like winamp that supports opengl visualization plugins. Xmms is open source and the plugins are probably also.

    -SirKnight
    -SirKnight

  4. #4
    Member Regular Contributor
    Join Date
    Apr 2001
    Posts
    354

    Re: Visualization effect on OpenGL ?

    I've just released an OpenGL visualization plug-in for Winamp. I have not decided yet if I will port it to other players.

    Haven't had a look at the WMP SDK yet, though, so I really don't know how it looks (although I can imagine since I have some experience with other MS SDKs).

    If you want to work on WMP, I can't really help you now. If you switch to Winamp, I can certainly give you tips should you need some.

  5. #5
    Super Moderator OpenGL Guru
    Join Date
    Feb 2000
    Location
    Montreal, Canada
    Posts
    4,421

    Re: Visualization effect on OpenGL ?

    NOTE: this thread should be moved to the windows forum

    I think opengl would not work with WMP, because of the SetPixelFormat issue.

    In Winamp, you get to create your own window so no problem there.

    I suppose you could do the same in WMP but it would be not so elegant.

    If you find a nice example using GL, let us know.
    ------------------------------
    Sig: http://glhlib.sourceforge.net
    an open source GLU replacement library. Much more modern than GLU.
    float matrix[16], inverse_matrix[16];
    glhLoadIdentityf2(matrix);
    glhTranslatef2(matrix, 0.0, 0.0, 5.0);
    glhRotateAboutXf2(matrix, angleInRadians);
    glhScalef2(matrix, 1.0, 1.0, -1.0);
    glhQuickInvertMatrixf2(matrix, inverse_matrix);
    glUniformMatrix4fv(uniformLocation1, 1, FALSE, matrix);
    glUniformMatrix4fv(uniformLocation2, 1, FALSE, inverse_matrix);

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •