hexonly
V2EX  ›  OpenGL

Mac 上开发 OpenGL 程序?

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

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

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