Results 1 to 9 of 9

Thread: Glut worth my learning?

  1. #1
    Junior Member Newbie
    Join Date
    Jun 2001
    Location
    sydney,nsw,australia
    Posts
    6

    Glut worth my learning?

    I see many examples online using this

    I have read some pros and cons

    is it worth my time to learn Glut and OpenGL together.

    will Glut slow down my code much and by what value?

  2. #2
    Senior Member Regular Contributor
    Join Date
    Nov 2000
    Location
    Sydney, NSW, Australia
    Posts
    426

    Re: Glut worth my learning?

    GLUT is a must have if you want other OSs other than Winblowz to run your programs. Also, glut is very easy to learn, much more so than Win32 API. I dont think GLUt slows down code much since usually only under 10 glut functions are used in a program anyway. GLUT is worth learning, you can learn both glut and win32.
    :: Sleep is a poor substitute for caffeine ::

  3. #3
    Senior Member OpenGL Guru
    Join Date
    Mar 2001
    Posts
    3,574

    Re: Glut worth my learning?

    If you're developing a high-performance application, I would not suggest using GLUT. If you're developing a quick demo (even if it is a complex demo), GLUT is a good idea. If what you want to do requires significant GUI interface (lots of controls or widgets that aren't handled by the OpenGL window), then GLUT is going to get in the way; a more native interface (or something else cross platform) would be preferable.

  4. #4
    Senior Member Regular Contributor
    Join Date
    Feb 2001
    Location
    Australia
    Posts
    431

    Re: Glut worth my learning?

    GLUI is a good UI library layered on top of GLUT. It's great for prototyping and portability. There may be a performance payoff but I've never developed an equivalent program using GLUT/GLUI and Windows so I don't know how much it is. Check out the GLUI site at http://www.cs.unc.edu/~rademach/glui/ The library has lots of good widgets and the documentation and examples are excellent.

  5. #5
    Junior Member Newbie
    Join Date
    Jun 2001
    Location
    sydney,nsw,australia
    Posts
    6

    Re: Glut worth my learning?

    allright thanks heaps for the advice.

  6. #6
    Senior Member OpenGL Guru zed's Avatar
    Join Date
    Nov 2010
    Posts
    2,466

    Re: Glut worth my learning?

    the slowdown from glut would be far less than 1%.
    personally i use glut far more than the win32 api. eg yesterday i wrote up a program to test the 7 methods of doing volumetric fog that i know to see which looked the best. nice + simple + quick to get up and running.

  7. #7
    Senior Member Regular Contributor
    Join Date
    Nov 2000
    Location
    Sydney, NSW, Australia
    Posts
    426

    Re: Glut worth my learning?

    I agree with Zed fully. I did a simple test the other day with a program in GLUT and win32, and it was just a triangle spinning. In this context the majority of the system resources would be taken up by Win32/GLUT, so you can see the actual difference between the two. The difference was VERY small. And considering that for a larger and more complex program most of the system resources would be taken up by the rendering and not by win32/glut, so that the difference would be even less.
    :: Sleep is a poor substitute for caffeine ::

  8. #8
    Senior Member Regular Contributor
    Join Date
    Nov 2000
    Location
    Sydney, NSW, Australia
    Posts
    426

    Re: Glut worth my learning?

    BTW Zed, can you maybe send me that program?? because I am right now trying to learn volumetrix fog, tis surprisingly hard to find any tuts on it.
    :: Sleep is a poor substitute for caffeine ::

  9. #9
    Junior Member Newbie
    Join Date
    Jan 2001
    Location
    london ont canada
    Posts
    25

    Re: Glut worth my learning?

    learning anything in any capacity is well worth the effort.
    even if you decide against using glut in any of your applications, you will still be the better programmer for it...

    [This message has been edited by dallas (edited 06-18-2001).]

Similar Threads

  1. Is opengl worth ?
    By imported_adorn1 in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 02-25-2013, 10:54 PM
  2. assembly: is it worth it
    By ugluk in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 08-10-2010, 07:28 PM
  3. .NET with OpenGL... Is it worth it?
    By zix99 in forum OpenGL: Windows
    Replies: 9
    Last Post: 11-19-2004, 09:37 AM
  4. Glut only for learning ????
    By raziel in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 09-17-2003, 04:29 AM
  5. Seriously, is it worth it?
    By WhatEver in forum OpenGL: Advanced Coding
    Replies: 95
    Last Post: 04-19-2001, 02:33 PM

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