hexonly
V2EX  ›  OpenGL

Mac 上开发 OpenGL 程序?

  •  
  •   hexonly · Aug 14, 2014 · 9368 views
    This topic created in 4293 days ago, the information mentioned may be changed or developed.
    用Xcode 怎么搞, 我一直玩不来。
    7 replies    2017-03-31 09:25:29 +08:00
    Livid
        1
    Livid  
    MOD
    PRO
       Aug 14, 2014
    好多年前搞过,记得 OS X 上是自带 GLUT.Framework 的。把这个 Framework 引入之后,教材上的大部分例子就可以直接跑了。
    xhacker
        3
    xhacker  
       Aug 14, 2014
    我这里有几个 repo,你可以参考下:

    https://github.com/xhacker/raycast
    https://github.com/xhacker/Snowy-SFU // 改一下 makefile,把 OS X 那段取消注释
    https://github.com/xhacker/robotic-arm

    不过挺作死的,还是 Ubuntu 比较顺溜。
    hexonly
        4
    hexonly  
    OP
       Aug 14, 2014
    我找不到add
    我百度搜 都搜有写add 但是右键没有
    txx
        5
    txx  
       Aug 14, 2014
    年少無知不懂事的時候寫的茶壺.....你可以看一下
    https://github.com/rpplusplus/OpenGL_Homework/tree/master/OpenGL_MAC
    MCVector
        6
    MCVector  
       Oct 5, 2015 via Android
    可以用 GLFW 代替 GLUT. 但是 Apple 的 OpenGL 只支持到 4.1, 不能用 compute shader 之类的
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   921 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 19:52 · PVG 03:52 · LAX 12:52 · JFK 15:52
    ♥ Do have faith in what you're doing.