mirror of https://gitee.com/cf-fz/WebCAD.git
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.
142 lines
3.8 KiB
142 lines
3.8 KiB
#threejs 代码风格
|
|
https://github.com/mrdoob/three.js/wiki/Mr.doob%27s-Code-Style%E2%84%A2
|
|
|
|
|
|
#threejs 一个有趣的Load demo 包含了机械零件的装配动画
|
|
https://threejs.org/examples/#webgl_loader_collada_keyframe
|
|
|
|
#threejs 点光源移动 包含了地板模型
|
|
https://threejs.org/examples/?q=webgl_lights_physical#webgl_lights_physical
|
|
https://github.com/mrdoob/three.js/blob/master/examples/webgl_lights_physical.html
|
|
|
|
|
|
#threejs 官方库 关于 显示全部的一个讨论 zoom all
|
|
https://github.com/mrdoob/three.js/issues/6784
|
|
|
|
#threejs 关于路径 与拉伸建模的demo代码
|
|
https://github.com/mrdoob/three.js/blob/master/examples/webgl_geometry_shapes.html
|
|
|
|
|
|
#一个飞机游戏的demo
|
|
http://qianduan.guru/2016/06/12/The_Making_of_The_Aviator_Animating_a_Basic_3D_Scene_with_Three_js/
|
|
|
|
#游戏场景 一个工厂 里面有车 旋转循环 assimp2
|
|
https://threejs.org/examples/webgl_loader_assimp2json.html
|
|
|
|
|
|
#一辆很牛逼的车. (金属材质)
|
|
https://threejs.org/examples/#webgl_loader_ctm_materials
|
|
|
|
|
|
#游戏人物载入. 换装
|
|
https://threejs.org/examples/#webgl_loader_md2
|
|
|
|
|
|
#多场景材质球库
|
|
https://threejs.org/examples/#webgl_multiple_elements
|
|
|
|
|
|
#光线追踪Demo
|
|
https://github.com/sbnietert/TypeScript-Ray-Tracer
|
|
|
|
|
|
#一个不错的拓展 包含了相机控制的TS化. superpowers-common-plugins
|
|
该代码已经完全自主实现
|
|
https://github.com/superpowers/superpowers-common-plugins
|
|
|
|
|
|
#拽拖
|
|
https://threejs.org/examples/#webgl_interactive_draggablecubes
|
|
|
|
#gpu 求交
|
|
https://threejs.org/examples/#webgl_interactive_cubes_gpu
|
|
|
|
#控制渲染速度
|
|
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/
|
|
|
|
|
|
#亮显轮廓.
|
|
http://jsfiddle.net/Tcb3z/
|
|
|
|
#亮显轮廓
|
|
https://stackoverflow.com/questions/17739760/complex-shape-character-outline
|
|
|
|
#亮显轮廓 双场景 绘图顺序
|
|
https://stackoverflow.com/questions/12666570/how-to-change-the-zorder-of-object-with-threejs/12666937#12666937
|
|
|
|
#亮显外轮廓2
|
|
http://stemkoski.github.io/Three.js/Outline.html
|
|
|
|
#显示线框
|
|
https://stackoverflow.com/questions/20153705/three-js-wireframe-material-all-polygons-vs-just-edges/20154589#20154589
|
|
|
|
#动态提示 Tooltip 注释
|
|
https://manu.ninja/webgl-three-js-annotations
|
|
|
|
|
|
#凸包 点在相机内
|
|
https://threejs.org/examples/#webgl_geometry_convex
|
|
|
|
|
|
#茶壶 材质控制
|
|
https://threejs.org/examples/#webgl_geometry_teapot
|
|
|
|
#绘制线 交点
|
|
https://threejs.org/examples/#webgl_interactive_lines
|
|
|
|
|
|
#筒灯
|
|
https://threejs.org/examples/#webgl_lights_rectarealight
|
|
|
|
#各向异性
|
|
https://threejs.org/examples/#webgl_materials_texture_anisotropy
|
|
|
|
#镜子
|
|
https://threejs.org/examples/#webgl_mirror
|
|
|
|
#网格细分
|
|
https://threejs.org/examples/#webgl_modifier_subdivision
|
|
|
|
#变形法线 光滑
|
|
https://threejs.org/examples/#webgl_morphnormals
|
|
|
|
|
|
#points
|
|
https://threejs.org/examples/#webgl_points_billboards
|
|
|
|
|
|
#第一人称控制
|
|
examples/index.html#misc_controls_pointerlock
|
|
https://developer.mozilla.org/zh-CN/docs/API/Pointer_Lock_API
|
|
|
|
|
|
#全局照明/间接照明
|
|
https://github.com/mrdoob/three.js/issues/6575
|
|
|
|
#抗锯齿
|
|
https://github.com/mrdoob/three.js/issues/12085#issuecomment-325964717
|
|
|
|
|
|
# goodch shader
|
|
https://github.com/nebogeo/fluxus/blob/master/modules/material/shaders/gooch.vert.glsl
|
|
https://github.com/nebogeo/fluxus/blob/master/modules/material/shaders/gooch.frag.glsl
|
|
https://github.com/stackgl/shader-school/blob/master/exercises/npr-2/shaders/fragment.glsl
|
|
|
|
|
|
#pass 似乎有点不兼容.. OutlinePass 不设置shaderpass 不渲染
|
|
https://github.com/mrdoob/three.js/issues/10144#issuecomment-261118347
|
|
|
|
|
|
#多视口.
|
|
https://threejs.org/examples/?q=mul
|
|
|
|
|
|
动态镜子.
|
|
http://127.0.0.1:8080/examples/#webgl_materials_cubemap_dynamic2 |