Results 1 to 6 of 6

Thread: Which type of Window creation is advantageous

  1. #1
    Guest

    Which type of Window creation is advantageous

    Which method is advantageous? if possible why?

    1. Creating a window using windows system calls
    2. Creating a window using GLUT

    Thanks in advance

  2. #2
    Senior Member Regular Contributor
    Join Date
    Feb 2002
    Posts
    374

    Re: Which type of Window creation is advantageous

    Originally posted by SGB:
    Which method is advantageous? if possible why?

    1. Creating a window using windows system calls
    2. Creating a window using GLUT

    Thanks in advance
    if your code shall be portable you may want to use glut (many ppl do although i personally don't like glut, but i don't like windows, too)

  3. #3
    Senior Member OpenGL Pro
    Join Date
    Jun 2000
    Location
    Shreveport, LA, USA
    Posts
    1,502

    Re: Which type of Window creation is advantageous

    They each have thier advantages and disadvantages. Using the windows api, gives you more control over the process, while GLUT allows it to be cross-platform. So which you should use is really up to a few other things. Are you already using GLUT? Is this program supposed to be cross-platform? Or is it going to be Windows only?
    If you are already using GLUT then by all means use GLUT to do it, unless you really need more control. If you are not using GLUT and the program is not to be cross-platform, then use the windows api rather than add the burden of an extra library.




    [This message has been edited by DFrey (edited 04-15-2002).]

  4. #4
    Guest

    Re: Which type of Window creation is advantageous

    I have seen in many tutorials. they all use windows system calls. But some people used glut. Is it because of flexibility or related to controls(controlling different parameters easily)?

  5. #5
    Guest

    Re: Which type of Window creation is advantageous

    I am using glut which i find it easier than windows api. I'm using only GL,GLUT&GLU functions to create & display. but I guess its takes a heavy toll in terms of speed which makes animation lot slower.(created just two section of pipe)

  6. #6
    Guest

    Re: Which type of Window creation is advantageous

    How about SDL? is it good to use that?
    I'm working on some X platfor projects, and am currently facing this dilemma. Do i use Glut, do i use SDL, or do i use #defines with compiler arguments? (platforms are win and lin).

    I hate to have to inlcude APIs if i really don't have to. but i can see myself using them on more than one occasion (like SDL for display and input handling etc...)

    any ideas?

Similar Threads

  1. Crash on Window Creation
    By draftomatic in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 02-28-2009, 11:07 PM
  2. Maximized window creation using OPENGL
    By scoobypopeye in forum OpenGL: Basic Coding
    Replies: 13
    Last Post: 07-16-2006, 08:20 AM
  3. Detecting actual window creation
    By malancha in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 09-07-2004, 06:38 AM
  4. opengl window creation and use
    By in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 09-12-2002, 07:27 AM
  5. Problems with 3Dfx OpenGL window creation.
    By lanman in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 11-23-2000, 05:26 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