Results 1 to 7 of 7

Thread: OpenGL from Matlab

  1. #1
    Guest

    OpenGL from Matlab

    I am sorry for my newbie question. According to the Matlab Manual, Matlab supports OpenGL. I would like to know more detail how it works, and compatibility.
    Would anyone know any documentation or web?
    I had looked through Mathworks and Google search. But I have not got any luck yet.
    Thank you very much for your help in advance.

  2. #2
    Senior Member Frequent Contributor
    Join Date
    Aug 2000
    Location
    Cardiff University
    Posts
    653

  3. #3
    Guest

    Re: OpenGL from Matlab

    Yes, I have. I thought someone might have any experiences and suggestions; for instance, save an image by Matlab commands, and open it and process it by OpenGL commands.
    Anyway, I am going to try. Thank you very much for your comments.

  4. #4
    Member Contributor
    Join Date
    Dec 2000
    Location
    Halifax, Nova Scotia, Canada
    Posts
    86

    Re: OpenGL from Matlab

    I'm fairly new to Matlab, but fairly old to GL. I just found myself thinking the same question. My first guess would be to compile any C/OpenGL rendering commands in a mex file and call them that way. Haven't tried it yet, but I plan to soon.
    Joe

  5. #5
    Senior Member Frequent Contributor marcus256's Avatar
    Join Date
    Aug 2001
    Location
    Sweden
    Posts
    764

    Re: OpenGL from Matlab

    Hello.

    I think that the OpenGL support in Matlab is that the Matlab figures (2D/3D plots) can be OpenGL accelerated, which is very nice. I work alot with Matlab at work, and my computer there has a sucky Matrox G200 card with very low class OpenGL drivers, so I never get OpenGL acceleration there. Since many plots (especially 3D plots or huge data sets) are very slow to work with, OpenGL acceleration would have been very nice.

    You know, Matlab's 3D figures support things like lighting and texturing - ideal for OpenGL

  6. #6
    Guest

    Re: OpenGL from Matlab

    Could I give you further basic questions?
    (forgive me since I am a new for OpenGL)
    -Is it possible to call OpenGL commands directly from Matlab's command line (or coding in ".m" file)? In case for C, we need to include OpenGL libraries. Is there anything equivalent for Matlab (if it can be used)?
    -Would anyone have any experiences not only for rendering but also for saving and reading images in Matlab & OpenGL; that is, create an image by Matlab, and then read and add effects by OpenGL within Matlab... any incompatibility in format and colour-depth?
    Thank you very much...

  7. #7
    Senior Member Frequent Contributor
    Join Date
    Aug 2000
    Location
    Cardiff University
    Posts
    653

    Re: OpenGL from Matlab

    What are you expecting from the fact that Matlab uses OpenGL? As marcus says it looks like it just means that iMatlab uses OpenGL as its renderer so your plots are nicer and faster!

Similar Threads

  1. MATLAB causes failure to load OpenGL
    By Smokey in forum OpenGL: User Software
    Replies: 2
    Last Post: 03-18-2004, 07:13 AM
  2. Could not load openGL. MATLAB was the culprit
    By sadohert in forum OpenGL: User Software
    Replies: 1
    Last Post: 02-28-2004, 02:13 AM
  3. Matlab and openGL problem
    By streetryu in forum OpenGL: User Software
    Replies: 1
    Last Post: 11-24-2003, 05:40 AM
  4. matlab MEX files + OpenGL
    By Marco Zuliani in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 04-18-2003, 04:31 PM
  5. Gaaah!!! OpenGL + Matlab 6.5 Web server
    By in forum OpenGL: User Software
    Replies: 1
    Last Post: 04-15-2003, 02:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean