├── .babelrc ├── .eslintignore ├── .eslintrc.js ├── .gitignore ├── LICENSE ├── README.md ├── chapter01 └── e1.7 │ ├── 透视图01.png │ ├── 透视图02.png │ ├── 透视图03.png │ ├── 透视图04.png │ ├── 透视图05.png │ ├── 透视图06.png │ └── 透视图简介.md ├── chapter02 ├── TurtleGraphics │ ├── app.js │ ├── index.html │ ├── shader.frag │ └── shader.vert ├── TurtleSierp │ ├── README.md │ ├── app.js │ ├── flowChart.png │ ├── index.html │ ├── shader.frag │ └── shader.vert ├── check_polygon │ ├── README.md │ ├── app.js │ ├── index.html │ ├── shader.frag │ └── shader.vert ├── drawPixel │ ├── README.md │ ├── app.js │ ├── index.html │ ├── shader.frag │ └── shader.vert ├── gasket │ ├── app.js │ ├── index.html │ ├── shader.frag │ └── shader.vert ├── gasket2 │ ├── app.js │ ├── index.html │ ├── shader.frag │ └── shader.vert ├── gasket3 │ ├── app.js │ ├── index.html │ ├── shader.frag │ └── shader.vert ├── gasket4 │ ├── app.js │ ├── index.html │ ├── shader.frag │ └── shader.vert ├── koch │ ├── README.md │ ├── app.js │ ├── index.html │ ├── shader.frag │ └── shader.vert ├── kochThree │ ├── README.md │ ├── app.js │ └── index.html ├── maze_gl │ ├── README.md │ ├── app.js │ ├── index.html │ ├── shader.frag │ └── shader.vert ├── maze_grid │ ├── README.md │ ├── app.js │ └── index.html ├── mountains │ ├── README.md │ ├── app.js │ ├── index.html │ ├── shader.frag │ └── shader.vert ├── mountains1 │ ├── README.md │ ├── app.js │ ├── index.html │ ├── shader.frag │ └── shader.vert └── mountains1Three │ ├── README.md │ ├── app.js │ └── index.html ├── chapter03 ├── cad_polygon │ ├── app.js │ ├── index.html │ ├── shader.frag │ └── shader.vert ├── cad_polygon2 │ ├── app.js │ ├── index.html │ ├── shader.frag │ └── shader.vert ├── cad_rect │ ├── app.js │ ├── index.html │ ├── shader.frag │ └── shader.vert ├── checkers │ ├── README.md │ ├── app.js │ ├── index.html │ ├── shader.frag │ └── shader.vert ├── gasket5 │ ├── README.md │ ├── app.js │ ├── index.html │ ├── shader.frag │ └── shader.vert ├── gobang │ ├── README.md │ ├── app.js │ ├── index.html │ ├── shader.frag │ └── shader.vert ├── rotation │ ├── README.md │ ├── app.js │ ├── index.html │ ├── shader.frag │ └── shader.vert ├── rotation_color │ ├── README.md │ ├── app.js │ ├── index.html │ ├── shader.frag │ └── shader.vert └── rotation_control │ ├── README.md │ ├── app.js │ ├── index.html │ ├── shader.frag │ └── shader.vert ├── chapter04 ├── cube.1 │ ├── app.js │ ├── index.html │ ├── shader.frag │ └── shader.vert ├── cube │ ├── app.js │ ├── index.html │ ├── shader.frag │ └── shader.vert └── trackball │ ├── app.js │ ├── index.html │ ├── shader.frag │ └── shader.vert ├── chapter05 └── .gitkeep ├── chapter06 └── .gitkeep ├── chapter07 └── render3 │ ├── app.js │ ├── blur.frag │ ├── blur.vert │ ├── data.js │ ├── index.css │ ├── index.html │ ├── lib.js │ ├── shader.frag │ └── shader.vert ├── chapter08 └── .gitkeep ├── chapter09 └── .gitkeep ├── chapter10 └── .gitkeep ├── chapter11 └── .gitkeep ├── chapter12 └── .gitkeep ├── common ├── README.md └── maze.js ├── docs ├── CNAME ├── TurtleGraphics.html ├── TurtleGraphics │ └── app.js ├── TurtleSierp.html ├── TurtleSierp │ └── app.js ├── cad_polygon.html ├── cad_polygon │ └── app.js ├── cad_polygon2.html ├── cad_polygon2 │ └── app.js ├── cad_rect.html ├── cad_rect │ └── app.js ├── check_polygon.html ├── check_polygon │ └── app.js ├── checkers.html ├── checkers │ └── app.js ├── cube.html ├── cube │ └── app.js ├── gasket.html ├── gasket │ └── app.js ├── gasket2.html ├── gasket2 │ └── app.js ├── gasket3.html ├── gasket3 │ └── app.js ├── gasket4.html ├── gasket4 │ └── app.js ├── gasket5.html ├── gasket5 │ └── app.js ├── helloworld.html ├── helloworld │ └── app.js ├── index.html ├── koch.html ├── koch │ └── app.js ├── kochThree.html ├── kochThree │ └── app.js ├── maze_gl.html ├── maze_gl │ └── app.js ├── maze_grid.html ├── maze_grid │ └── app.js ├── mountains.html ├── mountains │ └── app.js ├── mountains1.html ├── mountains1 │ └── app.js ├── mountains1Three.html ├── mountains1Three │ └── app.js ├── rotation.html ├── rotation │ └── app.js ├── rotation_color.html ├── rotation_color │ └── app.js ├── rotation_control.html ├── rotation_control │ └── app.js ├── three-curve.html ├── three-curve │ └── app.js ├── three-first-scene.html ├── three-first-scene │ └── app.js ├── trackball.html └── trackball │ └── app.js ├── glsl ├── README.md ├── chessboard │ ├── app.js │ ├── index.html │ └── shader.frag └── helloworld │ ├── app.js │ ├── index.html │ └── shader.frag ├── jsconfig.json ├── misc ├── README.md ├── svg-mesh │ ├── app.js │ ├── index.html │ ├── shader.frag │ └── shader.vert ├── svg-mesh2 │ ├── app.js │ ├── index.html │ └── shader.frag ├── three-curve │ ├── app.js │ └── index.html └── three-first-scene │ ├── app.js │ └── index.html ├── package.json ├── scripts ├── build-task.js └── build.js ├── src └── index.js ├── vendor ├── GlslCanvas.js ├── MV.js ├── MV2.js ├── README.txt ├── gl-matrix.js ├── initShaders.js ├── initShaders2.js └── webgl-utils.js └── webpack.config.js /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/.babelrc -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | .git 2 | node_modules 3 | lib 4 | vendor 5 | dist -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | 3 | node_modules 4 | dist 5 | yarn.lock 6 | 7 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/README.md -------------------------------------------------------------------------------- /chapter01/e1.7/透视图01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter01/e1.7/透视图01.png -------------------------------------------------------------------------------- /chapter01/e1.7/透视图02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter01/e1.7/透视图02.png -------------------------------------------------------------------------------- /chapter01/e1.7/透视图03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter01/e1.7/透视图03.png -------------------------------------------------------------------------------- /chapter01/e1.7/透视图04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter01/e1.7/透视图04.png -------------------------------------------------------------------------------- /chapter01/e1.7/透视图05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter01/e1.7/透视图05.png -------------------------------------------------------------------------------- /chapter01/e1.7/透视图06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter01/e1.7/透视图06.png -------------------------------------------------------------------------------- /chapter01/e1.7/透视图简介.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter01/e1.7/透视图简介.md -------------------------------------------------------------------------------- /chapter02/TurtleGraphics/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/TurtleGraphics/app.js -------------------------------------------------------------------------------- /chapter02/TurtleGraphics/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/TurtleGraphics/index.html -------------------------------------------------------------------------------- /chapter02/TurtleGraphics/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/TurtleGraphics/shader.frag -------------------------------------------------------------------------------- /chapter02/TurtleGraphics/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/TurtleGraphics/shader.vert -------------------------------------------------------------------------------- /chapter02/TurtleSierp/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/TurtleSierp/README.md -------------------------------------------------------------------------------- /chapter02/TurtleSierp/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/TurtleSierp/app.js -------------------------------------------------------------------------------- /chapter02/TurtleSierp/flowChart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/TurtleSierp/flowChart.png -------------------------------------------------------------------------------- /chapter02/TurtleSierp/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/TurtleSierp/index.html -------------------------------------------------------------------------------- /chapter02/TurtleSierp/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/TurtleSierp/shader.frag -------------------------------------------------------------------------------- /chapter02/TurtleSierp/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/TurtleSierp/shader.vert -------------------------------------------------------------------------------- /chapter02/check_polygon/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/check_polygon/README.md -------------------------------------------------------------------------------- /chapter02/check_polygon/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/check_polygon/app.js -------------------------------------------------------------------------------- /chapter02/check_polygon/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/check_polygon/index.html -------------------------------------------------------------------------------- /chapter02/check_polygon/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/check_polygon/shader.frag -------------------------------------------------------------------------------- /chapter02/check_polygon/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/check_polygon/shader.vert -------------------------------------------------------------------------------- /chapter02/drawPixel/README.md: -------------------------------------------------------------------------------- 1 | ### 习题 2.3 编写一个小型函数库 有writePixel,readPixel和drawCircle方法 2 | 3 | -------------------------------------------------------------------------------- /chapter02/drawPixel/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/drawPixel/app.js -------------------------------------------------------------------------------- /chapter02/drawPixel/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/drawPixel/index.html -------------------------------------------------------------------------------- /chapter02/drawPixel/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/drawPixel/shader.frag -------------------------------------------------------------------------------- /chapter02/drawPixel/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/drawPixel/shader.vert -------------------------------------------------------------------------------- /chapter02/gasket/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/gasket/app.js -------------------------------------------------------------------------------- /chapter02/gasket/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/gasket/index.html -------------------------------------------------------------------------------- /chapter02/gasket/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/gasket/shader.frag -------------------------------------------------------------------------------- /chapter02/gasket/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/gasket/shader.vert -------------------------------------------------------------------------------- /chapter02/gasket2/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/gasket2/app.js -------------------------------------------------------------------------------- /chapter02/gasket2/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/gasket2/index.html -------------------------------------------------------------------------------- /chapter02/gasket2/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/gasket2/shader.frag -------------------------------------------------------------------------------- /chapter02/gasket2/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/gasket2/shader.vert -------------------------------------------------------------------------------- /chapter02/gasket3/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/gasket3/app.js -------------------------------------------------------------------------------- /chapter02/gasket3/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/gasket3/index.html -------------------------------------------------------------------------------- /chapter02/gasket3/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/gasket3/shader.frag -------------------------------------------------------------------------------- /chapter02/gasket3/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/gasket3/shader.vert -------------------------------------------------------------------------------- /chapter02/gasket4/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/gasket4/app.js -------------------------------------------------------------------------------- /chapter02/gasket4/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/gasket4/index.html -------------------------------------------------------------------------------- /chapter02/gasket4/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/gasket4/shader.frag -------------------------------------------------------------------------------- /chapter02/gasket4/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/gasket4/shader.vert -------------------------------------------------------------------------------- /chapter02/koch/README.md: -------------------------------------------------------------------------------- 1 | ## 习题 2.6 2 | 3 | 生成Koch雪花图 4 | -------------------------------------------------------------------------------- /chapter02/koch/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/koch/app.js -------------------------------------------------------------------------------- /chapter02/koch/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/koch/index.html -------------------------------------------------------------------------------- /chapter02/koch/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/koch/shader.frag -------------------------------------------------------------------------------- /chapter02/koch/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/koch/shader.vert -------------------------------------------------------------------------------- /chapter02/kochThree/README.md: -------------------------------------------------------------------------------- 1 | ## 习题 2.6 2 | 3 | 生成 Koch 雪花图(three.js 版本) 4 | -------------------------------------------------------------------------------- /chapter02/kochThree/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/kochThree/app.js -------------------------------------------------------------------------------- /chapter02/kochThree/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/kochThree/index.html -------------------------------------------------------------------------------- /chapter02/maze_gl/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/maze_gl/README.md -------------------------------------------------------------------------------- /chapter02/maze_gl/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/maze_gl/app.js -------------------------------------------------------------------------------- /chapter02/maze_gl/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/maze_gl/index.html -------------------------------------------------------------------------------- /chapter02/maze_gl/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/maze_gl/shader.frag -------------------------------------------------------------------------------- /chapter02/maze_gl/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/maze_gl/shader.vert -------------------------------------------------------------------------------- /chapter02/maze_grid/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/maze_grid/README.md -------------------------------------------------------------------------------- /chapter02/maze_grid/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/maze_grid/app.js -------------------------------------------------------------------------------- /chapter02/maze_grid/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/maze_grid/index.html -------------------------------------------------------------------------------- /chapter02/mountains/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/mountains/README.md -------------------------------------------------------------------------------- /chapter02/mountains/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/mountains/app.js -------------------------------------------------------------------------------- /chapter02/mountains/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/mountains/index.html -------------------------------------------------------------------------------- /chapter02/mountains/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/mountains/shader.frag -------------------------------------------------------------------------------- /chapter02/mountains/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/mountains/shader.vert -------------------------------------------------------------------------------- /chapter02/mountains1/README.md: -------------------------------------------------------------------------------- 1 | ## 习题 2.1 2 | 3 | webgl 3d 版本 4 | -------------------------------------------------------------------------------- /chapter02/mountains1/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/mountains1/app.js -------------------------------------------------------------------------------- /chapter02/mountains1/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/mountains1/index.html -------------------------------------------------------------------------------- /chapter02/mountains1/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/mountains1/shader.frag -------------------------------------------------------------------------------- /chapter02/mountains1/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/mountains1/shader.vert -------------------------------------------------------------------------------- /chapter02/mountains1Three/README.md: -------------------------------------------------------------------------------- 1 | ## 习题 2.1 2 | 3 | three.js 版本 4 | -------------------------------------------------------------------------------- /chapter02/mountains1Three/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/mountains1Three/app.js -------------------------------------------------------------------------------- /chapter02/mountains1Three/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter02/mountains1Three/index.html -------------------------------------------------------------------------------- /chapter03/cad_polygon/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter03/cad_polygon/app.js -------------------------------------------------------------------------------- /chapter03/cad_polygon/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter03/cad_polygon/index.html -------------------------------------------------------------------------------- /chapter03/cad_polygon/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter03/cad_polygon/shader.frag -------------------------------------------------------------------------------- /chapter03/cad_polygon/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter03/cad_polygon/shader.vert -------------------------------------------------------------------------------- /chapter03/cad_polygon2/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter03/cad_polygon2/app.js -------------------------------------------------------------------------------- /chapter03/cad_polygon2/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter03/cad_polygon2/index.html -------------------------------------------------------------------------------- /chapter03/cad_polygon2/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter03/cad_polygon2/shader.frag -------------------------------------------------------------------------------- /chapter03/cad_polygon2/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter03/cad_polygon2/shader.vert -------------------------------------------------------------------------------- /chapter03/cad_rect/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter03/cad_rect/app.js -------------------------------------------------------------------------------- /chapter03/cad_rect/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter03/cad_rect/index.html -------------------------------------------------------------------------------- /chapter03/cad_rect/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter03/cad_rect/shader.frag -------------------------------------------------------------------------------- /chapter03/cad_rect/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter03/cad_rect/shader.vert -------------------------------------------------------------------------------- /chapter03/checkers/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter03/checkers/README.md -------------------------------------------------------------------------------- /chapter03/checkers/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter03/checkers/app.js -------------------------------------------------------------------------------- /chapter03/checkers/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter03/checkers/index.html -------------------------------------------------------------------------------- /chapter03/checkers/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter03/checkers/shader.frag -------------------------------------------------------------------------------- /chapter03/checkers/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter03/checkers/shader.vert -------------------------------------------------------------------------------- /chapter03/gasket5/README.md: -------------------------------------------------------------------------------- 1 | ## 习题 3.1 2 | 3 | 交互功能,单机鼠标左键绘制点,右键暂停,中键停止 4 | -------------------------------------------------------------------------------- /chapter03/gasket5/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter03/gasket5/app.js -------------------------------------------------------------------------------- /chapter03/gasket5/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter03/gasket5/index.html -------------------------------------------------------------------------------- /chapter03/gasket5/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter03/gasket5/shader.frag -------------------------------------------------------------------------------- /chapter03/gasket5/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter03/gasket5/shader.vert -------------------------------------------------------------------------------- /chapter03/gobang/README.md: -------------------------------------------------------------------------------- 1 | ### 一个五子棋习题 2 | 点击下棋,胜出方在右上角显示 3 | 4 | -------------------------------------------------------------------------------- /chapter03/gobang/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter03/gobang/app.js -------------------------------------------------------------------------------- /chapter03/gobang/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter03/gobang/index.html -------------------------------------------------------------------------------- /chapter03/gobang/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter03/gobang/shader.frag -------------------------------------------------------------------------------- /chapter03/gobang/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter03/gobang/shader.vert -------------------------------------------------------------------------------- /chapter03/rotation/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter03/rotation/README.md -------------------------------------------------------------------------------- /chapter03/rotation/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter03/rotation/app.js -------------------------------------------------------------------------------- /chapter03/rotation/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter03/rotation/index.html -------------------------------------------------------------------------------- /chapter03/rotation/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter03/rotation/shader.frag -------------------------------------------------------------------------------- /chapter03/rotation/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter03/rotation/shader.vert -------------------------------------------------------------------------------- /chapter03/rotation_color/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter03/rotation_color/README.md -------------------------------------------------------------------------------- /chapter03/rotation_color/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter03/rotation_color/app.js -------------------------------------------------------------------------------- /chapter03/rotation_color/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter03/rotation_color/index.html -------------------------------------------------------------------------------- /chapter03/rotation_color/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter03/rotation_color/shader.frag -------------------------------------------------------------------------------- /chapter03/rotation_color/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter03/rotation_color/shader.vert -------------------------------------------------------------------------------- /chapter03/rotation_control/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter03/rotation_control/README.md -------------------------------------------------------------------------------- /chapter03/rotation_control/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter03/rotation_control/app.js -------------------------------------------------------------------------------- /chapter03/rotation_control/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter03/rotation_control/index.html -------------------------------------------------------------------------------- /chapter03/rotation_control/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter03/rotation_control/shader.frag -------------------------------------------------------------------------------- /chapter03/rotation_control/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter03/rotation_control/shader.vert -------------------------------------------------------------------------------- /chapter04/cube.1/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter04/cube.1/app.js -------------------------------------------------------------------------------- /chapter04/cube.1/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter04/cube.1/index.html -------------------------------------------------------------------------------- /chapter04/cube.1/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter04/cube.1/shader.frag -------------------------------------------------------------------------------- /chapter04/cube.1/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter04/cube.1/shader.vert -------------------------------------------------------------------------------- /chapter04/cube/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter04/cube/app.js -------------------------------------------------------------------------------- /chapter04/cube/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter04/cube/index.html -------------------------------------------------------------------------------- /chapter04/cube/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter04/cube/shader.frag -------------------------------------------------------------------------------- /chapter04/cube/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter04/cube/shader.vert -------------------------------------------------------------------------------- /chapter04/trackball/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter04/trackball/app.js -------------------------------------------------------------------------------- /chapter04/trackball/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter04/trackball/index.html -------------------------------------------------------------------------------- /chapter04/trackball/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter04/trackball/shader.frag -------------------------------------------------------------------------------- /chapter04/trackball/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter04/trackball/shader.vert -------------------------------------------------------------------------------- /chapter05/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter06/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter07/render3/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter07/render3/app.js -------------------------------------------------------------------------------- /chapter07/render3/blur.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter07/render3/blur.frag -------------------------------------------------------------------------------- /chapter07/render3/blur.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter07/render3/blur.vert -------------------------------------------------------------------------------- /chapter07/render3/data.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter07/render3/data.js -------------------------------------------------------------------------------- /chapter07/render3/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter07/render3/index.css -------------------------------------------------------------------------------- /chapter07/render3/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter07/render3/index.html -------------------------------------------------------------------------------- /chapter07/render3/lib.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter07/render3/lib.js -------------------------------------------------------------------------------- /chapter07/render3/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter07/render3/shader.frag -------------------------------------------------------------------------------- /chapter07/render3/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/chapter07/render3/shader.vert -------------------------------------------------------------------------------- /chapter08/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter09/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter10/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter11/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter12/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /common/README.md: -------------------------------------------------------------------------------- 1 | ## 通用依赖 2 | 3 | 练习和习题中可能多道题共同依赖的模块 -------------------------------------------------------------------------------- /common/maze.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/common/maze.js -------------------------------------------------------------------------------- /docs/CNAME: -------------------------------------------------------------------------------- 1 | webgl.group 2 | -------------------------------------------------------------------------------- /docs/TurtleGraphics.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/TurtleGraphics.html -------------------------------------------------------------------------------- /docs/TurtleGraphics/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/TurtleGraphics/app.js -------------------------------------------------------------------------------- /docs/TurtleSierp.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/TurtleSierp.html -------------------------------------------------------------------------------- /docs/TurtleSierp/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/TurtleSierp/app.js -------------------------------------------------------------------------------- /docs/cad_polygon.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/cad_polygon.html -------------------------------------------------------------------------------- /docs/cad_polygon/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/cad_polygon/app.js -------------------------------------------------------------------------------- /docs/cad_polygon2.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/cad_polygon2.html -------------------------------------------------------------------------------- /docs/cad_polygon2/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/cad_polygon2/app.js -------------------------------------------------------------------------------- /docs/cad_rect.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/cad_rect.html -------------------------------------------------------------------------------- /docs/cad_rect/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/cad_rect/app.js -------------------------------------------------------------------------------- /docs/check_polygon.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/check_polygon.html -------------------------------------------------------------------------------- /docs/check_polygon/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/check_polygon/app.js -------------------------------------------------------------------------------- /docs/checkers.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/checkers.html -------------------------------------------------------------------------------- /docs/checkers/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/checkers/app.js -------------------------------------------------------------------------------- /docs/cube.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/cube.html -------------------------------------------------------------------------------- /docs/cube/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/cube/app.js -------------------------------------------------------------------------------- /docs/gasket.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/gasket.html -------------------------------------------------------------------------------- /docs/gasket/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/gasket/app.js -------------------------------------------------------------------------------- /docs/gasket2.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/gasket2.html -------------------------------------------------------------------------------- /docs/gasket2/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/gasket2/app.js -------------------------------------------------------------------------------- /docs/gasket3.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/gasket3.html -------------------------------------------------------------------------------- /docs/gasket3/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/gasket3/app.js -------------------------------------------------------------------------------- /docs/gasket4.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/gasket4.html -------------------------------------------------------------------------------- /docs/gasket4/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/gasket4/app.js -------------------------------------------------------------------------------- /docs/gasket5.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/gasket5.html -------------------------------------------------------------------------------- /docs/gasket5/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/gasket5/app.js -------------------------------------------------------------------------------- /docs/helloworld.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/helloworld.html -------------------------------------------------------------------------------- /docs/helloworld/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/helloworld/app.js -------------------------------------------------------------------------------- /docs/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/index.html -------------------------------------------------------------------------------- /docs/koch.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/koch.html -------------------------------------------------------------------------------- /docs/koch/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/koch/app.js -------------------------------------------------------------------------------- /docs/kochThree.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/kochThree.html -------------------------------------------------------------------------------- /docs/kochThree/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/kochThree/app.js -------------------------------------------------------------------------------- /docs/maze_gl.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/maze_gl.html -------------------------------------------------------------------------------- /docs/maze_gl/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/maze_gl/app.js -------------------------------------------------------------------------------- /docs/maze_grid.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/maze_grid.html -------------------------------------------------------------------------------- /docs/maze_grid/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/maze_grid/app.js -------------------------------------------------------------------------------- /docs/mountains.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/mountains.html -------------------------------------------------------------------------------- /docs/mountains/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/mountains/app.js -------------------------------------------------------------------------------- /docs/mountains1.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/mountains1.html -------------------------------------------------------------------------------- /docs/mountains1/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/mountains1/app.js -------------------------------------------------------------------------------- /docs/mountains1Three.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/mountains1Three.html -------------------------------------------------------------------------------- /docs/mountains1Three/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/mountains1Three/app.js -------------------------------------------------------------------------------- /docs/rotation.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/rotation.html -------------------------------------------------------------------------------- /docs/rotation/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/rotation/app.js -------------------------------------------------------------------------------- /docs/rotation_color.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/rotation_color.html -------------------------------------------------------------------------------- /docs/rotation_color/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/rotation_color/app.js -------------------------------------------------------------------------------- /docs/rotation_control.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/rotation_control.html -------------------------------------------------------------------------------- /docs/rotation_control/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/rotation_control/app.js -------------------------------------------------------------------------------- /docs/three-curve.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/three-curve.html -------------------------------------------------------------------------------- /docs/three-curve/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/three-curve/app.js -------------------------------------------------------------------------------- /docs/three-first-scene.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/three-first-scene.html -------------------------------------------------------------------------------- /docs/three-first-scene/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/three-first-scene/app.js -------------------------------------------------------------------------------- /docs/trackball.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/trackball.html -------------------------------------------------------------------------------- /docs/trackball/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/docs/trackball/app.js -------------------------------------------------------------------------------- /glsl/README.md: -------------------------------------------------------------------------------- 1 | # glsl 2 | 3 | glsl 练习代码。 4 | 5 | 参考 https://thebookofshaders.com/ 6 | -------------------------------------------------------------------------------- /glsl/chessboard/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/glsl/chessboard/app.js -------------------------------------------------------------------------------- /glsl/chessboard/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/glsl/chessboard/index.html -------------------------------------------------------------------------------- /glsl/chessboard/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/glsl/chessboard/shader.frag -------------------------------------------------------------------------------- /glsl/helloworld/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/glsl/helloworld/app.js -------------------------------------------------------------------------------- /glsl/helloworld/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/glsl/helloworld/index.html -------------------------------------------------------------------------------- /glsl/helloworld/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/glsl/helloworld/shader.frag -------------------------------------------------------------------------------- /jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/jsconfig.json -------------------------------------------------------------------------------- /misc/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/misc/README.md -------------------------------------------------------------------------------- /misc/svg-mesh/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/misc/svg-mesh/app.js -------------------------------------------------------------------------------- /misc/svg-mesh/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/misc/svg-mesh/index.html -------------------------------------------------------------------------------- /misc/svg-mesh/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/misc/svg-mesh/shader.frag -------------------------------------------------------------------------------- /misc/svg-mesh/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/misc/svg-mesh/shader.vert -------------------------------------------------------------------------------- /misc/svg-mesh2/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/misc/svg-mesh2/app.js -------------------------------------------------------------------------------- /misc/svg-mesh2/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/misc/svg-mesh2/index.html -------------------------------------------------------------------------------- /misc/svg-mesh2/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/misc/svg-mesh2/shader.frag -------------------------------------------------------------------------------- /misc/three-curve/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/misc/three-curve/app.js -------------------------------------------------------------------------------- /misc/three-curve/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/misc/three-curve/index.html -------------------------------------------------------------------------------- /misc/three-first-scene/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/misc/three-first-scene/app.js -------------------------------------------------------------------------------- /misc/three-first-scene/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/misc/three-first-scene/index.html -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/package.json -------------------------------------------------------------------------------- /scripts/build-task.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/scripts/build-task.js -------------------------------------------------------------------------------- /scripts/build.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/scripts/build.js -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/src/index.js -------------------------------------------------------------------------------- /vendor/GlslCanvas.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/vendor/GlslCanvas.js -------------------------------------------------------------------------------- /vendor/MV.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/vendor/MV.js -------------------------------------------------------------------------------- /vendor/MV2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/vendor/MV2.js -------------------------------------------------------------------------------- /vendor/README.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/vendor/README.txt -------------------------------------------------------------------------------- /vendor/gl-matrix.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/vendor/gl-matrix.js -------------------------------------------------------------------------------- /vendor/initShaders.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/vendor/initShaders.js -------------------------------------------------------------------------------- /vendor/initShaders2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/vendor/initShaders2.js -------------------------------------------------------------------------------- /vendor/webgl-utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/vendor/webgl-utils.js -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akira-cn/ICG-WebGL/HEAD/webpack.config.js --------------------------------------------------------------------------------