You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
cx f73968e0af
obb 碰撞检测
7 years ago
.vscode editor 7 years ago
data dat.gui typescript 7 years ago
sample xx 7 years ago
src obb 碰撞检测 7 years ago
.gitignore css test ui 7 years ago
README.md ...点控制 相机 7 years ago
dll.config.js ...加强性能. 使用渲染循环的方法 异步 7 years ago
manifest.json 添加UI 相机缩放现在支持鼠标位置 7 years ago
package.json 修改package.json 7 years ago
tsconfig.json 增加react支持,更新gitignore文件 7 years ago
typings.json . 8 years ago
webpack.config.js 添加UI 相机缩放现在支持鼠标位置 7 years ago

README.md

本项目为 threejs练手项目

#1.安装. npm install

#2.预编译. webpack --config dll.config.ks

#3.运行 npm run start

#4.开启调试.F5 当然,首先需要安装ChromeDeBug.

#常用命令 运行测试: npm run test 说明:将会运行所有.test.ts文件的测试.

#使用库 React-dat-gui 安装: npm install react-dat-gui --save 说明: https://www.npmjs.com/package/react-dat-gui

#dat.gui 白色风格 http://www.sw-engineering-candies.com/blog-1/improved-css-for-dat-gui-in-light-web-pages

#React github 链接: https://github.com/brillout/awesome-react-components

#TypeScript React 链接: https://github.com/Microsoft/TypeScript-React-Starter#typescript-react-starter

#定义 d.ts文件 链接: https://segmentfault.com/a/1190000009247663

#npm 管理 http://javascript.ruanyifeng.com/nodejs/npm.html

#webpck 性能问题 http://code.oneapm.com/javascript/2015/07/07/webpack_performance_1/

#dll plugin https://zhuanlan.zhihu.com/p/21748318 https://github.com/chenchunyong/webpack-dllPlugin #让DllPlugin 与webpack-dev-server 一起工作 https://gist.github.com/robertknight/058a194f45e77ff95fcd

#gpu 求交 https://threejs.org/examples/#webgl_interactive_cubes_gpu

#拽拖 https://threejs.org/examples/#webgl_interactive_draggablecubes

#控制渲染速度 http://jsfiddle.net/m1erickson/CtsY3/

#网格拉伸夹点 https://threejs.org/examples/?q=m#webgl_morphtargets https://threejs.org/examples/#webgl_geometry_spline_editor

#渲染循环优化 https://www.paulirish.com/2011/requestanimationframe-for-smart-animating/

#type https://msdn.microsoft.com/en-us/magazine/dn890374.aspx https://www.typescriptlang.org/docs/handbook/classes.html https://github.com/Microsoft/TypeScript/issues/1524

#解决 Stats.js https://www.typescriptlang.org/docs/handbook/modules.html http://stackoverflow.com/questions/12930049/how-do-i-import-other-typescript-files http://stackoverflow.com/questions/18556187/importing-typescript-modules

#光标 https://css-tricks.com/using-css-cursors/

//TODO: 1.相机.

注册相机事件 尝试优化相机 使用复合相机管理

2.Database.

封装数据层.

3.对象事件

数据库事件.(暂时做这个) ...等.

4.UI Command 命令行实现.

5.命令注册

6.坐标系显示器.