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 9 of 9

Thread: 4 GraphicsCards, 4 Monitor, 1Game

  1. #1
    Junior Member Newbie
    Join Date
    May 2002
    Location
    Seoul, Korea
    Posts
    2

    4 GraphicsCards, 4 Monitor, 1Game

    Hi, everyone
    It could sounds strage ..
    But how can i draw one game screen to 4 graphics cards and each connected each monitor in windows application
    i have not any idea that proplem
    any hints?

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Feb 2000
    Location
    Sweden
    Posts
    3,115

    Re: 4 GraphicsCards, 4 Monitor, 1Game

    Just a wild idea. You could make the rendering system like a slave thread, one thread for each graphics board, or something similar. Then make a server thread that sends the game related data, like player position, movements, actions like spawning a particle system, to each rendering thread.

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

    Re: 4 GraphicsCards, 4 Monitor, 1Game

    Are you talking about 4 cards in one machine or ....
    cause otehrwise I think you wont have GL acceleration at all, unless there is something new here you should tell me.

    The server/client method will work for 4 machines nicely.
    V-man
    ------------------------------
    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);

  4. #4
    Junior Member Newbie
    Join Date
    May 2002
    Location
    Seoul, Korea
    Posts
    2

    Re: 4 GraphicsCards, 4 Monitor, 1Game

    thank you~
    i'll take 4cards and 4monitor in one main board
    i have no idea about how i can make 4 windows and 4 DC(windows) and 4 RC(opengl)
    and combine~
    please hint me~!

  5. #5
    Junior Member Newbie
    Join Date
    May 2002
    Location
    Gothenburg, Sweden
    Posts
    9

    Re: 4 GraphicsCards, 4 Monitor, 1Game

    Unlike DirectX, I don't think it's possible (didn't use to be anyway) to select hardware device in wgl. Every RC will be connected to the 'default' device.

  6. #6
    Junior Member Newbie
    Join Date
    May 2002
    Posts
    21

    Re: 4 GraphicsCards, 4 Monitor, 1Game

    If you're using a PC, where do you think you can find a motherboard with 4 AGP slots?
    I guess you don't want to use old PCI cards...Anyway, if you find the solution, let us know.

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

    Re: 4 GraphicsCards, 4 Monitor, 1Game

    Originally posted by hq:
    Unlike DirectX, I don't think it's possible (didn't use to be anyway) to select hardware device in wgl. Every RC will be connected to the 'default' device.
    What if one makes an extended desktop covering all 4 monitors and you just move the window over the the desired (x, y) position or simply create them there.

    That will require a single video card with 4 ports and I havent seen one of those.

    PS: nvidia is suppose to add support for multiple devices for opengl soon (summer?)

    V-man
    ------------------------------
    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);

  8. #8
    Super Moderator OpenGL Guru dorbie's Avatar
    Join Date
    Jul 2000
    Location
    Bay Area, CA, USA
    Posts
    4,388

    Re: 4 GraphicsCards, 4 Monitor, 1Game

    V-man, Typically you want to orient the monitors in a curve, so each need ther own projection. What you are describing is not good for very wide (wraparound) fields of view.

    The best way to do this is to have several networked PCs each running the same game with some game information being shared, perhaps with some slave PCs and one system running the game. The game system may have an extra CPU or may have no graphics with only the slaves running graphics. This way you can sustain better performance on graphics cards because each system can drive a graphics card with a dedicated CPU and AGP 4X graphics bus.

    You can build you own system like this or go to someone who builds them for you, here is one example. You can stick these in a 19 inch rack and they supply software to help you program it:
    http://www.quantum3d.com/product%20p...bsidiannv.html

  9. #9
    Super Moderator OpenGL Guru dorbie's Avatar
    Join Date
    Jul 2000
    Location
    Bay Area, CA, USA
    Posts
    4,388

    Re: 4 GraphicsCards, 4 Monitor, 1Game

    P.S.

    Each box is a PC in a thin 19 inch rack mountable chassis. These are not cheap AFAIK, each video you need with a 3D view on it is generally called a "channel", just to help you understand the lingo a bit.

    If you want to build your own with a bunch of PCs you may still want help writing graphics software to run transparently over a network there are companies which help you do this, here is one example:
    http://www.cg2.com/products/vtree/
    (Only the Pro version has multiple channel support, they call it MultiVis).

    These both look like defense oriented companies because immersive training systems has been the primary market for hardware and software for multi-channel wraparound graphics.


    [This message has been edited by dorbie (edited 05-29-2002).]

Posting Permissions

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