- 博客(6)
- 收藏
- 关注
原创 【计算机图形学】六、Mandelbrot集
1. 算法2. 源代码#include "stdafx.h"#include "GL/glut.h"#include "stdlib.h"#include "math.h"float xmin=-2.00,xmax=0.50;float ymin=-1.25,ymax=1.25;void init(){ glClearColor(1.0,1.0,
2013-01-19 15:04:46 1777
原创 【计算机图形学】五、Julia集
1. 算法2. 源代码#include "stdafx.h"#include "GL/glut.h"#include "stdlib.h"#include "math.h"void init(){ glClearColor(1.0,1.0,1.0,0.0); glMatrixMode(GL_PROJECTION); gluOrtho2D(-0.
2013-01-19 15:00:16 1662
原创 【计算机图形学】四、B样条曲线的生成
1.算法2. 源代码#include "stdafx.h"#include "GL/glut.h"#include "stdlib.h"void init(){ glClearColor(1.0,1.0,1.0,0.0); glMatrixMode(GL_PROJECTION); gluOrtho2D(0.0,600.0,0.0,400.
2013-01-18 15:42:18 5988 1
原创 【计算机图形学】三、bezier曲线的生成
1. 算法2. 源代码#include "stdafx.h"#include "GL/glut.h"#include "stdlib.h"#include "math.h"void init(){ glClearColor(1.0,1.0,1.0,0.0); glMatrixMode(GL_PROJECTION); gluOrtho2D(0.0
2013-01-18 15:38:03 4144
原创 【计算机图形学】二、椭圆的生成
1. 算法2. 源代码#include "stdafx.h"#include "GL/glut.h"#include "stdlib.h"void init(){ glClearColor(1.0,1.0,1.0,0.0); glMatrixMode(GL_PROJECTION); gluOrtho2D(0.0,600.0,0.0,400
2013-01-18 15:32:55 2162 1
原创 【计算机图形学】一、直线的生成
1. 算法:2. 源代码:#include "stdafx.h"#include "GL/glut.h"#include "stdlib.h"#include "math.h"void init(){ glClearColor(1.0,1.0,1.0,0.0); glMatrixMode(GL_PROJECTION); gluOrtho2D(0.0,20
2013-01-18 15:21:51 1389
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人