上一页 1 ··· 13 14 15 16 17

2016年12月27日

Python>>>创建一个简单的3D场景(1)

摘要: 首先安装PyOpengl 64bit下可能存在glut的问题,解决如下 下载地址:(选择适合自己的版本)http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyopengl 下载下来的whl文件,用pip install file_name.whl进行安装后,问题解 阅读全文

posted @ 2016-12-27 14:58 legion 阅读(5213) 评论(0) 推荐(0) 编辑

2016年12月24日

Python>>>使用Python和Pygame创建画板

摘要: 下面是画板截图 代码下载 图片下载 阅读全文

posted @ 2016-12-24 13:37 legion 阅读(3166) 评论(1) 推荐(0) 编辑

2016年12月23日

Python>>>The Very First Step

摘要: Windows官网下载 python-2.7.13.amd64.msi python3_64bit_windows 默认会安装pip,同是把设置环境变量也选中 安装第三方包: 确认已经正确安装的方法:1.完成后使用pip list 查看。2.在命令行进入python后,使用import pygame 阅读全文

posted @ 2016-12-23 17:39 legion 阅读(236) 评论(0) 推荐(0) 编辑

2016年12月8日

OpenGL

摘要: Unlike an attribute that is set on each vertex, a uniform keeps the same value for all vertices until we change it again. glMultMatrix*(已废弃)把一个新的4*4矩阵 阅读全文

posted @ 2016-12-08 11:07 legion 阅读(107) 评论(0) 推荐(0) 编辑

2016年2月29日

示波器硬件调试

摘要: 1。调试串口 射频 阅读全文

posted @ 2016-02-29 13:39 legion 阅读(221) 评论(0) 推荐(0) 编辑

2011年10月10日

用OpenGL 生成 bmp .bmp 文件

摘要: 这里主要是指用glReadPixels读取一块矩形区域,然后保存为bmp文件这里使用最简单,最常用,无压缩的24bit bmp有两个headerfile header 大小14byte#pragma pack( push, 2 )struct BMPFileHeader{ unsigned short usType; unsigned int file_size; unsigned short usReserved1; unsigned short usReserved2; unsigned int uiOffBits; };#pragma pack( pop ... 阅读全文

posted @ 2011-10-10 12:56 legion 阅读(469) 评论(0) 推荐(0) 编辑

上一页 1 ··· 13 14 15 16 17

导航