【问题标题】:freeglut_main.c not found in OPTIX 3.8在 OPTIX 3.8 中找不到 freeglut_main.c
【发布时间】:2015-07-30 12:17:55
【问题描述】:

我一直在 Optix 为我的光线追踪项目工作,我浏览了它的类和函数,我知道所有的显示函数和回调都在 glutmainloop() 中处理,它永远不会结束,我的问题是我不能找到定义了 glutmainloop() 的任何函数或 .c 文件?隐藏了吗?

谁能帮帮我?

【问题讨论】:

    标签: opengl glut freeglut optix


    【解决方案1】:

    glutMainLoop 是 GL Utility Toolkit (GLUT) 中的一个函数。在 Windows 上,该库被链接,因此不提供源代码。正是由the open source freeglut提供:

    过剩

    大多数 OptiX 示例使用 GLUT 工具包。 Freeglut 随 Windows OptiX 发行版一起提供。 GLUT 默认安装在 Mac OSX 上。在 Linux 上构建示例需要安装 GLUT。

    看看github's mirror for its code

    更多信息在这里:opengl glutmainloop()

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2016-11-09
      • 1970-01-01
      • 2020-11-19
      • 1970-01-01
      • 2020-05-15
      • 1970-01-01
      • 2020-11-02
      相关资源
      最近更新 更多