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

Thread: Building 3D application using OpenGL under Linux Cluster (MPICH , Redhat)

  1. #1
    Junior Member Newbie
    Join Date
    Apr 2002
    Location
    Ha Noi city, , Vietnam
    Posts
    8

    Building 3D application using OpenGL under Linux Cluster (MPICH , Redhat)

    Hi all,

    I have been building a 2D map application in Linux Cluster(MPICH, RedHat 6.2) using Xlib.
    In our application, the MPI processes can draw into Monitor of frontend machine directly using Xlib functions. To obtain this, the master process has to broadcast its x window handle (ID, (ex: Window win) to all the slave process, these will use this handle to draw into.
    I do not know If I could use OpenGl functions as Xlib function in this way.

    I am very great to hear your guides (idea).
    Thank you.

  2. #2
    Guest

    Re: Building 3D application using OpenGL under Linux Cluster (MPICH , Redhat)

    Yes, I think that you can do the same with OpenGL. It will be an indirect rendering OpenGL on top of Xlib so the speed should be the same. Here is a PDF with information http://toolbox.sgi.com/linux/documen...rotocol.pdf.gz

    As an alternative can you use a machine with 3D hardware and send the generated data to it for rendering.

  3. #3
    Junior Member Newbie
    Join Date
    Apr 2002
    Location
    Ha Noi city, , Vietnam
    Posts
    8

    Re: Building 3D application using OpenGL under Linux Cluster (MPICH , Redhat)

    Hi,

    I am having with glXMakeCurrent. In MPI Slave processes I use glXMakeCurrent but the main window is destroyed by master process. I do not know If there is any glX function to stop effect of glXMakeCurrent whenever I quit from slave MPI slave processes.

    Please help me!

  4. #4
    Guest

    Re: Building 3D application using OpenGL under Linux Cluster (MPICH , Redhat)

    Yes, call glXMakeCurrent a second time. From the man page:

    " To release the current context without assigning a new one, call glXMakeCurrent with drawable set None and ctx set to NULL"

  5. #5
    Junior Member Newbie
    Join Date
    Apr 2002
    Location
    Ha Noi city, , Vietnam
    Posts
    8

    Re: Building 3D application using OpenGL under Linux Cluster (MPICH , Redhat)

    Hi,

    Thank Mr. Zico, Your guides is very useful for me.

    I do not know how to obtain specification of grid file format of Surfer (Golden Software).
    Could you show me where I should visit to get.

    Thanks!

  6. #6
    Guest

    Re: Building 3D application using OpenGL under Linux Cluster (MPICH , Redhat)

    Zico is not a real name. A former soccer star from Brazil was called so.
    I do not know about the surfer file format but you can try google, dejanews or this page http://www.wotsit.org/

  7. #7
    Junior Member Newbie
    Join Date
    Apr 2002
    Location
    Ha Noi city, , Vietnam
    Posts
    8

    Re: Building 3D application using OpenGL under Linux Cluster (MPICH , Redhat)

    Hi "Mr. Zico",

    You are Brazilian, aren't you?.
    I am 24 years old and I have no oppotunity to see white Pele when he was still playing.

    Could you tell me where I should visit to know how OpenGL render over a network.
    Thanks

  8. #8
    Guest

    Re: Building 3D application using OpenGL under Linux Cluster (MPICH , Redhat)

    I am not Brazilian but a fan of their soccer.
    The only resoutce I know of about OpenGL rendering over a network is the above mentioned PDF.

  9. #9
    Junior Member Regular Contributor
    Join Date
    Dec 2001
    Location
    Fpolis, SC, BRAZIL
    Posts
    155

    Re: Building 3D application using OpenGL under Linux Cluster (MPICH , Redhat)

    well.. I am Brazilian.... and in fact I am also working in a parallel engine to run in a Cluster of RH 7.2. We should keep in touch...There may be some experiences to exchange.
    If brute force doesn`t solve your problem,... you aren`t using enought!!

  10. #10
    Junior Member Newbie
    Join Date
    Apr 2002
    Location
    Ha Noi city, , Vietnam
    Posts
    8

    Re: Building 3D application using OpenGL under Linux Cluster (MPICH , Redhat)

    Originally posted by OldMan:
    well.. I am Brazilian.... and in fact I am also working in a parallel engine to run in a Cluster of RH 7.2. We should keep in touch...There may be some experiences to exchange.

Posting Permissions

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