摘要: 博客转自:https://www.jianshu.com/p/042fd657e2d4?tdsourcetag=s_pcqq_aiomsg 1、通过 conda config 命令生成配置文件 这里,我们使用清华的镜像:https://mirrors.tuna.tsinghua.edu.cn/ana 阅读全文
posted @ 2020-05-23 20:54 采男孩的小蘑菇 阅读(3766) 评论(0) 推荐(0) 编辑
摘要: 博客转自:http://www.lighthouse3d.com/tutorials/glut-tutorial/glutpostredisplay-vs-idle-func/. GLUT将会调用显示函数知道没有事件函数去处理,也就是说,只要没有事件函数处理,主程序尽可能调用显示函数。我们将建立一个 阅读全文
posted @ 2020-05-23 17:51 采男孩的小蘑菇 阅读(546) 评论(0) 推荐(0) 编辑
摘要: 博客转自:http://www.lighthouse3d.com/tutorials/glut-tutorial/rendering-to-multiple-subwindows/ Before we start lets recall our callback definitions, as de 阅读全文
posted @ 2020-05-23 17:26 采男孩的小蘑菇 阅读(363) 评论(0) 推荐(0) 编辑
摘要: 博客转自:http://www.lighthouse3d.com/tutorials/glut-tutorial/subwindow-reshape/ The callback for the reshape function needs to do two things: it resizes t 阅读全文
posted @ 2020-05-23 17:20 采男孩的小蘑菇 阅读(240) 评论(0) 推荐(0) 编辑
摘要: 博客转自:http://www.lighthouse3d.com/tutorials/glut-tutorial/subwindows/ 创建和销毁子窗口 With GLUT we can define subwindows, i.e. divide the main window in diffe 阅读全文
posted @ 2020-05-23 17:16 采男孩的小蘑菇 阅读(359) 评论(0) 推荐(0) 编辑
摘要: 博客转自:http://www.lighthouse3d.com/tutorials/glut-tutorial/game-mode/ GLUT的游戏模式是使能高性能全屏渲染。然而,总是会有些GLUT函数拖累高性能的需求,例如菜单弹窗,子窗口等。在这个小节,将引入GLUT的游戏模式。我的这个教程的资 阅读全文
posted @ 2020-05-23 15:48 采男孩的小蘑菇 阅读(450) 评论(0) 推荐(0) 编辑
摘要: 博客转自:http://www.lighthouse3d.com/tutorials/glut-tutorial/frames-per-second/ How fast is your application really going? Sometimes we make small changes 阅读全文
posted @ 2020-05-23 11:31 采男孩的小蘑菇 阅读(381) 评论(0) 推荐(0) 编辑
摘要: 博客转自:http://www.lighthouse3d.com/tutorials/glut-tutorial/stroke-fonts/ 笔画是一种利用直线绘制的字体,对比位图字体,笔画字体更像3维物体。例如字体可以旋转、缩放和平移。这个小节内,我们将呈现GLUT 将笔画字体显示在屏幕上的函数。 阅读全文
posted @ 2020-05-23 11:29 采男孩的小蘑菇 阅读(240) 评论(0) 推荐(0) 编辑
摘要: 博客转自:http://www.lighthouse3d.com/tutorials/glut-tutorial/bitmap-fonts-and-orthogonal-projections/ 位图字体的通常使用是在2维空间给用户提供信息。例如,一个简单的例子就是当我们想去显示应用程序的帧率的时候 阅读全文
posted @ 2020-05-23 11:17 采男孩的小蘑菇 阅读(281) 评论(0) 推荐(0) 编辑
摘要: 博客转自:http://www.lighthouse3d.com/tutorials/glut-tutorial/bitmap-fonts/ 位图字体是一个2维的字体,虽然我们会将它放置在3维的世界内,但是这些字体没有厚度,不可以被旋转或者缩放;只可以被平移。而且,这种字体永远只朝向观测者的视野,就 阅读全文
posted @ 2020-05-23 10:41 采男孩的小蘑菇 阅读(535) 评论(0) 推荐(0) 编辑