Merge pull request 'support mesh reuse' (#12) from Yinmb/ComputerGraphics:master into master
Reviewed-on: http://git.u-bim.net/Training/ComputerGraphics/pulls/12
This commit is contained in:
commit
d94d7f9ba5
@ -96,7 +96,7 @@ BIMLoader = function(json)
|
||||
var edges = new THREE.EdgesGeometry(mesh.geometry);
|
||||
var line = new THREE.LineSegments(edges, new THREE.LineBasicMaterial({color: 0xff0000}));
|
||||
|
||||
obj.add(mesh);
|
||||
obj.add(mesh.clone());
|
||||
obj.add(line);
|
||||
}
|
||||
}
|
22
20210302/README.md
Normal file
22
20210302/README.md
Normal file
@ -0,0 +1,22 @@
|
||||
# 图形学培训
|
||||
|
||||
课件:[图形学培训1.2&1.3-glTF数据结构和扩展](./doc/图形学培训1.2&1.3-glTF数据结构和扩展.pptx)
|
||||
|
||||
## 内容
|
||||
|
||||
- glTF模型数据介绍
|
||||
- Draco压缩算法及扩展结构介绍
|
||||
|
||||
## 作业
|
||||
|
||||
不强制要求,希望大家有空都可以去做一做,将 **Navisworks** 或 **Revit** 的模型导出一个glTF的数据文件。
|
||||
|
||||
gltTF数据文件的验证器:[glTF-Validator](https://github.khronos.org/glTF-Validator/)
|
||||
|
||||
相关资料:
|
||||
|
||||
![glTF OverView](./doc/gltfOverview-2.0.0b.png)
|
||||
|
||||
glTF的官方实现:[UnityGLTF](https://github.com/KhronosGroup/UnityGLTF/)
|
||||
|
||||
glTF的非官方实现:[SharpGLTF](https://github.com/vpenades/SharpGLTF)
|
BIN
20210302/doc/gltfOverview-2.0.0b.png
Normal file
BIN
20210302/doc/gltfOverview-2.0.0b.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.5 MiB |
BIN
20210302/doc/图形学培训1.2&1.3-glTF数据结构和扩展.pptx
Normal file
BIN
20210302/doc/图形学培训1.2&1.3-glTF数据结构和扩展.pptx
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user