- 博客(33)
- 资源 (22)
- 收藏
- 关注
原创 OpenGL入门系列- glVertexAttribPointer的解释
glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *ptr);
2014-09-28 22:49:56 7091
原创 OpenGL入门系列- OpenGL_ES 在 本地操作系统窗口上绘制的过程过程
EGL 是 Opengl_ES 和 本地操作系统窗口的粘合剂,
2014-09-27 20:26:05 1656
原创 osg入门系列-生成顶点法向量
#include #include #include #include #include #include #include #include #include #include #include using namespace std;osg::ref_ptr createQuad(){ osg::ref_
2014-09-25 13:57:35 3067
原创 OpenGL入门系列- Bezier曲线
#include #include #include GLfloat ctrlpoints[4][3] ={ {-4.0, -4.0, 0.0}, {-2.0, 4.0, 0.0}, {2.0, -4.0, 0.0}, {4.0, 4.0, 0.0}};void init(void){ glClearColor(0.0,
2014-09-23 09:33:08 1045
原创 环境: Ubuntu下 Cesiumjs 调试环境配置 (著名的三维虚拟地球开源项目)
Cesiumjs 是一个开源三维GIS1: 安装 Chrome 浏览器,参照: http://blog.csdn.net/zangle260/article/details/394757712:安装 js 相关组件,参照: http://blog.csdn.net/zangle260/article/details/394757833:下载Cesiumjs 源码: http://c
2014-09-22 14:16:04 2769 1
原创 环境:ubuntu 下 javascrip 相关的 node 安装
本文主要对前人所写文章的总结,包括自己在安装node.js 和express过程中遇到的问题。以备后用,同时能让正在学习node.js 的人少走一些弯路。1.安装环境,由于对linux是菜鸟级别,所以在虚拟机上安装的一个ubuntu11.10 随便玩玩,虚拟机的安装这里就不多说了。2.node.js安装: 第一步,安装依赖包, sudo apt-get install
2014-09-22 14:08:23 1175
原创 环境: ubuntu Chrome 安装
在ubuntu下一个必不可少的软件就是chrome浏览器,但chrome的安装却不是很顺利。以下对安装过程和期间出现的问题做个记录。方法/步骤: 到https://www.google.com/intl/zh-CN/chrome/browser/下载相应的版本的安装包 ubuntu 12.04 LTS 安装chrome问题及解决 进入下载目录:
2014-09-22 14:07:10 1187
原创 osg入门系列14-狄落泥三角网
#include #include #include #include #include #include #include #include #include #include #include #include "Tex.h"#include using namespace std;int main(){
2014-09-22 13:36:20 2700
翻译 三维渲染引擎渲染层设计(3D Engine Design for Vritual Globes -翻译未完)
1: 渲染层抽象出来的优点不翻译了。
2014-09-21 14:00:58 2519
原创 OpenGL入门系列- 累积缓冲区用法例子
#include #include //#include "jitter.h"void init(void){ GLfloat mat_ambient[] = {1.0, 1.0, 1.0, 1.0}; GLfloat mat_specular[] = {1.0, 1.0, 1.0, 1.0}; GLfloat light_position[] =
2014-09-20 20:29:13 1059
原创 osg入门系列13-几何体简化
#include #include #include #include #include #include #include #include #include #include #include #include using namespace std;int main(){ osg::ref_ptr
2014-09-20 14:03:34 3002 2
原创 osg入门系列12-多边形分格
#include #include #include #include #include #include #include #include #include osg::ref_ptr tesslatorGeometry(){ osg::ref_ptr geode = new osg::Geode(); osg::r
2014-09-20 13:27:08 1753
原创 osg入门系列11- 预订义几何体
#include #include #include #include #include #include #include #include #include using namespace std;osg::ref_ptr createShape(){ osg::ref_ptr geode = new osg::Geod
2014-09-20 13:27:07 903
原创 osg入门系列10-以索引方式的几何体绘制
#include #include #include #include #include #include #include #include using namespace std;osg::ref_ptr createQuad(){ osg::ref_ptr geode = new osg::Geode();
2014-09-20 11:52:04 3025 1
原创 osg入门系列9-一个正方形
#include #include #include #include #include #include #include osg::ref_ptr createQuad(){ osg::ref_ptr geode = new osg::Geode(); osg::ref_ptr geom = new osg::Geomet
2014-09-20 11:12:49 1382
原创 osg入门系列8-一个地球
#include #include #include #include #include #include #include #include #include #include #include using namespace std;osg::ref_ptr createEarth(){ osg:
2014-09-19 14:12:24 2805
原创 OpenGL入门系列- 视景体定义
#include #include #include #include "jitter.h"#define PI_ 3.14159265358979323846/* accFrustum()* The first 6 arguments are identical to the glFrustum() call.** pixdx and pixdy a
2014-09-19 13:35:28 2402
原创 环境:QT Create 快捷键
附录 Qt Creator键盘快捷键速查一般操作的键盘快捷键 操作 快捷键操作快捷键打开文件或项目Ctrl+O新建文件或项目Ctrl+N在外部编辑器中打开Alt+V
2014-09-19 10:15:36 1536
原创 osg入门系列7- 一个小房子
#include #include #include #include #include #include #include using namespace std;osg::Drawable* createHouseWall(){ osg::ref_ptr vertices = new osg::Vec3Array();
2014-09-19 06:12:44 1239
原创 osg入门系列6- 遮挡查询节点
#include using namespace std;#include #include #include #include #include #include #include #include #include #include #include #include #include osg::ref_ptr c
2014-09-18 14:09:41 2400
原创 osg入门系列5-代替节点
#include using namespace std;#include #include #include #include #include #include #include #include int main(){ osg::ref_ptr viewer = new osgViewer::Viewer();
2014-09-18 13:43:02 1285
原创 OpenGL入门系列- 颜色索引模式
#include #include #include #define RAMPSIZE 16#define RAMP1START 32#define RAMP2START 48static float rotAngle = 0.;void init(void){ int i; for(i = 0; i {
2014-09-18 13:29:08 2264 2
原创 osg入门系列4- 分页细节层次节点
#include #include #include #include #include #include #include #include #include #include #include #include using namespace std;osg::ref_ptr createPagedLOD(
2014-09-17 13:48:54 3265
原创 osg入门系列3 - 开关节点例子
#include #include #include #include #include #include #include #include #include using namespace std;int main(){ osg::ref_ptr viewer = new osgViewer::Viewer();
2014-09-17 13:17:26 1053
原创 OpenGL入门系列- 裁剪平面
#include #include void init(void){ glClearColor(0.0, 0.0, 0.0, 0.0); glShadeModel(GL_FLAT);}void display(void){ GLdouble eqn[4] = {0.0, 1.0, 0.0, 0.0}; GLdouble e
2014-09-16 09:22:30 1328
原创 环境: OpenMp入门系列1: OpenMP QT 编译配置
#include #include using namespace std;int main(){ #pragma omp parallel for for (int i = 0; i { printf("i = %d\n", i); } return 0;}
2014-09-15 18:18:32 3746 2
OpenGL Programming Guide (Red Book) 9th Edition Source Code
2024-10-07
Learn LLVM 17 A beginners guide to learnin - Kai Nacke.pdf
2024-07-08
Power and Performance Software Analysis and Optimization pdf
2024-04-09
计算机图形学经典书籍资料-渲染部分
2014-11-06
计算机图形学经典书籍资料-建模部分
2014-11-06
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人