Results 1 to 2 of 2

Thread: Getting started with OpenGL

  1. #1
    Newbie Newbie
    Join Date
    May 2014

    Getting started with OpenGL

    Given two tuples of coordinates and two radii, I want to draw two spheres. This sounds very simple, but I would like to use OpenGL nevertheless because later on I am going to add significant complications to this basic thing. However, it turns out I do not even know how to draw a sphere. To be more precise, I am having trouble just getting OpenGL to work. I was trying to do some tutorials using the openGL programming guide 8th ed., but turns out Mac OS only supports up to 4.1, so now I am using windows 7, where I have openGL 4.3 installed. I tried to use the first code sample (triangle.cpp), but g++ is refusing to compile it, unsurprisingly, because it cannot resolve the imports. I assume I need to set some paths somewhere for OpenGL, but the programming guide doesn't tell you how to do that. How can I set up the paths?

    TL;DR Complete newbie to OpenGL, just want to get any extremely simple program that uses OpenGL successfully running, on Windows 7.

  2. #2
    Member Newbie
    Join Date
    Sep 2013
    Have you tried with Code::Blocks' OpenGL's example? Its OpenGL version is a bit old (it uses OpenGL 1.0 I think) but it's good getting started.

Similar Threads

  1. Getting started with OpenGL 3.3
    By vindy in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 08-04-2012, 05:12 AM
  2. OpenGl Es how to get started?
    By danjohnsonjr in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 06-04-2012, 03:54 PM
  3. Getting started with OpenGL for the web
    By wanting2learn in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 02-04-2011, 11:47 AM
  4. Getting started with OpenGL using 'C' (not C++)
    By JF_Aidan_Pryde in forum OpenGL: Basic Coding
    Replies: 12
    Last Post: 12-09-2002, 03:31 AM
  5. Getting Started WIth OpenGL
    By AwfullyJohnToday in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 11-06-2002, 05:21 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