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

Thread: "Learn Modern 3d graphics programming" on a mac

Hybrid View

  1. #1
    Newbie Newbie
    Join Date
    Mar 2013
    Posts
    2

    "Learn Modern 3d graphics programming" on a mac

    First of all, I know that there is a mac forum for opengl, but that looks barren and I need to be able to do this ASAP.
    Basically I'm trying to compile these tutorials, Learn Modern 3d graphics programming (I can't post the link, so it would be in the pastebin link) but of course it won't compile. I've tried following pages to no avail, pastebin.com/raw.php?i=GgTq9vi0 (because I can't urls because Im new so all the links are at the pastebin link)

    So basically, I'm now asking you guys how I can get the tutorial to compile.

  2. #2

  3. #3
    Newbie Newbie
    Join Date
    Mar 2013
    Posts
    2
    Could you elaborate? If the tutorial doesn't support macosx could you explain why, because it doesn't say anywhere that it doesn't. Also in one of the links, the stackoverflow one, one of the answer imply that it is possible but I find that answer incredibly vague and I can't follow it.

  4. #4
    Senior Member OpenGL Guru
    Join Date
    May 2009
    Posts
    4,948
    If the tutorial doesn't support macosx could you explain why, because it doesn't say anywhere that it doesn't.
    That would be on this page, the last sentence of the first paragraph where it says, "Windows and Linux are supported". I hadn't thought it was necessary to list what platforms weren't supported.

    one of the answer imply that it is possible
    Possible? I'm sure if you know how to put a build system together, and then rewrite the parts of the tutorials that rely on OpenGL 3.3-only features, you could get it working. But now you're talking about effectively porting them to another platform.

    That's not going to be a trivial process.

  5. #5
    Junior Member Newbie
    Join Date
    Sep 2013
    Posts
    4
    I had lots of trouble trying to make FreeGLUT work on OS X. It seems that X11.org doesn't support OpenGL 3.2 contexts on OS X and you need that in order to use FreeGLUT with these tutorials.

    Because of that I'm redoing the tutorials using FLGW3. I only adds parts from McKesson's framework as needed, so the simpler tutorials are easier to compiler and understand. I'm only providing an Xcode project (works straight away on OS X), but the code should be pretty much cross-platform and a Makefile should not be difficult to write.

    You can find it here: https://github.com/rsanchezsaez/gltut-glfw

    Hope it helps. ;-)

Posting Permissions

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