├── README.md ├── blog ├── Untitled.md ├── WebGL初级调试篇.md ├── WebGL基础学习篇(Lesson 1).md ├── WebGL基础学习篇(Lesson 2).md ├── WebGL基础学习篇(Lesson 3).md ├── WebGL基础学习篇(Lesson 4).md ├── WebGL基础学习篇(Lesson 5).md ├── WebGL基础学习篇(Lesson 6).md ├── WebGL基础学习篇(Lesson 7).md ├── WebGL基础学习篇(Lesson 8).md ├── WebGL基础学习篇(序).md ├── WebGL精选推荐——2014年第一期.md └── 自定义元素详介.md ├── chapter1 └── ex1-1.html ├── chapter2 ├── ex2-1.html ├── ex2-2.html └── library │ ├── gl-matrix-min.js │ └── utils.js ├── chapter3 ├── ex3-1.html ├── ex3-2.html ├── ex3-3.html ├── ex3-4.html ├── ex3-5.html ├── ex3-6.html ├── ex3-7.html ├── library │ ├── gl-matrix-min.js │ └── utils.js └── models │ ├── geometry │ ├── cone.json │ ├── plane.json │ ├── smallsph.json │ └── sphere.json │ └── nissan_gts │ ├── pr1.json │ ├── pr10.json │ ├── pr100.json │ ├── pr101.json │ ├── pr102.json │ ├── pr103.json │ ├── pr104.json │ ├── pr105.json │ ├── pr106.json │ ├── pr107.json │ ├── pr108.json │ ├── pr109.json │ ├── pr11.json │ ├── pr110.json │ ├── pr111.json │ ├── pr112.json │ ├── pr113.json │ ├── pr114.json │ ├── pr115.json │ ├── pr116.json │ ├── pr117.json │ ├── pr118.json │ ├── pr119.json │ ├── pr12.json │ ├── pr120.json │ ├── pr121.json │ ├── pr122.json │ ├── pr123.json │ ├── pr124.json │ ├── pr125.json │ ├── pr126.json │ ├── pr127.json │ ├── pr128.json │ ├── pr129.json │ ├── pr13.json │ ├── pr130.json │ ├── pr131.json │ ├── pr132.json │ ├── pr133.json │ ├── pr134.json │ ├── pr135.json │ ├── pr136.json │ ├── pr137.json │ ├── pr138.json │ ├── pr139.json │ ├── pr14.json │ ├── pr140.json │ ├── pr141.json │ ├── pr142.json │ ├── pr143(2).json │ ├── pr143.json │ ├── pr144(2).json │ ├── pr144.json │ ├── pr145(2).json │ ├── pr145.json │ ├── pr146(2).json │ ├── pr146.json │ ├── pr147(2).json │ ├── pr147.json │ ├── pr148(2).json │ ├── pr148.json │ ├── pr149(2).json │ ├── pr149.json │ ├── pr15(2).json │ ├── pr15.json │ ├── pr150(2).json │ ├── pr150.json │ ├── pr151(2).json │ ├── pr151.json │ ├── pr152(2).json │ ├── pr152.json │ ├── pr153(2).json │ ├── pr153.json │ ├── pr154.json │ ├── pr155.json │ ├── pr156.json │ ├── pr157.json │ ├── pr158.json │ ├── pr159.json │ ├── pr16.json │ ├── pr160.json │ ├── pr161.json │ ├── pr162.json │ ├── pr163.json │ ├── pr164.json │ ├── pr165.json │ ├── pr166.json │ ├── pr167.json │ ├── pr168.json │ ├── pr169.json │ ├── pr17.json │ ├── pr170.json │ ├── pr171.json │ ├── pr172.json │ ├── pr173.json │ ├── pr174.json │ ├── pr175.json │ ├── pr176.json │ ├── pr177.json │ ├── pr178.json │ ├── pr179.json │ ├── pr18.json │ ├── pr19.json │ ├── pr2.json │ ├── pr20.json │ ├── pr21.json │ ├── pr22.json │ ├── pr23.json │ ├── pr24.json │ ├── pr25.json │ ├── pr26.json │ ├── pr27.json │ ├── pr28.json │ ├── pr29.json │ ├── pr3.json │ ├── pr30.json │ ├── pr31.json │ ├── pr32.json │ ├── pr33.json │ ├── pr34.json │ ├── pr35.json │ ├── pr36.json │ ├── pr37.json │ ├── pr38.json │ ├── pr39.json │ ├── pr4.json │ ├── pr40.json │ ├── pr41.json │ ├── pr42.json │ ├── pr43.json │ ├── pr44.json │ ├── pr45.json │ ├── pr46.json │ ├── pr47.json │ ├── pr48.json │ ├── pr49.json │ ├── pr5.json │ ├── pr50.json │ ├── pr51.json │ ├── pr52.json │ ├── pr53.json │ ├── pr54.json │ ├── pr55.json │ ├── pr56.json │ ├── pr57.json │ ├── pr58.json │ ├── pr59.json │ ├── pr6.json │ ├── pr60.json │ ├── pr61.json │ ├── pr62.json │ ├── pr63.json │ ├── pr64.json │ ├── pr65.json │ ├── pr66.json │ ├── pr67.json │ ├── pr68.json │ ├── pr69.json │ ├── pr7.json │ ├── pr70.json │ ├── pr71.json │ ├── pr72.json │ ├── pr73.json │ ├── pr74.json │ ├── pr75.json │ ├── pr76.json │ ├── pr77.json │ ├── pr78.json │ ├── pr79.json │ ├── pr8.json │ ├── pr80.json │ ├── pr81.json │ ├── pr82.json │ ├── pr83.json │ ├── pr84.json │ ├── pr85.json │ ├── pr86.json │ ├── pr87.json │ ├── pr88.json │ ├── pr89.json │ ├── pr9.json │ ├── pr90.json │ ├── pr91.json │ ├── pr92.json │ ├── pr93.json │ ├── pr94.json │ ├── pr95.json │ ├── pr96.json │ ├── pr97.json │ ├── pr98(2).json │ ├── pr98.json │ ├── pr99(2).json │ └── pr99.json ├── chapter4 ├── ex4-1.html ├── ex4-2.html ├── ex4-3.html ├── ex4-4.html ├── ex4-5.html ├── library │ ├── axis.js │ ├── camera.js │ ├── cameraInteractor.js │ ├── floor.js │ ├── gl-matrix-min.js │ ├── program.js │ ├── scene.js │ ├── sceneTransforms.js │ ├── utils.js │ └── webGLApp.js └── models │ ├── geometry │ ├── cone.json │ ├── cone.vtk │ ├── plane.json │ └── vtk2json.py │ └── nissan_gtr │ ├── pr1.json │ ├── pr10.json │ ├── pr100.json │ ├── pr101.json │ ├── pr102.json │ ├── pr103.json │ ├── pr104.json │ ├── pr105.json │ ├── pr106.json │ ├── pr107.json │ ├── pr108.json │ ├── pr109.json │ ├── pr11.json │ ├── pr110.json │ ├── pr111.json │ ├── pr112.json │ ├── pr113.json │ ├── pr114.json │ ├── pr115.json │ ├── pr116.json │ ├── pr117.json │ ├── pr118.json │ ├── pr119.json │ ├── pr12.json │ ├── pr120.json │ ├── pr121.json │ ├── pr122.json │ ├── pr123.json │ ├── pr124.json │ ├── pr125.json │ ├── pr126.json │ ├── pr127.json │ ├── pr128.json │ ├── pr129.json │ ├── pr13.json │ ├── pr130.json │ ├── pr131.json │ ├── pr132.json │ ├── pr133.json │ ├── pr134.json │ ├── pr135.json │ ├── pr136.json │ ├── pr137.json │ ├── pr138.json │ ├── pr139.json │ ├── pr14.json │ ├── pr140.json │ ├── pr141.json │ ├── pr142.json │ ├── pr143.json │ ├── pr144.json │ ├── pr145.json │ ├── pr146.json │ ├── pr147.json │ ├── pr148.json │ ├── pr149.json │ ├── pr15.json │ ├── pr150.json │ ├── pr151.json │ ├── pr152.json │ ├── pr153(2).json │ ├── pr153.json │ ├── pr154(2).json │ ├── pr154.json │ ├── pr155(2).json │ ├── pr155.json │ ├── pr156(2).json │ ├── pr156.json │ ├── pr157(2).json │ ├── pr157.json │ ├── pr158(2).json │ ├── pr158.json │ ├── pr159(2).json │ ├── pr159.json │ ├── pr16.json │ ├── pr160(2).json │ ├── pr160.json │ ├── pr161(2).json │ ├── pr161.json │ ├── pr162(2).json │ ├── pr162.json │ ├── pr163(2).json │ ├── pr163.json │ ├── pr164.json │ ├── pr165.json │ ├── pr166.json │ ├── pr167.json │ ├── pr168.json │ ├── pr169.json │ ├── pr17.json │ ├── pr170.json │ ├── pr171.json │ ├── pr172.json │ ├── pr173.json │ ├── pr174.json │ ├── pr175.json │ ├── pr176.json │ ├── pr177.json │ ├── pr178.json │ ├── pr179.json │ ├── pr18.json │ ├── pr19.json │ ├── pr2.json │ ├── pr20.json │ ├── pr21.json │ ├── pr22.json │ ├── pr23.json │ ├── pr24.json │ ├── pr25.json │ ├── pr26.json │ ├── pr27.json │ ├── pr28.json │ ├── pr29.json │ ├── pr3.json │ ├── pr30.json │ ├── pr31.json │ ├── pr32.json │ ├── pr33.json │ ├── pr34.json │ ├── pr35.json │ ├── pr36.json │ ├── pr37.json │ ├── pr38.json │ ├── pr39.json │ ├── pr4.json │ ├── pr40.json │ ├── pr41.json │ ├── pr42.json │ ├── pr43.json │ ├── pr44.json │ ├── pr45.json │ ├── pr46.json │ ├── pr47.json │ ├── pr48.json │ ├── pr49.json │ ├── pr5.json │ ├── pr50.json │ ├── pr51.json │ ├── pr52.json │ ├── pr53.json │ ├── pr54.json │ ├── pr55.json │ ├── pr56.json │ ├── pr57.json │ ├── pr58.json │ ├── pr59.json │ ├── pr6.json │ ├── pr60.json │ ├── pr61.json │ ├── pr62.json │ ├── pr63.json │ ├── pr64.json │ ├── pr65.json │ ├── pr66.json │ ├── pr67.json │ ├── pr68.json │ ├── pr69.json │ ├── pr7.json │ ├── pr70.json │ ├── pr71.json │ ├── pr72.json │ ├── pr73.json │ ├── pr74.json │ ├── pr75.json │ ├── pr76.json │ ├── pr77.json │ ├── pr78.json │ ├── pr79.json │ ├── pr8.json │ ├── pr80.json │ ├── pr81.json │ ├── pr82.json │ ├── pr83.json │ ├── pr84.json │ ├── pr85.json │ ├── pr86.json │ ├── pr87.json │ ├── pr88.json │ ├── pr89.json │ ├── pr9.json │ ├── pr90.json │ ├── pr91.json │ ├── pr92.json │ ├── pr93.json │ ├── pr94.json │ ├── pr95.json │ ├── pr96.json │ ├── pr97.json │ ├── pr98.json │ └── pr99.json ├── chapter5 ├── ex5-1.html ├── ex5-1.js ├── ex5-2.html ├── ex5-2.js ├── ex5-3.html ├── ex5-3.js ├── ex5-4.html ├── ex5-4.js ├── ex5-5.html ├── ex5-5.js ├── library │ ├── axis.js │ ├── camera.js │ ├── cameraInteractor.js │ ├── floor.js │ ├── gl-matrix-min.js │ ├── program.js │ ├── scene.js │ ├── sceneTransforms.js │ ├── utils.js │ └── webglApp.js ├── models │ └── geometry │ │ ├── ball.json │ │ ├── ball.vtk │ │ ├── cone.json │ │ ├── cone.vtk │ │ ├── flag.json │ │ ├── flag.vtk │ │ ├── plane.json │ │ ├── sphere.json │ │ ├── sphere.vtk │ │ └── vtk2json.py └── test.html ├── chapter6 ├── ex6-1.html ├── ex6-1.js ├── ex6-2.html ├── ex6-2.js ├── ex6-3.html ├── ex6-3.js ├── ex6-4.html ├── ex6-4.js ├── ex6-5.html ├── ex6-5.js ├── ex6-6.html ├── ex6-6.js ├── ex6-7.html ├── ex6-7.js ├── library │ ├── axis.js │ ├── camera.js │ ├── cameraInteractor.js │ ├── floor.js │ ├── gl-matrix-min.js │ ├── light.js │ ├── lights.js │ ├── program.js │ ├── scene.js │ ├── sceneTransforms.js │ ├── utils.js │ └── webglApp.js └── models │ └── geometry │ ├── ball.json │ ├── ball.vtk │ ├── complexCube.json │ ├── cone.json │ ├── cone.vtk │ ├── flag.json │ ├── flag.vtk │ ├── plane.json │ ├── simpleCube.json │ ├── smallsph.json │ ├── sphere.json │ ├── sphere.vtk │ ├── vtk2json.py │ ├── wall.json │ └── wall.vtk ├── chapter7 ├── ex7-1.html ├── ex7-1.js ├── ex7-2.html ├── ex7-2.js ├── ex7-3.html ├── ex7-3.js ├── ex7-4.html ├── ex7-4.js ├── ex7-5.html ├── ex7-5.js ├── library │ ├── axis.js │ ├── camera.js │ ├── cameraInteractor.js │ ├── floor.js │ ├── gl-matrix-min.js │ ├── light.js │ ├── lights.js │ ├── program.js │ ├── scene.js │ ├── sceneTransforms.js │ ├── texture.js │ ├── utils.js │ └── webGLApp.js ├── models │ └── geometry │ │ ├── ball.json │ │ ├── ball.vtk │ │ ├── complexCube.json │ │ ├── cone.json │ │ ├── cone.vtk │ │ ├── flag.json │ │ ├── flag.vtk │ │ ├── plane.json │ │ ├── simpleCube.json │ │ ├── smallsph.json │ │ ├── sphere.json │ │ ├── sphere.vtk │ │ ├── texCube.json │ │ ├── transparentWall.json │ │ ├── vtk2json.py │ │ ├── wall.json │ │ └── wall.vtk └── textures │ ├── cubemap │ ├── negative_x.png │ ├── negative_y.png │ ├── negative_z.png │ ├── positive_x.png │ ├── positive_y.png │ └── positive_z.png │ ├── light.png │ ├── webgl-marble.png │ ├── webgl.gif │ └── webgl.png ├── chapter8 ├── ex8-1.html ├── ex8-1.js ├── ex8-2.html ├── ex8-2.js ├── library │ ├── axis.js │ ├── camera.js │ ├── cameraInteractor.js │ ├── floor.js │ ├── gl-matrix-min.js │ ├── light.js │ ├── lights.js │ ├── picker.js │ ├── program.js │ ├── scene.js │ ├── sceneTransforms.js │ ├── texture.js │ ├── utils.js │ └── webGLApp.js ├── models │ └── geometry │ │ ├── ball.json │ │ ├── complexCube.json │ │ ├── cone.json │ │ ├── cylinder.json │ │ ├── cylinder.vtk │ │ ├── flag.json │ │ ├── plane.json │ │ ├── simpleCube.json │ │ ├── smallsph.json │ │ ├── sphere.json │ │ ├── texCube.json │ │ └── vtk2json.py ├── packt.gif └── webgl.gif └── library ├── axis.js ├── camera.js ├── cameraInteractor.js ├── floor.js ├── gl-matrix-min.js ├── program.js ├── scene.js ├── sceneTransforms.js ├── utils.js └── webGLApp.js /README.md: -------------------------------------------------------------------------------- 1 | webGL 2 | ===== 3 | 4 | for webGL learning 5 | -------------------------------------------------------------------------------- /blog/WebGL基础学习篇(Lesson 1).md: -------------------------------------------------------------------------------- 1 | #WebGL基础学习篇(Lesson 1) 2 | ____ 3 | 4 | >2007年,Vladimir Vukicevic, 一个塞尔维亚裔美国软件工程师开始编写一个名为Canvas 3D的OpenGL原型,以适用于即将到来的canvas元素上。2011年3月,他的工作指引着Kronos Group(一个OpenGL背后的非盈利组织)创建了WebGL:一个允许浏览器使用GPU的规范。 5 | 6 | ###浏览器需求 7 | * Firefox 4.0 or above 8 | * Google Chrome 11 or above 9 | * Safari(OSX 10.6 or above) 10 | * Opera 12 or above 11 | 12 | ###创建一个Canvas 13 | 14 | Your browser does not support HTML5 15 | 16 | 17 | ###获取WebGL上下文环境 18 | 30 | 31 | ###WebGL是一个状态机 32 | 一个WebGL上下文可以被理解为一个状态机:一旦你修改了某个属性,除非你再次修改它否则这个属性会一直保持下来。 33 | >[示例1:改变Canvas的颜色](https://github.com/fem-d/webGL/blob/master/chapter1/ex1-1.html) -------------------------------------------------------------------------------- /blog/WebGL基础学习篇(序).md: -------------------------------------------------------------------------------- 1 | #WebGL基础学习篇(序) 2 | ____ 3 | 4 | ###初识 5 | 最开始接触WebGL是由于一个实验室项目,说来惭愧,虽然那个项目是交给我做的,但是由于时间的原因我只做了web相关的部分,WebGL的部分却是交给师妹来做的。虽然如此,但是之前还是对WebGL做了一些简单的了解,但是由于能力有限(WebGL是一个涵盖很多“高端”知识的东东,比如js、canvas、3d等等),每次下定决心学习的时候总是被阻拦于繁杂的知识点中,最后无疾而终。 6 | 7 | 后来在和师妹的交流中,发现她使用了一个名叫Three.js的库。于是在实习的空档期又找了一本Three.js的初学者书籍,可惜再次被Three.js中莫名其妙摸不着头脑的API干掉了。 8 | 9 | ###相知 10 | 进入工作后,尤其是在加入MTG小组后,我感觉到掌握WebGL是一个很不错的技能。于是又踏上了WebGL学习之路,这一次吸取了以前的经验,决定从基础走,于是青涩的我在十渡的哄骗下自掏荷包买了两本OpenGL的书,可惜的是这东西太基础了……于是再次以失败告终。 11 | 12 | 现在看来,对于没有3d技能的我来说,这样的学习路径确实难以摸清门路,因为WebGL是一个很大的架子,就最基本的知识点来说它涉及了三个方面:JavaScript、3D和Canvas。其中JavaScript和Canvas对于我来说不是问题,但是3D方面的知识很是问题。WebGL虽是从OpenGL转变而来,但是变化很大;Three.js虽然很全面,但是封装后容易让人知其然而不知其所以然,所以如果直接用Three.js上手虽然使得学习者上手容易,但是越往后越艰难。因此,我又回到了原点——从WebGL开始…… 13 | 14 | >WebGL基础学习篇内容主要来自《WebGL Beginner's Guide》 15 | 16 | -------------------------------------------------------------------------------- /blog/WebGL精选推荐——2014年第一期.md: -------------------------------------------------------------------------------- 1 | # WebGL精选推荐——2014年第一期 2 | 3 | ### 眼球 4 | 5 | 地址:[http://vill.ee/eye/](http://vill.ee/eye/) 6 | 评论:虽然有一些恐怖,但是效果真的很赞。不要扔我香蕉皮,啊,谁扔的避孕套,还是用过的! 7 | ![](http://gtms04.alicdn.com/tps/i4/T1SCWQFB0cXXbFoAfn-811-708.png) 8 | 9 | ### 体感小车 10 | 11 | 地址:[http://tron.ebaumstein.com/](http://tron.ebaumstein.com/) 12 | 评论:使用体感+WebGL的效果就是赞啊,没事玩玩说不定什么时候就把你的偏头痛给治好了。当然如果你一直绕圈的话也可能变歪脖子…… 13 | ![](http://gtms04.alicdn.com/tps/i4/T199qRFBtlXXXeTmzi-806-617.png) 14 | 15 | ### 跑酷游戏 16 | 17 | 地址:[http://hellorun.helloenjoy.com/](http://hellorun.helloenjoy.com/) 18 | 评论:效果相当的炫,音乐也很有跑酷的节奏感,像我这样不喜欢跑酷游戏的也玩了好几把……不过需要吐槽的是加载时间有点长,而且难度好高。 19 | ![](http://gtms01.alicdn.com/tps/i1/T1IoeQFqldXXcHvlHo-2246-1226.png) 20 | 21 | ### 水效果 22 | 23 | 地址:[http://madebyevan.com/webgl-water/](http://madebyevan.com/webgl-water/) 24 | 评论:虽然已经有人发了,但是这个的水以及光影效果做的实在太好,还是忍不住发出来。唯一的缺憾是,里面躺着的为什么不是比基尼美女! 25 | ![](http://gtms03.alicdn.com/tps/i3/T1gYaTFtVaXXbjjQUl-953-743.png) -------------------------------------------------------------------------------- /chapter3/models/geometry/cone.json: -------------------------------------------------------------------------------- 1 | { 2 | "vertices" : [-3.0,5.0,-4.32978e-16,2.0,-5.0,8.65956e-16,1.89074,-5.0,-1.03956,1.56773,-5.0,-2.03368,1.04508,-5.0,-2.93893,0.345653,-5.0,-3.71572,-0.5,-5.0,-4.33013,-1.45492,-5.0,-4.75528,-2.47736,-5.0,-4.97261,-3.52264,-5.0,-4.97261,-4.54508,-5.0,-4.75528,-5.5,-5.0,-4.33013,-6.34565,-5.0,-3.71572,-7.04508,-5.0,-2.93893,-7.56773,-5.0,-2.03368,-7.89074,-5.0,-1.03956,-8.0,-5.0,2.05103e-09,-7.89074,-5.0,1.03956,-7.56773,-5.0,2.03368,-7.04508,-5.0,2.93893,-6.34565,-5.0,3.71572,-5.5,-5.0,4.33013,-4.54508,-5.0,4.75528,-3.52264,-5.0,4.97261,-2.47736,-5.0,4.97261,-1.45492,-5.0,4.75528,-0.5,-5.0,4.33013,0.345653,-5.0,3.71572,1.04508,-5.0,2.93893,1.56773,-5.0,2.03368,1.89074,-5.0,1.03956,2.0,-5.0,-4.10207e-09], 3 | "indices" : [0,1,2,0,2,3,0,3,4,0,4,5,0,5,6,0,6,7,0,7,8,0,8,9,0,9,10,0,10,11,0,11,12,0,12,13,0,13,14,0,14,15,0,15,16,0,16,17,0,17,18,0,18,19,0,19,20,0,20,21,0,21,22,0,22,23,0,23,24,0,24,25,0,25,26,0,26,27,0,27,28,0,28,29,0,29,30,0,30,31], 4 | "ambient" : [0.1,0.1,0.1,1.0], 5 | "diffuse" : [0.8,0.1,0.5,1.0], 6 | "specular" : [0.2,0.2,0.2,1.0] 7 | } -------------------------------------------------------------------------------- /chapter3/models/geometry/plane.json: -------------------------------------------------------------------------------- 1 | { 2 | "vertices" : [-50.0,-5.0,-50.0,50.0,-5.0,-50.0,-50.0,-5.0,50.0,50.0,-5.0,50.0], 3 | "indices" : [0,1,2,3,2,1], 4 | "ambient" : [0.17,0.19,0.14,1.0], 5 | "diffuse" : [0.1,0.1,0.1,1.0], 6 | "specular" : [0.0,0.0,0.0,1.0] 7 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr101.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BODY_door-mirro_Group10_Entity38", 3 | "vertices" : [260.926973,318.153769,143.39011,257.746773,314.347254,144.572371,255.261421,309.144429,145.377886,253.429962,300.445445,145.671895,253.15818,293.140986,145.481543,255.102331,286.860073,144.657245,260.387215,282.196352,142.542514,265.549028,320.75326,141.567289,267.057909,281.092844,140.001945,270.857351,321.217533,139.473322,279.377553,321.460428,136.113131,282.031506,281.746719,134.394402,293.951939,321.31695,130.371619,296.781486,283.450314,128.976974,299.634609,320.835083,128.149744,305.924715,319.213789,125.705738,312.088737,315.122774,123.146427,314.688761,310.437795,122.138037,316.679546,301.300847,121.773695,316.159168,293.56948,122.222,312.494129,288.711246,123.573217,307.818361,286.035458,125.308945,266.312979,300.672708,140.774731,306.910143,301.948322,125.499258], 4 | "indices" : [13,11,12,10,12,11,10,11,9,7,9,22,8,22,11,9,11,22,12,14,13,15,23,14,13,14,21,23,21,14,16,17,15,23,15,17,21,23,20,19,20,23,18,19,17,23,17,19,7,22,0,1,0,22,1,22,2,3,2,22,6,5,8,22,8,5,3,22,4,5,4,22] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr102.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BODY_door-mirro_Group10_Entity39", 3 | "vertices" : [-260.926996,318.153769,143.390122,-257.746796,314.347254,144.572382,-255.261444,309.144429,145.377898,-253.429985,300.445445,145.671907,-253.158203,293.140986,145.481554,-255.102354,286.860073,144.657256,-260.387238,282.196352,142.542526,-265.549051,320.75326,141.567301,-267.057932,281.092844,140.001956,-270.857374,321.217533,139.473333,-279.377576,321.460428,136.113142,-282.03153,281.746719,134.394413,-293.951962,321.31695,130.37163,-296.781508,283.450314,128.976986,-299.634632,320.835083,128.149756,-305.924738,319.213789,125.70575,-312.08876,315.122774,123.146438,-314.688784,310.437795,122.138049,-316.679569,301.300847,121.773707,-316.159191,293.56948,122.222011,-312.494152,288.711246,123.573228,-307.818384,286.035458,125.308957,-266.313002,300.672708,140.774742,-306.910166,301.948322,125.49927], 4 | "indices" : [11,13,12,12,10,11,11,10,9,9,7,22,22,8,11,11,9,22,14,12,13,23,15,14,14,13,21,21,23,14,17,16,15,15,23,17,23,21,20,20,19,23,19,18,17,17,23,19,22,7,0,0,1,22,22,1,2,2,3,22,5,6,8,8,22,5,22,3,4,4,5,22] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr11.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BLK-PARTS_front-glas", 3 | "vertices" : [0.0,280.508303,316.990005,233.62709,278.453424,256.016696,239.967255,278.247558,244.130856,0.0,282.482289,296.702538,57.466545,282.367954,293.978628,111.112511,282.029962,286.621094,158.091125,281.52228,275.851223,195.555588,280.898916,262.890463,207.95343,280.443141,256.748116,219.283005,279.741599,249.714466,229.346359,279.116908,242.518003,57.454109,280.372413,315.099945,111.013008,280.081394,309.519424,158.079926,279.770901,299.882244,195.40889,279.597328,286.27803,209.912415,279.228726,279.202854,222.621521,278.878629,269.024133,234.716766,278.781412,238.190392,243.4496,278.21259,228.082237,238.933319,278.51502,234.273365,-233.62709,278.453424,256.016696,-239.967255,278.247558,244.130856,-57.466545,282.367954,293.978628,-111.112511,282.029962,286.621094,-158.091125,281.52228,275.851223,-195.555588,280.898916,262.890463,-207.95343,280.443141,256.748116,-219.283005,279.741599,249.714466,-229.346359,279.116908,242.518003,-57.454109,280.372413,315.099945,-111.013008,280.081394,309.519424,-158.079926,279.770901,299.882244,-195.40889,279.597328,286.27803,-209.912415,279.228726,279.202854,-222.621521,278.878629,269.024133,-234.716766,278.781412,238.190392,-243.4496,278.21259,228.082237,-238.933319,278.51502,234.273365], 4 | "indices" : [4,3,0,0,11,4,1,10,9,9,16,1,16,9,8,8,15,16,15,8,7,7,14,15,14,7,6,6,13,14,13,6,5,5,12,13,12,5,4,4,11,12,17,10,1,1,2,17,2,18,19,19,17,2,34,27,28,28,20,34,33,26,27,27,34,33,32,25,26,26,33,32,31,24,25,25,32,31,30,23,24,24,31,30,29,22,23,23,30,29,21,20,28,28,35,21,37,36,21,21,35,37,0,3,22,22,29,0] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr110.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BODY_headlight-_Group02_Entity11", 3 | "vertices" : [143.804469,171.074257,664.960657,139.733057,173.803753,664.960657,136.34926,177.284321,664.960657,133.777813,181.395208,664.960663,132.143513,186.015759,664.960648,131.570999,191.025178,664.960657,132.035074,195.542745,664.960663,133.366913,199.7561,664.960657,135.475988,203.577632,664.960654,138.271774,206.919735,664.960648,141.663715,209.694719,664.960657,162.23807,212.662672,664.960657,167.561767,210.255974,664.960654,172.055758,206.692393,664.960654,175.517069,202.168465,664.960654,177.742746,196.880608,664.960648,178.52972,191.025178,664.960657,177.971457,186.077354,664.960654,176.376671,181.507067,664.960654,173.865423,177.430573,664.960654,170.557714,173.963913,664.960657,166.573605,171.223341,664.960657,143.804469,168.639759,601.66376,139.733057,171.622454,601.66376,136.34926,175.706753,601.663769,133.777813,180.53826,601.66376,132.143513,185.762581,601.663739,131.570999,191.025178,601.66376,132.035074,195.542745,601.66376,133.366913,199.7561,601.66376,135.475988,203.577632,601.663748,138.271774,206.919735,601.663739,141.663715,209.694719,601.66376,168.73006,213.474173,601.66376,172.141188,209.576441,601.663748,174.870506,205.445109,601.66376,176.87421,200.936596,601.663748,178.108576,195.907345,601.663748,178.52972,190.213679,601.66376,178.245794,185.268292,601.66376,177.426945,180.637995,601.66376,176.122484,176.337923,601.663748,174.381763,172.383156,601.66376,172.254095,168.788845,601.66376], 4 | "indices" : [0,1,23,23,22,0,1,2,24,24,23,1,2,3,25,25,24,2,3,4,26,26,25,3,4,5,27,27,26,4,5,6,28,28,27,5,6,7,29,29,28,6,7,8,30,30,29,7,8,9,31,31,30,8,9,10,32,32,31,9,11,12,34,34,33,11,12,13,35,35,34,12,13,14,36,36,35,13,14,15,37,37,36,14,15,16,38,38,37,15,16,17,39,39,38,16,17,18,40,40,39,17,18,19,41,41,40,18,19,20,42,42,41,19,20,21,43,43,42,20,43,21,0,0,22,43,32,10,11,11,33,32] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr111.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BODY_headlight-_Group02_Entity12", 3 | "vertices" : [170.668545,171.310602,630.066218,167.752995,174.628872,630.066218,165.388275,178.309522,630.066218,163.63018,182.302448,630.066227,162.534458,186.557745,630.066207,162.156803,191.025188,630.066218,162.645525,196.100482,630.066218,164.056734,200.891058,630.066218,166.30785,205.322899,630.066218,169.316437,209.322006,630.066207,172.999918,212.814205,630.066218,210.792698,216.507713,630.066218,216.314852,212.977554,630.066207,220.899027,208.515125,630.066218,224.379122,203.269526,630.066218,226.589066,197.389865,630.066198,227.362587,191.025188,630.066218,227.023285,186.788535,630.066218,226.037027,182.739956,630.066218,224.451195,178.921969,630.066218,222.313147,175.377092,630.066218,219.670267,172.147898,630.066218,170.668545,171.310602,601.663763,167.752995,174.628872,601.663763,165.388275,178.309522,601.663763,163.63018,182.302448,601.663774,162.534458,186.557745,601.663744,162.156803,191.025188,601.663763,162.645525,196.100482,601.663754,164.056734,200.891058,601.663763,166.30785,205.322899,601.663763,169.316437,209.322006,601.663744,172.999918,212.814205,601.663763,210.792698,216.507713,601.663763,216.314852,212.977554,601.663763,220.899027,208.515125,601.663763,224.379122,203.269526,601.663763,226.589066,197.389865,601.663744,227.362587,191.025188,601.663763,227.023285,186.788535,601.663763,226.037027,182.739956,601.663763,224.451195,178.921969,601.663754,222.313147,175.377092,601.663763,219.670267,172.147898,601.663763], 4 | "indices" : [0,1,23,23,22,0,1,2,24,24,23,1,2,3,25,25,24,2,3,4,26,26,25,3,4,5,27,27,26,4,5,6,28,28,27,5,6,7,29,29,28,6,7,8,30,30,29,7,8,9,31,31,30,8,9,10,32,32,31,9,11,12,34,34,33,11,12,13,35,35,34,12,13,14,36,36,35,13,14,15,37,37,36,14,15,16,38,38,37,15,16,17,39,39,38,16,17,18,40,40,39,17,18,19,41,41,40,18,19,20,42,42,41,19,20,21,43,43,42,20,11,33,32,32,10,11,0,22,43,43,21,0] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr113.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BODY_headlight-_Group03_Entity14", 3 | "vertices" : [-143.804458,171.074257,664.960631,-139.733046,173.803753,664.960631,-136.349249,177.284321,664.960631,-133.777802,181.395208,664.960636,-132.143501,186.015759,664.960621,-131.570988,191.025178,664.960631,-132.035063,195.542745,664.960636,-133.366901,199.7561,664.960631,-135.475977,203.577632,664.960627,-138.271763,206.919735,664.960621,-141.663704,209.694719,664.960631,-162.238059,212.662672,664.960631,-167.561755,210.255974,664.960627,-172.055746,206.692393,664.960627,-175.517057,202.168465,664.960627,-177.742735,196.880608,664.960621,-178.529709,191.025178,664.960631,-177.971445,186.077354,664.960627,-176.376659,181.507067,664.960627,-173.865412,177.430573,664.960627,-170.557703,173.963913,664.960631,-166.573593,171.223341,664.960631,-143.804458,168.639759,601.663733,-139.733046,171.622454,601.663733,-136.349249,175.706753,601.663742,-133.777802,180.53826,601.663733,-132.143501,185.762581,601.663712,-131.570988,191.025178,601.663733,-132.035063,195.542745,601.663733,-133.366901,199.7561,601.663733,-135.475977,203.577632,601.663721,-138.271763,206.919735,601.663712,-141.663704,209.694719,601.663733,-168.730048,213.474173,601.663733,-172.141176,209.576441,601.663721,-174.870495,205.445109,601.663733,-176.874199,200.936596,601.663721,-178.108564,195.907345,601.663721,-178.529709,190.213679,601.663733,-178.245783,185.268292,601.663733,-177.426933,180.637995,601.663733,-176.122473,176.337923,601.663721,-174.381752,172.383156,601.663733,-172.254084,168.788845,601.663733], 4 | "indices" : [1,0,23,22,23,0,2,1,24,23,24,1,3,2,25,24,25,2,4,3,26,25,26,3,5,4,27,26,27,4,6,5,28,27,28,5,7,6,29,28,29,6,8,7,30,29,30,7,9,8,31,30,31,8,10,9,32,31,32,9,12,11,34,33,34,11,13,12,35,34,35,12,14,13,36,35,36,13,15,14,37,36,37,14,16,15,38,37,38,15,17,16,39,38,39,16,18,17,40,39,40,17,19,18,41,40,41,18,20,19,42,41,42,19,21,20,43,42,43,20,21,43,0,22,0,43,10,32,11,33,11,32] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr114.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BODY_headlight-_Group03_Entity15", 3 | "vertices" : [-170.66853,171.310602,630.066183,-167.752979,174.628872,630.066183,-165.38826,178.309522,630.066183,-163.630165,182.302448,630.066193,-162.534443,186.557745,630.066173,-162.156788,191.025188,630.066183,-162.64551,196.100482,630.066183,-164.056719,200.891058,630.066183,-166.307835,205.322899,630.066183,-169.316422,209.322006,630.066173,-172.999903,212.814205,630.066183,-210.792683,216.507713,630.066183,-216.314837,212.977554,630.066173,-220.899012,208.515125,630.066183,-224.379107,203.269526,630.066183,-226.58905,197.389865,630.066163,-227.362572,191.025188,630.066183,-227.02327,186.788535,630.066183,-226.037012,182.739956,630.066183,-224.45118,178.921969,630.066183,-222.313131,175.377092,630.066183,-219.670252,172.147898,630.066183,-170.66853,171.310602,601.663729,-167.752979,174.628872,601.663729,-165.38826,178.309522,601.663729,-163.630165,182.302448,601.66374,-162.534443,186.557745,601.66371,-162.156788,191.025188,601.663729,-162.64551,196.100482,601.66372,-164.056719,200.891058,601.663729,-166.307835,205.322899,601.663729,-169.316422,209.322006,601.66371,-172.999903,212.814205,601.663729,-210.792683,216.507713,601.663729,-216.314837,212.977554,601.663729,-220.899012,208.515125,601.663729,-224.379107,203.269526,601.663729,-226.58905,197.389865,601.66371,-227.362572,191.025188,601.663729,-227.02327,186.788535,601.663729,-226.037012,182.739956,601.663729,-224.45118,178.921969,601.66372,-222.313131,175.377092,601.663729,-219.670252,172.147898,601.663729], 4 | "indices" : [1,0,23,22,23,0,2,1,24,23,24,1,3,2,25,24,25,2,4,3,26,25,26,3,5,4,27,26,27,4,6,5,28,27,28,5,7,6,29,28,29,6,8,7,30,29,30,7,9,8,31,30,31,8,10,9,32,31,32,9,12,11,34,33,34,11,13,12,35,34,35,12,14,13,36,35,36,13,15,14,37,36,37,14,16,15,38,37,38,15,17,16,39,38,39,16,18,17,40,39,40,17,19,18,41,40,41,18,20,19,42,41,42,19,21,20,43,42,43,20,33,11,32,10,32,11,22,0,43,21,43,0] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr117.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BODY_headlight-_Group04_Entity18", 3 | "vertices" : [231.513453,219.39233,616.633343,236.583536,216.767857,616.278074,240.959329,213.135687,616.352369,244.475282,208.629512,616.854404,246.965806,203.38318,617.782398,248.265393,197.530523,619.134486,248.253089,191.787308,620.737216,247.052464,186.351494,622.508942,244.780703,181.368207,624.384145,241.555194,176.982628,626.297151,237.493064,173.339779,628.182538,216.581875,215.659435,624.930441,223.763284,216.060251,623.279925,230.994141,214.215637,622.244372,237.413143,210.292806,621.961794,242.158924,204.458951,622.5702,244.370199,196.881324,624.207542,244.360035,190.671834,625.939703,243.312239,185.25403,627.673687,241.257182,180.554331,629.423402,238.225335,176.499254,631.202874,234.24707,173.015179,633.026052], 4 | "indices" : [1,0,12,11,12,0,2,1,13,12,13,1,3,2,14,13,14,2,4,3,15,14,15,3,5,4,16,15,16,4,6,5,17,16,17,5,7,6,18,17,18,6,8,7,19,18,19,7,9,8,20,19,20,8,10,9,21,20,21,9] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr120.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BODY_headlight-_Group05_Entity21", 3 | "vertices" : [-231.513439,219.39233,616.633301,-236.583523,216.767857,616.278032,-240.959316,213.135687,616.352327,-244.475268,208.629512,616.854362,-246.965793,203.38318,617.782356,-248.26538,197.530523,619.134444,-248.253076,191.787308,620.737174,-247.052451,186.351494,622.5089,-244.78069,181.368207,624.384104,-241.555181,176.982628,626.297109,-237.493051,173.339779,628.182496,-216.581863,215.659435,624.930399,-223.76327,216.060251,623.279883,-230.994127,214.215637,622.244331,-237.41313,210.292806,621.961752,-242.158911,204.458951,622.570158,-244.370186,196.881324,624.2075,-244.360022,190.671834,625.939661,-243.312226,185.25403,627.673645,-241.257169,180.554331,629.42336,-238.225322,176.499254,631.202832,-234.247056,173.015179,633.02601], 4 | "indices" : [0,1,12,12,11,0,1,2,13,13,12,1,2,3,14,14,13,2,3,4,15,15,14,3,4,5,16,16,15,4,5,6,17,17,16,5,6,7,18,18,17,6,7,8,19,19,18,7,8,9,20,20,19,8,9,10,21,21,20,9] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr123.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BODY_headlight-_Group06_Entity24", 3 | "vertices" : [216.581877,215.659418,624.930361,223.763283,216.060234,623.279835,230.99414,214.21562,622.244272,237.413143,210.292789,621.961714,242.158925,204.458933,622.57012,244.370197,196.881307,624.207461,244.360035,190.671816,625.939642,243.312239,185.254012,627.673607,241.257182,180.554314,629.423342,238.225335,176.499237,631.202794,234.247069,173.015162,633.025972,201.498499,211.485232,622.658164,207.223093,211.80474,621.342461,212.987111,210.334334,620.516985,218.103951,207.207272,620.291733,221.887009,202.556864,620.77673,223.649701,196.51643,622.081913,223.641598,191.566605,623.462699,222.806364,187.24785,624.844912,221.16817,183.501505,626.239705,218.751386,180.269062,627.658173,215.580143,177.491758,629.111501], 4 | "indices" : [1,0,12,11,12,0,2,1,13,12,13,1,3,2,14,13,14,2,4,3,15,14,15,3,5,4,16,15,16,4,6,5,17,16,17,5,7,6,18,17,18,6,8,7,19,18,19,7,9,8,20,19,20,8,10,9,21,20,21,9] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr126.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BODY_headlight-_Group07_Entity27", 3 | "vertices" : [-216.581863,215.659418,624.930321,-223.76327,216.060234,623.279795,-230.994128,214.21562,622.244233,-237.41313,210.292789,621.961674,-242.158912,204.458933,622.57008,-244.370186,196.881307,624.207422,-244.360023,190.671816,625.939603,-243.312227,185.254012,627.673567,-241.257169,180.554314,629.423302,-238.225322,176.499237,631.202754,-234.247056,173.015162,633.025932,-201.498487,211.485232,622.658125,-207.223082,211.80474,621.342421,-212.987098,210.334334,620.516945,-218.103938,207.207272,620.291693,-221.886997,202.556864,620.77669,-223.649688,196.51643,622.081874,-223.641585,191.566605,623.46266,-222.806351,187.24785,624.844872,-221.168158,183.501505,626.239665,-218.751374,180.269062,627.658133,-215.58013,177.491758,629.111461], 4 | "indices" : [0,1,12,12,11,0,1,2,13,13,12,1,2,3,14,14,13,2,3,4,15,15,14,3,4,5,16,16,15,4,5,6,17,17,16,5,6,7,18,18,17,6,7,8,19,19,18,7,8,9,20,20,19,8,9,10,21,21,20,9] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr128.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BODY_rear-bumpe_Entity47", 3 | "vertices" : [75.144783,89.782583,-692.319595,75.144783,87.797442,-694.794824,76.243838,87.153335,-695.598081,84.682369,87.153335,-695.598081,85.531967,87.666109,-694.958551,85.531967,89.782583,-692.319595,76.76778,90.431782,-714.23006,76.76778,88.446631,-716.70529,77.523379,87.802534,-717.508547,83.324872,87.802534,-717.508547,83.908969,88.315308,-716.869016,83.908969,90.431782,-714.23006,76.733391,91.342122,-714.98561,76.733391,89.356962,-717.644378,77.496266,88.712874,-718.507229,83.353649,88.712874,-718.507229,83.943362,89.225638,-717.819832,83.943362,91.342122,-714.98561,75.956282,114.939041,-723.156546,75.956282,112.953892,-725.631775,76.883611,112.309795,-726.435033,84.003621,112.309795,-726.435033,84.720467,112.822559,-725.795502,84.720467,114.939041,-723.156546], 4 | "indices" : [6,7,1,1,0,6,7,8,2,2,1,7,8,9,3,3,2,8,9,10,4,4,3,9,10,11,5,5,4,10,12,13,7,7,6,12,13,14,8,8,7,13,14,15,9,9,8,14,15,16,10,10,9,15,16,17,11,11,10,16,18,19,13,13,12,18,19,20,14,14,13,19,20,21,15,15,14,20,21,22,16,16,15,21,22,23,17,17,16,22,5,11,17,17,23,5,18,12,6,6,0,18] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr129.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BODY_rear-bumpe_Entity48", 3 | "vertices" : [-75.144775,89.782583,-692.31961,-75.144775,87.797442,-694.79484,-76.24383,87.153335,-695.598096,-84.682362,87.153335,-695.598096,-85.531959,87.666109,-694.958566,-85.531959,89.782583,-692.31961,-76.767773,90.431782,-714.230075,-76.767773,88.446631,-716.705304,-77.523372,87.802534,-717.508561,-83.324865,87.802534,-717.508561,-83.908962,88.315308,-716.86903,-83.908962,90.431782,-714.230075,-76.733384,91.342122,-714.985624,-76.733384,89.356962,-717.644392,-77.49626,88.712874,-718.507244,-83.353642,88.712874,-718.507244,-83.943355,89.225638,-717.819847,-83.943355,91.342122,-714.985624,-75.956274,114.939041,-723.15656,-75.956274,112.953892,-725.631789,-76.883604,112.309795,-726.435047,-84.003614,112.309795,-726.435047,-84.72046,112.822559,-725.795516,-84.72046,114.939041,-723.15656], 4 | "indices" : [6,7,1,1,0,6,7,8,2,2,1,7,8,9,3,3,2,8,9,10,4,4,3,9,10,11,5,5,4,10,12,13,7,7,6,12,13,14,8,8,7,13,14,15,9,9,8,14,15,16,10,10,9,15,16,17,11,11,10,16,18,19,13,13,12,18,19,20,14,14,13,19,20,21,15,15,14,20,21,22,16,16,15,21,22,23,17,17,16,22,5,11,17,17,23,5,18,12,6,6,0,18] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr14.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BOTTOM_bottom-pla_Entity133", 3 | "vertices" : [162.299728,66.054369,303.032326,162.299728,46.578401,575.695885,-162.299728,46.578401,575.695885,-162.299728,66.054369,303.032326], 4 | "indices" : [3,0,1,1,2,3] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr15(2).json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BOTTOM_bottom-pla_Entity134", 3 | "vertices" : [249.941605,68.326565,-311.109978,249.941605,67.677366,303.032234,-249.941605,67.677366,303.032234,-249.941605,68.326565,-311.109978], 4 | "indices" : [3,0,1,1,2,3] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr15.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BOTTOM_bottom-pla_Entity134", 3 | "vertices" : [249.941605,68.326565,-311.109978,249.941605,67.677366,303.032234,-249.941605,67.677366,303.032234,-249.941605,68.326565,-311.109978], 4 | "indices" : [3,0,1,1,2,3] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr17.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BOTTOM_bottom-pla_Entity136", 3 | "vertices" : [212.612653,38.463413,-560.402367,212.612653,38.463413,-605.846292,212.612653,64.431372,-706.472137,212.612653,75.792353,-712.964127,209.366658,38.463413,-560.402367,209.366658,38.463413,-605.846292,209.366658,64.431372,-706.472137,209.366658,75.792353,-712.964127,212.612653,47.876798,-560.402367,212.612653,56.965583,-605.846292,212.612653,75.792353,-693.812752,209.366658,75.792353,-693.812752,209.366658,56.965583,-605.846292,209.366658,47.876798,-560.402367], 4 | "indices" : [1,0,5,4,5,0,2,1,6,5,6,1,3,2,7,6,7,2,2,3,10,1,9,0,8,0,9,2,10,1,9,1,10,4,13,5,12,5,13,5,12,6,11,6,12,6,11,7,7,11,3,10,3,11] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr18.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BOTTOM_bottom-pla_Entity137", 3 | "vertices" : [81.149872,38.463413,-560.402374,81.149872,38.463413,-605.846304,81.149872,64.431372,-706.472145,81.149872,75.792353,-712.964134,77.903877,38.463413,-560.402374,77.903877,38.463413,-605.846304,77.903877,64.431372,-706.472145,77.903877,75.792353,-712.964134,81.149872,47.876798,-560.402374,81.149872,56.965583,-605.846304,81.149872,75.792353,-693.812763,77.903877,75.792353,-693.812763,77.903877,56.965583,-605.846304,77.903877,47.876798,-560.402374], 4 | "indices" : [1,0,5,4,5,0,2,1,6,5,6,1,3,2,7,6,7,2,2,3,10,1,9,0,8,0,9,2,10,1,9,1,10,4,13,5,12,5,13,5,12,6,11,6,12,6,11,7,7,11,3,10,3,11] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr19.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BOTTOM_bottom-pla_Entity138", 3 | "vertices" : [-212.612664,38.463413,-560.402397,-212.612664,38.463413,-605.846331,-212.612664,64.431372,-706.472168,-212.612664,75.792353,-712.964157,-209.366669,38.463413,-560.402397,-209.366669,38.463413,-605.846331,-209.366669,64.431372,-706.472168,-209.366669,75.792353,-712.964157,-212.612664,47.876798,-560.402397,-212.612664,56.965583,-605.846331,-212.612664,75.792353,-693.81279,-209.366669,75.792353,-693.81279,-209.366669,56.965583,-605.846331,-209.366669,47.876798,-560.402397], 4 | "indices" : [0,1,5,5,4,0,1,2,6,6,5,1,2,3,7,7,6,2,3,2,10,9,1,0,0,8,9,10,2,1,1,9,10,13,4,5,5,12,13,12,5,6,6,11,12,11,6,7,11,7,3,3,10,11] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr2.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BLK-PARTS_door-glass_Group12_Entity78", 3 | "vertices" : [251.705855,272.924119,144.68911,252.49033,271.960701,111.858284,252.994941,271.980019,75.817352,253.424544,273.706295,15.519043,253.543614,276.525342,-46.399101,253.277341,279.959115,-109.419502,252.149446,284.185208,-186.192909,250.265663,276.974638,144.464088,251.050118,276.011261,111.633217,251.554749,276.030558,75.592293,251.982787,277.741877,15.687286,252.104749,280.536159,-45.836597,251.846976,283.946197,-108.510773,250.74117,288.166902,-185.047142,248.003392,278.766909,144.36451,248.787828,277.803512,111.533676,249.292479,277.822809,75.492752,249.719466,279.527233,15.761701,249.842142,282.310084,-45.587757,249.587796,285.709343,-108.108665,248.493065,289.9287,-184.540123,243.720696,278.766909,144.36451,244.505171,277.803512,111.533676,245.009783,277.822809,75.492752,245.43677,279.527233,15.761701,245.559387,282.310084,-45.587757,245.30506,285.709343,-108.108665,244.210349,289.9287,-184.540123,243.720696,272.924119,144.68911,244.505171,271.960701,111.858284,245.009783,271.980019,75.817352,245.43677,273.701105,15.828586,245.559387,276.522014,-46.111034,245.30506,279.965118,-109.311806,244.210349,284.215758,-186.22802], 4 | "indices" : [0,1,8,8,7,0,1,2,9,9,8,1,2,3,10,10,9,2,3,4,11,11,10,3,4,5,12,12,11,4,5,6,13,13,12,5,7,8,15,15,14,7,8,9,16,16,15,8,9,10,17,17,16,9,10,11,18,18,17,10,11,12,19,19,18,11,12,13,20,20,19,12,14,15,22,22,21,14,15,16,23,23,22,15,16,17,24,24,23,16,17,18,25,25,24,17,18,19,26,26,25,18,19,20,27,27,26,19,21,22,29,29,28,21,22,23,30,30,29,22,23,24,31,31,30,23,24,25,32,32,31,24,25,26,33,33,32,25,26,27,34,34,33,26] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr20.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BOTTOM_bottom-pla_Entity139", 3 | "vertices" : [-81.149868,38.463413,-560.40239,-81.149868,38.463413,-605.846319,-81.149868,64.431372,-706.47216,-81.149868,75.792353,-712.964149,-77.903873,38.463413,-560.40239,-77.903873,38.463413,-605.846319,-77.903873,64.431372,-706.47216,-77.903873,75.792353,-712.964149,-81.149868,47.876798,-560.40239,-81.149868,56.965583,-605.846319,-81.149868,75.792353,-693.812778,-77.903873,75.792353,-693.812778,-77.903873,56.965583,-605.846319,-77.903873,47.876798,-560.40239], 4 | "indices" : [0,1,5,5,4,0,1,2,6,6,5,1,2,3,7,7,6,2,3,2,10,9,1,0,0,8,9,10,2,1,1,9,10,13,4,5,5,12,13,12,5,6,6,11,12,11,6,7,11,7,3,3,10,11] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr21.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BOTTOM_tire-house_Entity105", 3 | "vertices" : [275.90955,38.884605,559.343384,279.235424,99.039196,557.284576,281.677689,137.713666,547.117897,281.914639,167.265711,527.787888,282.052929,186.191517,503.981712,281.938732,200.463654,474.396301,282.076939,206.243973,436.478966,282.046906,202.450378,401.694895,282.107056,190.717289,368.58036,282.076939,168.226135,339.925186,281.566105,137.841414,319.932121,278.557541,99.158581,308.780121,269.09296,64.485672,305.338066,162.299732,38.884605,559.343384,162.299732,99.287666,557.290604,162.299694,137.831884,547.133011,162.299732,167.265711,527.787888,162.299732,186.493496,503.981056,162.299732,200.452343,474.395985,162.299732,206.243973,436.478966,162.299732,202.757126,401.703613,162.29977,190.681824,368.579327,162.299732,168.226135,339.925186,162.299732,137.796797,319.913345,162.29977,99.082207,308.769188,162.299732,64.485672,305.338066,254.485985,51.122787,305.304459,162.299732,51.122787,305.304459], 4 | "indices" : [1,0,14,13,14,0,2,1,15,14,15,1,3,2,16,15,16,2,4,3,17,16,17,3,5,4,18,17,18,4,6,5,19,18,19,5,7,6,20,19,20,6,8,7,21,20,21,7,9,8,22,21,22,8,10,9,23,22,23,9,11,10,24,23,24,10,12,11,25,24,25,11,25,24,13,14,13,24,24,23,14,15,14,23,23,22,15,16,15,22,22,21,16,17,16,21,19,18,20,21,20,17,18,17,20,25,27,12,26,12,27,25,13,27] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr22.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BOTTOM_tire-house_Entity106", 3 | "vertices" : [270.066776,61.294067,-312.127487,275.989445,100.38805,-314.193726,281.840004,139.794434,-323.617325,283.213051,167.872171,-341.170425,283.513641,188.803051,-365.832375,283.237144,202.125534,-398.037148,283.213051,208.044033,-437.047176,283.345322,203.457439,-473.365944,282.918564,189.892849,-503.989555,282.56385,170.630236,-526.773331,280.430023,142.110237,-544.246231,275.473858,105.020309,-555.174835,268.119179,71.274635,-559.131371,157.106155,61.294067,-312.127487,157.106155,100.474052,-314.190628,157.106117,139.749797,-323.603859,157.106155,167.872171,-341.170425,157.106155,188.780464,-365.833885,157.106155,201.951946,-398.037865,157.106155,208.044033,-437.047176,157.106155,203.602043,-473.36713,157.106194,189.857445,-503.991936,157.106155,170.630236,-526.773331,157.106155,142.228673,-544.266754,157.106194,104.944386,-555.188782,157.106155,71.274635,-559.131371], 4 | "indices" : [1,0,14,13,14,0,2,1,15,14,15,1,3,2,16,15,16,2,4,3,17,16,17,3,5,4,18,17,18,4,6,5,19,18,19,5,7,6,20,19,20,6,8,7,21,20,21,7,9,8,22,21,22,8,10,9,23,22,23,9,11,10,24,23,24,10,12,11,25,24,25,11,25,24,13,14,13,24,24,23,14,15,14,23,23,22,15,16,15,22,22,21,16,17,16,21,19,18,20,21,20,17,18,17,20] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr23.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BOTTOM_tire-house_Entity107", 3 | "vertices" : [-275.909565,38.884605,559.343414,-279.235439,99.039196,557.284607,-281.677704,137.713666,547.117912,-281.914654,167.265711,527.787903,-282.052944,186.191517,503.981728,-281.938747,200.463654,474.396324,-282.076954,206.243973,436.478989,-282.046921,202.450378,401.694918,-282.107071,190.717289,368.580383,-282.076954,168.226135,339.925201,-281.56612,137.841414,319.932137,-278.557556,99.158581,308.780136,-269.092976,64.485672,305.338081,-162.299747,38.884605,559.343414,-162.299747,99.287666,557.290634,-162.299709,137.831884,547.133026,-162.299747,167.265711,527.787903,-162.299747,186.493496,503.981071,-162.299747,200.452343,474.396008,-162.299747,206.243973,436.478989,-162.299747,202.757126,401.703636,-162.299786,190.681824,368.57935,-162.299747,168.226135,339.925201,-162.299747,137.796797,319.913361,-162.299786,99.082207,308.769203,-162.299747,64.485672,305.338081,-254.486,51.122787,305.304474,-162.299747,51.122787,305.304474], 4 | "indices" : [0,1,14,14,13,0,1,2,15,15,14,1,2,3,16,16,15,2,3,4,17,17,16,3,4,5,18,18,17,4,5,6,19,19,18,5,6,7,20,20,19,6,7,8,21,21,20,7,8,9,22,22,21,8,9,10,23,23,22,9,10,11,24,24,23,10,11,12,25,25,24,11,24,25,13,13,14,24,23,24,14,14,15,23,22,23,15,15,16,22,21,22,16,16,17,21,18,19,20,20,21,17,17,18,20,27,25,12,12,26,27,13,25,27] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr24.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BOTTOM_tire-house_Entity108", 3 | "vertices" : [-270.066761,61.294067,-312.127472,-275.989429,100.38805,-314.19371,-281.839989,139.794434,-323.61731,-283.213036,167.872171,-341.17041,-283.513626,188.803051,-365.832359,-283.237129,202.125534,-398.037125,-283.213036,208.044033,-437.047153,-283.345306,203.457439,-473.365921,-282.918549,189.892849,-503.98954,-282.563835,170.630236,-526.773315,-280.430008,142.110237,-544.246216,-275.473843,105.020309,-555.17482,-268.119164,71.274635,-559.131355,-157.10614,61.294067,-312.127472,-157.10614,100.474052,-314.190613,-157.106102,139.749797,-323.603844,-157.10614,167.872171,-341.17041,-157.10614,188.780464,-365.83387,-157.10614,201.951946,-398.037842,-157.10614,208.044033,-437.047153,-157.10614,203.602043,-473.367107,-157.106178,189.857445,-503.99192,-157.10614,170.630236,-526.773315,-157.10614,142.228673,-544.266739,-157.106178,104.944386,-555.188766,-157.10614,71.274635,-559.131355], 4 | "indices" : [0,1,14,14,13,0,1,2,15,15,14,1,2,3,16,16,15,2,3,4,17,17,16,3,4,5,18,18,17,4,5,6,19,19,18,5,6,7,20,20,19,6,7,8,21,21,20,7,8,9,22,22,21,8,9,10,23,23,22,9,10,11,24,24,23,10,11,12,25,25,24,11,24,25,13,13,14,24,23,24,14,14,15,23,22,23,15,15,16,22,21,22,16,16,17,21,18,19,20,20,21,17,17,18,20] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr29.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_INTERIOR_A-pillar_Entity167", 3 | "vertices" : [-237.945402,279.930302,235.757507,-228.387705,279.801582,230.604568,-241.073792,278.969299,202.035812,-247.929649,277.855526,208.844673,-225.810682,310.200331,190.768456,-216.38006,309.517488,186.61618,-229.223059,307.202579,161.861946,-235.94047,305.863844,170.86364,-216.553256,333.722023,122.12276,-223.592374,332.115984,132.907094,-202.836591,358.819006,81.44429,-210.672388,356.499063,93.68084,-183.412687,386.595798,64.538727,-174.073757,386.032822,60.452148,-187.845461,382.785202,38.45285,-196.967529,378.900192,51.890526,-169.13031,394.386185,50.775665,-183.379206,389.991493,20.241516,-191.871293,385.879078,33.226051,-189.546715,389.206264,19.849396,-189.696613,362.667603,101.807117,-199.207947,363.479221,105.403349,-203.632993,337.148782,143.783474,-213.168657,337.874455,147.621056,-179.370173,390.379608,56.59864,-167.493324,390.329247,53.739853,-159.053741,394.224442,49.844658,-239.554411,275.258732,244.279747,-249.616997,273.635735,213.280502,-228.19343,275.258732,238.923851,-241.01511,273.635735,205.165512,-232.250921,273.635735,205.165512,-231.601725,278.991627,202.08181,-219.753842,307.231781,161.831474,-207.256763,333.686639,122.06804,-192.812085,358.8431,81.493103,-175.932915,382.863461,38.483673,-169.603226,396.172035,20.630707], 4 | "indices" : [0,1,5,5,4,0,21,20,13,13,12,21,9,11,10,10,8,9,23,4,5,5,22,23,23,22,20,20,21,23,7,9,8,8,6,7,3,7,6,6,2,3,14,10,11,11,15,14,18,19,17,17,14,15,15,18,17,25,24,12,12,13,25,26,16,24,24,25,26,1,0,27,27,29,1,30,28,3,3,2,30,31,30,2,2,32,31,32,1,29,29,31,32,32,2,6,6,33,32,33,5,1,1,32,33,33,6,8,8,34,33,22,5,33,33,34,22,34,8,10,10,35,34,35,20,22,22,34,35,35,10,14,14,36,35,13,20,35,35,36,13,25,13,36,36,14,17,17,37,36,37,26,25,25,36,37] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr3.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BLK-PARTS_door-glass_Group12_Entity79", 3 | "vertices" : [183.994095,393.026447,-135.792891,187.077787,393.026447,-135.792891,187.006128,393.088303,-152.218528,183.922436,393.088303,-152.218528,200.882975,367.885246,-142.243591,203.966669,367.885246,-142.243591,203.724726,368.379198,-160.298884,200.641029,368.379198,-160.298884,216.532853,341.946174,-148.694294,219.616548,341.946174,-148.694294,219.252781,342.823884,-168.379319,216.169086,342.823884,-168.379319,231.124714,315.444956,-155.144916,234.208408,315.444956,-155.144916,233.785799,316.610893,-176.459675,230.702104,316.610893,-176.459675,244.839575,288.617237,-161.595618,247.923271,288.617237,-161.595618,247.519264,289.928711,-184.54011,244.43557,289.928711,-184.54011], 4 | "indices" : [0,1,5,5,4,0,1,2,6,6,5,1,2,3,7,7,6,2,3,0,4,4,7,3,4,5,9,9,8,4,5,6,10,10,9,5,6,7,11,11,10,6,7,4,8,8,11,7,8,9,13,13,12,8,9,10,14,14,13,9,10,11,15,15,14,10,11,8,12,12,15,11,12,13,17,17,16,12,13,14,18,18,17,13,14,15,19,19,18,14,15,12,16,16,19,15] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr30.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_INTERIOR_A-pillar_Entity168", 3 | "vertices" : [237.94541,279.930302,235.757507,228.387712,279.801582,230.604568,241.073799,278.969299,202.035812,247.929657,277.855526,208.844673,225.81069,310.200331,190.768456,216.38007,309.517488,186.616188,229.223066,307.202579,161.861954,235.940477,305.863844,170.863647,216.553266,333.722023,122.122766,223.592383,332.115984,132.9071,202.8366,358.819006,81.444298,210.672396,356.499063,93.680847,183.412695,386.595798,64.538734,174.073765,386.032822,60.452148,187.845469,382.785202,38.45285,196.967539,378.900192,51.890526,169.130318,394.386185,50.775665,183.379213,389.991493,20.241516,191.871303,385.879078,33.226051,189.546722,389.206264,19.849396,189.696621,362.667603,101.807125,199.207956,363.479221,105.403357,203.633002,337.148782,143.783482,213.168666,337.874455,147.621063,179.37018,390.379608,56.59864,167.493332,390.329247,53.739853,159.053749,394.224442,49.844658,239.554419,275.258732,244.279747,249.617004,273.635735,213.280502,228.193438,275.258732,238.923851,241.015118,273.635735,205.165512,232.250929,273.635735,205.165512,231.601732,278.991627,202.08181,219.753852,307.231781,161.831482,207.256771,333.686639,122.068045,192.812095,358.8431,81.493111,175.932922,382.863461,38.483673,169.603233,396.172035,20.630707], 4 | "indices" : [1,0,5,4,5,0,20,21,13,12,13,21,11,9,10,8,10,9,4,23,5,22,5,23,22,23,20,21,20,23,9,7,8,6,8,7,7,3,6,2,6,3,10,14,11,15,11,14,19,18,17,14,17,15,18,15,17,24,25,12,13,12,25,16,26,24,25,24,26,0,1,27,29,27,1,28,30,3,2,3,30,30,31,2,32,2,31,1,32,29,31,29,32,2,32,6,33,6,32,5,33,1,32,1,33,6,33,8,34,8,33,5,22,33,34,33,22,8,34,10,35,10,34,20,35,22,34,22,35,10,35,14,36,14,35,20,13,35,36,35,13,13,25,36,14,36,17,37,17,36,26,37,25,36,25,37] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr31.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_INTERIOR_B-pillar_Entity169", 3 | "vertices" : [183.994093,393.026489,-135.792891,200.882975,367.885284,-142.243591,216.532853,341.946213,-148.694295,231.124714,315.444996,-155.144917,244.839577,288.617279,-161.595618,169.586288,400.816879,-133.520695,189.783133,367.885284,-142.243591,204.1573,341.946213,-148.694295,217.445829,315.444996,-155.144917,233.087269,276.282501,-164.192415,169.517662,400.878731,-149.946333,189.565439,368.379236,-160.298885,203.836683,342.823924,-168.37932,217.080536,316.610931,-176.459675,232.74777,277.593971,-187.136906,183.922434,393.088341,-152.218529,200.641031,368.379236,-160.298885,216.169086,342.823924,-168.37932,230.702103,316.610931,-176.459675,244.43557,289.928749,-184.54011], 4 | "indices" : [5,6,1,1,0,5,6,7,2,2,1,6,7,8,3,3,2,7,8,9,4,4,3,8,10,11,6,6,5,10,11,12,7,7,6,11,12,13,8,8,7,12,13,14,9,9,8,13,15,16,11,11,10,15,16,17,12,12,11,16,17,18,13,13,12,17,18,19,14,14,13,18] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr32.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_INTERIOR_B-pillar_Entity170", 3 | "vertices" : [-183.994097,393.026489,-135.792898,-200.882977,367.885284,-142.243599,-216.532856,341.946213,-148.694301,-231.124718,315.444996,-155.144923,-244.839577,288.617279,-161.595625,-169.586288,400.816879,-133.520702,-189.783136,367.885284,-142.243599,-204.157303,341.946213,-148.694301,-217.445831,315.444996,-155.144923,-233.087273,276.282501,-164.19242,-169.517662,400.878731,-149.946339,-189.565443,368.379236,-160.298891,-203.836686,342.823924,-168.379326,-217.080538,316.610931,-176.459682,-232.747774,277.593971,-187.136913,-183.922438,393.088341,-152.218535,-200.641033,368.379236,-160.298891,-216.169088,342.823924,-168.379326,-230.702106,316.610931,-176.459682,-244.43557,289.928749,-184.540117], 4 | "indices" : [6,5,1,0,1,5,7,6,2,1,2,6,8,7,3,2,3,7,9,8,4,3,4,8,11,10,6,5,6,10,12,11,7,6,7,11,13,12,8,7,8,12,14,13,9,8,9,13,16,15,11,10,11,15,17,16,12,11,12,16,18,17,13,12,13,17,19,18,14,13,14,18] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr33.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_INTERIOR_back-mirro_Entity164", 3 | "vertices" : [-4.057494,397.145856,60.394126,4.057494,397.145856,60.394126,4.057494,394.71136,53.902137,-4.057494,394.71136,53.902137,-4.057494,392.276864,69.320612,4.057494,392.276864,69.320612,4.057494,389.842368,66.074617,-4.057494,389.842368,66.074617,-4.057494,380.915882,69.320612,4.057494,380.915882,69.320612,4.057494,380.915882,66.074617,-4.057494,380.915882,66.074617], 4 | "indices" : [4,5,1,1,0,4,5,6,2,2,1,5,6,7,3,3,2,6,7,4,0,0,3,7,8,9,5,5,4,8,9,10,6,6,5,9,10,11,7,7,6,10,11,8,4,4,7,11] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr34.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_INTERIOR_back-mirro_Entity165", 3 | "vertices" : [-0.114434,373.311549,72.288306,-33.423703,362.593743,69.226087,-37.251416,366.283685,69.226087,-34.005421,381.150833,69.226087,-30.177706,384.029275,69.226087,29.948838,384.029275,69.226087,33.776553,381.150833,69.226087,37.022548,366.283685,69.226087,33.194835,362.593743,69.226087,-33.423703,362.593743,64.632798,-37.251416,366.283685,64.632798,-34.005421,381.150833,64.632798,-30.177706,384.029275,64.632798,29.948838,384.029275,64.632798,33.776553,381.150833,64.632798,37.022548,366.283685,64.632798,33.194835,362.593743,64.632798], 4 | "indices" : [0,2,1,0,3,2,0,4,3,0,5,4,0,6,5,0,7,6,0,8,7,0,1,8,1,2,10,10,9,1,2,3,11,11,10,2,3,4,12,12,11,3,4,5,13,13,12,4,5,6,14,14,13,5,6,7,15,15,14,6,7,8,16,16,15,7,8,1,9,9,16,8] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr35.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_INTERIOR_back-mirro_Entity166", 3 | "vertices" : [-33.423703,362.593763,64.632793,-37.251416,366.283705,64.632793,-34.005421,381.150853,64.632793,-30.177706,384.029295,64.632793,29.948838,384.029295,64.632793,33.776553,381.150853,64.632793,37.022548,366.283705,64.632793,33.194835,362.593763,64.632793], 4 | "indices" : [2,3,1,0,1,3,3,4,0,7,0,4,6,7,5,4,5,7] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr36.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_INTERIOR_C-pillar_Entity171", 3 | "vertices" : [237.449589,301.610172,-346.260888,239.960163,296.354904,-343.113636,242.877914,292.84103,-333.16089,189.300614,357.918711,-364.802364,195.887463,343.514728,-391.375854,202.429498,327.065673,-419.291016,154.353924,393.003983,-303.968647,162.100433,391.758881,-304.361164,169.007324,389.196915,-306.877918,174.72942,384.672531,-315.323847,230.992786,313.202597,-340.162998,224.823099,324.489204,-327.100327,215.079805,342.664596,-303.182667,205.558325,359.651625,-278.772484,193.86787,378.931614,-250.096558,188.187339,388.137882,-231.691849,183.584105,397.408424,-191.590828,184.906,393.883953,-212.438103,203.556324,302.200527,-494.76841,207.841062,303.985825,-481.07032,209.301758,308.854816,-461.918953,207.548914,315.022209,-444.617783,198.97948,342.613164,-308.188602,184.047904,343.586962,-384.469479,189.566095,359.492338,-284.168236,176.582117,357.869339,-356.878525,208.717463,324.435593,-331.559765,190.539893,327.03239,-409.788239,196.707283,315.022209,-436.729996,199.628679,308.854816,-454.90757,199.304079,303.985825,-473.085136,197.031883,302.362827,-484.770714,215.209455,313.07461,-344.543744,220.727644,301.713631,-350.711134,224.622839,296.195438,-347.465139,227.544233,292.949448,-338.051754,176.257517,379.942104,-258.200287,162.62434,384.811096,-306.890202,165.545732,392.601482,-238.237419,159.702946,402.501766,-216.00235,159.702946,404.449364,-191.981987], 4 | "indices" : [22,12,13,13,24,22,25,3,4,4,23,25,23,22,24,24,25,23,26,11,12,12,22,26,23,4,5,5,27,23,26,22,23,23,27,26,27,5,21,21,28,27,28,21,20,20,29,28,29,20,19,19,30,29,30,19,18,18,31,30,32,10,11,11,26,32,33,0,10,10,32,33,34,1,0,0,33,34,35,2,1,1,34,35,32,26,27,27,28,32,33,32,28,28,29,33,34,33,29,29,30,34,35,34,30,30,31,35,24,13,14,14,36,24,37,9,3,3,25,37,37,25,24,24,36,37,8,9,37,7,8,37,6,7,37,36,14,15,15,38,36,38,15,17,17,39,38,39,17,16,16,40,39,38,39,6,6,37,36,36,38,6] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr38.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_INTERIOR_door0_Entity174", 3 | "vertices" : [239.295677,296.227066,-368.105804,232.943243,296.227226,-368.110535,227.875656,291.798019,-366.148682,225.518981,279.620583,-360.362091,229.86985,248.868427,-348.42749,237.979766,182.564903,-312.827286,236.684775,106.466042,-273.515793,232.881034,69.9543,-264.698273,247.449971,279.982391,-76.500713,237.572748,279.982628,-76.502457,232.06169,275.582306,-76.401416,229.648194,263.86348,-76.282385,234.503001,227.481989,-76.341821,242.422008,178.2831,-76.478286,239.672977,105.779266,-78.71173,235.421484,69.466064,-79.236986,246.855533,274.149387,75.133057,237.827134,273.987282,75.133926,231.975388,269.786392,74.270599,229.459505,258.323692,73.654999,234.984432,223.547885,72.118149,242.67679,172.537941,69.10791,238.704567,103.850685,65.695251,234.187911,69.86441,64.119263,244.682554,272.748325,210.977295,238.311814,272.748402,210.977325,232.140065,268.371937,216.510986,230.071695,256.938755,223.05719,235.656692,218.977776,236.377411,242.550786,168.187187,236.675323,237.84124,99.985588,227.400085,233.000698,69.742889,218.921967,245.749549,288.510735,-227.363235,239.956129,180.577206,-227.363312,231.21651,284.246521,-227.363235,228.737477,271.989166,-227.363235,232.787601,231.434202,-227.363235,236.799447,106.264854,-227.363312,232.084275,70.473907,-227.363312,236.488082,288.270416,-226.926422,234.711185,211.578596,-328.352432], 4 | "indices" : [25,24,16,16,17,25,17,16,8,8,9,17,27,26,18,18,19,27,19,18,10,10,11,19,28,27,19,19,20,28,20,19,11,11,12,20,29,28,20,20,21,29,21,20,12,12,13,21,30,29,21,21,22,30,22,21,13,13,14,22,31,30,22,22,23,31,23,22,14,14,15,23,17,9,10,10,18,17,25,17,18,18,26,25,32,0,1,1,39,32,39,9,8,8,32,39,39,1,2,2,34,39,34,10,9,9,39,34,34,2,3,3,35,34,35,11,10,10,34,35,35,3,4,4,36,35,36,12,11,11,35,36,33,13,12,12,36,33,33,5,6,6,37,33,37,14,13,13,33,37,37,6,7,7,38,37,38,15,14,14,37,38,36,4,40,40,5,33,33,36,40] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr39.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_INTERIOR_door0_Entity175", 3 | "vertices" : [-239.295664,296.227066,-368.105804,-232.94323,296.227226,-368.110535,-227.875643,291.798019,-366.148682,-225.518968,279.620583,-360.362091,-229.869837,248.868427,-348.42749,-237.979752,182.564903,-312.827286,-236.684762,106.466042,-273.515793,-232.88102,69.9543,-264.698273,-247.449958,279.982391,-76.500709,-237.572735,279.982628,-76.502452,-232.061676,275.582306,-76.401411,-229.64818,263.86348,-76.282381,-234.502988,227.481989,-76.341817,-242.421995,178.2831,-76.478282,-239.672963,105.779266,-78.711726,-235.421471,69.466064,-79.236981,-246.855519,274.149387,75.133057,-237.827121,273.987282,75.133926,-231.975375,269.786392,74.270599,-229.459492,258.323692,73.654999,-234.984419,223.547885,72.118149,-242.676777,172.537941,69.10791,-238.704554,103.850685,65.695251,-234.187898,69.86441,64.119263,-244.682541,272.748325,210.977295,-238.311801,272.748402,210.977325,-232.140052,268.371937,216.510986,-230.071681,256.938755,223.05719,-235.656679,218.977776,236.377411,-242.550773,168.187187,236.675323,-237.841227,99.985588,227.400085,-233.000685,69.742889,218.921967,-245.749536,288.510735,-227.363235,-239.956116,180.577206,-227.363312,-231.216497,284.246521,-227.363235,-228.737463,271.989166,-227.363235,-232.787587,231.434202,-227.363235,-236.799434,106.264854,-227.363312,-232.084262,70.473907,-227.363312,-236.488069,288.270416,-226.926422,-234.711172,211.578596,-328.352432], 4 | "indices" : [24,25,16,17,16,25,16,17,8,9,8,17,26,27,18,19,18,27,18,19,10,11,10,19,27,28,19,20,19,28,19,20,11,12,11,20,28,29,20,21,20,29,20,21,12,13,12,21,29,30,21,22,21,30,21,22,13,14,13,22,30,31,22,23,22,31,22,23,14,15,14,23,9,17,10,18,10,17,17,25,18,26,18,25,0,32,1,39,1,32,9,39,8,32,8,39,1,39,2,34,2,39,10,34,9,39,9,34,2,34,3,35,3,34,11,35,10,34,10,35,3,35,4,36,4,35,12,36,11,35,11,36,13,33,12,36,12,33,5,33,6,37,6,33,14,37,13,33,13,37,6,37,7,38,7,37,15,38,14,37,14,38,4,36,40,5,40,33,36,33,40] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr41.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_INTERIOR_front_Entity158", 3 | "vertices" : [-191.513695,263.773649,244.459179,-183.941017,277.885247,244.554909,-181.431419,280.210638,244.570683,-178.547504,281.920491,244.582249,-175.283718,282.782867,244.588116,-158.944809,284.022483,244.596512,-138.878384,284.809553,244.601826,-95.436508,284.877092,244.602299,-75.431805,284.116471,244.597187,-58.427906,282.782867,244.588116,-55.271542,281.928039,244.582291,-52.4533,280.239167,244.570839,-49.974297,277.942265,244.555267,-42.197929,263.773649,244.459179,-191.513695,252.699049,156.962421,-183.941017,286.970069,146.252735,-181.431419,292.617435,144.487926,-178.547504,296.769947,143.190243,-175.283718,298.86433,142.53577,-158.944809,301.87484,141.594982,-138.878384,303.786221,140.997688,-95.436508,303.950323,140.946415,-75.431805,302.103134,141.523697,-58.427906,298.86433,142.53577,-55.271542,296.788273,143.184494,-52.4533,292.686737,144.466213,-49.974297,287.108555,146.209389,-42.197929,252.699049,156.962421,-159.053745,263.735451,244.604282,-75.307079,263.735451,244.604282,-159.053745,252.69907,156.962421,-75.307079,252.69907,156.637821], 4 | "indices" : [1,2,16,16,15,1,2,3,17,17,16,2,3,4,18,18,17,3,4,5,19,19,18,4,5,6,20,20,19,5,7,8,22,22,21,7,8,9,23,23,22,8,9,10,24,24,23,9,10,11,25,25,24,10,11,12,26,26,25,11,13,27,26,26,12,13,1,15,14,14,0,1,7,21,20,20,6,7,29,13,12,12,11,29,29,8,7,9,8,29,29,11,10,10,9,29,6,5,28,28,29,7,7,6,28,28,5,4,2,1,0,0,28,2,28,4,3,3,2,28,18,19,30,30,19,20,30,14,15,15,16,30,16,17,18,18,30,16,21,22,31,31,30,20,20,21,31,31,22,23,31,23,24,24,25,31,25,26,27,27,31,25] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr43.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_INTERIOR_handle_Entity1600", 3 | "vertices" : [-119.109112,235.362779,113.022131,-101.174673,245.7377,116.898582,-101.174673,223.896358,108.737988,-106.911589,217.344259,106.28994,-131.30602,217.344259,106.28994,-137.04355,223.896358,108.737988,-137.04355,245.7377,116.898582,-131.306634,254.472403,120.162129,-106.912183,254.472403,120.162129,-97.552053,246.649307,120.792705,-97.552053,219.58539,110.680752,-104.447771,211.709751,107.738077,-133.769719,211.709751,107.738077,-140.666172,219.58539,110.680752,-140.666172,246.649307,120.792705,-133.770452,257.148388,124.715398,-104.448504,257.148388,124.715398,-95.091583,233.656294,165.890514,-95.091604,202.440083,154.978476,-102.774412,193.665615,151.699989,-135.443178,193.665615,151.699989,-143.126797,202.440083,154.978476,-143.126797,233.656294,165.890514,-135.44401,245.353643,170.261116,-102.775225,245.353643,170.261036], 4 | "indices" : [2,0,1,3,0,2,4,0,3,5,0,4,6,0,5,7,0,6,8,0,7,1,0,8,2,1,10,9,10,1,3,2,11,10,11,2,4,3,12,11,12,3,5,4,13,12,13,4,6,5,14,13,14,5,7,6,15,14,15,6,8,7,16,15,16,7,1,8,9,16,9,8,10,9,18,17,18,9,11,10,19,18,19,10,12,11,20,19,20,11,13,12,21,20,21,12,14,13,22,21,22,13,15,14,23,22,23,14,16,15,24,23,24,15,9,16,17,24,17,16] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr44.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_INTERIOR_handle_Entity161", 3 | "vertices" : [-137.504261,248.747871,85.848145,-150.631224,250.770813,86.743885,-163.286364,250.523342,86.634325,-173.953074,248.092967,85.558177,-137.97434,248.656935,91.070702,-151.594542,250.300932,91.263275,-164.890381,250.384143,90.764687,-174.312563,248.828308,89.832533,-136.75721,253.007764,95.034406,-152.203998,253.9945,94.40062,-167.650784,254.981335,93.766875,-174.67205,255.429917,93.478809,-139.844095,258.988664,95.645051,-153.611065,258.88166,95.062381,-166.404868,259.97544,95.011266,-174.67205,262.000699,95.664704,-140.750891,264.101879,92.64627,-153.956506,263.228685,92.259659,-165.746615,264.101879,92.64627,-174.67205,266.721518,93.806143,-140.043146,265.735753,89.098578,-152.788174,264.665609,89.385139,-165.061339,264.786838,89.688262,-174.67205,266.209517,90.020034,-139.335424,261.503518,86.178887,-151.619842,260.236343,87.138738,-164.376063,259.605589,87.358373,-174.67205,259.831188,86.862043,-138.419832,254.200683,83.991327,-151.125513,254.578577,84.919122,-163.831213,254.139484,84.974081,-174.312563,253.037086,84.187941], 4 | "indices" : [4,5,1,1,0,4,5,6,2,2,1,5,6,7,3,3,2,6,8,9,5,5,4,8,9,10,6,6,5,9,10,11,7,7,6,10,12,13,9,9,8,12,13,14,10,10,9,13,14,15,11,11,10,14,16,17,13,13,12,16,17,18,14,14,13,17,18,19,15,15,14,18,20,21,17,17,16,20,21,22,18,18,17,21,22,23,19,19,18,22,24,25,21,21,20,24,25,26,22,22,21,25,26,27,23,23,22,26,28,29,25,25,24,28,29,30,26,26,25,29,30,31,27,27,26,30,0,1,29,29,28,0,1,2,30,30,29,1,2,3,31,31,30,2] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr45.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_INTERIOR_handle_Entity162", 3 | "vertices" : [-100.398237,248.747871,85.848152,-87.271276,250.770813,86.743892,-74.616141,250.523342,86.634331,-63.949421,248.092967,85.558184,-99.928179,248.656935,91.070709,-86.307959,250.300932,91.263282,-73.012129,250.384143,90.764693,-63.589928,248.828308,89.83254,-101.145309,253.007764,95.034412,-85.698513,253.9945,94.400627,-70.251711,254.981335,93.766882,-63.230434,255.429917,93.478816,-98.058405,258.988664,95.645057,-84.291436,258.88166,95.062387,-71.497636,259.97544,95.011272,-63.230434,262.000699,95.664711,-97.151609,264.101879,92.646277,-83.946014,263.228685,92.259666,-72.155885,264.101879,92.646277,-63.230434,266.721518,93.806149,-97.859352,265.735753,89.098585,-85.114336,264.665609,89.385146,-72.841166,264.786838,89.688269,-63.230434,266.209517,90.02004,-98.567097,261.503518,86.178894,-86.282679,260.236343,87.138745,-73.526443,259.605589,87.35838,-63.230434,259.831188,86.86205,-99.482668,254.200683,83.991333,-86.776988,254.578577,84.919129,-74.071292,254.139484,84.974087,-63.589928,253.037086,84.187948], 4 | "indices" : [5,4,1,0,1,4,6,5,2,1,2,5,7,6,3,2,3,6,9,8,5,4,5,8,10,9,6,5,6,9,11,10,7,6,7,10,13,12,9,8,9,12,14,13,10,9,10,13,15,14,11,10,11,14,17,16,13,12,13,16,18,17,14,13,14,17,19,18,15,14,15,18,21,20,17,16,17,20,22,21,18,17,18,21,23,22,19,18,19,22,25,24,21,20,21,24,26,25,22,21,22,25,27,26,23,22,23,26,29,28,25,24,25,28,30,29,26,25,26,29,31,30,27,26,27,30,1,0,29,28,29,0,2,1,30,29,30,1,3,2,31,30,31,2] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr47.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_INTERIOR_rear_Entity178", 3 | "vertices" : [0.002149,309.458806,-550.019958,74.285917,308.84091,-546.938004,110.77242,308.019466,-541.944275,146.311826,306.812876,-533.634178,177.036771,305.371872,-518.206512,201.900892,303.661187,-490.613497,221.376859,297.169197,-387.390869,0.0,300.415192,-387.390869,74.33328,299.765993,-387.390869,146.394376,298.305295,-387.390869,-74.285914,308.84091,-546.938004,-110.772418,308.019466,-541.944275,-146.311831,306.812876,-533.634178,-177.036776,305.371872,-518.206512,-201.900882,303.661187,-490.613497,-221.376834,297.169197,-387.390869,-74.333277,299.765993,-387.390869,-146.394366,298.305295,-387.390869], 4 | "indices" : [8,1,0,0,7,8,4,3,9,9,6,5,5,4,9,2,1,8,8,9,3,3,2,8,17,12,13,13,14,15,15,17,13,16,10,11,11,12,17,17,16,11,7,0,10,10,16,7] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr48.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_INTERIOR_rear_Entity179", 3 | "vertices" : [37.234944,309.309801,-549.376305,0.001838,324.274779,-514.958457,29.213957,315.843038,-534.289956,29.213957,319.8533,-524.696441,19.313671,324.042781,-514.958377,27.755364,321.973143,-519.667289,24.564953,323.330144,-516.51235,0.0,305.933403,-511.712462,19.313668,305.933403,-511.712462,25.643359,305.939505,-513.497759,29.376252,306.439956,-518.204452,30.350052,307.167174,-524.047242,30.350052,307.995355,-534.109826,-37.234947,309.309801,-549.376305,-29.213958,315.843038,-534.289956,-29.213958,319.8533,-524.696441,-19.313671,324.042781,-514.958377,-27.755365,321.973143,-519.667289,-24.564954,323.330144,-516.51235,-19.313669,305.933403,-511.712462,-25.64336,305.939505,-513.497759,-29.376253,306.439956,-518.204452,-30.350052,307.167174,-524.047242,-30.350052,307.995355,-534.109826], 4 | "indices" : [1,7,4,8,4,7,3,11,2,12,2,11,5,10,3,11,3,10,6,9,5,10,5,9,4,8,6,9,6,8,2,12,0,14,23,15,22,15,23,15,22,17,21,17,22,17,21,18,20,18,21,18,20,16,19,16,20,14,13,23,16,19,1,7,1,19] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr55.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_INTERIOR_seat_Entity186", 3 | "vertices" : [-227.218053,94.943756,-180.296387,-227.218053,149.476433,-165.040207,-227.218053,154.590439,-166.800949,-227.218053,158.551567,-170.52948,-227.218053,161.158821,-176.254105,-227.218053,161.162033,-181.91938,-227.218053,151.424034,-278.974548,-227.218053,299.766052,-364.344292,-227.218053,302.900146,-368.264847,-227.218053,305.692642,-373.476265,-227.218053,310.404251,-390.900429,-227.218053,310.802429,-395.830444,-227.218053,308.594032,-401.15313,-227.218053,303.314911,-405.787941,-227.218053,292.949421,-406.217628,227.221064,94.943756,-180.296387,227.221064,149.476433,-165.040207,227.221064,154.590439,-166.800949,227.221064,158.551567,-170.52948,227.221064,161.158821,-176.254105,227.221064,161.162033,-181.91938,227.221064,151.424034,-278.974548,227.221064,299.766052,-364.344292,227.221064,302.900146,-368.264847,227.221064,305.692642,-373.476265,227.221064,310.404251,-390.900429,227.221064,310.802429,-395.830444,227.221064,308.594032,-401.15313,227.221064,303.314911,-405.787941,227.221064,292.949421,-406.217628], 4 | "indices" : [1,0,16,15,16,0,2,1,17,16,17,1,3,2,18,17,18,2,4,3,19,18,19,3,5,4,20,19,20,4,6,5,21,20,21,5,7,6,22,21,22,6,8,7,23,22,23,7,9,8,24,23,24,8,10,9,25,24,25,9,11,10,26,25,26,10,12,11,27,26,27,11,13,12,28,27,28,12,14,13,29,28,29,13] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr56.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_INTERIOR_control", 3 | "vertices" : [41.30572,71.16095,-200.398415,32.32396,120.002573,-199.594429,24.082413,124.565331,-201.700386,-22.685903,124.565331,-201.700386,-30.927412,120.002573,-199.594429,-39.909174,71.16095,-200.398415,41.3058,71.16095,-47.528542,32.29856,149.264946,-48.521126,24.082451,153.779325,-50.871613,-22.685865,153.779325,-50.871613,-30.901971,149.264946,-48.521202,-39.909132,71.16095,-47.528542,41.305758,71.138306,107.188995,32.304543,149.172385,99.762432,24.082451,153.686247,97.416695,-22.685865,153.686247,97.416695,-30.907995,149.172385,99.762352,-39.909132,71.138306,107.188995,47.797747,70.006607,142.23912,32.318928,198.276836,146.043884,24.082451,203.264442,145.07457,-22.685865,203.264343,145.07457,-30.9223,198.276794,146.04377,-46.401125,70.006607,142.239044,51.043703,70.714409,212.16317,32.335965,221.869019,212.421608,24.082451,226.920578,212.893074,-22.685943,226.920616,212.892952,-30.939497,221.869019,212.421608,-49.647119,70.714409,212.16317], 4 | "indices" : [0,1,7,7,6,0,1,2,8,8,7,1,2,3,9,9,8,2,3,4,10,10,9,3,4,5,11,11,10,4,6,7,13,13,12,6,7,8,14,14,13,7,8,9,15,15,14,8,9,10,16,16,15,9,10,11,17,17,16,10,12,13,19,19,18,12,13,14,20,20,19,13,14,15,21,21,20,14,15,16,22,22,21,15,16,17,23,23,22,16,18,19,25,25,24,18,19,20,26,26,25,19,20,21,27,27,26,20,21,22,28,28,27,21,22,23,29,29,28,22] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr57.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_INTERIOR_floor", 3 | "vertices" : [236.957626,70.274162,295.89106,-236.957626,70.274162,295.89106,236.957626,72.394103,-261.805321,-236.957626,72.393608,-261.770836], 4 | "indices" : [1,0,3,2,3,0] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr59.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_LIGHT-etc_rear-lamp_Entity94", 3 | "vertices" : [62.420485,169.796379,-744.450283,91.959032,169.828831,-742.989585,108.773302,169.893735,-741.691188,108.773302,149.216763,-740.717389,91.959032,149.216763,-741.691188,62.128342,149.249216,-743.151885,58.426037,149.281668,-725.475954,58.427761,169.796379,-723.667992], 4 | "indices" : [4,5,1,0,1,5,7,0,6,5,6,0,1,2,4,3,4,2] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr6.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BLK-PARTS_door-glass_Group13_Entity82", 3 | "vertices" : [-251.705855,272.924119,144.68911,-252.49033,271.960701,111.858284,-252.994941,271.980019,75.817352,-253.424544,273.706295,15.519035,-253.543614,276.525342,-46.399109,-253.277341,279.959115,-109.419502,-252.149446,284.185208,-186.192909,-250.265663,276.974638,144.464088,-251.050118,276.011261,111.633217,-251.554749,276.030558,75.592293,-251.982787,277.741877,15.687279,-252.104749,280.536159,-45.836605,-251.846976,283.946197,-108.510773,-250.74117,288.166902,-185.047142,-248.003393,278.766909,144.36451,-248.787828,277.803512,111.533676,-249.292479,277.822809,75.492752,-249.719467,279.527233,15.761693,-249.842142,282.310084,-45.587765,-249.587796,285.709343,-108.108665,-248.493065,289.9287,-184.540123,-243.720696,278.766909,144.36451,-244.505171,277.803512,111.533676,-245.009783,277.822809,75.492752,-245.43677,279.527233,15.761693,-245.559387,282.310084,-45.587765,-245.30506,285.709343,-108.108665,-244.210349,289.9287,-184.540123,-243.720696,272.924119,144.68911,-244.505171,271.960701,111.858284,-245.009783,271.980019,75.817352,-245.43677,273.701105,15.828578,-245.559387,276.522014,-46.111042,-245.30506,279.965118,-109.311806,-244.210349,284.215758,-186.22802], 4 | "indices" : [1,0,8,7,8,0,2,1,9,8,9,1,3,2,10,9,10,2,4,3,11,10,11,3,5,4,12,11,12,4,6,5,13,12,13,5,8,7,15,14,15,7,9,8,16,15,16,8,10,9,17,16,17,9,11,10,18,17,18,10,12,11,19,18,19,11,13,12,20,19,20,12,15,14,22,21,22,14,16,15,23,22,23,15,17,16,24,23,24,16,18,17,25,24,25,17,19,18,26,25,26,18,20,19,27,26,27,19,22,21,29,28,29,21,23,22,30,29,30,22,24,23,31,30,31,23,25,24,32,31,32,24,26,25,33,32,33,25,27,26,34,33,34,26] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr60.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_LIGHT-etc_rear-lamp_Entity95", 3 | "vertices" : [-62.420477,169.796379,-744.450297,-91.959024,169.828831,-742.989599,-108.773294,169.893735,-741.691201,-108.773294,149.216763,-740.717403,-91.959024,149.216763,-741.691201,-62.128334,149.249216,-743.151899,-58.426029,149.281668,-725.475967,-58.427753,169.796379,-723.668005], 4 | "indices" : [5,4,1,1,0,5,0,7,6,6,5,0,2,1,4,4,3,2] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr61.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_LIGHT-etc_rear-lamp_Entity96", 3 | "vertices" : [0.0,300.090583,-708.943894,0.0,291.456224,-713.791964,29.506092,300.090543,-708.511517,29.506098,291.456224,-713.327413,-29.506092,300.090543,-708.511517,-29.506098,291.456224,-713.327413], 4 | "indices" : [0,1,4,5,4,1,1,0,3,2,3,0] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr63.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_LIGHT-etc_tail-lamp_Group14_Entity98", 3 | "vertices" : [228.21917,255.945064,-692.301336,225.754975,255.945064,-696.247249,212.612658,255.945064,-699.980301,227.42352,251.071633,-693.469451,225.084953,251.841111,-697.231032,225.208005,246.839121,-694.917469,223.219259,248.276896,-698.450183,221.829667,243.501456,-696.522239,220.374339,245.466229,-699.801518,217.545505,241.312589,-698.162196,216.766616,243.622983,-701.182809,212.612658,240.526588,-699.715455,212.612658,242.961085,-702.490875,207.679772,241.312629,-700.964719,208.458641,243.623023,-703.542654,203.39565,243.501476,-701.758466,204.850998,245.466249,-704.211189,200.017291,246.839101,-702.072605,202.006038,248.276896,-704.47556,197.801817,251.071673,-701.883678,200.140384,251.841151,-704.316747,197.006147,255.945064,-701.167277,199.470342,255.945064,-703.713354,197.801777,260.818494,-699.999004,200.140344,260.049016,-702.72957,200.01731,265.051006,-698.551303,202.006057,263.613231,-701.51042,203.395669,268.388691,-696.946374,204.850998,266.423917,-700.158926,207.679812,270.577518,-695.306259,208.4587,268.267144,-698.777793,212.612658,271.363539,-693.753,212.612658,268.929043,-697.469727,217.545505,270.577499,-692.503894,216.766636,268.267124,-696.41779,221.829667,268.388671,-691.710147,220.374339,266.423877,-695.749413,225.208025,265.051045,-691.39585,223.219278,263.613251,-695.484884,227.42356,260.818533,-691.585094,225.084993,260.049036,-695.644172], 4 | "indices" : [1,0,4,3,4,0,2,1,4,4,3,6,5,6,3,2,4,6,6,5,8,7,8,5,2,6,8,8,7,10,9,10,7,2,8,10,10,9,12,11,12,9,2,10,12,12,11,14,13,14,11,2,12,14,14,13,16,15,16,13,2,14,16,16,15,18,17,18,15,2,16,18,18,17,20,19,20,17,2,18,20,20,19,22,21,22,19,2,20,22,22,21,24,23,24,21,2,22,24,24,23,26,25,26,23,2,24,26,26,25,28,27,28,25,2,26,28,28,27,30,29,30,27,2,28,30,30,29,32,31,32,29,2,30,32,32,31,34,33,34,31,2,32,34,34,33,36,35,36,33,2,34,36,36,35,38,37,38,35,2,36,38,38,37,40,39,40,37,2,38,40,40,39,1,0,1,39,2,40,1] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr68.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_LIGHT-etc_tail-lamp_Group15_Entity103", 3 | "vertices" : [163.111239,249.453089,-708.755587,162.29974,249.453089,-711.301031,150.12726,249.453089,-712.964445,162.449301,245.505473,-709.518586,161.67918,245.752191,-712.016164,160.606084,242.077029,-710.354652,159.951149,242.538014,-712.799926,157.795427,239.373407,-711.199118,157.316165,240.003388,-713.591771,154.231183,237.600373,-711.98811,153.974687,238.341184,-714.331471,150.12726,236.963696,-712.657597,150.12726,237.744288,-714.959115,146.023327,237.600413,-713.109944,146.279813,238.341204,-715.38325,142.459103,239.373427,-713.295067,142.938354,240.003408,-715.556803,139.648426,242.077009,-713.218513,140.303361,242.538014,-715.484845,137.805228,245.505512,-712.886464,138.575359,245.752231,-715.173718,137.14328,249.453089,-712.304309,137.954779,249.453089,-714.627858,137.805219,253.400705,-711.54131,138.57535,253.153987,-713.912725,139.648426,256.829188,-710.705403,140.303361,256.368183,-713.128805,142.459103,259.53277,-709.860779,142.938364,258.902809,-712.336959,146.023327,261.305824,-709.071628,146.279833,260.565014,-711.597259,150.12726,261.942502,-708.402142,150.12726,261.161909,-710.969616,154.231203,261.305764,-707.949795,153.974707,260.564974,-710.545639,157.795437,259.53275,-707.76483,157.316165,258.902769,-710.372087,160.606093,256.829188,-707.841384,159.951159,256.368183,-710.443885,162.449321,253.400745,-708.173749,161.679199,253.154006,-710.755488], 4 | "indices" : [1,0,4,3,4,0,2,1,4,4,3,6,5,6,3,2,4,6,6,5,8,7,8,5,2,6,8,8,7,10,9,10,7,2,8,10,10,9,12,11,12,9,2,10,12,12,11,14,13,14,11,2,12,14,14,13,16,15,16,13,2,14,16,16,15,18,17,18,15,2,16,18,18,17,20,19,20,17,2,18,20,20,19,22,21,22,19,2,20,22,22,21,24,23,24,21,2,22,24,24,23,26,25,26,23,2,24,26,26,25,28,27,28,25,2,26,28,28,27,30,29,30,27,2,28,30,30,29,32,31,32,29,2,30,32,32,31,34,33,34,31,2,32,34,34,33,36,35,36,33,2,34,36,36,35,38,37,38,35,2,36,38,38,37,40,39,40,37,2,38,40,40,39,1,0,1,39,2,40,1] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr7.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BLK-PARTS_door-glass_Group13_Entity83", 3 | "vertices" : [-183.994095,393.026447,-135.792898,-187.077791,393.026447,-135.792898,-187.006132,393.088303,-152.218536,-183.922436,393.088303,-152.218536,-200.882977,367.885246,-142.243599,-203.966671,367.885246,-142.243599,-203.724728,368.379198,-160.298891,-200.641033,368.379198,-160.298891,-216.532856,341.946174,-148.694302,-219.616551,341.946174,-148.694302,-219.252784,342.823884,-168.379327,-216.169088,342.823884,-168.379327,-231.124716,315.444956,-155.144924,-234.208412,315.444956,-155.144924,-233.785803,316.610893,-176.459682,-230.702106,316.610893,-176.459682,-244.839579,288.617237,-161.595625,-247.923275,288.617237,-161.595625,-247.519268,289.928711,-184.540117,-244.435574,289.928711,-184.540117], 4 | "indices" : [0,1,5,5,4,0,1,2,6,6,5,1,2,3,7,7,6,2,3,0,4,4,7,3,4,5,9,9,8,4,5,6,10,10,9,5,6,7,11,11,10,6,7,4,8,8,11,7,8,9,13,13,12,8,9,10,14,14,13,9,10,11,15,15,14,10,11,8,12,12,15,11,12,13,17,17,16,12,13,14,18,18,17,13,14,15,19,19,18,14,15,12,16,16,19,15] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr70.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_LIGHT-etc_winker_Entity92", 3 | "vertices" : [274.921084,215.193336,266.352479,275.235084,212.942933,264.080282,275.952813,207.799189,264.080282,276.266813,205.548786,266.352479,276.266813,205.548786,284.53005,275.952813,207.799189,286.802246,275.235084,212.942933,286.802246,274.921084,215.193336,284.53005,278.24807,214.838207,267.163978,278.56207,212.587804,264.891781,279.055507,209.051484,264.891781,279.369527,206.801081,267.163978,279.369527,206.801081,283.718551,279.055507,209.051484,285.990747,278.56207,212.587804,285.990747,278.24807,214.838207,283.718551,278.808789,210.819644,275.441265], 4 | "indices" : [1,0,9,8,9,0,2,1,10,9,10,1,3,2,11,10,11,2,4,3,12,11,12,3,5,4,13,12,13,4,6,5,14,13,14,5,7,6,15,14,15,6,0,7,8,15,8,7,9,8,16,10,9,16,11,10,16,12,11,16,13,12,16,14,13,16,15,14,16,8,15,16] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr71.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_LIGHT-etc_winker_Entity93", 3 | "vertices" : [-274.921071,215.193336,266.352492,-275.235071,212.942933,264.080296,-275.9528,207.799189,264.080296,-276.2668,205.548786,266.352492,-276.2668,205.548786,284.530064,-275.9528,207.799189,286.802259,-275.235071,212.942933,286.802259,-274.921071,215.193336,284.530064,-278.248057,214.838207,267.163991,-278.562057,212.587804,264.891794,-279.055495,209.051484,264.891794,-279.369514,206.801081,267.163991,-279.369514,206.801081,283.718564,-279.055495,209.051484,285.990761,-278.562057,212.587804,285.990761,-278.248057,214.838207,283.718564,-278.808776,210.819644,275.441277], 4 | "indices" : [0,1,9,9,8,0,1,2,10,10,9,1,2,3,11,11,10,2,3,4,12,12,11,3,4,5,13,13,12,4,5,6,14,14,13,5,6,7,15,15,14,6,7,0,8,8,15,7,8,9,16,9,10,16,10,11,16,11,12,16,12,13,16,13,14,16,14,15,16,15,8,16] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr76.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_OTHERS_GT-R_mark_silver_Group010_Entity187", 3 | "vertices" : [0.414501,187.711623,707.713894,11.609275,187.711623,707.713894,11.616616,186.671039,707.925144,7.590797,186.671039,707.925144,7.597617,182.508581,708.770147,4.703439,182.508581,708.770147,4.696861,186.663709,707.92663,0.407929,186.663709,707.92663,4.702562,187.711623,707.713894,7.59209,187.711623,707.713894,4.702567,187.15031,704.937193,0.417854,187.15031,704.937193,0.410777,186.102277,705.149951,4.695484,186.102277,705.149949,4.702567,181.944851,705.993937,7.599173,181.944851,705.993937,7.59209,186.109211,705.148542,11.614764,186.109211,705.148542,11.60768,187.15031,704.937193,7.592095,187.15031,704.937193], 4 | "indices" : [1,9,2,3,2,9,4,3,5,6,5,3,8,6,9,3,9,6,8,0,6,7,6,0,1,18,9,19,9,18,2,17,1,18,1,17,3,16,2,17,2,16,4,15,3,16,3,15,5,14,4,15,4,14,6,13,5,14,5,13,7,12,6,13,6,12,0,11,7,12,7,11,8,10,0,11,0,10,9,19,8,10,8,19] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr78.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_OTHERS_GT-R_mark_silver_Group020_Entity200", 3 | "vertices" : [-90.448541,245.45358,-724.407766,-101.663429,245.375501,-723.697388,-101.670799,244.315956,-723.813407,-97.637734,244.34401,-724.068902,-97.644569,240.105871,-724.534088,-94.745185,240.126079,-724.717784,-94.738597,244.356749,-724.253233,-90.441963,244.386665,-724.525529,-94.744313,245.423684,-724.135629,-97.639032,245.403515,-723.952249,-94.653891,245.271013,-722.725016,-90.361467,245.300889,-722.996836,-90.354374,244.233856,-723.114599,-94.646798,244.203979,-722.84262,-94.653891,239.970952,-723.30733,-97.555702,239.950743,-723.123475,-97.5486,244.190824,-722.658131,-101.578495,244.16277,-722.402794,-101.571402,245.22285,-722.286775,-97.54861,245.250844,-722.541636], 4 | "indices" : [1,9,2,3,2,9,4,3,5,6,5,3,8,6,9,3,9,6,8,0,6,7,6,0,1,18,9,19,9,18,2,17,1,18,1,17,3,16,2,17,2,16,4,15,3,16,3,15,5,14,4,15,4,14,6,13,5,14,5,13,7,12,6,13,6,12,0,11,7,12,7,11,8,10,0,11,0,10,9,19,8,10,8,19] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr80.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_OTHERS_NISSAN-mar_Entity144", 3 | "vertices" : [13.104082,255.036442,-726.581321,13.793771,254.355504,-726.690683,13.793771,248.907843,-727.565739,13.104082,248.226866,-727.675101,-13.104082,248.226866,-727.675101,-13.793771,248.907843,-727.565739,-13.793771,254.355504,-726.690683,-13.104082,255.036442,-726.581321,13.104082,254.799451,-723.655963,14.023665,253.891468,-723.80178,14.023665,248.443807,-724.676835,13.104082,247.535864,-724.822651,-13.104082,247.535864,-724.822651,-14.023665,248.443807,-724.676835,-14.023665,253.891468,-723.80178,-13.104082,254.799451,-723.655963,0.0,254.825959,-723.820958,0.0,247.562372,-724.987804,0.0,255.062989,-726.746315,0.0,248.253374,-727.840254], 4 | "indices" : [1,0,9,8,9,0,2,1,10,9,10,1,3,2,11,10,11,2,5,4,13,12,13,4,6,5,14,13,14,5,7,6,15,14,15,6,2,3,1,0,1,3,6,7,5,4,5,7,11,17,3,19,3,17,4,19,12,17,12,19,3,19,0,18,0,19,7,18,4,19,4,18,0,18,8,16,8,18,15,16,7,18,7,16] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr81.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_OTHERS_wiper_Group16_Entity147", 3 | "vertices" : [-182.480016,287.096767,280.057915,-193.139617,285.365715,282.514877,-183.596541,283.011537,288.445276,-100.230029,282.575911,298.369137,-99.425902,285.941491,291.47639,-182.306228,283.554226,278.362009,-192.41434,281.815052,280.89505,-183.422671,279.469135,286.74945,-100.056277,279.033271,296.673112,-99.252112,282.39901,289.780564], 4 | "indices" : [5,6,1,1,0,5,6,7,2,2,1,6,0,1,2,3,8,9,9,4,3,8,3,2,2,7,8,0,2,3,3,4,0,5,0,4,4,9,5] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr82.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_OTHERS_wiper_Group16_Entity148", 3 | "vertices" : [-100.107398,282.410233,296.72909,-99.613128,284.438881,292.615885,-37.398676,287.374462,293.311088,-20.376224,291.355956,286.974344,-19.098392,290.610947,288.641721,-36.092354,285.891218,296.498875,-100.00838,280.527223,295.812231,-99.51403,282.555871,291.699066,-37.299656,285.491531,292.394149,-20.277164,289.472867,286.057446,-18.999331,288.728095,287.724862,-35.993253,284.008129,295.581897], 4 | "indices" : [1,2,8,8,7,1,2,3,9,9,8,2,3,4,10,10,9,3,4,5,11,11,10,4,5,0,6,6,11,5,2,1,0,0,5,2,5,4,3,3,2,5] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr83.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_OTHERS_wiper_Group16_Entity149", 3 | "vertices" : [-116.599406,287.875853,278.185301,-13.832923,290.309993,286.562875,90.666196,288.099134,286.701162,-116.60123,286.163781,281.628304,-14.118808,288.663736,289.854992,90.664372,286.3873,290.144326,90.654149,285.769919,289.831019,90.63271,287.509609,286.358415,-14.107554,285.769087,288.418782,-13.837874,287.418117,285.145288], 4 | "indices" : [1,0,4,3,4,0,2,1,5,4,5,1,5,6,2,7,2,6,4,8,1,9,1,8,4,8,5,6,5,8,2,7,1,9,1,7,8,9,6,7,6,9,4,3,8,1,9,0,3,0,8,9,8,0] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr84.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_OTHERS_wiper_Group17_Entity1500", 3 | "vertices" : [-50.47882,285.714297,299.053563,-60.757274,284.852317,303.087242,-50.559257,283.806641,308.253533,33.396585,284.051596,308.161843,33.35003,285.62966,300.612686,-50.477946,281.86364,298.260925,-60.199683,281.00071,302.305382,-50.558307,279.955984,307.460855,33.397382,280.200861,307.369245,33.350858,281.779083,299.820088], 4 | "indices" : [5,6,1,1,0,5,6,7,2,2,1,6,0,1,2,3,8,9,9,4,3,8,3,2,2,7,8,0,2,3,3,4,0,5,0,4,4,9,5] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr85.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_OTHERS_wiper_Group17_Entity151", 3 | "vertices" : [33.342729,283.48433,306.608631,33.357034,284.445528,302.097008,95.212569,284.37151,294.774263,111.38061,285.875794,285.713293,112.842576,285.487796,287.350396,96.878955,283.629116,298.051481,33.288518,281.434503,306.171618,33.302789,282.395622,301.660075,95.158285,282.321684,294.337369,111.326446,283.825651,285.27632,112.788411,283.43789,286.913424,96.824828,281.579051,297.614429], 4 | "indices" : [1,2,8,8,7,1,2,3,9,9,8,2,3,4,10,10,9,3,4,5,11,11,10,4,5,0,6,6,11,5,2,1,0,0,5,2,5,4,3,3,2,5] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr86.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_OTHERS_wiper_Group17_Entity152", 3 | "vertices" : [16.029679,282.459337,303.093673,117.29778,284.630017,283.673892,218.303773,280.344131,257.133487,16.984696,281.588878,306.715184,117.936954,283.794823,287.212828,219.258828,279.474068,260.755235,219.19317,278.801412,260.604783,218.207047,279.692475,256.955218,117.695168,280.647096,286.523133,117.045058,281.490056,283.005317], 4 | "indices" : [1,0,4,3,4,0,2,1,5,4,5,1,5,6,2,7,2,6,4,8,1,9,1,8,4,8,5,6,5,8,2,7,1,9,1,7,8,9,6,7,6,9,4,3,8,1,9,0,3,0,8,9,8,0] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr87.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BODY_door-glas0_Entity59", 3 | "vertices" : [227.040297,324.620835,132.737099,220.492318,337.601803,112.905106,213.81263,350.060566,92.772293,206.88131,361.918154,71.737519,199.578476,373.095676,49.199726,195.277197,379.30883,32.811573,192.056145,384.032009,14.277863,189.755062,387.478027,-6.271124,188.213711,389.859543,-28.705417,187.241833,391.440067,-53.992477,186.740925,392.334499,-81.043838,186.423141,393.032475,-139.847374,222.968955,332.610848,97.492058,213.564624,350.007113,55.692505,208.08994,359.125774,14.831885,205.017776,364.348055,-32.667099,203.537939,367.032578,-87.546371,202.9582,368.331017,-146.010566,237.020462,302.111137,138.479638,231.376743,314.898542,102.21183,226.250353,326.451977,62.185292,222.846655,333.70443,15.381152,220.568139,338.272914,-36.63829,219.107778,341.116131,-94.080116,218.292555,342.964034,-152.226616,239.474077,296.40723,106.974236,237.254007,302.207661,68.838944,235.768822,306.749123,15.659313,234.694775,310.491329,-41.042259,233.839887,313.682878,-101.008049,233.081128,316.28562,-158.720985,246.380396,278.766918,144.36451,247.161066,277.806633,111.736718,247.669481,277.822823,75.49276,248.095814,279.521717,15.905377,248.219185,282.306171,-45.510414,247.965117,285.706978,-108.066345,247.258224,288.92535,-165.411552], 4 | "indices" : [10,16,11,17,11,16,16,23,17,24,17,23,23,29,24,30,24,29,29,36,30,37,30,36,36,29,35,28,35,29,29,23,28,22,28,23,23,16,22,15,22,16,8,15,9,10,9,16,15,16,9,14,21,15,22,15,21,21,27,22,28,22,27,27,34,28,35,28,34,27,21,26,20,26,21,21,14,20,13,20,14,6,14,7,8,7,15,14,15,7,6,5,14,13,14,4,5,4,14,12,19,13,20,13,19,19,25,20,26,20,25,1,0,2,12,2,0,19,12,18,0,18,12,4,3,13,12,13,2,3,2,13,19,18,25,18,31,25,32,25,31,25,32,26,33,26,32,26,33,27,34,27,33] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr88.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BODY_door-glas0_Entity60", 3 | "vertices" : [196.491081,377.119652,-179.171005,196.240976,376.811256,-197.565002,195.738564,375.747631,-215.611815,215.270738,342.585625,-203.237093,214.185972,343.306544,-230.322685,212.531513,343.668072,-257.242727,234.050375,308.051563,-227.30334,232.130972,309.80179,-263.080448,229.324445,311.588516,-298.873649,196.643456,377.02911,-168.544254,215.844175,341.81066,-180.647155,235.101698,306.459591,-192.750213,237.673491,301.388992,-231.946396,235.59371,303.33659,-269.401497,232.624626,305.284184,-307.055038,212.196731,343.222105,-279.08068,224.60109,318.939392,-310.226074,191.299412,386.666645,-172.517906,191.66831,385.348755,-189.217819,192.039547,382.81385,-206.441721,196.637115,372.54447,-234.846395,194.28363,377.04789,-225.596181,192.694431,380.428963,-216.109174,194.415241,381.1078,-167.179763,191.648102,386.09507,-169.387535,193.004093,383.6702,-167.351734,238.589537,299.974533,-203.667568,237.229128,302.539848,-195.487598,238.317579,300.514767,-199.054388,230.409745,308.703571,-312.597961,226.863618,314.726732,-313.219894,228.724617,311.474239,-313.481887,231.820854,306.440689,-310.683326], 4 | "indices" : [1,0,4,3,4,0,2,1,5,4,5,1,4,3,7,6,7,3,5,4,8,7,8,4,0,9,3,10,3,9,6,12,7,13,7,12,7,13,8,14,8,13,1,18,0,17,0,18,2,19,1,18,1,19,2,22,19,9,0,23,25,23,0,24,25,17,0,17,25,10,11,3,6,3,11,27,28,11,6,11,28,12,6,26,28,26,6,5,8,15,16,15,8,16,8,30,31,30,8,14,32,8,31,8,29,32,29,8,15,20,5,2,5,20,22,2,21,20,21,2] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr89.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BODY_door-glas0_Entity61", 3 | "vertices" : [-227.040297,324.620835,132.737099,-220.492319,337.601803,112.905106,-213.81263,350.060566,92.772293,-206.88131,361.918154,71.737519,-199.578476,373.095676,49.199726,-195.277197,379.30883,32.811573,-192.056145,384.032009,14.277863,-189.755062,387.478027,-6.271124,-188.213711,389.859543,-28.705417,-187.241833,391.440067,-53.992477,-186.740925,392.334499,-81.043838,-186.423141,393.032475,-139.847374,-222.968955,332.610848,97.492058,-213.564624,350.007113,55.692505,-208.08994,359.125774,14.831885,-205.017776,364.348055,-32.667099,-203.537939,367.032578,-87.546371,-202.9582,368.331017,-146.010566,-237.020462,302.111137,138.479638,-231.376743,314.898542,102.21183,-226.250353,326.451977,62.185292,-222.846656,333.70443,15.381152,-220.568139,338.272914,-36.63829,-219.107778,341.116131,-94.080116,-218.292555,342.964034,-152.226616,-239.474077,296.40723,106.974236,-237.254007,302.207661,68.838944,-235.768822,306.749123,15.659313,-234.694775,310.491329,-41.042259,-233.839887,313.682878,-101.008049,-233.081128,316.28562,-158.720985,-246.380396,278.766918,144.36451,-247.161066,277.806633,111.736718,-247.669481,277.822823,75.49276,-248.095814,279.521717,15.905377,-248.219185,282.306171,-45.510414,-247.965117,285.706978,-108.066345,-247.258224,288.92535,-165.411552], 4 | "indices" : [16,10,11,11,17,16,23,16,17,17,24,23,29,23,24,24,30,29,36,29,30,30,37,36,29,36,35,35,28,29,23,29,28,28,22,23,16,23,22,22,15,16,15,8,9,9,10,16,16,15,9,21,14,15,15,22,21,27,21,22,22,28,27,34,27,28,28,35,34,21,27,26,26,20,21,14,21,20,20,13,14,14,6,7,7,8,15,15,14,7,5,6,14,14,13,4,4,5,14,19,12,13,13,20,19,25,19,20,20,26,25,0,1,2,2,12,0,12,19,18,18,0,12,3,4,13,13,12,2,2,3,13,18,19,25,31,18,25,25,32,31,32,25,26,26,33,32,33,26,27,27,34,33] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr90.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BODY_door-glas0_Entity62", 3 | "vertices" : [-196.49107,377.119652,-179.170978,-196.240965,376.811256,-197.564975,-195.738552,375.747631,-215.611787,-215.270728,342.585625,-203.237064,-214.185962,343.306544,-230.322657,-212.531503,343.668072,-257.242698,-234.050364,308.051563,-227.303312,-232.13096,309.80179,-263.080417,-229.324435,311.588516,-298.873611,-196.643444,377.02911,-168.544227,-215.844166,341.81066,-180.647129,-235.101686,306.459591,-192.750187,-237.673479,301.388992,-231.946368,-235.593699,303.33659,-269.40147,-232.624615,305.284184,-307.055008,-212.196721,343.222105,-279.080654,-224.601081,318.939392,-310.226036,-191.2994,386.666645,-172.517879,-191.668299,385.348755,-189.217792,-192.039536,382.81385,-206.441692,-196.637104,372.54447,-234.846366,-194.283619,377.04789,-225.596153,-192.69442,380.428963,-216.109147,-194.41523,381.1078,-167.179737,-191.64809,386.09507,-169.387508,-193.004082,383.6702,-167.351707,-238.589525,299.974533,-203.667541,-237.229116,302.539848,-195.487571,-238.317568,300.514767,-199.054359,-230.409736,308.703571,-312.597923,-226.863608,314.726732,-313.219864,-228.724607,311.474239,-313.481857,-231.820843,306.440689,-310.683296], 4 | "indices" : [0,1,4,4,3,0,1,2,5,5,4,1,3,4,7,7,6,3,4,5,8,8,7,4,9,0,3,3,10,9,12,6,7,7,13,12,13,7,8,8,14,13,18,1,0,0,17,18,19,2,1,1,18,19,22,2,19,0,9,23,23,25,0,25,24,17,17,0,25,11,10,3,3,6,11,28,27,11,11,6,28,6,12,26,26,28,6,8,5,15,15,16,8,8,16,30,30,31,8,32,14,8,8,31,29,29,32,8,20,15,5,5,2,20,2,22,21,21,20,2] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr95.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BODY_door-mirro_Group08_Entity32", 3 | "vertices" : [228.156649,325.645054,131.193098,240.282452,299.817246,168.491845,250.152225,276.865602,199.702134,241.057774,298.702981,158.499436,251.089173,275.163654,181.307421,241.612153,297.862755,148.823621,251.720204,273.900999,163.454451,241.970116,297.231248,138.278735,252.099822,272.970409,144.195622,221.98926,325.645054,131.193098,235.802725,297.231248,138.278735,245.932432,272.970409,144.195622,234.115062,299.817246,168.491845,243.984835,276.865602,199.702134], 4 | "indices" : [0,1,3,1,2,4,4,3,1,0,3,5,3,4,6,6,5,3,0,5,7,5,6,8,8,7,5,0,7,10,10,9,0,7,8,11,11,10,7,9,10,12,10,11,13,13,12,10] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr98(2).json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BODY_door-mirro_Group09_Entity35", 3 | "vertices" : [-228.156677,325.645054,131.193117,-240.28248,299.817246,168.491865,-250.152253,276.865602,199.702149,-241.057802,298.702981,158.499455,-251.089202,275.163654,181.30744,-241.61218,297.862755,148.82364,-251.720233,273.900999,163.454471,-241.970143,297.231248,138.278754,-252.099851,272.970409,144.195641,-221.989286,325.645054,131.193117,-235.802753,297.231248,138.278754,-245.93246,272.970409,144.195641,-234.115089,299.817246,168.491865,-243.984863,276.865602,199.702149], 4 | "indices" : [1,0,3,2,1,4,3,4,1,3,0,5,4,3,6,5,6,3,5,0,7,6,5,8,7,8,5,7,0,10,9,10,0,8,7,11,10,11,7,10,9,12,11,10,13,12,13,10] 5 | } -------------------------------------------------------------------------------- /chapter3/models/nissan_gts/pr98.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BODY_door-mirro_Group09_Entity35", 3 | "vertices" : [-228.156677,325.645054,131.193117,-240.28248,299.817246,168.491865,-250.152253,276.865602,199.702149,-241.057802,298.702981,158.499455,-251.089202,275.163654,181.30744,-241.61218,297.862755,148.82364,-251.720233,273.900999,163.454471,-241.970143,297.231248,138.278754,-252.099851,272.970409,144.195641,-221.989286,325.645054,131.193117,-235.802753,297.231248,138.278754,-245.93246,272.970409,144.195641,-234.115089,299.817246,168.491865,-243.984863,276.865602,199.702149], 4 | "indices" : [1,0,3,2,1,4,3,4,1,3,0,5,4,3,6,5,6,3,5,0,7,6,5,8,7,8,5,7,0,10,9,10,0,8,7,11,10,11,7,10,9,12,11,10,13,12,13,10] 5 | } -------------------------------------------------------------------------------- /chapter4/library/axis.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 坐标轴模块 3 | * @author: gonghao.gh 4 | * @date: 2013-11-27 5 | */ 6 | 7 | KISSY.add(function() { 8 | var Axis = { 9 | alias: 'axis', 10 | dim: 10, 11 | vertices: [-10,0.0,0.0, 10,0.0,0.0, 0.0,-10/2,0.0, 0.0,10/2,0.0, 0.0,0.0,-10, 0.0,0.0,10], 12 | indices: [0, 1, 2, 3, 4, 5], 13 | colors: [1, 1, 0 ,1, 1, 1, 0 ,1, 0, 1 ,0 ,1, 0, 1 ,0 ,1, 0, 0, 1 ,1, 0, 0, 1 ,1], 14 | wireframe: true, 15 | perVertexColor: true, 16 | build: function(d) { 17 | if (d) { 18 | Axis.dim = d; 19 | } 20 | Axis.vertices = [-d,0.0,0.0, d,0.0,0.0, 0.0,-d/2,0.0, 0.0,d/2,0.0, 0.0,0.0,-d, 0.0,0.0,d]; 21 | } 22 | }; 23 | 24 | return Axis; 25 | }); -------------------------------------------------------------------------------- /chapter4/library/floor.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 地板模块 3 | * @author: gonghao.gh 4 | * @date: 2013-11-27 5 | */ 6 | 7 | KISSY.add(function() { 8 | var Floor = { 9 | alias: 'floor', 10 | wireframe: true, 11 | dim: 50, 12 | lines: 50, 13 | vertices: [], 14 | indices: [], 15 | diffuse: [0.7, 0.7, 0.7, 1.0], 16 | build: function(d, e) { 17 | if (d) Floor.dim = d; 18 | if (e) Floor.lines = 2*Floor.dim/e; 19 | var inc = 2*Floor.dim/Floor.lines; 20 | var v = []; 21 | var i = []; 22 | 23 | for(var l=0;l<=Floor.lines;l++){ 24 | v[6*l] = -Floor.dim; 25 | v[6*l+1] = 0; 26 | v[6*l+2] = -Floor.dim+(l*inc); 27 | 28 | v[6*l+3] = Floor.dim; 29 | v[6*l+4] = 0; 30 | v[6*l+5] = -Floor.dim+(l*inc); 31 | 32 | v[6*(Floor.lines+1)+6*l] = -Floor.dim+(l*inc); 33 | v[6*(Floor.lines+1)+6*l+1] = 0; 34 | v[6*(Floor.lines+1)+6*l+2] = -Floor.dim; 35 | 36 | v[6*(Floor.lines+1)+6*l+3] = -Floor.dim+(l*inc); 37 | v[6*(Floor.lines+1)+6*l+4] = 0; 38 | v[6*(Floor.lines+1)+6*l+5] = Floor.dim; 39 | 40 | i[2*l] = 2*l; 41 | i[2*l+1] = 2*l+1; 42 | i[2*(Floor.lines+1)+2*l] = 2*(Floor.lines+1)+2*l; 43 | i[2*(Floor.lines+1)+2*l+1] = 2*(Floor.lines+1)+2*l+1; 44 | } 45 | Floor.vertices = v; 46 | Floor.indices = i; 47 | } 48 | }; 49 | 50 | return Floor; 51 | }); -------------------------------------------------------------------------------- /chapter4/library/sceneTransforms.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 场景动画效果模块 3 | * @author: gonghao.gh 4 | * @date: 2013-11-26 5 | */ 6 | 7 | KISSY.add(function() { 8 | 9 | var SceneTransforms = function(camera) { 10 | this.stack = []; 11 | this.camera = camera; 12 | this.mvMatrix = mat4.create(); 13 | this.pMatrix = mat4.create(); 14 | this.nMatrix = mat4.create(); 15 | this.cMatrix = mat4.create(); 16 | }; 17 | 18 | SceneTransforms.prototype.calculateModelView = function() { 19 | this.mvMatrix = this.camera.getViewTransform(); 20 | }; 21 | 22 | SceneTransforms.prototype.calculateNormal = function() { 23 | mat4.identity(this.nMatrix); 24 | mat4.set(this.mvMatrix, this.nMatrix); 25 | mat4.inverse(this.nMatrix); 26 | mat4.transpose(this.nMatrix); 27 | }; 28 | 29 | SceneTransforms.prototype.calculatePerspective = function() { 30 | mat4.identity(this.pMatrix); 31 | mat4.perspective(30, c_width/c_height, 0.1, 1000.0, this.pMatrix); 32 | }; 33 | 34 | SceneTransforms.prototype.init = function() { 35 | this.calculateModelView(); 36 | this.calculateNormal(); 37 | this.calculatePerspective(); 38 | }; 39 | 40 | SceneTransforms.prototype.updatePerspective = function() { 41 | mat4.perspective(30, c_width/c_height, 0.1, 1000.0, this.pMatrix); 42 | }; 43 | 44 | SceneTransforms.prototype.setMatrixUniforms = function() { 45 | this.calculateNormal(); 46 | gl.uniformMatrix4fv(prg.uMVMatrix, false, this.mvMatrix); 47 | gl.uniformMatrix4fv(prg.uPMatrix, false, this.pMatrix); 48 | gl.uniformMatrix4fv(prg.uNMatrix, false, this.nMatrix); 49 | }; 50 | 51 | SceneTransforms.prototype.push = function() { 52 | var memento = mat4.create(); 53 | mat4.set(this.mvMatrix, memento); 54 | this.stack.push(memento); 55 | }; 56 | 57 | SceneTransforms.prototype.pop = function() { 58 | if (this.stack.length == 0) { 59 | return; 60 | } 61 | this.mvMatrix = this.stack.pop(); 62 | }; 63 | 64 | return SceneTransforms; 65 | }); -------------------------------------------------------------------------------- /chapter4/library/webGLApp.js: -------------------------------------------------------------------------------- 1 | /** 2 | * webGL总控 3 | * @author: gonghao.gh 4 | * @date: 2013-11-26 5 | */ 6 | 7 | KISSY.add(function(S, Utils, Program) { 8 | 9 | var nop = function() {}, 10 | WEBGLAPP_RENDER_RATE = 33; 11 | 12 | var webGLApp_timer_id = -1; 13 | 14 | var WebGLApp = function(canvas) { 15 | this.loadSceneHook = nop; 16 | this.configureGLHook = nop; 17 | this.drawSceneHook = nop; 18 | window.gl = Utils.getGLContext(canvas); 19 | window.prg = {}; 20 | Program.load(); 21 | }; 22 | 23 | WebGLApp.prototype.renderLoop = function() { 24 | var self = this; 25 | webGLApp_timer_id = setInterval(self.drawSceneHook, WEBGLAPP_RENDER_RATE); 26 | }; 27 | 28 | WebGLApp.prototype.run = function() { 29 | var self = this; 30 | if (this.configureGLHook === nop) { 31 | alert('Error! The WebGL application cannot start because the configureGLHook has not been specified'); return; 32 | } 33 | if (this.loadSceneHook === nop){ 34 | alert('Error! The WebGL application cannot start because the loadSceneHook has not been specified'); return; 35 | } 36 | if (this.drawSceneHook === nop){ 37 | alert('Error! The WebGL application cannot start because the drawSceneHook has not been specified'); return; 38 | } 39 | 40 | this.configureGLHook(); 41 | this.loadSceneHook(); 42 | setTimeout(function() { 43 | self.renderLoop(); 44 | }, 1000); 45 | }; 46 | 47 | WebGLApp.prototype.refresh = function() { 48 | if (this.drawSceneHook != nop) { 49 | this.drawSceneHook(); 50 | } 51 | }; 52 | 53 | return WebGLApp; 54 | }, { 55 | requires: [ 56 | "./utils", 57 | "./program" 58 | ] 59 | }); -------------------------------------------------------------------------------- /chapter4/models/geometry/cone.json: -------------------------------------------------------------------------------- 1 | { 2 | "vertices" : [0.0,6.0,-2.59787e-16,3.0,8.88178e-16,5.19574e-16,2.79742,8.88178e-16,-1.08372,2.21703,8.88178e-16,-2.02109,1.33722,4.44089e-16,-2.68549,0.276805,4.44089e-16,-2.9872,-0.820989,4.44089e-16,-2.88548,-1.8079,8.88178e-16,-2.39405,-2.55065,8.88178e-16,-1.5793,-2.94892,8.88178e-16,-0.551249,-2.94892,8.88178e-16,0.551249,-2.55065,8.88178e-16,1.5793,-1.8079,8.88178e-16,2.39405,-0.820989,1.33227e-15,2.88548,0.276805,1.33227e-15,2.9872,1.33722,1.33227e-15,2.68549,2.21703,8.88178e-16,2.02109,2.79742,8.88178e-16,1.08372,3.0,8.88178e-16,-2.46124e-09], 3 | "indices" : [0,1,2,0,2,3,0,3,4,0,4,5,0,5,6,0,6,7,0,7,8,0,8,9,0,9,10,0,10,11,0,11,12,0,12,13,0,13,14,0,14,15,0,15,16,0,16,17,0,17,18], 4 | "diffuse" : [1.0,0.664,0.0,1.0] 5 | } -------------------------------------------------------------------------------- /chapter4/models/geometry/cone.vtk: -------------------------------------------------------------------------------- 1 | # vtk DataFile Version 3.0 2 | vtk output 3 | ASCII 4 | DATASET POLYDATA 5 | POINTS 19 float 6 | 0 6 -2.59787e-016 3 8.88178e-016 5.19574e-016 2.79742 8.88178e-016 -1.08372 7 | 2.21703 8.88178e-016 -2.02109 1.33722 4.44089e-016 -2.68549 0.276805 4.44089e-016 -2.9872 8 | -0.820989 4.44089e-016 -2.88548 -1.8079 8.88178e-016 -2.39405 -2.55065 8.88178e-016 -1.5793 9 | -2.94892 8.88178e-016 -0.551249 -2.94892 8.88178e-016 0.551249 -2.55065 8.88178e-016 1.5793 10 | -1.8079 8.88178e-016 2.39405 -0.820989 1.33227e-015 2.88548 0.276805 1.33227e-015 2.9872 11 | 1.33722 1.33227e-015 2.68549 2.21703 8.88178e-016 2.02109 2.79742 8.88178e-016 1.08372 12 | 3 8.88178e-016 -2.46124e-009 13 | POLYGONS 17 68 14 | 3 0 1 2 15 | 3 0 2 3 16 | 3 0 3 4 17 | 3 0 4 5 18 | 3 0 5 6 19 | 3 0 6 7 20 | 3 0 7 8 21 | 3 0 8 9 22 | 3 0 9 10 23 | 3 0 10 11 24 | 3 0 11 12 25 | 3 0 12 13 26 | 3 0 13 14 27 | 3 0 14 15 28 | 3 0 15 16 29 | 3 0 16 17 30 | 3 0 17 18 31 | 32 | -------------------------------------------------------------------------------- /chapter4/models/geometry/plane.json: -------------------------------------------------------------------------------- 1 | { 2 | "vertices" : [-50.0,-5.0,-50.0,50.0,-5.0,-50.0,-50.0,-5.0,50.0,50.0,-5.0,50.0], 3 | "indices" : [2,1,0,1,2,3], 4 | "ambient" : [0.17,0.19,0.14,1.0], 5 | "diffuse" : [0.31,0.61,0.21,1.0] 6 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr101.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BODY_door-mirro_Group10_Entity38", 3 | "vertices" : [260.926973,318.153769,143.39011,257.746773,314.347254,144.572371,255.261421,309.144429,145.377886,253.429962,300.445445,145.671895,253.15818,293.140986,145.481543,255.102331,286.860073,144.657245,260.387215,282.196352,142.542514,265.549028,320.75326,141.567289,267.057909,281.092844,140.001945,270.857351,321.217533,139.473322,279.377553,321.460428,136.113131,282.031506,281.746719,134.394402,293.951939,321.31695,130.371619,296.781486,283.450314,128.976974,299.634609,320.835083,128.149744,305.924715,319.213789,125.705738,312.088737,315.122774,123.146427,314.688761,310.437795,122.138037,316.679546,301.300847,121.773695,316.159168,293.56948,122.222,312.494129,288.711246,123.573217,307.818361,286.035458,125.308945,266.312979,300.672708,140.774731,306.910143,301.948322,125.499258], 4 | "indices" : [13,11,12,10,12,11,10,11,9,7,9,22,8,22,11,9,11,22,12,14,13,15,23,14,13,14,21,23,21,14,16,17,15,23,15,17,21,23,20,19,20,23,18,19,17,23,17,19,7,22,0,1,0,22,1,22,2,3,2,22,6,5,8,22,8,5,3,22,4,5,4,22] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr102.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BODY_door-mirro_Group10_Entity39", 3 | "vertices" : [-260.926996,318.153769,143.390122,-257.746796,314.347254,144.572382,-255.261444,309.144429,145.377898,-253.429985,300.445445,145.671907,-253.158203,293.140986,145.481554,-255.102354,286.860073,144.657256,-260.387238,282.196352,142.542526,-265.549051,320.75326,141.567301,-267.057932,281.092844,140.001956,-270.857374,321.217533,139.473333,-279.377576,321.460428,136.113142,-282.03153,281.746719,134.394413,-293.951962,321.31695,130.37163,-296.781508,283.450314,128.976986,-299.634632,320.835083,128.149756,-305.924738,319.213789,125.70575,-312.08876,315.122774,123.146438,-314.688784,310.437795,122.138049,-316.679569,301.300847,121.773707,-316.159191,293.56948,122.222011,-312.494152,288.711246,123.573228,-307.818384,286.035458,125.308957,-266.313002,300.672708,140.774742,-306.910166,301.948322,125.49927], 4 | "indices" : [11,13,12,12,10,11,11,10,9,9,7,22,22,8,11,11,9,22,14,12,13,23,15,14,14,13,21,21,23,14,17,16,15,15,23,17,23,21,20,20,19,23,19,18,17,17,23,19,22,7,0,0,1,22,22,1,2,2,3,22,5,6,8,8,22,5,22,3,4,4,5,22] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr11.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BLK-PARTS_front-glas", 3 | "vertices" : [0.0,280.508303,316.990005,233.62709,278.453424,256.016696,239.967255,278.247558,244.130856,0.0,282.482289,296.702538,57.466545,282.367954,293.978628,111.112511,282.029962,286.621094,158.091125,281.52228,275.851223,195.555588,280.898916,262.890463,207.95343,280.443141,256.748116,219.283005,279.741599,249.714466,229.346359,279.116908,242.518003,57.454109,280.372413,315.099945,111.013008,280.081394,309.519424,158.079926,279.770901,299.882244,195.40889,279.597328,286.27803,209.912415,279.228726,279.202854,222.621521,278.878629,269.024133,234.716766,278.781412,238.190392,243.4496,278.21259,228.082237,238.933319,278.51502,234.273365,-233.62709,278.453424,256.016696,-239.967255,278.247558,244.130856,-57.466545,282.367954,293.978628,-111.112511,282.029962,286.621094,-158.091125,281.52228,275.851223,-195.555588,280.898916,262.890463,-207.95343,280.443141,256.748116,-219.283005,279.741599,249.714466,-229.346359,279.116908,242.518003,-57.454109,280.372413,315.099945,-111.013008,280.081394,309.519424,-158.079926,279.770901,299.882244,-195.40889,279.597328,286.27803,-209.912415,279.228726,279.202854,-222.621521,278.878629,269.024133,-234.716766,278.781412,238.190392,-243.4496,278.21259,228.082237,-238.933319,278.51502,234.273365], 4 | "indices" : [4,3,0,0,11,4,1,10,9,9,16,1,16,9,8,8,15,16,15,8,7,7,14,15,14,7,6,6,13,14,13,6,5,5,12,13,12,5,4,4,11,12,17,10,1,1,2,17,2,18,19,19,17,2,34,27,28,28,20,34,33,26,27,27,34,33,32,25,26,26,33,32,31,24,25,25,32,31,30,23,24,24,31,30,29,22,23,23,30,29,21,20,28,28,35,21,37,36,21,21,35,37,0,3,22,22,29,0] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr110.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BODY_headlight-_Group02_Entity11", 3 | "vertices" : [143.804469,171.074257,664.960657,139.733057,173.803753,664.960657,136.34926,177.284321,664.960657,133.777813,181.395208,664.960663,132.143513,186.015759,664.960648,131.570999,191.025178,664.960657,132.035074,195.542745,664.960663,133.366913,199.7561,664.960657,135.475988,203.577632,664.960654,138.271774,206.919735,664.960648,141.663715,209.694719,664.960657,162.23807,212.662672,664.960657,167.561767,210.255974,664.960654,172.055758,206.692393,664.960654,175.517069,202.168465,664.960654,177.742746,196.880608,664.960648,178.52972,191.025178,664.960657,177.971457,186.077354,664.960654,176.376671,181.507067,664.960654,173.865423,177.430573,664.960654,170.557714,173.963913,664.960657,166.573605,171.223341,664.960657,143.804469,168.639759,601.66376,139.733057,171.622454,601.66376,136.34926,175.706753,601.663769,133.777813,180.53826,601.66376,132.143513,185.762581,601.663739,131.570999,191.025178,601.66376,132.035074,195.542745,601.66376,133.366913,199.7561,601.66376,135.475988,203.577632,601.663748,138.271774,206.919735,601.663739,141.663715,209.694719,601.66376,168.73006,213.474173,601.66376,172.141188,209.576441,601.663748,174.870506,205.445109,601.66376,176.87421,200.936596,601.663748,178.108576,195.907345,601.663748,178.52972,190.213679,601.66376,178.245794,185.268292,601.66376,177.426945,180.637995,601.66376,176.122484,176.337923,601.663748,174.381763,172.383156,601.66376,172.254095,168.788845,601.66376], 4 | "indices" : [0,1,23,23,22,0,1,2,24,24,23,1,2,3,25,25,24,2,3,4,26,26,25,3,4,5,27,27,26,4,5,6,28,28,27,5,6,7,29,29,28,6,7,8,30,30,29,7,8,9,31,31,30,8,9,10,32,32,31,9,11,12,34,34,33,11,12,13,35,35,34,12,13,14,36,36,35,13,14,15,37,37,36,14,15,16,38,38,37,15,16,17,39,39,38,16,17,18,40,40,39,17,18,19,41,41,40,18,19,20,42,42,41,19,20,21,43,43,42,20,43,21,0,0,22,43,32,10,11,11,33,32] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr111.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BODY_headlight-_Group02_Entity12", 3 | "vertices" : [170.668545,171.310602,630.066218,167.752995,174.628872,630.066218,165.388275,178.309522,630.066218,163.63018,182.302448,630.066227,162.534458,186.557745,630.066207,162.156803,191.025188,630.066218,162.645525,196.100482,630.066218,164.056734,200.891058,630.066218,166.30785,205.322899,630.066218,169.316437,209.322006,630.066207,172.999918,212.814205,630.066218,210.792698,216.507713,630.066218,216.314852,212.977554,630.066207,220.899027,208.515125,630.066218,224.379122,203.269526,630.066218,226.589066,197.389865,630.066198,227.362587,191.025188,630.066218,227.023285,186.788535,630.066218,226.037027,182.739956,630.066218,224.451195,178.921969,630.066218,222.313147,175.377092,630.066218,219.670267,172.147898,630.066218,170.668545,171.310602,601.663763,167.752995,174.628872,601.663763,165.388275,178.309522,601.663763,163.63018,182.302448,601.663774,162.534458,186.557745,601.663744,162.156803,191.025188,601.663763,162.645525,196.100482,601.663754,164.056734,200.891058,601.663763,166.30785,205.322899,601.663763,169.316437,209.322006,601.663744,172.999918,212.814205,601.663763,210.792698,216.507713,601.663763,216.314852,212.977554,601.663763,220.899027,208.515125,601.663763,224.379122,203.269526,601.663763,226.589066,197.389865,601.663744,227.362587,191.025188,601.663763,227.023285,186.788535,601.663763,226.037027,182.739956,601.663763,224.451195,178.921969,601.663754,222.313147,175.377092,601.663763,219.670267,172.147898,601.663763], 4 | "indices" : [0,1,23,23,22,0,1,2,24,24,23,1,2,3,25,25,24,2,3,4,26,26,25,3,4,5,27,27,26,4,5,6,28,28,27,5,6,7,29,29,28,6,7,8,30,30,29,7,8,9,31,31,30,8,9,10,32,32,31,9,11,12,34,34,33,11,12,13,35,35,34,12,13,14,36,36,35,13,14,15,37,37,36,14,15,16,38,38,37,15,16,17,39,39,38,16,17,18,40,40,39,17,18,19,41,41,40,18,19,20,42,42,41,19,20,21,43,43,42,20,11,33,32,32,10,11,0,22,43,43,21,0] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr113.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BODY_headlight-_Group03_Entity14", 3 | "vertices" : [-143.804458,171.074257,664.960631,-139.733046,173.803753,664.960631,-136.349249,177.284321,664.960631,-133.777802,181.395208,664.960636,-132.143501,186.015759,664.960621,-131.570988,191.025178,664.960631,-132.035063,195.542745,664.960636,-133.366901,199.7561,664.960631,-135.475977,203.577632,664.960627,-138.271763,206.919735,664.960621,-141.663704,209.694719,664.960631,-162.238059,212.662672,664.960631,-167.561755,210.255974,664.960627,-172.055746,206.692393,664.960627,-175.517057,202.168465,664.960627,-177.742735,196.880608,664.960621,-178.529709,191.025178,664.960631,-177.971445,186.077354,664.960627,-176.376659,181.507067,664.960627,-173.865412,177.430573,664.960627,-170.557703,173.963913,664.960631,-166.573593,171.223341,664.960631,-143.804458,168.639759,601.663733,-139.733046,171.622454,601.663733,-136.349249,175.706753,601.663742,-133.777802,180.53826,601.663733,-132.143501,185.762581,601.663712,-131.570988,191.025178,601.663733,-132.035063,195.542745,601.663733,-133.366901,199.7561,601.663733,-135.475977,203.577632,601.663721,-138.271763,206.919735,601.663712,-141.663704,209.694719,601.663733,-168.730048,213.474173,601.663733,-172.141176,209.576441,601.663721,-174.870495,205.445109,601.663733,-176.874199,200.936596,601.663721,-178.108564,195.907345,601.663721,-178.529709,190.213679,601.663733,-178.245783,185.268292,601.663733,-177.426933,180.637995,601.663733,-176.122473,176.337923,601.663721,-174.381752,172.383156,601.663733,-172.254084,168.788845,601.663733], 4 | "indices" : [1,0,23,22,23,0,2,1,24,23,24,1,3,2,25,24,25,2,4,3,26,25,26,3,5,4,27,26,27,4,6,5,28,27,28,5,7,6,29,28,29,6,8,7,30,29,30,7,9,8,31,30,31,8,10,9,32,31,32,9,12,11,34,33,34,11,13,12,35,34,35,12,14,13,36,35,36,13,15,14,37,36,37,14,16,15,38,37,38,15,17,16,39,38,39,16,18,17,40,39,40,17,19,18,41,40,41,18,20,19,42,41,42,19,21,20,43,42,43,20,21,43,0,22,0,43,10,32,11,33,11,32] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr114.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BODY_headlight-_Group03_Entity15", 3 | "vertices" : [-170.66853,171.310602,630.066183,-167.752979,174.628872,630.066183,-165.38826,178.309522,630.066183,-163.630165,182.302448,630.066193,-162.534443,186.557745,630.066173,-162.156788,191.025188,630.066183,-162.64551,196.100482,630.066183,-164.056719,200.891058,630.066183,-166.307835,205.322899,630.066183,-169.316422,209.322006,630.066173,-172.999903,212.814205,630.066183,-210.792683,216.507713,630.066183,-216.314837,212.977554,630.066173,-220.899012,208.515125,630.066183,-224.379107,203.269526,630.066183,-226.58905,197.389865,630.066163,-227.362572,191.025188,630.066183,-227.02327,186.788535,630.066183,-226.037012,182.739956,630.066183,-224.45118,178.921969,630.066183,-222.313131,175.377092,630.066183,-219.670252,172.147898,630.066183,-170.66853,171.310602,601.663729,-167.752979,174.628872,601.663729,-165.38826,178.309522,601.663729,-163.630165,182.302448,601.66374,-162.534443,186.557745,601.66371,-162.156788,191.025188,601.663729,-162.64551,196.100482,601.66372,-164.056719,200.891058,601.663729,-166.307835,205.322899,601.663729,-169.316422,209.322006,601.66371,-172.999903,212.814205,601.663729,-210.792683,216.507713,601.663729,-216.314837,212.977554,601.663729,-220.899012,208.515125,601.663729,-224.379107,203.269526,601.663729,-226.58905,197.389865,601.66371,-227.362572,191.025188,601.663729,-227.02327,186.788535,601.663729,-226.037012,182.739956,601.663729,-224.45118,178.921969,601.66372,-222.313131,175.377092,601.663729,-219.670252,172.147898,601.663729], 4 | "indices" : [1,0,23,22,23,0,2,1,24,23,24,1,3,2,25,24,25,2,4,3,26,25,26,3,5,4,27,26,27,4,6,5,28,27,28,5,7,6,29,28,29,6,8,7,30,29,30,7,9,8,31,30,31,8,10,9,32,31,32,9,12,11,34,33,34,11,13,12,35,34,35,12,14,13,36,35,36,13,15,14,37,36,37,14,16,15,38,37,38,15,17,16,39,38,39,16,18,17,40,39,40,17,19,18,41,40,41,18,20,19,42,41,42,19,21,20,43,42,43,20,33,11,32,10,32,11,22,0,43,21,43,0] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr117.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BODY_headlight-_Group04_Entity18", 3 | "vertices" : [231.513453,219.39233,616.633343,236.583536,216.767857,616.278074,240.959329,213.135687,616.352369,244.475282,208.629512,616.854404,246.965806,203.38318,617.782398,248.265393,197.530523,619.134486,248.253089,191.787308,620.737216,247.052464,186.351494,622.508942,244.780703,181.368207,624.384145,241.555194,176.982628,626.297151,237.493064,173.339779,628.182538,216.581875,215.659435,624.930441,223.763284,216.060251,623.279925,230.994141,214.215637,622.244372,237.413143,210.292806,621.961794,242.158924,204.458951,622.5702,244.370199,196.881324,624.207542,244.360035,190.671834,625.939703,243.312239,185.25403,627.673687,241.257182,180.554331,629.423402,238.225335,176.499254,631.202874,234.24707,173.015179,633.026052], 4 | "indices" : [1,0,12,11,12,0,2,1,13,12,13,1,3,2,14,13,14,2,4,3,15,14,15,3,5,4,16,15,16,4,6,5,17,16,17,5,7,6,18,17,18,6,8,7,19,18,19,7,9,8,20,19,20,8,10,9,21,20,21,9] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr120.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BODY_headlight-_Group05_Entity21", 3 | "vertices" : [-231.513439,219.39233,616.633301,-236.583523,216.767857,616.278032,-240.959316,213.135687,616.352327,-244.475268,208.629512,616.854362,-246.965793,203.38318,617.782356,-248.26538,197.530523,619.134444,-248.253076,191.787308,620.737174,-247.052451,186.351494,622.5089,-244.78069,181.368207,624.384104,-241.555181,176.982628,626.297109,-237.493051,173.339779,628.182496,-216.581863,215.659435,624.930399,-223.76327,216.060251,623.279883,-230.994127,214.215637,622.244331,-237.41313,210.292806,621.961752,-242.158911,204.458951,622.570158,-244.370186,196.881324,624.2075,-244.360022,190.671834,625.939661,-243.312226,185.25403,627.673645,-241.257169,180.554331,629.42336,-238.225322,176.499254,631.202832,-234.247056,173.015179,633.02601], 4 | "indices" : [0,1,12,12,11,0,1,2,13,13,12,1,2,3,14,14,13,2,3,4,15,15,14,3,4,5,16,16,15,4,5,6,17,17,16,5,6,7,18,18,17,6,7,8,19,19,18,7,8,9,20,20,19,8,9,10,21,21,20,9] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr123.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BODY_headlight-_Group06_Entity24", 3 | "vertices" : [216.581877,215.659418,624.930361,223.763283,216.060234,623.279835,230.99414,214.21562,622.244272,237.413143,210.292789,621.961714,242.158925,204.458933,622.57012,244.370197,196.881307,624.207461,244.360035,190.671816,625.939642,243.312239,185.254012,627.673607,241.257182,180.554314,629.423342,238.225335,176.499237,631.202794,234.247069,173.015162,633.025972,201.498499,211.485232,622.658164,207.223093,211.80474,621.342461,212.987111,210.334334,620.516985,218.103951,207.207272,620.291733,221.887009,202.556864,620.77673,223.649701,196.51643,622.081913,223.641598,191.566605,623.462699,222.806364,187.24785,624.844912,221.16817,183.501505,626.239705,218.751386,180.269062,627.658173,215.580143,177.491758,629.111501], 4 | "indices" : [1,0,12,11,12,0,2,1,13,12,13,1,3,2,14,13,14,2,4,3,15,14,15,3,5,4,16,15,16,4,6,5,17,16,17,5,7,6,18,17,18,6,8,7,19,18,19,7,9,8,20,19,20,8,10,9,21,20,21,9] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr126.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BODY_headlight-_Group07_Entity27", 3 | "vertices" : [-216.581863,215.659418,624.930321,-223.76327,216.060234,623.279795,-230.994128,214.21562,622.244233,-237.41313,210.292789,621.961674,-242.158912,204.458933,622.57008,-244.370186,196.881307,624.207422,-244.360023,190.671816,625.939603,-243.312227,185.254012,627.673567,-241.257169,180.554314,629.423302,-238.225322,176.499237,631.202754,-234.247056,173.015162,633.025932,-201.498487,211.485232,622.658125,-207.223082,211.80474,621.342421,-212.987098,210.334334,620.516945,-218.103938,207.207272,620.291693,-221.886997,202.556864,620.77669,-223.649688,196.51643,622.081874,-223.641585,191.566605,623.46266,-222.806351,187.24785,624.844872,-221.168158,183.501505,626.239665,-218.751374,180.269062,627.658133,-215.58013,177.491758,629.111461], 4 | "indices" : [0,1,12,12,11,0,1,2,13,13,12,1,2,3,14,14,13,2,3,4,15,15,14,3,4,5,16,16,15,4,5,6,17,17,16,5,6,7,18,18,17,6,7,8,19,19,18,7,8,9,20,20,19,8,9,10,21,21,20,9] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr128.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BODY_rear-bumpe_Entity47", 3 | "vertices" : [75.144783,89.782583,-692.319595,75.144783,87.797442,-694.794824,76.243838,87.153335,-695.598081,84.682369,87.153335,-695.598081,85.531967,87.666109,-694.958551,85.531967,89.782583,-692.319595,76.76778,90.431782,-714.23006,76.76778,88.446631,-716.70529,77.523379,87.802534,-717.508547,83.324872,87.802534,-717.508547,83.908969,88.315308,-716.869016,83.908969,90.431782,-714.23006,76.733391,91.342122,-714.98561,76.733391,89.356962,-717.644378,77.496266,88.712874,-718.507229,83.353649,88.712874,-718.507229,83.943362,89.225638,-717.819832,83.943362,91.342122,-714.98561,75.956282,114.939041,-723.156546,75.956282,112.953892,-725.631775,76.883611,112.309795,-726.435033,84.003621,112.309795,-726.435033,84.720467,112.822559,-725.795502,84.720467,114.939041,-723.156546], 4 | "indices" : [6,7,1,1,0,6,7,8,2,2,1,7,8,9,3,3,2,8,9,10,4,4,3,9,10,11,5,5,4,10,12,13,7,7,6,12,13,14,8,8,7,13,14,15,9,9,8,14,15,16,10,10,9,15,16,17,11,11,10,16,18,19,13,13,12,18,19,20,14,14,13,19,20,21,15,15,14,20,21,22,16,16,15,21,22,23,17,17,16,22,5,11,17,17,23,5,18,12,6,6,0,18] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr129.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BODY_rear-bumpe_Entity48", 3 | "vertices" : [-75.144775,89.782583,-692.31961,-75.144775,87.797442,-694.79484,-76.24383,87.153335,-695.598096,-84.682362,87.153335,-695.598096,-85.531959,87.666109,-694.958566,-85.531959,89.782583,-692.31961,-76.767773,90.431782,-714.230075,-76.767773,88.446631,-716.705304,-77.523372,87.802534,-717.508561,-83.324865,87.802534,-717.508561,-83.908962,88.315308,-716.86903,-83.908962,90.431782,-714.230075,-76.733384,91.342122,-714.985624,-76.733384,89.356962,-717.644392,-77.49626,88.712874,-718.507244,-83.353642,88.712874,-718.507244,-83.943355,89.225638,-717.819847,-83.943355,91.342122,-714.985624,-75.956274,114.939041,-723.15656,-75.956274,112.953892,-725.631789,-76.883604,112.309795,-726.435047,-84.003614,112.309795,-726.435047,-84.72046,112.822559,-725.795516,-84.72046,114.939041,-723.15656], 4 | "indices" : [6,7,1,1,0,6,7,8,2,2,1,7,8,9,3,3,2,8,9,10,4,4,3,9,10,11,5,5,4,10,12,13,7,7,6,12,13,14,8,8,7,13,14,15,9,9,8,14,15,16,10,10,9,15,16,17,11,11,10,16,18,19,13,13,12,18,19,20,14,14,13,19,20,21,15,15,14,20,21,22,16,16,15,21,22,23,17,17,16,22,5,11,17,17,23,5,18,12,6,6,0,18] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr14.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BOTTOM_bottom-pla_Entity133", 3 | "vertices" : [162.299728,66.054369,303.032326,162.299728,46.578401,575.695885,-162.299728,46.578401,575.695885,-162.299728,66.054369,303.032326], 4 | "indices" : [3,0,1,1,2,3] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr15.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BOTTOM_bottom-pla_Entity134", 3 | "vertices" : [249.941605,68.326565,-311.109978,249.941605,67.677366,303.032234,-249.941605,67.677366,303.032234,-249.941605,68.326565,-311.109978], 4 | "indices" : [3,0,1,1,2,3] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr17.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BOTTOM_bottom-pla_Entity136", 3 | "vertices" : [212.612653,38.463413,-560.402367,212.612653,38.463413,-605.846292,212.612653,64.431372,-706.472137,212.612653,75.792353,-712.964127,209.366658,38.463413,-560.402367,209.366658,38.463413,-605.846292,209.366658,64.431372,-706.472137,209.366658,75.792353,-712.964127,212.612653,47.876798,-560.402367,212.612653,56.965583,-605.846292,212.612653,75.792353,-693.812752,209.366658,75.792353,-693.812752,209.366658,56.965583,-605.846292,209.366658,47.876798,-560.402367], 4 | "indices" : [1,0,5,4,5,0,2,1,6,5,6,1,3,2,7,6,7,2,2,3,10,1,9,0,8,0,9,2,10,1,9,1,10,4,13,5,12,5,13,5,12,6,11,6,12,6,11,7,7,11,3,10,3,11] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr18.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BOTTOM_bottom-pla_Entity137", 3 | "vertices" : [81.149872,38.463413,-560.402374,81.149872,38.463413,-605.846304,81.149872,64.431372,-706.472145,81.149872,75.792353,-712.964134,77.903877,38.463413,-560.402374,77.903877,38.463413,-605.846304,77.903877,64.431372,-706.472145,77.903877,75.792353,-712.964134,81.149872,47.876798,-560.402374,81.149872,56.965583,-605.846304,81.149872,75.792353,-693.812763,77.903877,75.792353,-693.812763,77.903877,56.965583,-605.846304,77.903877,47.876798,-560.402374], 4 | "indices" : [1,0,5,4,5,0,2,1,6,5,6,1,3,2,7,6,7,2,2,3,10,1,9,0,8,0,9,2,10,1,9,1,10,4,13,5,12,5,13,5,12,6,11,6,12,6,11,7,7,11,3,10,3,11] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr19.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BOTTOM_bottom-pla_Entity138", 3 | "vertices" : [-212.612664,38.463413,-560.402397,-212.612664,38.463413,-605.846331,-212.612664,64.431372,-706.472168,-212.612664,75.792353,-712.964157,-209.366669,38.463413,-560.402397,-209.366669,38.463413,-605.846331,-209.366669,64.431372,-706.472168,-209.366669,75.792353,-712.964157,-212.612664,47.876798,-560.402397,-212.612664,56.965583,-605.846331,-212.612664,75.792353,-693.81279,-209.366669,75.792353,-693.81279,-209.366669,56.965583,-605.846331,-209.366669,47.876798,-560.402397], 4 | "indices" : [0,1,5,5,4,0,1,2,6,6,5,1,2,3,7,7,6,2,3,2,10,9,1,0,0,8,9,10,2,1,1,9,10,13,4,5,5,12,13,12,5,6,6,11,12,11,6,7,11,7,3,3,10,11] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr2.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BLK-PARTS_door-glass_Group12_Entity78", 3 | "vertices" : [251.705855,272.924119,144.68911,252.49033,271.960701,111.858284,252.994941,271.980019,75.817352,253.424544,273.706295,15.519043,253.543614,276.525342,-46.399101,253.277341,279.959115,-109.419502,252.149446,284.185208,-186.192909,250.265663,276.974638,144.464088,251.050118,276.011261,111.633217,251.554749,276.030558,75.592293,251.982787,277.741877,15.687286,252.104749,280.536159,-45.836597,251.846976,283.946197,-108.510773,250.74117,288.166902,-185.047142,248.003392,278.766909,144.36451,248.787828,277.803512,111.533676,249.292479,277.822809,75.492752,249.719466,279.527233,15.761701,249.842142,282.310084,-45.587757,249.587796,285.709343,-108.108665,248.493065,289.9287,-184.540123,243.720696,278.766909,144.36451,244.505171,277.803512,111.533676,245.009783,277.822809,75.492752,245.43677,279.527233,15.761701,245.559387,282.310084,-45.587757,245.30506,285.709343,-108.108665,244.210349,289.9287,-184.540123,243.720696,272.924119,144.68911,244.505171,271.960701,111.858284,245.009783,271.980019,75.817352,245.43677,273.701105,15.828586,245.559387,276.522014,-46.111034,245.30506,279.965118,-109.311806,244.210349,284.215758,-186.22802], 4 | "indices" : [0,1,8,8,7,0,1,2,9,9,8,1,2,3,10,10,9,2,3,4,11,11,10,3,4,5,12,12,11,4,5,6,13,13,12,5,7,8,15,15,14,7,8,9,16,16,15,8,9,10,17,17,16,9,10,11,18,18,17,10,11,12,19,19,18,11,12,13,20,20,19,12,14,15,22,22,21,14,15,16,23,23,22,15,16,17,24,24,23,16,17,18,25,25,24,17,18,19,26,26,25,18,19,20,27,27,26,19,21,22,29,29,28,21,22,23,30,30,29,22,23,24,31,31,30,23,24,25,32,32,31,24,25,26,33,33,32,25,26,27,34,34,33,26] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr20.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BOTTOM_bottom-pla_Entity139", 3 | "vertices" : [-81.149868,38.463413,-560.40239,-81.149868,38.463413,-605.846319,-81.149868,64.431372,-706.47216,-81.149868,75.792353,-712.964149,-77.903873,38.463413,-560.40239,-77.903873,38.463413,-605.846319,-77.903873,64.431372,-706.47216,-77.903873,75.792353,-712.964149,-81.149868,47.876798,-560.40239,-81.149868,56.965583,-605.846319,-81.149868,75.792353,-693.812778,-77.903873,75.792353,-693.812778,-77.903873,56.965583,-605.846319,-77.903873,47.876798,-560.40239], 4 | "indices" : [0,1,5,5,4,0,1,2,6,6,5,1,2,3,7,7,6,2,3,2,10,9,1,0,0,8,9,10,2,1,1,9,10,13,4,5,5,12,13,12,5,6,6,11,12,11,6,7,11,7,3,3,10,11] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr21.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BOTTOM_tire-house_Entity105", 3 | "vertices" : [275.90955,38.884605,559.343384,279.235424,99.039196,557.284576,281.677689,137.713666,547.117897,281.914639,167.265711,527.787888,282.052929,186.191517,503.981712,281.938732,200.463654,474.396301,282.076939,206.243973,436.478966,282.046906,202.450378,401.694895,282.107056,190.717289,368.58036,282.076939,168.226135,339.925186,281.566105,137.841414,319.932121,278.557541,99.158581,308.780121,269.09296,64.485672,305.338066,162.299732,38.884605,559.343384,162.299732,99.287666,557.290604,162.299694,137.831884,547.133011,162.299732,167.265711,527.787888,162.299732,186.493496,503.981056,162.299732,200.452343,474.395985,162.299732,206.243973,436.478966,162.299732,202.757126,401.703613,162.29977,190.681824,368.579327,162.299732,168.226135,339.925186,162.299732,137.796797,319.913345,162.29977,99.082207,308.769188,162.299732,64.485672,305.338066,254.485985,51.122787,305.304459,162.299732,51.122787,305.304459], 4 | "indices" : [1,0,14,13,14,0,2,1,15,14,15,1,3,2,16,15,16,2,4,3,17,16,17,3,5,4,18,17,18,4,6,5,19,18,19,5,7,6,20,19,20,6,8,7,21,20,21,7,9,8,22,21,22,8,10,9,23,22,23,9,11,10,24,23,24,10,12,11,25,24,25,11,25,24,13,14,13,24,24,23,14,15,14,23,23,22,15,16,15,22,22,21,16,17,16,21,19,18,20,21,20,17,18,17,20,25,27,12,26,12,27,25,13,27] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr22.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BOTTOM_tire-house_Entity106", 3 | "vertices" : [270.066776,61.294067,-312.127487,275.989445,100.38805,-314.193726,281.840004,139.794434,-323.617325,283.213051,167.872171,-341.170425,283.513641,188.803051,-365.832375,283.237144,202.125534,-398.037148,283.213051,208.044033,-437.047176,283.345322,203.457439,-473.365944,282.918564,189.892849,-503.989555,282.56385,170.630236,-526.773331,280.430023,142.110237,-544.246231,275.473858,105.020309,-555.174835,268.119179,71.274635,-559.131371,157.106155,61.294067,-312.127487,157.106155,100.474052,-314.190628,157.106117,139.749797,-323.603859,157.106155,167.872171,-341.170425,157.106155,188.780464,-365.833885,157.106155,201.951946,-398.037865,157.106155,208.044033,-437.047176,157.106155,203.602043,-473.36713,157.106194,189.857445,-503.991936,157.106155,170.630236,-526.773331,157.106155,142.228673,-544.266754,157.106194,104.944386,-555.188782,157.106155,71.274635,-559.131371], 4 | "indices" : [1,0,14,13,14,0,2,1,15,14,15,1,3,2,16,15,16,2,4,3,17,16,17,3,5,4,18,17,18,4,6,5,19,18,19,5,7,6,20,19,20,6,8,7,21,20,21,7,9,8,22,21,22,8,10,9,23,22,23,9,11,10,24,23,24,10,12,11,25,24,25,11,25,24,13,14,13,24,24,23,14,15,14,23,23,22,15,16,15,22,22,21,16,17,16,21,19,18,20,21,20,17,18,17,20] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr23.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BOTTOM_tire-house_Entity107", 3 | "vertices" : [-275.909565,38.884605,559.343414,-279.235439,99.039196,557.284607,-281.677704,137.713666,547.117912,-281.914654,167.265711,527.787903,-282.052944,186.191517,503.981728,-281.938747,200.463654,474.396324,-282.076954,206.243973,436.478989,-282.046921,202.450378,401.694918,-282.107071,190.717289,368.580383,-282.076954,168.226135,339.925201,-281.56612,137.841414,319.932137,-278.557556,99.158581,308.780136,-269.092976,64.485672,305.338081,-162.299747,38.884605,559.343414,-162.299747,99.287666,557.290634,-162.299709,137.831884,547.133026,-162.299747,167.265711,527.787903,-162.299747,186.493496,503.981071,-162.299747,200.452343,474.396008,-162.299747,206.243973,436.478989,-162.299747,202.757126,401.703636,-162.299786,190.681824,368.57935,-162.299747,168.226135,339.925201,-162.299747,137.796797,319.913361,-162.299786,99.082207,308.769203,-162.299747,64.485672,305.338081,-254.486,51.122787,305.304474,-162.299747,51.122787,305.304474], 4 | "indices" : [0,1,14,14,13,0,1,2,15,15,14,1,2,3,16,16,15,2,3,4,17,17,16,3,4,5,18,18,17,4,5,6,19,19,18,5,6,7,20,20,19,6,7,8,21,21,20,7,8,9,22,22,21,8,9,10,23,23,22,9,10,11,24,24,23,10,11,12,25,25,24,11,24,25,13,13,14,24,23,24,14,14,15,23,22,23,15,15,16,22,21,22,16,16,17,21,18,19,20,20,21,17,17,18,20,27,25,12,12,26,27,13,25,27] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr24.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BOTTOM_tire-house_Entity108", 3 | "vertices" : [-270.066761,61.294067,-312.127472,-275.989429,100.38805,-314.19371,-281.839989,139.794434,-323.61731,-283.213036,167.872171,-341.17041,-283.513626,188.803051,-365.832359,-283.237129,202.125534,-398.037125,-283.213036,208.044033,-437.047153,-283.345306,203.457439,-473.365921,-282.918549,189.892849,-503.98954,-282.563835,170.630236,-526.773315,-280.430008,142.110237,-544.246216,-275.473843,105.020309,-555.17482,-268.119164,71.274635,-559.131355,-157.10614,61.294067,-312.127472,-157.10614,100.474052,-314.190613,-157.106102,139.749797,-323.603844,-157.10614,167.872171,-341.17041,-157.10614,188.780464,-365.83387,-157.10614,201.951946,-398.037842,-157.10614,208.044033,-437.047153,-157.10614,203.602043,-473.367107,-157.106178,189.857445,-503.99192,-157.10614,170.630236,-526.773315,-157.10614,142.228673,-544.266739,-157.106178,104.944386,-555.188766,-157.10614,71.274635,-559.131355], 4 | "indices" : [0,1,14,14,13,0,1,2,15,15,14,1,2,3,16,16,15,2,3,4,17,17,16,3,4,5,18,18,17,4,5,6,19,19,18,5,6,7,20,20,19,6,7,8,21,21,20,7,8,9,22,22,21,8,9,10,23,23,22,9,10,11,24,24,23,10,11,12,25,25,24,11,24,25,13,13,14,24,23,24,14,14,15,23,22,23,15,15,16,22,21,22,16,16,17,21,18,19,20,20,21,17,17,18,20] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr29.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_INTERIOR_A-pillar_Entity167", 3 | "vertices" : [-237.945402,279.930302,235.757507,-228.387705,279.801582,230.604568,-241.073792,278.969299,202.035812,-247.929649,277.855526,208.844673,-225.810682,310.200331,190.768456,-216.38006,309.517488,186.61618,-229.223059,307.202579,161.861946,-235.94047,305.863844,170.86364,-216.553256,333.722023,122.12276,-223.592374,332.115984,132.907094,-202.836591,358.819006,81.44429,-210.672388,356.499063,93.68084,-183.412687,386.595798,64.538727,-174.073757,386.032822,60.452148,-187.845461,382.785202,38.45285,-196.967529,378.900192,51.890526,-169.13031,394.386185,50.775665,-183.379206,389.991493,20.241516,-191.871293,385.879078,33.226051,-189.546715,389.206264,19.849396,-189.696613,362.667603,101.807117,-199.207947,363.479221,105.403349,-203.632993,337.148782,143.783474,-213.168657,337.874455,147.621056,-179.370173,390.379608,56.59864,-167.493324,390.329247,53.739853,-159.053741,394.224442,49.844658,-239.554411,275.258732,244.279747,-249.616997,273.635735,213.280502,-228.19343,275.258732,238.923851,-241.01511,273.635735,205.165512,-232.250921,273.635735,205.165512,-231.601725,278.991627,202.08181,-219.753842,307.231781,161.831474,-207.256763,333.686639,122.06804,-192.812085,358.8431,81.493103,-175.932915,382.863461,38.483673,-169.603226,396.172035,20.630707], 4 | "indices" : [0,1,5,5,4,0,21,20,13,13,12,21,9,11,10,10,8,9,23,4,5,5,22,23,23,22,20,20,21,23,7,9,8,8,6,7,3,7,6,6,2,3,14,10,11,11,15,14,18,19,17,17,14,15,15,18,17,25,24,12,12,13,25,26,16,24,24,25,26,1,0,27,27,29,1,30,28,3,3,2,30,31,30,2,2,32,31,32,1,29,29,31,32,32,2,6,6,33,32,33,5,1,1,32,33,33,6,8,8,34,33,22,5,33,33,34,22,34,8,10,10,35,34,35,20,22,22,34,35,35,10,14,14,36,35,13,20,35,35,36,13,25,13,36,36,14,17,17,37,36,37,26,25,25,36,37] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr3.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BLK-PARTS_door-glass_Group12_Entity79", 3 | "vertices" : [183.994095,393.026447,-135.792891,187.077787,393.026447,-135.792891,187.006128,393.088303,-152.218528,183.922436,393.088303,-152.218528,200.882975,367.885246,-142.243591,203.966669,367.885246,-142.243591,203.724726,368.379198,-160.298884,200.641029,368.379198,-160.298884,216.532853,341.946174,-148.694294,219.616548,341.946174,-148.694294,219.252781,342.823884,-168.379319,216.169086,342.823884,-168.379319,231.124714,315.444956,-155.144916,234.208408,315.444956,-155.144916,233.785799,316.610893,-176.459675,230.702104,316.610893,-176.459675,244.839575,288.617237,-161.595618,247.923271,288.617237,-161.595618,247.519264,289.928711,-184.54011,244.43557,289.928711,-184.54011], 4 | "indices" : [0,1,5,5,4,0,1,2,6,6,5,1,2,3,7,7,6,2,3,0,4,4,7,3,4,5,9,9,8,4,5,6,10,10,9,5,6,7,11,11,10,6,7,4,8,8,11,7,8,9,13,13,12,8,9,10,14,14,13,9,10,11,15,15,14,10,11,8,12,12,15,11,12,13,17,17,16,12,13,14,18,18,17,13,14,15,19,19,18,14,15,12,16,16,19,15] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr30.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_INTERIOR_A-pillar_Entity168", 3 | "vertices" : [237.94541,279.930302,235.757507,228.387712,279.801582,230.604568,241.073799,278.969299,202.035812,247.929657,277.855526,208.844673,225.81069,310.200331,190.768456,216.38007,309.517488,186.616188,229.223066,307.202579,161.861954,235.940477,305.863844,170.863647,216.553266,333.722023,122.122766,223.592383,332.115984,132.9071,202.8366,358.819006,81.444298,210.672396,356.499063,93.680847,183.412695,386.595798,64.538734,174.073765,386.032822,60.452148,187.845469,382.785202,38.45285,196.967539,378.900192,51.890526,169.130318,394.386185,50.775665,183.379213,389.991493,20.241516,191.871303,385.879078,33.226051,189.546722,389.206264,19.849396,189.696621,362.667603,101.807125,199.207956,363.479221,105.403357,203.633002,337.148782,143.783482,213.168666,337.874455,147.621063,179.37018,390.379608,56.59864,167.493332,390.329247,53.739853,159.053749,394.224442,49.844658,239.554419,275.258732,244.279747,249.617004,273.635735,213.280502,228.193438,275.258732,238.923851,241.015118,273.635735,205.165512,232.250929,273.635735,205.165512,231.601732,278.991627,202.08181,219.753852,307.231781,161.831482,207.256771,333.686639,122.068045,192.812095,358.8431,81.493111,175.932922,382.863461,38.483673,169.603233,396.172035,20.630707], 4 | "indices" : [1,0,5,4,5,0,20,21,13,12,13,21,11,9,10,8,10,9,4,23,5,22,5,23,22,23,20,21,20,23,9,7,8,6,8,7,7,3,6,2,6,3,10,14,11,15,11,14,19,18,17,14,17,15,18,15,17,24,25,12,13,12,25,16,26,24,25,24,26,0,1,27,29,27,1,28,30,3,2,3,30,30,31,2,32,2,31,1,32,29,31,29,32,2,32,6,33,6,32,5,33,1,32,1,33,6,33,8,34,8,33,5,22,33,34,33,22,8,34,10,35,10,34,20,35,22,34,22,35,10,35,14,36,14,35,20,13,35,36,35,13,13,25,36,14,36,17,37,17,36,26,37,25,36,25,37] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr31.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_INTERIOR_B-pillar_Entity169", 3 | "vertices" : [183.994093,393.026489,-135.792891,200.882975,367.885284,-142.243591,216.532853,341.946213,-148.694295,231.124714,315.444996,-155.144917,244.839577,288.617279,-161.595618,169.586288,400.816879,-133.520695,189.783133,367.885284,-142.243591,204.1573,341.946213,-148.694295,217.445829,315.444996,-155.144917,233.087269,276.282501,-164.192415,169.517662,400.878731,-149.946333,189.565439,368.379236,-160.298885,203.836683,342.823924,-168.37932,217.080536,316.610931,-176.459675,232.74777,277.593971,-187.136906,183.922434,393.088341,-152.218529,200.641031,368.379236,-160.298885,216.169086,342.823924,-168.37932,230.702103,316.610931,-176.459675,244.43557,289.928749,-184.54011], 4 | "indices" : [5,6,1,1,0,5,6,7,2,2,1,6,7,8,3,3,2,7,8,9,4,4,3,8,10,11,6,6,5,10,11,12,7,7,6,11,12,13,8,8,7,12,13,14,9,9,8,13,15,16,11,11,10,15,16,17,12,12,11,16,17,18,13,13,12,17,18,19,14,14,13,18] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr32.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_INTERIOR_B-pillar_Entity170", 3 | "vertices" : [-183.994097,393.026489,-135.792898,-200.882977,367.885284,-142.243599,-216.532856,341.946213,-148.694301,-231.124718,315.444996,-155.144923,-244.839577,288.617279,-161.595625,-169.586288,400.816879,-133.520702,-189.783136,367.885284,-142.243599,-204.157303,341.946213,-148.694301,-217.445831,315.444996,-155.144923,-233.087273,276.282501,-164.19242,-169.517662,400.878731,-149.946339,-189.565443,368.379236,-160.298891,-203.836686,342.823924,-168.379326,-217.080538,316.610931,-176.459682,-232.747774,277.593971,-187.136913,-183.922438,393.088341,-152.218535,-200.641033,368.379236,-160.298891,-216.169088,342.823924,-168.379326,-230.702106,316.610931,-176.459682,-244.43557,289.928749,-184.540117], 4 | "indices" : [6,5,1,0,1,5,7,6,2,1,2,6,8,7,3,2,3,7,9,8,4,3,4,8,11,10,6,5,6,10,12,11,7,6,7,11,13,12,8,7,8,12,14,13,9,8,9,13,16,15,11,10,11,15,17,16,12,11,12,16,18,17,13,12,13,17,19,18,14,13,14,18] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr33.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_INTERIOR_back-mirro_Entity164", 3 | "vertices" : [-4.057494,397.145856,60.394126,4.057494,397.145856,60.394126,4.057494,394.71136,53.902137,-4.057494,394.71136,53.902137,-4.057494,392.276864,69.320612,4.057494,392.276864,69.320612,4.057494,389.842368,66.074617,-4.057494,389.842368,66.074617,-4.057494,380.915882,69.320612,4.057494,380.915882,69.320612,4.057494,380.915882,66.074617,-4.057494,380.915882,66.074617], 4 | "indices" : [4,5,1,1,0,4,5,6,2,2,1,5,6,7,3,3,2,6,7,4,0,0,3,7,8,9,5,5,4,8,9,10,6,6,5,9,10,11,7,7,6,10,11,8,4,4,7,11] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr34.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_INTERIOR_back-mirro_Entity165", 3 | "vertices" : [-0.114434,373.311549,72.288306,-33.423703,362.593743,69.226087,-37.251416,366.283685,69.226087,-34.005421,381.150833,69.226087,-30.177706,384.029275,69.226087,29.948838,384.029275,69.226087,33.776553,381.150833,69.226087,37.022548,366.283685,69.226087,33.194835,362.593743,69.226087,-33.423703,362.593743,64.632798,-37.251416,366.283685,64.632798,-34.005421,381.150833,64.632798,-30.177706,384.029275,64.632798,29.948838,384.029275,64.632798,33.776553,381.150833,64.632798,37.022548,366.283685,64.632798,33.194835,362.593743,64.632798], 4 | "indices" : [0,2,1,0,3,2,0,4,3,0,5,4,0,6,5,0,7,6,0,8,7,0,1,8,1,2,10,10,9,1,2,3,11,11,10,2,3,4,12,12,11,3,4,5,13,13,12,4,5,6,14,14,13,5,6,7,15,15,14,6,7,8,16,16,15,7,8,1,9,9,16,8] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr35.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_INTERIOR_back-mirro_Entity166", 3 | "vertices" : [-33.423703,362.593763,64.632793,-37.251416,366.283705,64.632793,-34.005421,381.150853,64.632793,-30.177706,384.029295,64.632793,29.948838,384.029295,64.632793,33.776553,381.150853,64.632793,37.022548,366.283705,64.632793,33.194835,362.593763,64.632793], 4 | "indices" : [2,3,1,0,1,3,3,4,0,7,0,4,6,7,5,4,5,7] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr36.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_INTERIOR_C-pillar_Entity171", 3 | "vertices" : [237.449589,301.610172,-346.260888,239.960163,296.354904,-343.113636,242.877914,292.84103,-333.16089,189.300614,357.918711,-364.802364,195.887463,343.514728,-391.375854,202.429498,327.065673,-419.291016,154.353924,393.003983,-303.968647,162.100433,391.758881,-304.361164,169.007324,389.196915,-306.877918,174.72942,384.672531,-315.323847,230.992786,313.202597,-340.162998,224.823099,324.489204,-327.100327,215.079805,342.664596,-303.182667,205.558325,359.651625,-278.772484,193.86787,378.931614,-250.096558,188.187339,388.137882,-231.691849,183.584105,397.408424,-191.590828,184.906,393.883953,-212.438103,203.556324,302.200527,-494.76841,207.841062,303.985825,-481.07032,209.301758,308.854816,-461.918953,207.548914,315.022209,-444.617783,198.97948,342.613164,-308.188602,184.047904,343.586962,-384.469479,189.566095,359.492338,-284.168236,176.582117,357.869339,-356.878525,208.717463,324.435593,-331.559765,190.539893,327.03239,-409.788239,196.707283,315.022209,-436.729996,199.628679,308.854816,-454.90757,199.304079,303.985825,-473.085136,197.031883,302.362827,-484.770714,215.209455,313.07461,-344.543744,220.727644,301.713631,-350.711134,224.622839,296.195438,-347.465139,227.544233,292.949448,-338.051754,176.257517,379.942104,-258.200287,162.62434,384.811096,-306.890202,165.545732,392.601482,-238.237419,159.702946,402.501766,-216.00235,159.702946,404.449364,-191.981987], 4 | "indices" : [22,12,13,13,24,22,25,3,4,4,23,25,23,22,24,24,25,23,26,11,12,12,22,26,23,4,5,5,27,23,26,22,23,23,27,26,27,5,21,21,28,27,28,21,20,20,29,28,29,20,19,19,30,29,30,19,18,18,31,30,32,10,11,11,26,32,33,0,10,10,32,33,34,1,0,0,33,34,35,2,1,1,34,35,32,26,27,27,28,32,33,32,28,28,29,33,34,33,29,29,30,34,35,34,30,30,31,35,24,13,14,14,36,24,37,9,3,3,25,37,37,25,24,24,36,37,8,9,37,7,8,37,6,7,37,36,14,15,15,38,36,38,15,17,17,39,38,39,17,16,16,40,39,38,39,6,6,37,36,36,38,6] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr38.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_INTERIOR_door0_Entity174", 3 | "vertices" : [239.295677,296.227066,-368.105804,232.943243,296.227226,-368.110535,227.875656,291.798019,-366.148682,225.518981,279.620583,-360.362091,229.86985,248.868427,-348.42749,237.979766,182.564903,-312.827286,236.684775,106.466042,-273.515793,232.881034,69.9543,-264.698273,247.449971,279.982391,-76.500713,237.572748,279.982628,-76.502457,232.06169,275.582306,-76.401416,229.648194,263.86348,-76.282385,234.503001,227.481989,-76.341821,242.422008,178.2831,-76.478286,239.672977,105.779266,-78.71173,235.421484,69.466064,-79.236986,246.855533,274.149387,75.133057,237.827134,273.987282,75.133926,231.975388,269.786392,74.270599,229.459505,258.323692,73.654999,234.984432,223.547885,72.118149,242.67679,172.537941,69.10791,238.704567,103.850685,65.695251,234.187911,69.86441,64.119263,244.682554,272.748325,210.977295,238.311814,272.748402,210.977325,232.140065,268.371937,216.510986,230.071695,256.938755,223.05719,235.656692,218.977776,236.377411,242.550786,168.187187,236.675323,237.84124,99.985588,227.400085,233.000698,69.742889,218.921967,245.749549,288.510735,-227.363235,239.956129,180.577206,-227.363312,231.21651,284.246521,-227.363235,228.737477,271.989166,-227.363235,232.787601,231.434202,-227.363235,236.799447,106.264854,-227.363312,232.084275,70.473907,-227.363312,236.488082,288.270416,-226.926422,234.711185,211.578596,-328.352432], 4 | "indices" : [25,24,16,16,17,25,17,16,8,8,9,17,27,26,18,18,19,27,19,18,10,10,11,19,28,27,19,19,20,28,20,19,11,11,12,20,29,28,20,20,21,29,21,20,12,12,13,21,30,29,21,21,22,30,22,21,13,13,14,22,31,30,22,22,23,31,23,22,14,14,15,23,17,9,10,10,18,17,25,17,18,18,26,25,32,0,1,1,39,32,39,9,8,8,32,39,39,1,2,2,34,39,34,10,9,9,39,34,34,2,3,3,35,34,35,11,10,10,34,35,35,3,4,4,36,35,36,12,11,11,35,36,33,13,12,12,36,33,33,5,6,6,37,33,37,14,13,13,33,37,37,6,7,7,38,37,38,15,14,14,37,38,36,4,40,40,5,33,33,36,40] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr39.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_INTERIOR_door0_Entity175", 3 | "vertices" : [-239.295664,296.227066,-368.105804,-232.94323,296.227226,-368.110535,-227.875643,291.798019,-366.148682,-225.518968,279.620583,-360.362091,-229.869837,248.868427,-348.42749,-237.979752,182.564903,-312.827286,-236.684762,106.466042,-273.515793,-232.88102,69.9543,-264.698273,-247.449958,279.982391,-76.500709,-237.572735,279.982628,-76.502452,-232.061676,275.582306,-76.401411,-229.64818,263.86348,-76.282381,-234.502988,227.481989,-76.341817,-242.421995,178.2831,-76.478282,-239.672963,105.779266,-78.711726,-235.421471,69.466064,-79.236981,-246.855519,274.149387,75.133057,-237.827121,273.987282,75.133926,-231.975375,269.786392,74.270599,-229.459492,258.323692,73.654999,-234.984419,223.547885,72.118149,-242.676777,172.537941,69.10791,-238.704554,103.850685,65.695251,-234.187898,69.86441,64.119263,-244.682541,272.748325,210.977295,-238.311801,272.748402,210.977325,-232.140052,268.371937,216.510986,-230.071681,256.938755,223.05719,-235.656679,218.977776,236.377411,-242.550773,168.187187,236.675323,-237.841227,99.985588,227.400085,-233.000685,69.742889,218.921967,-245.749536,288.510735,-227.363235,-239.956116,180.577206,-227.363312,-231.216497,284.246521,-227.363235,-228.737463,271.989166,-227.363235,-232.787587,231.434202,-227.363235,-236.799434,106.264854,-227.363312,-232.084262,70.473907,-227.363312,-236.488069,288.270416,-226.926422,-234.711172,211.578596,-328.352432], 4 | "indices" : [24,25,16,17,16,25,16,17,8,9,8,17,26,27,18,19,18,27,18,19,10,11,10,19,27,28,19,20,19,28,19,20,11,12,11,20,28,29,20,21,20,29,20,21,12,13,12,21,29,30,21,22,21,30,21,22,13,14,13,22,30,31,22,23,22,31,22,23,14,15,14,23,9,17,10,18,10,17,17,25,18,26,18,25,0,32,1,39,1,32,9,39,8,32,8,39,1,39,2,34,2,39,10,34,9,39,9,34,2,34,3,35,3,34,11,35,10,34,10,35,3,35,4,36,4,35,12,36,11,35,11,36,13,33,12,36,12,33,5,33,6,37,6,33,14,37,13,33,13,37,6,37,7,38,7,37,15,38,14,37,14,38,4,36,40,5,40,33,36,33,40] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr41.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_INTERIOR_front_Entity158", 3 | "vertices" : [-191.513695,263.773649,244.459179,-183.941017,277.885247,244.554909,-181.431419,280.210638,244.570683,-178.547504,281.920491,244.582249,-175.283718,282.782867,244.588116,-158.944809,284.022483,244.596512,-138.878384,284.809553,244.601826,-95.436508,284.877092,244.602299,-75.431805,284.116471,244.597187,-58.427906,282.782867,244.588116,-55.271542,281.928039,244.582291,-52.4533,280.239167,244.570839,-49.974297,277.942265,244.555267,-42.197929,263.773649,244.459179,-191.513695,252.699049,156.962421,-183.941017,286.970069,146.252735,-181.431419,292.617435,144.487926,-178.547504,296.769947,143.190243,-175.283718,298.86433,142.53577,-158.944809,301.87484,141.594982,-138.878384,303.786221,140.997688,-95.436508,303.950323,140.946415,-75.431805,302.103134,141.523697,-58.427906,298.86433,142.53577,-55.271542,296.788273,143.184494,-52.4533,292.686737,144.466213,-49.974297,287.108555,146.209389,-42.197929,252.699049,156.962421,-159.053745,263.735451,244.604282,-75.307079,263.735451,244.604282,-159.053745,252.69907,156.962421,-75.307079,252.69907,156.637821], 4 | "indices" : [1,2,16,16,15,1,2,3,17,17,16,2,3,4,18,18,17,3,4,5,19,19,18,4,5,6,20,20,19,5,7,8,22,22,21,7,8,9,23,23,22,8,9,10,24,24,23,9,10,11,25,25,24,10,11,12,26,26,25,11,13,27,26,26,12,13,1,15,14,14,0,1,7,21,20,20,6,7,29,13,12,12,11,29,29,8,7,9,8,29,29,11,10,10,9,29,6,5,28,28,29,7,7,6,28,28,5,4,2,1,0,0,28,2,28,4,3,3,2,28,18,19,30,30,19,20,30,14,15,15,16,30,16,17,18,18,30,16,21,22,31,31,30,20,20,21,31,31,22,23,31,23,24,24,25,31,25,26,27,27,31,25] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr43.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_INTERIOR_handle_Entity1600", 3 | "vertices" : [-119.109112,235.362779,113.022131,-101.174673,245.7377,116.898582,-101.174673,223.896358,108.737988,-106.911589,217.344259,106.28994,-131.30602,217.344259,106.28994,-137.04355,223.896358,108.737988,-137.04355,245.7377,116.898582,-131.306634,254.472403,120.162129,-106.912183,254.472403,120.162129,-97.552053,246.649307,120.792705,-97.552053,219.58539,110.680752,-104.447771,211.709751,107.738077,-133.769719,211.709751,107.738077,-140.666172,219.58539,110.680752,-140.666172,246.649307,120.792705,-133.770452,257.148388,124.715398,-104.448504,257.148388,124.715398,-95.091583,233.656294,165.890514,-95.091604,202.440083,154.978476,-102.774412,193.665615,151.699989,-135.443178,193.665615,151.699989,-143.126797,202.440083,154.978476,-143.126797,233.656294,165.890514,-135.44401,245.353643,170.261116,-102.775225,245.353643,170.261036], 4 | "indices" : [2,0,1,3,0,2,4,0,3,5,0,4,6,0,5,7,0,6,8,0,7,1,0,8,2,1,10,9,10,1,3,2,11,10,11,2,4,3,12,11,12,3,5,4,13,12,13,4,6,5,14,13,14,5,7,6,15,14,15,6,8,7,16,15,16,7,1,8,9,16,9,8,10,9,18,17,18,9,11,10,19,18,19,10,12,11,20,19,20,11,13,12,21,20,21,12,14,13,22,21,22,13,15,14,23,22,23,14,16,15,24,23,24,15,9,16,17,24,17,16] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr44.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_INTERIOR_handle_Entity161", 3 | "vertices" : [-137.504261,248.747871,85.848145,-150.631224,250.770813,86.743885,-163.286364,250.523342,86.634325,-173.953074,248.092967,85.558177,-137.97434,248.656935,91.070702,-151.594542,250.300932,91.263275,-164.890381,250.384143,90.764687,-174.312563,248.828308,89.832533,-136.75721,253.007764,95.034406,-152.203998,253.9945,94.40062,-167.650784,254.981335,93.766875,-174.67205,255.429917,93.478809,-139.844095,258.988664,95.645051,-153.611065,258.88166,95.062381,-166.404868,259.97544,95.011266,-174.67205,262.000699,95.664704,-140.750891,264.101879,92.64627,-153.956506,263.228685,92.259659,-165.746615,264.101879,92.64627,-174.67205,266.721518,93.806143,-140.043146,265.735753,89.098578,-152.788174,264.665609,89.385139,-165.061339,264.786838,89.688262,-174.67205,266.209517,90.020034,-139.335424,261.503518,86.178887,-151.619842,260.236343,87.138738,-164.376063,259.605589,87.358373,-174.67205,259.831188,86.862043,-138.419832,254.200683,83.991327,-151.125513,254.578577,84.919122,-163.831213,254.139484,84.974081,-174.312563,253.037086,84.187941], 4 | "indices" : [4,5,1,1,0,4,5,6,2,2,1,5,6,7,3,3,2,6,8,9,5,5,4,8,9,10,6,6,5,9,10,11,7,7,6,10,12,13,9,9,8,12,13,14,10,10,9,13,14,15,11,11,10,14,16,17,13,13,12,16,17,18,14,14,13,17,18,19,15,15,14,18,20,21,17,17,16,20,21,22,18,18,17,21,22,23,19,19,18,22,24,25,21,21,20,24,25,26,22,22,21,25,26,27,23,23,22,26,28,29,25,25,24,28,29,30,26,26,25,29,30,31,27,27,26,30,0,1,29,29,28,0,1,2,30,30,29,1,2,3,31,31,30,2] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr45.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_INTERIOR_handle_Entity162", 3 | "vertices" : [-100.398237,248.747871,85.848152,-87.271276,250.770813,86.743892,-74.616141,250.523342,86.634331,-63.949421,248.092967,85.558184,-99.928179,248.656935,91.070709,-86.307959,250.300932,91.263282,-73.012129,250.384143,90.764693,-63.589928,248.828308,89.83254,-101.145309,253.007764,95.034412,-85.698513,253.9945,94.400627,-70.251711,254.981335,93.766882,-63.230434,255.429917,93.478816,-98.058405,258.988664,95.645057,-84.291436,258.88166,95.062387,-71.497636,259.97544,95.011272,-63.230434,262.000699,95.664711,-97.151609,264.101879,92.646277,-83.946014,263.228685,92.259666,-72.155885,264.101879,92.646277,-63.230434,266.721518,93.806149,-97.859352,265.735753,89.098585,-85.114336,264.665609,89.385146,-72.841166,264.786838,89.688269,-63.230434,266.209517,90.02004,-98.567097,261.503518,86.178894,-86.282679,260.236343,87.138745,-73.526443,259.605589,87.35838,-63.230434,259.831188,86.86205,-99.482668,254.200683,83.991333,-86.776988,254.578577,84.919129,-74.071292,254.139484,84.974087,-63.589928,253.037086,84.187948], 4 | "indices" : [5,4,1,0,1,4,6,5,2,1,2,5,7,6,3,2,3,6,9,8,5,4,5,8,10,9,6,5,6,9,11,10,7,6,7,10,13,12,9,8,9,12,14,13,10,9,10,13,15,14,11,10,11,14,17,16,13,12,13,16,18,17,14,13,14,17,19,18,15,14,15,18,21,20,17,16,17,20,22,21,18,17,18,21,23,22,19,18,19,22,25,24,21,20,21,24,26,25,22,21,22,25,27,26,23,22,23,26,29,28,25,24,25,28,30,29,26,25,26,29,31,30,27,26,27,30,1,0,29,28,29,0,2,1,30,29,30,1,3,2,31,30,31,2] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr47.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_INTERIOR_rear_Entity178", 3 | "vertices" : [0.002149,309.458806,-550.019958,74.285917,308.84091,-546.938004,110.77242,308.019466,-541.944275,146.311826,306.812876,-533.634178,177.036771,305.371872,-518.206512,201.900892,303.661187,-490.613497,221.376859,297.169197,-387.390869,0.0,300.415192,-387.390869,74.33328,299.765993,-387.390869,146.394376,298.305295,-387.390869,-74.285914,308.84091,-546.938004,-110.772418,308.019466,-541.944275,-146.311831,306.812876,-533.634178,-177.036776,305.371872,-518.206512,-201.900882,303.661187,-490.613497,-221.376834,297.169197,-387.390869,-74.333277,299.765993,-387.390869,-146.394366,298.305295,-387.390869], 4 | "indices" : [8,1,0,0,7,8,4,3,9,9,6,5,5,4,9,2,1,8,8,9,3,3,2,8,17,12,13,13,14,15,15,17,13,16,10,11,11,12,17,17,16,11,7,0,10,10,16,7] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr48.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_INTERIOR_rear_Entity179", 3 | "vertices" : [37.234944,309.309801,-549.376305,0.001838,324.274779,-514.958457,29.213957,315.843038,-534.289956,29.213957,319.8533,-524.696441,19.313671,324.042781,-514.958377,27.755364,321.973143,-519.667289,24.564953,323.330144,-516.51235,0.0,305.933403,-511.712462,19.313668,305.933403,-511.712462,25.643359,305.939505,-513.497759,29.376252,306.439956,-518.204452,30.350052,307.167174,-524.047242,30.350052,307.995355,-534.109826,-37.234947,309.309801,-549.376305,-29.213958,315.843038,-534.289956,-29.213958,319.8533,-524.696441,-19.313671,324.042781,-514.958377,-27.755365,321.973143,-519.667289,-24.564954,323.330144,-516.51235,-19.313669,305.933403,-511.712462,-25.64336,305.939505,-513.497759,-29.376253,306.439956,-518.204452,-30.350052,307.167174,-524.047242,-30.350052,307.995355,-534.109826], 4 | "indices" : [1,7,4,8,4,7,3,11,2,12,2,11,5,10,3,11,3,10,6,9,5,10,5,9,4,8,6,9,6,8,2,12,0,14,23,15,22,15,23,15,22,17,21,17,22,17,21,18,20,18,21,18,20,16,19,16,20,14,13,23,16,19,1,7,1,19] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr55.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_INTERIOR_seat_Entity186", 3 | "vertices" : [-227.218053,94.943756,-180.296387,-227.218053,149.476433,-165.040207,-227.218053,154.590439,-166.800949,-227.218053,158.551567,-170.52948,-227.218053,161.158821,-176.254105,-227.218053,161.162033,-181.91938,-227.218053,151.424034,-278.974548,-227.218053,299.766052,-364.344292,-227.218053,302.900146,-368.264847,-227.218053,305.692642,-373.476265,-227.218053,310.404251,-390.900429,-227.218053,310.802429,-395.830444,-227.218053,308.594032,-401.15313,-227.218053,303.314911,-405.787941,-227.218053,292.949421,-406.217628,227.221064,94.943756,-180.296387,227.221064,149.476433,-165.040207,227.221064,154.590439,-166.800949,227.221064,158.551567,-170.52948,227.221064,161.158821,-176.254105,227.221064,161.162033,-181.91938,227.221064,151.424034,-278.974548,227.221064,299.766052,-364.344292,227.221064,302.900146,-368.264847,227.221064,305.692642,-373.476265,227.221064,310.404251,-390.900429,227.221064,310.802429,-395.830444,227.221064,308.594032,-401.15313,227.221064,303.314911,-405.787941,227.221064,292.949421,-406.217628], 4 | "indices" : [1,0,16,15,16,0,2,1,17,16,17,1,3,2,18,17,18,2,4,3,19,18,19,3,5,4,20,19,20,4,6,5,21,20,21,5,7,6,22,21,22,6,8,7,23,22,23,7,9,8,24,23,24,8,10,9,25,24,25,9,11,10,26,25,26,10,12,11,27,26,27,11,13,12,28,27,28,12,14,13,29,28,29,13] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr56.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_INTERIOR_control", 3 | "vertices" : [41.30572,71.16095,-200.398415,32.32396,120.002573,-199.594429,24.082413,124.565331,-201.700386,-22.685903,124.565331,-201.700386,-30.927412,120.002573,-199.594429,-39.909174,71.16095,-200.398415,41.3058,71.16095,-47.528542,32.29856,149.264946,-48.521126,24.082451,153.779325,-50.871613,-22.685865,153.779325,-50.871613,-30.901971,149.264946,-48.521202,-39.909132,71.16095,-47.528542,41.305758,71.138306,107.188995,32.304543,149.172385,99.762432,24.082451,153.686247,97.416695,-22.685865,153.686247,97.416695,-30.907995,149.172385,99.762352,-39.909132,71.138306,107.188995,47.797747,70.006607,142.23912,32.318928,198.276836,146.043884,24.082451,203.264442,145.07457,-22.685865,203.264343,145.07457,-30.9223,198.276794,146.04377,-46.401125,70.006607,142.239044,51.043703,70.714409,212.16317,32.335965,221.869019,212.421608,24.082451,226.920578,212.893074,-22.685943,226.920616,212.892952,-30.939497,221.869019,212.421608,-49.647119,70.714409,212.16317], 4 | "indices" : [0,1,7,7,6,0,1,2,8,8,7,1,2,3,9,9,8,2,3,4,10,10,9,3,4,5,11,11,10,4,6,7,13,13,12,6,7,8,14,14,13,7,8,9,15,15,14,8,9,10,16,16,15,9,10,11,17,17,16,10,12,13,19,19,18,12,13,14,20,20,19,13,14,15,21,21,20,14,15,16,22,22,21,15,16,17,23,23,22,16,18,19,25,25,24,18,19,20,26,26,25,19,20,21,27,27,26,20,21,22,28,28,27,21,22,23,29,29,28,22] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr57.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_INTERIOR_floor", 3 | "vertices" : [236.957626,70.274162,295.89106,-236.957626,70.274162,295.89106,236.957626,72.394103,-261.805321,-236.957626,72.393608,-261.770836], 4 | "indices" : [1,0,3,2,3,0] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr59.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_LIGHT-etc_rear-lamp_Entity94", 3 | "vertices" : [62.420485,169.796379,-744.450283,91.959032,169.828831,-742.989585,108.773302,169.893735,-741.691188,108.773302,149.216763,-740.717389,91.959032,149.216763,-741.691188,62.128342,149.249216,-743.151885,58.426037,149.281668,-725.475954,58.427761,169.796379,-723.667992], 4 | "indices" : [4,5,1,0,1,5,7,0,6,5,6,0,1,2,4,3,4,2] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr6.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BLK-PARTS_door-glass_Group13_Entity82", 3 | "vertices" : [-251.705855,272.924119,144.68911,-252.49033,271.960701,111.858284,-252.994941,271.980019,75.817352,-253.424544,273.706295,15.519035,-253.543614,276.525342,-46.399109,-253.277341,279.959115,-109.419502,-252.149446,284.185208,-186.192909,-250.265663,276.974638,144.464088,-251.050118,276.011261,111.633217,-251.554749,276.030558,75.592293,-251.982787,277.741877,15.687279,-252.104749,280.536159,-45.836605,-251.846976,283.946197,-108.510773,-250.74117,288.166902,-185.047142,-248.003393,278.766909,144.36451,-248.787828,277.803512,111.533676,-249.292479,277.822809,75.492752,-249.719467,279.527233,15.761693,-249.842142,282.310084,-45.587765,-249.587796,285.709343,-108.108665,-248.493065,289.9287,-184.540123,-243.720696,278.766909,144.36451,-244.505171,277.803512,111.533676,-245.009783,277.822809,75.492752,-245.43677,279.527233,15.761693,-245.559387,282.310084,-45.587765,-245.30506,285.709343,-108.108665,-244.210349,289.9287,-184.540123,-243.720696,272.924119,144.68911,-244.505171,271.960701,111.858284,-245.009783,271.980019,75.817352,-245.43677,273.701105,15.828578,-245.559387,276.522014,-46.111042,-245.30506,279.965118,-109.311806,-244.210349,284.215758,-186.22802], 4 | "indices" : [1,0,8,7,8,0,2,1,9,8,9,1,3,2,10,9,10,2,4,3,11,10,11,3,5,4,12,11,12,4,6,5,13,12,13,5,8,7,15,14,15,7,9,8,16,15,16,8,10,9,17,16,17,9,11,10,18,17,18,10,12,11,19,18,19,11,13,12,20,19,20,12,15,14,22,21,22,14,16,15,23,22,23,15,17,16,24,23,24,16,18,17,25,24,25,17,19,18,26,25,26,18,20,19,27,26,27,19,22,21,29,28,29,21,23,22,30,29,30,22,24,23,31,30,31,23,25,24,32,31,32,24,26,25,33,32,33,25,27,26,34,33,34,26] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr60.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_LIGHT-etc_rear-lamp_Entity95", 3 | "vertices" : [-62.420477,169.796379,-744.450297,-91.959024,169.828831,-742.989599,-108.773294,169.893735,-741.691201,-108.773294,149.216763,-740.717403,-91.959024,149.216763,-741.691201,-62.128334,149.249216,-743.151899,-58.426029,149.281668,-725.475967,-58.427753,169.796379,-723.668005], 4 | "indices" : [5,4,1,1,0,5,0,7,6,6,5,0,2,1,4,4,3,2] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr61.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_LIGHT-etc_rear-lamp_Entity96", 3 | "vertices" : [0.0,300.090583,-708.943894,0.0,291.456224,-713.791964,29.506092,300.090543,-708.511517,29.506098,291.456224,-713.327413,-29.506092,300.090543,-708.511517,-29.506098,291.456224,-713.327413], 4 | "indices" : [0,1,4,5,4,1,1,0,3,2,3,0] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr63.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_LIGHT-etc_tail-lamp_Group14_Entity98", 3 | "vertices" : [228.21917,255.945064,-692.301336,225.754975,255.945064,-696.247249,212.612658,255.945064,-699.980301,227.42352,251.071633,-693.469451,225.084953,251.841111,-697.231032,225.208005,246.839121,-694.917469,223.219259,248.276896,-698.450183,221.829667,243.501456,-696.522239,220.374339,245.466229,-699.801518,217.545505,241.312589,-698.162196,216.766616,243.622983,-701.182809,212.612658,240.526588,-699.715455,212.612658,242.961085,-702.490875,207.679772,241.312629,-700.964719,208.458641,243.623023,-703.542654,203.39565,243.501476,-701.758466,204.850998,245.466249,-704.211189,200.017291,246.839101,-702.072605,202.006038,248.276896,-704.47556,197.801817,251.071673,-701.883678,200.140384,251.841151,-704.316747,197.006147,255.945064,-701.167277,199.470342,255.945064,-703.713354,197.801777,260.818494,-699.999004,200.140344,260.049016,-702.72957,200.01731,265.051006,-698.551303,202.006057,263.613231,-701.51042,203.395669,268.388691,-696.946374,204.850998,266.423917,-700.158926,207.679812,270.577518,-695.306259,208.4587,268.267144,-698.777793,212.612658,271.363539,-693.753,212.612658,268.929043,-697.469727,217.545505,270.577499,-692.503894,216.766636,268.267124,-696.41779,221.829667,268.388671,-691.710147,220.374339,266.423877,-695.749413,225.208025,265.051045,-691.39585,223.219278,263.613251,-695.484884,227.42356,260.818533,-691.585094,225.084993,260.049036,-695.644172], 4 | "indices" : [1,0,4,3,4,0,2,1,4,4,3,6,5,6,3,2,4,6,6,5,8,7,8,5,2,6,8,8,7,10,9,10,7,2,8,10,10,9,12,11,12,9,2,10,12,12,11,14,13,14,11,2,12,14,14,13,16,15,16,13,2,14,16,16,15,18,17,18,15,2,16,18,18,17,20,19,20,17,2,18,20,20,19,22,21,22,19,2,20,22,22,21,24,23,24,21,2,22,24,24,23,26,25,26,23,2,24,26,26,25,28,27,28,25,2,26,28,28,27,30,29,30,27,2,28,30,30,29,32,31,32,29,2,30,32,32,31,34,33,34,31,2,32,34,34,33,36,35,36,33,2,34,36,36,35,38,37,38,35,2,36,38,38,37,40,39,40,37,2,38,40,40,39,1,0,1,39,2,40,1] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr68.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_LIGHT-etc_tail-lamp_Group15_Entity103", 3 | "vertices" : [163.111239,249.453089,-708.755587,162.29974,249.453089,-711.301031,150.12726,249.453089,-712.964445,162.449301,245.505473,-709.518586,161.67918,245.752191,-712.016164,160.606084,242.077029,-710.354652,159.951149,242.538014,-712.799926,157.795427,239.373407,-711.199118,157.316165,240.003388,-713.591771,154.231183,237.600373,-711.98811,153.974687,238.341184,-714.331471,150.12726,236.963696,-712.657597,150.12726,237.744288,-714.959115,146.023327,237.600413,-713.109944,146.279813,238.341204,-715.38325,142.459103,239.373427,-713.295067,142.938354,240.003408,-715.556803,139.648426,242.077009,-713.218513,140.303361,242.538014,-715.484845,137.805228,245.505512,-712.886464,138.575359,245.752231,-715.173718,137.14328,249.453089,-712.304309,137.954779,249.453089,-714.627858,137.805219,253.400705,-711.54131,138.57535,253.153987,-713.912725,139.648426,256.829188,-710.705403,140.303361,256.368183,-713.128805,142.459103,259.53277,-709.860779,142.938364,258.902809,-712.336959,146.023327,261.305824,-709.071628,146.279833,260.565014,-711.597259,150.12726,261.942502,-708.402142,150.12726,261.161909,-710.969616,154.231203,261.305764,-707.949795,153.974707,260.564974,-710.545639,157.795437,259.53275,-707.76483,157.316165,258.902769,-710.372087,160.606093,256.829188,-707.841384,159.951159,256.368183,-710.443885,162.449321,253.400745,-708.173749,161.679199,253.154006,-710.755488], 4 | "indices" : [1,0,4,3,4,0,2,1,4,4,3,6,5,6,3,2,4,6,6,5,8,7,8,5,2,6,8,8,7,10,9,10,7,2,8,10,10,9,12,11,12,9,2,10,12,12,11,14,13,14,11,2,12,14,14,13,16,15,16,13,2,14,16,16,15,18,17,18,15,2,16,18,18,17,20,19,20,17,2,18,20,20,19,22,21,22,19,2,20,22,22,21,24,23,24,21,2,22,24,24,23,26,25,26,23,2,24,26,26,25,28,27,28,25,2,26,28,28,27,30,29,30,27,2,28,30,30,29,32,31,32,29,2,30,32,32,31,34,33,34,31,2,32,34,34,33,36,35,36,33,2,34,36,36,35,38,37,38,35,2,36,38,38,37,40,39,40,37,2,38,40,40,39,1,0,1,39,2,40,1] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr7.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BLK-PARTS_door-glass_Group13_Entity83", 3 | "vertices" : [-183.994095,393.026447,-135.792898,-187.077791,393.026447,-135.792898,-187.006132,393.088303,-152.218536,-183.922436,393.088303,-152.218536,-200.882977,367.885246,-142.243599,-203.966671,367.885246,-142.243599,-203.724728,368.379198,-160.298891,-200.641033,368.379198,-160.298891,-216.532856,341.946174,-148.694302,-219.616551,341.946174,-148.694302,-219.252784,342.823884,-168.379327,-216.169088,342.823884,-168.379327,-231.124716,315.444956,-155.144924,-234.208412,315.444956,-155.144924,-233.785803,316.610893,-176.459682,-230.702106,316.610893,-176.459682,-244.839579,288.617237,-161.595625,-247.923275,288.617237,-161.595625,-247.519268,289.928711,-184.540117,-244.435574,289.928711,-184.540117], 4 | "indices" : [0,1,5,5,4,0,1,2,6,6,5,1,2,3,7,7,6,2,3,0,4,4,7,3,4,5,9,9,8,4,5,6,10,10,9,5,6,7,11,11,10,6,7,4,8,8,11,7,8,9,13,13,12,8,9,10,14,14,13,9,10,11,15,15,14,10,11,8,12,12,15,11,12,13,17,17,16,12,13,14,18,18,17,13,14,15,19,19,18,14,15,12,16,16,19,15] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr70.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_LIGHT-etc_winker_Entity92", 3 | "vertices" : [274.921084,215.193336,266.352479,275.235084,212.942933,264.080282,275.952813,207.799189,264.080282,276.266813,205.548786,266.352479,276.266813,205.548786,284.53005,275.952813,207.799189,286.802246,275.235084,212.942933,286.802246,274.921084,215.193336,284.53005,278.24807,214.838207,267.163978,278.56207,212.587804,264.891781,279.055507,209.051484,264.891781,279.369527,206.801081,267.163978,279.369527,206.801081,283.718551,279.055507,209.051484,285.990747,278.56207,212.587804,285.990747,278.24807,214.838207,283.718551,278.808789,210.819644,275.441265], 4 | "indices" : [1,0,9,8,9,0,2,1,10,9,10,1,3,2,11,10,11,2,4,3,12,11,12,3,5,4,13,12,13,4,6,5,14,13,14,5,7,6,15,14,15,6,0,7,8,15,8,7,9,8,16,10,9,16,11,10,16,12,11,16,13,12,16,14,13,16,15,14,16,8,15,16] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr71.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_LIGHT-etc_winker_Entity93", 3 | "vertices" : [-274.921071,215.193336,266.352492,-275.235071,212.942933,264.080296,-275.9528,207.799189,264.080296,-276.2668,205.548786,266.352492,-276.2668,205.548786,284.530064,-275.9528,207.799189,286.802259,-275.235071,212.942933,286.802259,-274.921071,215.193336,284.530064,-278.248057,214.838207,267.163991,-278.562057,212.587804,264.891794,-279.055495,209.051484,264.891794,-279.369514,206.801081,267.163991,-279.369514,206.801081,283.718564,-279.055495,209.051484,285.990761,-278.562057,212.587804,285.990761,-278.248057,214.838207,283.718564,-278.808776,210.819644,275.441277], 4 | "indices" : [0,1,9,9,8,0,1,2,10,10,9,1,2,3,11,11,10,2,3,4,12,12,11,3,4,5,13,13,12,4,5,6,14,14,13,5,6,7,15,15,14,6,7,0,8,8,15,7,8,9,16,9,10,16,10,11,16,11,12,16,12,13,16,13,14,16,14,15,16,15,8,16] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr76.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_OTHERS_GT-R_mark_silver_Group010_Entity187", 3 | "vertices" : [0.414501,187.711623,707.713894,11.609275,187.711623,707.713894,11.616616,186.671039,707.925144,7.590797,186.671039,707.925144,7.597617,182.508581,708.770147,4.703439,182.508581,708.770147,4.696861,186.663709,707.92663,0.407929,186.663709,707.92663,4.702562,187.711623,707.713894,7.59209,187.711623,707.713894,4.702567,187.15031,704.937193,0.417854,187.15031,704.937193,0.410777,186.102277,705.149951,4.695484,186.102277,705.149949,4.702567,181.944851,705.993937,7.599173,181.944851,705.993937,7.59209,186.109211,705.148542,11.614764,186.109211,705.148542,11.60768,187.15031,704.937193,7.592095,187.15031,704.937193], 4 | "indices" : [1,9,2,3,2,9,4,3,5,6,5,3,8,6,9,3,9,6,8,0,6,7,6,0,1,18,9,19,9,18,2,17,1,18,1,17,3,16,2,17,2,16,4,15,3,16,3,15,5,14,4,15,4,14,6,13,5,14,5,13,7,12,6,13,6,12,0,11,7,12,7,11,8,10,0,11,0,10,9,19,8,10,8,19] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr78.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_OTHERS_GT-R_mark_silver_Group020_Entity200", 3 | "vertices" : [-90.448541,245.45358,-724.407766,-101.663429,245.375501,-723.697388,-101.670799,244.315956,-723.813407,-97.637734,244.34401,-724.068902,-97.644569,240.105871,-724.534088,-94.745185,240.126079,-724.717784,-94.738597,244.356749,-724.253233,-90.441963,244.386665,-724.525529,-94.744313,245.423684,-724.135629,-97.639032,245.403515,-723.952249,-94.653891,245.271013,-722.725016,-90.361467,245.300889,-722.996836,-90.354374,244.233856,-723.114599,-94.646798,244.203979,-722.84262,-94.653891,239.970952,-723.30733,-97.555702,239.950743,-723.123475,-97.5486,244.190824,-722.658131,-101.578495,244.16277,-722.402794,-101.571402,245.22285,-722.286775,-97.54861,245.250844,-722.541636], 4 | "indices" : [1,9,2,3,2,9,4,3,5,6,5,3,8,6,9,3,9,6,8,0,6,7,6,0,1,18,9,19,9,18,2,17,1,18,1,17,3,16,2,17,2,16,4,15,3,16,3,15,5,14,4,15,4,14,6,13,5,14,5,13,7,12,6,13,6,12,0,11,7,12,7,11,8,10,0,11,0,10,9,19,8,10,8,19] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr80.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_OTHERS_NISSAN-mar_Entity144", 3 | "vertices" : [13.104082,255.036442,-726.581321,13.793771,254.355504,-726.690683,13.793771,248.907843,-727.565739,13.104082,248.226866,-727.675101,-13.104082,248.226866,-727.675101,-13.793771,248.907843,-727.565739,-13.793771,254.355504,-726.690683,-13.104082,255.036442,-726.581321,13.104082,254.799451,-723.655963,14.023665,253.891468,-723.80178,14.023665,248.443807,-724.676835,13.104082,247.535864,-724.822651,-13.104082,247.535864,-724.822651,-14.023665,248.443807,-724.676835,-14.023665,253.891468,-723.80178,-13.104082,254.799451,-723.655963,0.0,254.825959,-723.820958,0.0,247.562372,-724.987804,0.0,255.062989,-726.746315,0.0,248.253374,-727.840254], 4 | "indices" : [1,0,9,8,9,0,2,1,10,9,10,1,3,2,11,10,11,2,5,4,13,12,13,4,6,5,14,13,14,5,7,6,15,14,15,6,2,3,1,0,1,3,6,7,5,4,5,7,11,17,3,19,3,17,4,19,12,17,12,19,3,19,0,18,0,19,7,18,4,19,4,18,0,18,8,16,8,18,15,16,7,18,7,16] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr81.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_OTHERS_wiper_Group16_Entity147", 3 | "vertices" : [-182.480016,287.096767,280.057915,-193.139617,285.365715,282.514877,-183.596541,283.011537,288.445276,-100.230029,282.575911,298.369137,-99.425902,285.941491,291.47639,-182.306228,283.554226,278.362009,-192.41434,281.815052,280.89505,-183.422671,279.469135,286.74945,-100.056277,279.033271,296.673112,-99.252112,282.39901,289.780564], 4 | "indices" : [5,6,1,1,0,5,6,7,2,2,1,6,0,1,2,3,8,9,9,4,3,8,3,2,2,7,8,0,2,3,3,4,0,5,0,4,4,9,5] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr82.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_OTHERS_wiper_Group16_Entity148", 3 | "vertices" : [-100.107398,282.410233,296.72909,-99.613128,284.438881,292.615885,-37.398676,287.374462,293.311088,-20.376224,291.355956,286.974344,-19.098392,290.610947,288.641721,-36.092354,285.891218,296.498875,-100.00838,280.527223,295.812231,-99.51403,282.555871,291.699066,-37.299656,285.491531,292.394149,-20.277164,289.472867,286.057446,-18.999331,288.728095,287.724862,-35.993253,284.008129,295.581897], 4 | "indices" : [1,2,8,8,7,1,2,3,9,9,8,2,3,4,10,10,9,3,4,5,11,11,10,4,5,0,6,6,11,5,2,1,0,0,5,2,5,4,3,3,2,5] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr83.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_OTHERS_wiper_Group16_Entity149", 3 | "vertices" : [-116.599406,287.875853,278.185301,-13.832923,290.309993,286.562875,90.666196,288.099134,286.701162,-116.60123,286.163781,281.628304,-14.118808,288.663736,289.854992,90.664372,286.3873,290.144326,90.654149,285.769919,289.831019,90.63271,287.509609,286.358415,-14.107554,285.769087,288.418782,-13.837874,287.418117,285.145288], 4 | "indices" : [1,0,4,3,4,0,2,1,5,4,5,1,5,6,2,7,2,6,4,8,1,9,1,8,4,8,5,6,5,8,2,7,1,9,1,7,8,9,6,7,6,9,4,3,8,1,9,0,3,0,8,9,8,0] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr84.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_OTHERS_wiper_Group17_Entity1500", 3 | "vertices" : [-50.47882,285.714297,299.053563,-60.757274,284.852317,303.087242,-50.559257,283.806641,308.253533,33.396585,284.051596,308.161843,33.35003,285.62966,300.612686,-50.477946,281.86364,298.260925,-60.199683,281.00071,302.305382,-50.558307,279.955984,307.460855,33.397382,280.200861,307.369245,33.350858,281.779083,299.820088], 4 | "indices" : [5,6,1,1,0,5,6,7,2,2,1,6,0,1,2,3,8,9,9,4,3,8,3,2,2,7,8,0,2,3,3,4,0,5,0,4,4,9,5] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr85.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_OTHERS_wiper_Group17_Entity151", 3 | "vertices" : [33.342729,283.48433,306.608631,33.357034,284.445528,302.097008,95.212569,284.37151,294.774263,111.38061,285.875794,285.713293,112.842576,285.487796,287.350396,96.878955,283.629116,298.051481,33.288518,281.434503,306.171618,33.302789,282.395622,301.660075,95.158285,282.321684,294.337369,111.326446,283.825651,285.27632,112.788411,283.43789,286.913424,96.824828,281.579051,297.614429], 4 | "indices" : [1,2,8,8,7,1,2,3,9,9,8,2,3,4,10,10,9,3,4,5,11,11,10,4,5,0,6,6,11,5,2,1,0,0,5,2,5,4,3,3,2,5] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr86.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_OTHERS_wiper_Group17_Entity152", 3 | "vertices" : [16.029679,282.459337,303.093673,117.29778,284.630017,283.673892,218.303773,280.344131,257.133487,16.984696,281.588878,306.715184,117.936954,283.794823,287.212828,219.258828,279.474068,260.755235,219.19317,278.801412,260.604783,218.207047,279.692475,256.955218,117.695168,280.647096,286.523133,117.045058,281.490056,283.005317], 4 | "indices" : [1,0,4,3,4,0,2,1,5,4,5,1,5,6,2,7,2,6,4,8,1,9,1,8,4,8,5,6,5,8,2,7,1,9,1,7,8,9,6,7,6,9,4,3,8,1,9,0,3,0,8,9,8,0] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr87.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BODY_door-glas0_Entity59", 3 | "vertices" : [227.040297,324.620835,132.737099,220.492318,337.601803,112.905106,213.81263,350.060566,92.772293,206.88131,361.918154,71.737519,199.578476,373.095676,49.199726,195.277197,379.30883,32.811573,192.056145,384.032009,14.277863,189.755062,387.478027,-6.271124,188.213711,389.859543,-28.705417,187.241833,391.440067,-53.992477,186.740925,392.334499,-81.043838,186.423141,393.032475,-139.847374,222.968955,332.610848,97.492058,213.564624,350.007113,55.692505,208.08994,359.125774,14.831885,205.017776,364.348055,-32.667099,203.537939,367.032578,-87.546371,202.9582,368.331017,-146.010566,237.020462,302.111137,138.479638,231.376743,314.898542,102.21183,226.250353,326.451977,62.185292,222.846655,333.70443,15.381152,220.568139,338.272914,-36.63829,219.107778,341.116131,-94.080116,218.292555,342.964034,-152.226616,239.474077,296.40723,106.974236,237.254007,302.207661,68.838944,235.768822,306.749123,15.659313,234.694775,310.491329,-41.042259,233.839887,313.682878,-101.008049,233.081128,316.28562,-158.720985,246.380396,278.766918,144.36451,247.161066,277.806633,111.736718,247.669481,277.822823,75.49276,248.095814,279.521717,15.905377,248.219185,282.306171,-45.510414,247.965117,285.706978,-108.066345,247.258224,288.92535,-165.411552], 4 | "indices" : [10,16,11,17,11,16,16,23,17,24,17,23,23,29,24,30,24,29,29,36,30,37,30,36,36,29,35,28,35,29,29,23,28,22,28,23,23,16,22,15,22,16,8,15,9,10,9,16,15,16,9,14,21,15,22,15,21,21,27,22,28,22,27,27,34,28,35,28,34,27,21,26,20,26,21,21,14,20,13,20,14,6,14,7,8,7,15,14,15,7,6,5,14,13,14,4,5,4,14,12,19,13,20,13,19,19,25,20,26,20,25,1,0,2,12,2,0,19,12,18,0,18,12,4,3,13,12,13,2,3,2,13,19,18,25,18,31,25,32,25,31,25,32,26,33,26,32,26,33,27,34,27,33] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr88.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BODY_door-glas0_Entity60", 3 | "vertices" : [196.491081,377.119652,-179.171005,196.240976,376.811256,-197.565002,195.738564,375.747631,-215.611815,215.270738,342.585625,-203.237093,214.185972,343.306544,-230.322685,212.531513,343.668072,-257.242727,234.050375,308.051563,-227.30334,232.130972,309.80179,-263.080448,229.324445,311.588516,-298.873649,196.643456,377.02911,-168.544254,215.844175,341.81066,-180.647155,235.101698,306.459591,-192.750213,237.673491,301.388992,-231.946396,235.59371,303.33659,-269.401497,232.624626,305.284184,-307.055038,212.196731,343.222105,-279.08068,224.60109,318.939392,-310.226074,191.299412,386.666645,-172.517906,191.66831,385.348755,-189.217819,192.039547,382.81385,-206.441721,196.637115,372.54447,-234.846395,194.28363,377.04789,-225.596181,192.694431,380.428963,-216.109174,194.415241,381.1078,-167.179763,191.648102,386.09507,-169.387535,193.004093,383.6702,-167.351734,238.589537,299.974533,-203.667568,237.229128,302.539848,-195.487598,238.317579,300.514767,-199.054388,230.409745,308.703571,-312.597961,226.863618,314.726732,-313.219894,228.724617,311.474239,-313.481887,231.820854,306.440689,-310.683326], 4 | "indices" : [1,0,4,3,4,0,2,1,5,4,5,1,4,3,7,6,7,3,5,4,8,7,8,4,0,9,3,10,3,9,6,12,7,13,7,12,7,13,8,14,8,13,1,18,0,17,0,18,2,19,1,18,1,19,2,22,19,9,0,23,25,23,0,24,25,17,0,17,25,10,11,3,6,3,11,27,28,11,6,11,28,12,6,26,28,26,6,5,8,15,16,15,8,16,8,30,31,30,8,14,32,8,31,8,29,32,29,8,15,20,5,2,5,20,22,2,21,20,21,2] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr89.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BODY_door-glas0_Entity61", 3 | "vertices" : [-227.040297,324.620835,132.737099,-220.492319,337.601803,112.905106,-213.81263,350.060566,92.772293,-206.88131,361.918154,71.737519,-199.578476,373.095676,49.199726,-195.277197,379.30883,32.811573,-192.056145,384.032009,14.277863,-189.755062,387.478027,-6.271124,-188.213711,389.859543,-28.705417,-187.241833,391.440067,-53.992477,-186.740925,392.334499,-81.043838,-186.423141,393.032475,-139.847374,-222.968955,332.610848,97.492058,-213.564624,350.007113,55.692505,-208.08994,359.125774,14.831885,-205.017776,364.348055,-32.667099,-203.537939,367.032578,-87.546371,-202.9582,368.331017,-146.010566,-237.020462,302.111137,138.479638,-231.376743,314.898542,102.21183,-226.250353,326.451977,62.185292,-222.846656,333.70443,15.381152,-220.568139,338.272914,-36.63829,-219.107778,341.116131,-94.080116,-218.292555,342.964034,-152.226616,-239.474077,296.40723,106.974236,-237.254007,302.207661,68.838944,-235.768822,306.749123,15.659313,-234.694775,310.491329,-41.042259,-233.839887,313.682878,-101.008049,-233.081128,316.28562,-158.720985,-246.380396,278.766918,144.36451,-247.161066,277.806633,111.736718,-247.669481,277.822823,75.49276,-248.095814,279.521717,15.905377,-248.219185,282.306171,-45.510414,-247.965117,285.706978,-108.066345,-247.258224,288.92535,-165.411552], 4 | "indices" : [16,10,11,11,17,16,23,16,17,17,24,23,29,23,24,24,30,29,36,29,30,30,37,36,29,36,35,35,28,29,23,29,28,28,22,23,16,23,22,22,15,16,15,8,9,9,10,16,16,15,9,21,14,15,15,22,21,27,21,22,22,28,27,34,27,28,28,35,34,21,27,26,26,20,21,14,21,20,20,13,14,14,6,7,7,8,15,15,14,7,5,6,14,14,13,4,4,5,14,19,12,13,13,20,19,25,19,20,20,26,25,0,1,2,2,12,0,12,19,18,18,0,12,3,4,13,13,12,2,2,3,13,18,19,25,31,18,25,25,32,31,32,25,26,26,33,32,33,26,27,27,34,33] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr90.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BODY_door-glas0_Entity62", 3 | "vertices" : [-196.49107,377.119652,-179.170978,-196.240965,376.811256,-197.564975,-195.738552,375.747631,-215.611787,-215.270728,342.585625,-203.237064,-214.185962,343.306544,-230.322657,-212.531503,343.668072,-257.242698,-234.050364,308.051563,-227.303312,-232.13096,309.80179,-263.080417,-229.324435,311.588516,-298.873611,-196.643444,377.02911,-168.544227,-215.844166,341.81066,-180.647129,-235.101686,306.459591,-192.750187,-237.673479,301.388992,-231.946368,-235.593699,303.33659,-269.40147,-232.624615,305.284184,-307.055008,-212.196721,343.222105,-279.080654,-224.601081,318.939392,-310.226036,-191.2994,386.666645,-172.517879,-191.668299,385.348755,-189.217792,-192.039536,382.81385,-206.441692,-196.637104,372.54447,-234.846366,-194.283619,377.04789,-225.596153,-192.69442,380.428963,-216.109147,-194.41523,381.1078,-167.179737,-191.64809,386.09507,-169.387508,-193.004082,383.6702,-167.351707,-238.589525,299.974533,-203.667541,-237.229116,302.539848,-195.487571,-238.317568,300.514767,-199.054359,-230.409736,308.703571,-312.597923,-226.863608,314.726732,-313.219864,-228.724607,311.474239,-313.481857,-231.820843,306.440689,-310.683296], 4 | "indices" : [0,1,4,4,3,0,1,2,5,5,4,1,3,4,7,7,6,3,4,5,8,8,7,4,9,0,3,3,10,9,12,6,7,7,13,12,13,7,8,8,14,13,18,1,0,0,17,18,19,2,1,1,18,19,22,2,19,0,9,23,23,25,0,25,24,17,17,0,25,11,10,3,3,6,11,28,27,11,11,6,28,6,12,26,26,28,6,8,5,15,15,16,8,8,16,30,30,31,8,32,14,8,8,31,29,29,32,8,20,15,5,5,2,20,2,22,21,21,20,2] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr95.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BODY_door-mirro_Group08_Entity32", 3 | "vertices" : [228.156649,325.645054,131.193098,240.282452,299.817246,168.491845,250.152225,276.865602,199.702134,241.057774,298.702981,158.499436,251.089173,275.163654,181.307421,241.612153,297.862755,148.823621,251.720204,273.900999,163.454451,241.970116,297.231248,138.278735,252.099822,272.970409,144.195622,221.98926,325.645054,131.193098,235.802725,297.231248,138.278735,245.932432,272.970409,144.195622,234.115062,299.817246,168.491845,243.984835,276.865602,199.702134], 4 | "indices" : [0,1,3,1,2,4,4,3,1,0,3,5,3,4,6,6,5,3,0,5,7,5,6,8,8,7,5,0,7,10,10,9,0,7,8,11,11,10,7,9,10,12,10,11,13,13,12,10] 5 | } -------------------------------------------------------------------------------- /chapter4/models/nissan_gtr/pr98.json: -------------------------------------------------------------------------------- 1 | { 2 | "obj_name" : " SKYLINE_GTR_BODY_door-mirro_Group09_Entity35", 3 | "vertices" : [-228.156677,325.645054,131.193117,-240.28248,299.817246,168.491865,-250.152253,276.865602,199.702149,-241.057802,298.702981,158.499455,-251.089202,275.163654,181.30744,-241.61218,297.862755,148.82364,-251.720233,273.900999,163.454471,-241.970143,297.231248,138.278754,-252.099851,272.970409,144.195641,-221.989286,325.645054,131.193117,-235.802753,297.231248,138.278754,-245.93246,272.970409,144.195641,-234.115089,299.817246,168.491865,-243.984863,276.865602,199.702149], 4 | "indices" : [1,0,3,2,1,4,3,4,1,3,0,5,4,3,6,5,6,3,5,0,7,6,5,8,7,8,5,7,0,10,9,10,0,8,7,11,10,11,7,10,9,12,11,10,13,12,13,10] 5 | } -------------------------------------------------------------------------------- /chapter5/library/axis.js: -------------------------------------------------------------------------------- 1 | /** 2 | * axis 3 | * @author: gonghao.gh 4 | * @date: 2014-05-15 5 | */ 6 | KISSY.add("lib/axis", function() { 7 | 8 | return { 9 | alias: 'axis', 10 | dim: 10, 11 | vertices: [-10,0.0,0.0, 10,0.0,0.0, 0.0,-10/2,0.0, 0.0,10/2,0.0, 0.0,0.0,-10, 0.0,0.0,10], 12 | indices: [0, 1, 2, 3, 4, 5], 13 | colors: [1, 1, 0 ,1, 1, 1, 0 ,1, 0, 1 ,0 ,1, 0, 1 ,0 ,1, 0, 0, 1 ,1, 0, 0, 1 ,1], 14 | wireframe: true, 15 | perVertexColor: true, 16 | build: function(d){ 17 | if (d) { 18 | this.dim = d; 19 | } 20 | this.vertices = [-d,0.0,0.0, d,0.0,0.0, 0.0,-d/2,0.0, 0.0,d/2,0.0, 0.0,0.0,-d, 0.0,0.0,d]; 21 | return this; 22 | } 23 | } 24 | }); -------------------------------------------------------------------------------- /chapter5/library/floor.js: -------------------------------------------------------------------------------- 1 | /** 2 | * floor 3 | * @author: gonghao.gh 4 | * @date: 2014-05-18 5 | */ 6 | KISSY.add("lib/floor", function() { 7 | 8 | return { 9 | alias: 'floor', 10 | wireframe: true, 11 | dim: 50, 12 | lines: 50, 13 | vertices: [], 14 | indices: [], 15 | diffuse: [0.7,0.7,0.7,1.0], 16 | build: function(d, e){ 17 | if (d) this.dim = d; 18 | if (e) this.lines = 2*this.dim/e; 19 | var inc = 2*this.dim/this.lines; 20 | var v = []; 21 | var i = []; 22 | 23 | for(var l=0;l<=this.lines;l++){ 24 | v[6*l] = -this.dim; 25 | v[6*l+1] = 0; 26 | v[6*l+2] = -this.dim+(l*inc); 27 | 28 | v[6*l+3] = this.dim; 29 | v[6*l+4] = 0; 30 | v[6*l+5] = -this.dim+(l*inc); 31 | 32 | v[6*(this.lines+1)+6*l] = -this.dim+(l*inc); 33 | v[6*(this.lines+1)+6*l+1] = 0; 34 | v[6*(this.lines+1)+6*l+2] = -this.dim; 35 | 36 | v[6*(this.lines+1)+6*l+3] = -this.dim+(l*inc); 37 | v[6*(this.lines+1)+6*l+4] = 0; 38 | v[6*(this.lines+1)+6*l+5] = this.dim; 39 | 40 | i[2*l] = 2*l; 41 | i[2*l+1] = 2*l+1; 42 | i[2*(this.lines+1)+2*l] = 2*(this.lines+1)+2*l; 43 | i[2*(this.lines+1)+2*l+1] = 2*(this.lines+1)+2*l+1; 44 | } 45 | this.vertices = v; 46 | this.indices = i; 47 | 48 | return this; 49 | } 50 | } 51 | }); -------------------------------------------------------------------------------- /chapter5/models/geometry/cone.json: -------------------------------------------------------------------------------- 1 | { 2 | "vertices" : [0.0,6.0,-2.59787e-16,3.0,8.88178e-16,5.19574e-16,2.79742,8.88178e-16,-1.08372,2.21703,8.88178e-16,-2.02109,1.33722,4.44089e-16,-2.68549,0.276805,4.44089e-16,-2.9872,-0.820989,4.44089e-16,-2.88548,-1.8079,8.88178e-16,-2.39405,-2.55065,8.88178e-16,-1.5793,-2.94892,8.88178e-16,-0.551249,-2.94892,8.88178e-16,0.551249,-2.55065,8.88178e-16,1.5793,-1.8079,8.88178e-16,2.39405,-0.820989,1.33227e-15,2.88548,0.276805,1.33227e-15,2.9872,1.33722,1.33227e-15,2.68549,2.21703,8.88178e-16,2.02109,2.79742,8.88178e-16,1.08372,3.0,8.88178e-16,-2.46124e-09], 3 | "indices" : [0,1,2,0,2,3,0,3,4,0,4,5,0,5,6,0,6,7,0,7,8,0,8,9,0,9,10,0,10,11,0,11,12,0,12,13,0,13,14,0,14,15,0,15,16,0,16,17,0,17,18], 4 | "diffuse" : [1.0,0.664,0.0,1.0] 5 | } -------------------------------------------------------------------------------- /chapter5/models/geometry/cone.vtk: -------------------------------------------------------------------------------- 1 | # vtk DataFile Version 3.0 2 | vtk output 3 | ASCII 4 | DATASET POLYDATA 5 | POINTS 19 float 6 | 0 6 -2.59787e-016 3 8.88178e-016 5.19574e-016 2.79742 8.88178e-016 -1.08372 7 | 2.21703 8.88178e-016 -2.02109 1.33722 4.44089e-016 -2.68549 0.276805 4.44089e-016 -2.9872 8 | -0.820989 4.44089e-016 -2.88548 -1.8079 8.88178e-016 -2.39405 -2.55065 8.88178e-016 -1.5793 9 | -2.94892 8.88178e-016 -0.551249 -2.94892 8.88178e-016 0.551249 -2.55065 8.88178e-016 1.5793 10 | -1.8079 8.88178e-016 2.39405 -0.820989 1.33227e-015 2.88548 0.276805 1.33227e-015 2.9872 11 | 1.33722 1.33227e-015 2.68549 2.21703 8.88178e-016 2.02109 2.79742 8.88178e-016 1.08372 12 | 3 8.88178e-016 -2.46124e-009 13 | POLYGONS 17 68 14 | 3 0 1 2 15 | 3 0 2 3 16 | 3 0 3 4 17 | 3 0 4 5 18 | 3 0 5 6 19 | 3 0 6 7 20 | 3 0 7 8 21 | 3 0 8 9 22 | 3 0 9 10 23 | 3 0 10 11 24 | 3 0 11 12 25 | 3 0 12 13 26 | 3 0 13 14 27 | 3 0 14 15 28 | 3 0 15 16 29 | 3 0 16 17 30 | 3 0 17 18 31 | 32 | -------------------------------------------------------------------------------- /chapter5/models/geometry/plane.json: -------------------------------------------------------------------------------- 1 | { 2 | "vertices" : [-50.0,-5.0,-50.0,50.0,-5.0,-50.0,-50.0,-5.0,50.0,50.0,-5.0,50.0], 3 | "indices" : [2,1,0,1,2,3], 4 | "ambient" : [0.17,0.19,0.14,1.0], 5 | "diffuse" : [0.31,0.61,0.21,1.0] 6 | } -------------------------------------------------------------------------------- /chapter5/test.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | test 6 | 7 | 8 | 9 | 22 | 27 | 28 | -------------------------------------------------------------------------------- /chapter6/library/axis.js: -------------------------------------------------------------------------------- 1 | /** 2 | * axis 3 | * @author: gonghao.gh 4 | * @date: 2014-05-15 5 | */ 6 | KISSY.add("lib/axis", function() { 7 | 8 | return { 9 | alias: 'axis', 10 | dim: 10, 11 | vertices: [-10,0.0,0.0, 10,0.0,0.0, 0.0,-10/2,0.0, 0.0,10/2,0.0, 0.0,0.0,-10, 0.0,0.0,10], 12 | indices: [0, 1, 2, 3, 4, 5], 13 | colors: [1, 1, 0 ,1, 1, 1, 0 ,1, 0, 1 ,0 ,1, 0, 1 ,0 ,1, 0, 0, 1 ,1, 0, 0, 1 ,1], 14 | wireframe: true, 15 | perVertexColor: true, 16 | build: function(d){ 17 | if (d) { 18 | this.dim = d; 19 | } 20 | this.vertices = [-d,0.0,0.0, d,0.0,0.0, 0.0,-d/2,0.0, 0.0,d/2,0.0, 0.0,0.0,-d, 0.0,0.0,d]; 21 | return this; 22 | } 23 | } 24 | }); -------------------------------------------------------------------------------- /chapter6/library/floor.js: -------------------------------------------------------------------------------- 1 | /** 2 | * floor 3 | * @author: gonghao.gh 4 | * @date: 2014-05-18 5 | */ 6 | KISSY.add("lib/floor", function() { 7 | 8 | return { 9 | alias: 'floor', 10 | wireframe: true, 11 | dim: 50, 12 | lines: 50, 13 | vertices: [], 14 | indices: [], 15 | diffuse: [0.7,0.7,0.7,1.0], 16 | build: function(d, e){ 17 | if (d) this.dim = d; 18 | if (e) this.lines = 2*this.dim/e; 19 | var inc = 2*this.dim/this.lines; 20 | var v = []; 21 | var i = []; 22 | 23 | for(var l=0;l<=this.lines;l++){ 24 | v[6*l] = -this.dim; 25 | v[6*l+1] = 0; 26 | v[6*l+2] = -this.dim+(l*inc); 27 | 28 | v[6*l+3] = this.dim; 29 | v[6*l+4] = 0; 30 | v[6*l+5] = -this.dim+(l*inc); 31 | 32 | v[6*(this.lines+1)+6*l] = -this.dim+(l*inc); 33 | v[6*(this.lines+1)+6*l+1] = 0; 34 | v[6*(this.lines+1)+6*l+2] = -this.dim; 35 | 36 | v[6*(this.lines+1)+6*l+3] = -this.dim+(l*inc); 37 | v[6*(this.lines+1)+6*l+4] = 0; 38 | v[6*(this.lines+1)+6*l+5] = this.dim; 39 | 40 | i[2*l] = 2*l; 41 | i[2*l+1] = 2*l+1; 42 | i[2*(this.lines+1)+2*l] = 2*(this.lines+1)+2*l; 43 | i[2*(this.lines+1)+2*l+1] = 2*(this.lines+1)+2*l+1; 44 | } 45 | this.vertices = v; 46 | this.indices = i; 47 | 48 | return this; 49 | } 50 | } 51 | }); -------------------------------------------------------------------------------- /chapter6/library/light.js: -------------------------------------------------------------------------------- 1 | /** 2 | * lights 3 | * @author: gonghao.gh 4 | * @date: 2014-10-17 5 | */ 6 | KISSY.add('lib/light', function(S, Node, Base) { 7 | 8 | function Light(comConfig) { 9 | var self = this; 10 | Light.superclass.constructor.call(self, comConfig); 11 | self.init(); 12 | } 13 | 14 | S.extend(Light, Base, { 15 | 16 | init: function() { 17 | this.id = this.get('name'); 18 | this.position = [0.0, 0.0, 0.0]; 19 | this.ambient = [0.0, 0.0, 0.0, 0.0]; 20 | this.diffuse = [0.0, 0.0, 0.0, 0.0]; 21 | this.specular = [0.0, 0.0, 0.0, 0.0]; 22 | }, 23 | 24 | setPosition: function(p) { 25 | this.position = p.slice(0); 26 | }, 27 | 28 | setDiffuse: function(d) { 29 | this.diffuse = d.slice(0); 30 | }, 31 | 32 | setAmbient: function(a) { 33 | this.ambient = a.slice(0); 34 | }, 35 | 36 | setSpecular: function(s) { 37 | this.specular = s.slice(0); 38 | }, 39 | 40 | setProperty: function(pName, pVlaue) { 41 | if (typeof pName == 'string') { 42 | if (pVlaue instanceof Array) { 43 | this[pName] = pVlaue.slice(0); 44 | } else { 45 | this[pName] = pVlaue; 46 | } 47 | } else { 48 | throw 'The property name must be a string'; 49 | } 50 | } 51 | 52 | }, { 53 | ATTRS: { 54 | } 55 | }); 56 | 57 | return Light; 58 | 59 | }, { 60 | requires: [ 61 | 'node', 62 | 'base' 63 | ] 64 | }); -------------------------------------------------------------------------------- /chapter6/library/lights.js: -------------------------------------------------------------------------------- 1 | /** 2 | * lights 3 | * @author: gonghao.gh 4 | * @date: 2014-05-15 5 | */ 6 | KISSY.add("lib/lights", function() { 7 | 8 | var list = []; 9 | 10 | return { 11 | add: function(light) { 12 | list.push(light); 13 | }, 14 | 15 | getArray: function(type) { 16 | var a = []; 17 | for (var i = 0, max = list.length; i < max; i++) { 18 | a = a.concat(list[i][type]); 19 | } 20 | return a; 21 | }, 22 | 23 | get: function(idx) { 24 | if ((typeof idx == 'number') && idx >= 0 && idx < list.length) { 25 | return list[idx]; 26 | } else if (typeof idx == 'string') { 27 | for (var i = 0, max = list.length; i < max; i++) { 28 | if (list[i].id == idx) { 29 | return list[i]; 30 | } 31 | } 32 | throw 'Light ' + idx + ' does not exist'; 33 | } else { 34 | throw 'Unknown parameter'; 35 | } 36 | } 37 | } 38 | }); -------------------------------------------------------------------------------- /chapter6/models/geometry/complexCube.json: -------------------------------------------------------------------------------- 1 | { 2 | "vertices" : [ 3 | -0.5, 0.5,-0.5, 4 | -0.5,-0.5,-0.5, 5 | -0.5,-0.5, 0.5, 6 | -0.5, 0.5, 0.5, 7 | 8 | -0.5, 0.5, 0.5, 9 | -0.5,-0.5, 0.5, 10 | 0.5,-0.5, 0.5, 11 | 0.5, 0.5, 0.5, 12 | 13 | 0.5, 0.5, 0.5, 14 | 0.5,-0.5, 0.5, 15 | 0.5,-0.5,-0.5, 16 | 0.5, 0.5,-0.5, 17 | 18 | 0.5, 0.5,-0.5, 19 | 0.5,-0.5,-0.5, 20 | -0.5,-0.5,-0.5, 21 | -0.5, 0.5,-0.5, 22 | 23 | -0.5, 0.5,-0.5, 24 | -0.5, 0.5, 0.5, 25 | 0.5, 0.5, 0.5, 26 | 0.5, 0.5,-0.5, 27 | 28 | -0.5,-0.5, 0.5, 29 | -0.5,-0.5,-0.5, 30 | 0.5,-0.5,-0.5, 31 | 0.5,-0.5, 0.5 32 | 33 | 34 | ], 35 | 36 | "indices" : [ 0,1,2, 0,2,3, 37 | 4,5,6, 4,6,7, 38 | 8,9,10, 8,10,11, 39 | 12,13,14, 12,14,15, 40 | 16,17,18, 16,18,19, 41 | 20,21,22, 20,22,23], 42 | 43 | "scalars" : [1.0,0.0,0.0,1.0, 44 | 1.0,0.0,0.0,1.0, 45 | 1.0,0.0,0.0,1.0, 46 | 1.0,0.0,0.0,1.0, 47 | 48 | 0.0,1.0,0.0,1.0, 49 | 0.0,1.0,0.0,1.0, 50 | 0.0,1.0,0.0,1.0, 51 | 0.0,1.0,0.0,1.0, 52 | 53 | 0.0,0.0,1.0,1.0, 54 | 0.0,0.0,1.0,1.0, 55 | 0.0,0.0,1.0,1.0, 56 | 0.0,0.0,1.0,1.0, 57 | 58 | 0.0,1.0,1.0,1.0, 59 | 0.0,1.0,1.0,1.0, 60 | 0.0,1.0,1.0,1.0, 61 | 0.0,1.0,1.0,1.0, 62 | 63 | 1.0,0.0,1.0,1.0, 64 | 1.0,0.0,1.0,1.0, 65 | 1.0,0.0,1.0,1.0, 66 | 1.0,0.0,1.0,1.0, 67 | 68 | 1.0,1.0,0.0,1.0, 69 | 1.0,1.0,0.0,1.0, 70 | 1.0,1.0,0.0,1.0, 71 | 1.0,1.0,0.0,1.0 72 | ], 73 | 74 | "diffuse" : [1.0,0.0,0.0,1.0] 75 | } -------------------------------------------------------------------------------- /chapter6/models/geometry/plane.json: -------------------------------------------------------------------------------- 1 | { 2 | "vertices" : [-50.0,-5.0,-50.0,50.0,-5.0,-50.0,-50.0,-5.0,50.0,50.0,-5.0,50.0], 3 | "indices" : [2,1,0,1,2,3], 4 | "ambient" : [0.17,0.19,0.14,1.0], 5 | "diffuse" : [0.31,0.61,0.21,1.0] 6 | } -------------------------------------------------------------------------------- /chapter6/models/geometry/simpleCube.json: -------------------------------------------------------------------------------- 1 | { 2 | "vertices" : [ 3 | -0.5, 0.5, 0.5, 4 | -0.5,-0.5, 0.5, 5 | 0.5,-0.5, 0.5, 6 | 0.5, 0.5, 0.5, 7 | 0.5,-0.5,-0.5, 8 | 0.5, 0.5,-0.5, 9 | -0.5,-0.5,-0.5, 10 | -0.5, 0.5, -0.5 11 | ], 12 | 13 | "indices" : [0,1,2,0,2,3, 14 | 3,2,4,3,4,5, 15 | 5,4,6,5,6,7, 16 | 0,3,7,7,3,5, 17 | 7,6,1,7,1,0, 18 | 1,6,4,1,4,2], 19 | 20 | "scalars" : [1.0,0.0,0.0,1.0, 21 | 0.0,1.0,0.0,1.0, 22 | 0.0,0.0,1.0,1.0, 23 | 1.0,1.0,0.0,1.0, 24 | 1.0,0.0,1.0,1.0, 25 | 0.0,1.0,1.0,1.0, 26 | 0.0,0.0,0.0,1.0, 27 | 1.0,1.0,1.0,1.0 28 | ], 29 | 30 | "diffuse" : [1.0,0.0,0.0,1.0] 31 | } -------------------------------------------------------------------------------- /chapter6/models/geometry/wall.json: -------------------------------------------------------------------------------- 1 | { 2 | "vertices" : [-15.0,0.0,-0.5,-15.0,0.0,0.5,-15.0,10.0,-0.5,-15.0,10.0,0.5,15.0,0.0,-0.5,15.0,10.0,-0.5,15.0,0.0,0.5,15.0,10.0,0.5,-15.0,0.0,-0.5,15.0,0.0,-0.5,-15.0,0.0,0.5,15.0,0.0,0.5,-15.0,10.0,-0.5,-15.0,10.0,0.5,15.0,10.0,-0.5,15.0,10.0,0.5,-15.0,0.0,-0.5,-15.0,10.0,-0.5,15.0,0.0,-0.5,15.0,10.0,-0.5,-15.0,0.0,0.5,15.0,0.0,0.5,-15.0,10.0,0.5,15.0,10.0,0.5], 3 | "indices" : [0,1,2,3,2,1,4,5,6,7,6,5,8,9,10,11,10,9,12,13,14,15,14,13,16,17,18,19,18,17,20,21,22,23,22,21], 4 | "diffuse" : [1.0,1.0,1.0,1.0], 5 | "ambient" : [0.1,0.1,0.1,1.0] 6 | } -------------------------------------------------------------------------------- /chapter6/models/geometry/wall.vtk: -------------------------------------------------------------------------------- 1 | # vtk DataFile Version 3.0 2 | vtk output 3 | ASCII 4 | DATASET POLYDATA 5 | POINTS 24 float 6 | -15 0 -0.5 -15 0 0.5 -15 10 -0.5 7 | -15 10 0.5 15 0 -0.5 15 0 0.5 8 | 15 10 -0.5 15 10 0.5 -15 0 -0.5 9 | -15 0 0.5 15 0 -0.5 15 0 0.5 10 | -15 10 -0.5 -15 10 0.5 15 10 -0.5 11 | 15 10 0.5 -15 0 -0.5 15 0 -0.5 12 | -15 10 -0.5 15 10 -0.5 -15 0 0.5 13 | 15 0 0.5 -15 10 0.5 15 10 0.5 14 | 15 | POLYGONS 12 48 16 | 3 0 1 2 17 | 3 3 2 1 18 | 3 4 6 5 19 | 3 7 5 6 20 | 3 8 10 9 21 | 3 11 9 10 22 | 3 12 13 14 23 | 3 15 14 13 24 | 3 16 18 17 25 | 3 19 17 18 26 | 3 20 21 22 27 | 3 23 22 21 28 | 29 | POINT_DATA 24 30 | NORMALS Normals float 31 | -1 0 0 -1 0 0 -1 0 0 32 | -1 0 0 1 0 0 1 0 0 33 | 1 0 0 1 0 0 0 -1 0 34 | 0 -1 0 0 -1 0 0 -1 0 35 | 0 1 0 0 1 0 0 1 0 36 | 0 1 0 0 0 -1 0 0 -1 37 | 0 0 -1 0 0 -1 0 0 1 38 | 0 0 1 0 0 1 0 0 1 39 | 40 | TEXTURE_COORDINATES TCoords 2 float 41 | 0 0.5 1 0.5 0 10.5 1 10.5 -0 42 | 0.5 -1 0.5 -0 10.5 -1 10.5 14.5 -0 43 | 14.5 -1 -15.5 -0 -15.5 -1 -14.5 -0 -14.5 44 | -1 15.5 -0 15.5 -1 14.5 0.5 -15.5 0.5 45 | 14.5 10.5 -15.5 10.5 -14.5 0.5 15.5 0.5 -14.5 46 | 10.5 15.5 10.5 47 | -------------------------------------------------------------------------------- /chapter7/library/axis.js: -------------------------------------------------------------------------------- 1 | /** 2 | * axis 3 | * @author: gonghao.gh 4 | * @date: 2014-05-15 5 | */ 6 | KISSY.add("lib/axis", function() { 7 | 8 | return { 9 | alias: 'axis', 10 | dim: 10, 11 | vertices: [-10,0.0,0.0, 10,0.0,0.0, 0.0,-10/2,0.0, 0.0,10/2,0.0, 0.0,0.0,-10, 0.0,0.0,10], 12 | indices: [0, 1, 2, 3, 4, 5], 13 | colors: [1, 1, 0 ,1, 1, 1, 0 ,1, 0, 1 ,0 ,1, 0, 1 ,0 ,1, 0, 0, 1 ,1, 0, 0, 1 ,1], 14 | wireframe: true, 15 | perVertexColor: true, 16 | build: function(d){ 17 | if (d) { 18 | this.dim = d; 19 | } 20 | this.vertices = [-d,0.0,0.0, d,0.0,0.0, 0.0,-d/2,0.0, 0.0,d/2,0.0, 0.0,0.0,-d, 0.0,0.0,d]; 21 | return this; 22 | } 23 | } 24 | }); -------------------------------------------------------------------------------- /chapter7/library/floor.js: -------------------------------------------------------------------------------- 1 | /** 2 | * floor 3 | * @author: gonghao.gh 4 | * @date: 2014-05-18 5 | */ 6 | KISSY.add("lib/floor", function() { 7 | 8 | return { 9 | alias: 'floor', 10 | wireframe: true, 11 | dim: 50, 12 | lines: 50, 13 | vertices: [], 14 | indices: [], 15 | diffuse: [0.7,0.7,0.7,1.0], 16 | build: function(d, e){ 17 | if (d) this.dim = d; 18 | if (e) this.lines = 2*this.dim/e; 19 | var inc = 2*this.dim/this.lines; 20 | var v = []; 21 | var i = []; 22 | 23 | for(var l=0;l<=this.lines;l++){ 24 | v[6*l] = -this.dim; 25 | v[6*l+1] = 0; 26 | v[6*l+2] = -this.dim+(l*inc); 27 | 28 | v[6*l+3] = this.dim; 29 | v[6*l+4] = 0; 30 | v[6*l+5] = -this.dim+(l*inc); 31 | 32 | v[6*(this.lines+1)+6*l] = -this.dim+(l*inc); 33 | v[6*(this.lines+1)+6*l+1] = 0; 34 | v[6*(this.lines+1)+6*l+2] = -this.dim; 35 | 36 | v[6*(this.lines+1)+6*l+3] = -this.dim+(l*inc); 37 | v[6*(this.lines+1)+6*l+4] = 0; 38 | v[6*(this.lines+1)+6*l+5] = this.dim; 39 | 40 | i[2*l] = 2*l; 41 | i[2*l+1] = 2*l+1; 42 | i[2*(this.lines+1)+2*l] = 2*(this.lines+1)+2*l; 43 | i[2*(this.lines+1)+2*l+1] = 2*(this.lines+1)+2*l+1; 44 | } 45 | this.vertices = v; 46 | this.indices = i; 47 | 48 | return this; 49 | } 50 | } 51 | }); -------------------------------------------------------------------------------- /chapter7/library/light.js: -------------------------------------------------------------------------------- 1 | /** 2 | * lights 3 | * @author: gonghao.gh 4 | * @date: 2014-10-17 5 | */ 6 | KISSY.add('lib/light', function(S, Node, Base) { 7 | 8 | function Light(comConfig) { 9 | var self = this; 10 | Light.superclass.constructor.call(self, comConfig); 11 | self.init(); 12 | } 13 | 14 | S.extend(Light, Base, { 15 | 16 | init: function() { 17 | this.id = this.get('name'); 18 | this.position = [0.0, 0.0, 0.0]; 19 | this.ambient = [0.0, 0.0, 0.0, 0.0]; 20 | this.diffuse = [0.0, 0.0, 0.0, 0.0]; 21 | this.specular = [0.0, 0.0, 0.0, 0.0]; 22 | }, 23 | 24 | setPosition: function(p) { 25 | this.position = p.slice(0); 26 | }, 27 | 28 | setDiffuse: function(d) { 29 | this.diffuse = d.slice(0); 30 | }, 31 | 32 | setAmbient: function(a) { 33 | this.ambient = a.slice(0); 34 | }, 35 | 36 | setSpecular: function(s) { 37 | this.specular = s.slice(0); 38 | }, 39 | 40 | setProperty: function(pName, pVlaue) { 41 | if (typeof pName == 'string') { 42 | if (pVlaue instanceof Array) { 43 | this[pName] = pVlaue.slice(0); 44 | } else { 45 | this[pName] = pVlaue; 46 | } 47 | } else { 48 | throw 'The property name must be a string'; 49 | } 50 | } 51 | 52 | }, { 53 | ATTRS: { 54 | } 55 | }); 56 | 57 | return Light; 58 | 59 | }, { 60 | requires: [ 61 | 'node', 62 | 'base' 63 | ] 64 | }); -------------------------------------------------------------------------------- /chapter7/library/lights.js: -------------------------------------------------------------------------------- 1 | /** 2 | * lights 3 | * @author: gonghao.gh 4 | * @date: 2014-05-15 5 | */ 6 | KISSY.add("lib/lights", function() { 7 | 8 | var list = []; 9 | 10 | return { 11 | add: function(light) { 12 | list.push(light); 13 | }, 14 | 15 | getArray: function(type) { 16 | var a = []; 17 | for (var i = 0, max = list.length; i < max; i++) { 18 | a = a.concat(list[i][type]); 19 | } 20 | return a; 21 | }, 22 | 23 | get: function(idx) { 24 | if ((typeof idx == 'number') && idx >= 0 && idx < list.length) { 25 | return list[idx]; 26 | } else if (typeof idx == 'string') { 27 | for (var i = 0, max = list.length; i < max; i++) { 28 | if (list[i].id == idx) { 29 | return list[i]; 30 | } 31 | } 32 | throw 'Light ' + idx + ' does not exist'; 33 | } else { 34 | throw 'Unknown parameter'; 35 | } 36 | } 37 | } 38 | }); -------------------------------------------------------------------------------- /chapter7/library/texture.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | KISSY.add("lib/texture", function(S, Node, Base) { 5 | 6 | function Texture(comConfig) { 7 | var self = this; 8 | Texture.superclass.constructor.call(self, comConfig); 9 | self.init(); 10 | } 11 | 12 | S.extend(Texture, Base, { 13 | 14 | init: function() { 15 | var self = this; 16 | this.tex = gl.createTexture(); 17 | this.image = new Image(); 18 | this.image.onload = function() { 19 | self.handleLoadedTexture(); 20 | } 21 | }, 22 | 23 | setImage: function(file) { 24 | this.image.src = file; 25 | }, 26 | 27 | handleLoadedTexture: function(home) { 28 | gl.bindTexture(gl.TEXTURE_2D, this.tex); 29 | gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA, gl.UNSIGNED_BYTE, this.image); 30 | gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.LINEAR); 31 | gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.LINEAR_MIPMAP_NEAREST); 32 | gl.generateMipmap(gl.TEXTURE_2D); 33 | gl.bindTexture(gl.TEXTURE_2D, null); 34 | } 35 | 36 | }, { 37 | ATTRS: { 38 | } 39 | }); 40 | 41 | return Texture; 42 | }, { 43 | requires: [ 44 | 'node', 45 | 'base' 46 | ] 47 | }); -------------------------------------------------------------------------------- /chapter7/models/geometry/plane.json: -------------------------------------------------------------------------------- 1 | { 2 | "vertices" : [-50.0,-5.0,-50.0,50.0,-5.0,-50.0,-50.0,-5.0,50.0,50.0,-5.0,50.0], 3 | "indices" : [2,1,0,1,2,3], 4 | "ambient" : [0.17,0.19,0.14,1.0], 5 | "diffuse" : [0.31,0.61,0.21,1.0] 6 | } -------------------------------------------------------------------------------- /chapter7/models/geometry/simpleCube.json: -------------------------------------------------------------------------------- 1 | { 2 | "vertices" : [ 3 | -0.5, 0.5, 0.5, 4 | -0.5,-0.5, 0.5, 5 | 0.5,-0.5, 0.5, 6 | 0.5, 0.5, 0.5, 7 | 0.5,-0.5,-0.5, 8 | 0.5, 0.5,-0.5, 9 | -0.5,-0.5,-0.5, 10 | -0.5, 0.5, -0.5 11 | ], 12 | 13 | "indices" : [0,1,2,0,2,3, 14 | 3,2,4,3,4,5, 15 | 5,4,6,5,6,7, 16 | 0,3,7,7,3,5, 17 | 7,6,1,7,1,0, 18 | 1,6,4,1,4,2], 19 | 20 | "scalars" : [1.0,0.0,0.0,1.0, 21 | 0.0,1.0,0.0,1.0, 22 | 0.0,0.0,1.0,1.0, 23 | 1.0,1.0,0.0,1.0, 24 | 1.0,0.0,1.0,1.0, 25 | 0.0,1.0,1.0,1.0, 26 | 0.0,0.0,0.0,1.0, 27 | 1.0,1.0,1.0,1.0 28 | ], 29 | 30 | "diffuse" : [1.0,0.0,0.0,1.0] 31 | } -------------------------------------------------------------------------------- /chapter7/models/geometry/transparentWall.json: -------------------------------------------------------------------------------- 1 | { 2 | "vertices" : [-15.0,0.0,-0.5,-15.0,0.0,0.5,-15.0,10.0,-0.5,-15.0,10.0,0.5,15.0,0.0,-0.5,15.0,10.0,-0.5,15.0,0.0,0.5,15.0,10.0,0.5,-15.0,0.0,-0.5,15.0,0.0,-0.5,-15.0,0.0,0.5,15.0,0.0,0.5,-15.0,10.0,-0.5,-15.0,10.0,0.5,15.0,10.0,-0.5,15.0,10.0,0.5,-15.0,0.0,-0.5,-15.0,10.0,-0.5,15.0,0.0,-0.5,15.0,10.0,-0.5,-15.0,0.0,0.5,15.0,0.0,0.5,-15.0,10.0,0.5,15.0,10.0,0.5], 3 | "indices" : [0,1,2,3,2,1,4,5,6,7,6,5,8,9,10,11,10,9,12,13,14,15,14,13,16,17,18,19,18,17,20,21,22,23,22,21], 4 | "diffuse" : [0.5,0.5,0.2,0.5], 5 | "ambient" : [0.2,0.2,0.2,1.0] 6 | } -------------------------------------------------------------------------------- /chapter7/models/geometry/wall.json: -------------------------------------------------------------------------------- 1 | { 2 | "vertices" : [-15.0,0.0,-0.5,-15.0,0.0,0.5,-15.0,10.0,-0.5,-15.0,10.0,0.5,15.0,0.0,-0.5,15.0,10.0,-0.5,15.0,0.0,0.5,15.0,10.0,0.5,-15.0,0.0,-0.5,15.0,0.0,-0.5,-15.0,0.0,0.5,15.0,0.0,0.5,-15.0,10.0,-0.5,-15.0,10.0,0.5,15.0,10.0,-0.5,15.0,10.0,0.5,-15.0,0.0,-0.5,-15.0,10.0,-0.5,15.0,0.0,-0.5,15.0,10.0,-0.5,-15.0,0.0,0.5,15.0,0.0,0.5,-15.0,10.0,0.5,15.0,10.0,0.5], 3 | "indices" : [0,1,2,3,2,1,4,5,6,7,6,5,8,9,10,11,10,9,12,13,14,15,14,13,16,17,18,19,18,17,20,21,22,23,22,21], 4 | "diffuse" : [1.0,1.0,1.0,1.0], 5 | "ambient" : [0.1,0.1,0.1,1.0] 6 | } -------------------------------------------------------------------------------- /chapter7/models/geometry/wall.vtk: -------------------------------------------------------------------------------- 1 | # vtk DataFile Version 3.0 2 | vtk output 3 | ASCII 4 | DATASET POLYDATA 5 | POINTS 24 float 6 | -15 0 -0.5 -15 0 0.5 -15 10 -0.5 7 | -15 10 0.5 15 0 -0.5 15 0 0.5 8 | 15 10 -0.5 15 10 0.5 -15 0 -0.5 9 | -15 0 0.5 15 0 -0.5 15 0 0.5 10 | -15 10 -0.5 -15 10 0.5 15 10 -0.5 11 | 15 10 0.5 -15 0 -0.5 15 0 -0.5 12 | -15 10 -0.5 15 10 -0.5 -15 0 0.5 13 | 15 0 0.5 -15 10 0.5 15 10 0.5 14 | 15 | POLYGONS 12 48 16 | 3 0 1 2 17 | 3 3 2 1 18 | 3 4 6 5 19 | 3 7 5 6 20 | 3 8 10 9 21 | 3 11 9 10 22 | 3 12 13 14 23 | 3 15 14 13 24 | 3 16 18 17 25 | 3 19 17 18 26 | 3 20 21 22 27 | 3 23 22 21 28 | 29 | POINT_DATA 24 30 | NORMALS Normals float 31 | -1 0 0 -1 0 0 -1 0 0 32 | -1 0 0 1 0 0 1 0 0 33 | 1 0 0 1 0 0 0 -1 0 34 | 0 -1 0 0 -1 0 0 -1 0 35 | 0 1 0 0 1 0 0 1 0 36 | 0 1 0 0 0 -1 0 0 -1 37 | 0 0 -1 0 0 -1 0 0 1 38 | 0 0 1 0 0 1 0 0 1 39 | 40 | TEXTURE_COORDINATES TCoords 2 float 41 | 0 0.5 1 0.5 0 10.5 1 10.5 -0 42 | 0.5 -1 0.5 -0 10.5 -1 10.5 14.5 -0 43 | 14.5 -1 -15.5 -0 -15.5 -1 -14.5 -0 -14.5 44 | -1 15.5 -0 15.5 -1 14.5 0.5 -15.5 0.5 45 | 14.5 10.5 -15.5 10.5 -14.5 0.5 15.5 0.5 -14.5 46 | 10.5 15.5 10.5 47 | -------------------------------------------------------------------------------- /chapter7/textures/cubemap/negative_x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fem-d/webGL/8130caefcd1e116d583cce60f9e3443e35b8e2b4/chapter7/textures/cubemap/negative_x.png -------------------------------------------------------------------------------- /chapter7/textures/cubemap/negative_y.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fem-d/webGL/8130caefcd1e116d583cce60f9e3443e35b8e2b4/chapter7/textures/cubemap/negative_y.png -------------------------------------------------------------------------------- /chapter7/textures/cubemap/negative_z.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fem-d/webGL/8130caefcd1e116d583cce60f9e3443e35b8e2b4/chapter7/textures/cubemap/negative_z.png -------------------------------------------------------------------------------- /chapter7/textures/cubemap/positive_x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fem-d/webGL/8130caefcd1e116d583cce60f9e3443e35b8e2b4/chapter7/textures/cubemap/positive_x.png -------------------------------------------------------------------------------- /chapter7/textures/cubemap/positive_y.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fem-d/webGL/8130caefcd1e116d583cce60f9e3443e35b8e2b4/chapter7/textures/cubemap/positive_y.png -------------------------------------------------------------------------------- /chapter7/textures/cubemap/positive_z.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fem-d/webGL/8130caefcd1e116d583cce60f9e3443e35b8e2b4/chapter7/textures/cubemap/positive_z.png -------------------------------------------------------------------------------- /chapter7/textures/light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fem-d/webGL/8130caefcd1e116d583cce60f9e3443e35b8e2b4/chapter7/textures/light.png -------------------------------------------------------------------------------- /chapter7/textures/webgl-marble.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fem-d/webGL/8130caefcd1e116d583cce60f9e3443e35b8e2b4/chapter7/textures/webgl-marble.png -------------------------------------------------------------------------------- /chapter7/textures/webgl.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fem-d/webGL/8130caefcd1e116d583cce60f9e3443e35b8e2b4/chapter7/textures/webgl.gif -------------------------------------------------------------------------------- /chapter7/textures/webgl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fem-d/webGL/8130caefcd1e116d583cce60f9e3443e35b8e2b4/chapter7/textures/webgl.png -------------------------------------------------------------------------------- /chapter8/library/axis.js: -------------------------------------------------------------------------------- 1 | /** 2 | * axis 3 | * @author: gonghao.gh 4 | * @date: 2014-05-15 5 | */ 6 | KISSY.add("lib/axis", function() { 7 | 8 | return { 9 | alias: 'axis', 10 | dim: 10, 11 | vertices: [-10,0.0,0.0, 10,0.0,0.0, 0.0,-10/2,0.0, 0.0,10/2,0.0, 0.0,0.0,-10, 0.0,0.0,10], 12 | indices: [0, 1, 2, 3, 4, 5], 13 | colors: [1, 1, 0 ,1, 1, 1, 0 ,1, 0, 1 ,0 ,1, 0, 1 ,0 ,1, 0, 0, 1 ,1, 0, 0, 1 ,1], 14 | wireframe: true, 15 | perVertexColor: true, 16 | build: function(d){ 17 | if (d) { 18 | this.dim = d; 19 | } 20 | this.vertices = [-d,0.0,0.0, d,0.0,0.0, 0.0,-d/2,0.0, 0.0,d/2,0.0, 0.0,0.0,-d, 0.0,0.0,d]; 21 | return this; 22 | } 23 | } 24 | }); -------------------------------------------------------------------------------- /chapter8/library/floor.js: -------------------------------------------------------------------------------- 1 | /** 2 | * floor 3 | * @author: gonghao.gh 4 | * @date: 2014-05-18 5 | */ 6 | KISSY.add("lib/floor", function() { 7 | 8 | return { 9 | alias: 'floor', 10 | wireframe: true, 11 | dim: 50, 12 | lines: 50, 13 | vertices: [], 14 | indices: [], 15 | diffuse: [0.7,0.7,0.7,1.0], 16 | build: function(d, e){ 17 | if (d) this.dim = d; 18 | if (e) this.lines = 2*this.dim/e; 19 | var inc = 2*this.dim/this.lines; 20 | var v = []; 21 | var i = []; 22 | 23 | for(var l=0;l<=this.lines;l++){ 24 | v[6*l] = -this.dim; 25 | v[6*l+1] = 0; 26 | v[6*l+2] = -this.dim+(l*inc); 27 | 28 | v[6*l+3] = this.dim; 29 | v[6*l+4] = 0; 30 | v[6*l+5] = -this.dim+(l*inc); 31 | 32 | v[6*(this.lines+1)+6*l] = -this.dim+(l*inc); 33 | v[6*(this.lines+1)+6*l+1] = 0; 34 | v[6*(this.lines+1)+6*l+2] = -this.dim; 35 | 36 | v[6*(this.lines+1)+6*l+3] = -this.dim+(l*inc); 37 | v[6*(this.lines+1)+6*l+4] = 0; 38 | v[6*(this.lines+1)+6*l+5] = this.dim; 39 | 40 | i[2*l] = 2*l; 41 | i[2*l+1] = 2*l+1; 42 | i[2*(this.lines+1)+2*l] = 2*(this.lines+1)+2*l; 43 | i[2*(this.lines+1)+2*l+1] = 2*(this.lines+1)+2*l+1; 44 | } 45 | this.vertices = v; 46 | this.indices = i; 47 | 48 | return this; 49 | } 50 | } 51 | }); -------------------------------------------------------------------------------- /chapter8/library/light.js: -------------------------------------------------------------------------------- 1 | /** 2 | * lights 3 | * @author: gonghao.gh 4 | * @date: 2014-10-17 5 | */ 6 | KISSY.add('lib/light', function(S, Node, Base) { 7 | 8 | function Light(comConfig) { 9 | var self = this; 10 | Light.superclass.constructor.call(self, comConfig); 11 | self.init(); 12 | } 13 | 14 | S.extend(Light, Base, { 15 | 16 | init: function() { 17 | this.id = this.get('name'); 18 | this.position = [0.0, 0.0, 0.0]; 19 | this.ambient = [0.0, 0.0, 0.0, 0.0]; 20 | this.diffuse = [0.0, 0.0, 0.0, 0.0]; 21 | this.specular = [0.0, 0.0, 0.0, 0.0]; 22 | }, 23 | 24 | setPosition: function(p) { 25 | this.position = p.slice(0); 26 | }, 27 | 28 | setDiffuse: function(d) { 29 | this.diffuse = d.slice(0); 30 | }, 31 | 32 | setAmbient: function(a) { 33 | this.ambient = a.slice(0); 34 | }, 35 | 36 | setSpecular: function(s) { 37 | this.specular = s.slice(0); 38 | }, 39 | 40 | setProperty: function(pName, pVlaue) { 41 | if (typeof pName == 'string') { 42 | if (pVlaue instanceof Array) { 43 | this[pName] = pVlaue.slice(0); 44 | } else { 45 | this[pName] = pVlaue; 46 | } 47 | } else { 48 | throw 'The property name must be a string'; 49 | } 50 | } 51 | 52 | }, { 53 | ATTRS: { 54 | } 55 | }); 56 | 57 | return Light; 58 | 59 | }, { 60 | requires: [ 61 | 'node', 62 | 'base' 63 | ] 64 | }); -------------------------------------------------------------------------------- /chapter8/library/lights.js: -------------------------------------------------------------------------------- 1 | /** 2 | * lights 3 | * @author: gonghao.gh 4 | * @date: 2014-05-15 5 | */ 6 | KISSY.add("lib/lights", function() { 7 | 8 | var list = []; 9 | 10 | return { 11 | add: function(light) { 12 | list.push(light); 13 | }, 14 | 15 | getArray: function(type) { 16 | var a = []; 17 | for (var i = 0, max = list.length; i < max; i++) { 18 | a = a.concat(list[i][type]); 19 | } 20 | return a; 21 | }, 22 | 23 | get: function(idx) { 24 | if ((typeof idx == 'number') && idx >= 0 && idx < list.length) { 25 | return list[idx]; 26 | } else if (typeof idx == 'string') { 27 | for (var i = 0, max = list.length; i < max; i++) { 28 | if (list[i].id == idx) { 29 | return list[i]; 30 | } 31 | } 32 | throw 'Light ' + idx + ' does not exist'; 33 | } else { 34 | throw 'Unknown parameter'; 35 | } 36 | } 37 | } 38 | }); -------------------------------------------------------------------------------- /chapter8/library/texture.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | KISSY.add("lib/texture", function(S, Node, Base) { 5 | 6 | function Texture(comConfig) { 7 | var self = this; 8 | Texture.superclass.constructor.call(self, comConfig); 9 | self.init(); 10 | } 11 | 12 | S.extend(Texture, Base, { 13 | 14 | init: function() { 15 | var self = this; 16 | var img = this.get('img'); 17 | this.tex = gl.createTexture(); 18 | this.image = new Image(); 19 | this.image.onload = function() { 20 | self.handleLoadedTexture(); 21 | } 22 | if (img) { 23 | this.setImage(img); 24 | } 25 | }, 26 | 27 | setImage: function(file) { 28 | this.image.src = file; 29 | }, 30 | 31 | handleLoadedTexture: function() { 32 | gl.bindTexture(gl.TEXTURE_2D, this.tex); 33 | gl.pixelStorei(gl.UNPACK_FLIP_Y_WEBGL, true); 34 | gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA, gl.UNSIGNED_BYTE, this.image); 35 | gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.LINEAR); 36 | gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.LINEAR_MIPMAP_NEAREST); 37 | gl.generateMipmap(gl.TEXTURE_2D); 38 | gl.bindTexture(gl.TEXTURE_2D, null); 39 | } 40 | 41 | }, { 42 | ATTRS: { 43 | } 44 | }); 45 | 46 | return Texture; 47 | }, { 48 | requires: [ 49 | 'node', 50 | 'base' 51 | ] 52 | }); -------------------------------------------------------------------------------- /chapter8/models/geometry/plane.json: -------------------------------------------------------------------------------- 1 | { 2 | "vertices" : [-50.0,-5.0,-50.0,50.0,-5.0,-50.0,-50.0,-5.0,50.0,50.0,-5.0,50.0], 3 | "indices" : [2,1,0,1,2,3], 4 | "ambient" : [0.17,0.19,0.14,1.0], 5 | "diffuse" : [0.31,0.61,0.21,1.0] 6 | } -------------------------------------------------------------------------------- /chapter8/models/geometry/simpleCube.json: -------------------------------------------------------------------------------- 1 | { 2 | "vertices" : [ 3 | -0.5, 0.5, 0.5, 4 | -0.5,-0.5, 0.5, 5 | 0.5,-0.5, 0.5, 6 | 0.5, 0.5, 0.5, 7 | 0.5,-0.5,-0.5, 8 | 0.5, 0.5,-0.5, 9 | -0.5,-0.5,-0.5, 10 | -0.5, 0.5, -0.5 11 | ], 12 | 13 | "indices" : [0,1,2,0,2,3, 14 | 3,2,4,3,4,5, 15 | 5,4,6,5,6,7, 16 | 0,3,7,7,3,5, 17 | 7,6,1,7,1,0, 18 | 1,6,4,1,4,2], 19 | 20 | "scalars" : [1.0,0.0,0.0,1.0, 21 | 0.0,1.0,0.0,1.0, 22 | 0.0,0.0,1.0,1.0, 23 | 1.0,1.0,0.0,1.0, 24 | 1.0,0.0,1.0,1.0, 25 | 0.0,1.0,1.0,1.0, 26 | 0.0,0.0,0.0,1.0, 27 | 1.0,1.0,1.0,1.0 28 | ], 29 | 30 | "diffuse" : [1.0,0.0,0.0,1.0] 31 | } -------------------------------------------------------------------------------- /chapter8/packt.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fem-d/webGL/8130caefcd1e116d583cce60f9e3443e35b8e2b4/chapter8/packt.gif -------------------------------------------------------------------------------- /chapter8/webgl.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fem-d/webGL/8130caefcd1e116d583cce60f9e3443e35b8e2b4/chapter8/webgl.gif -------------------------------------------------------------------------------- /library/axis.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 坐标轴模块 3 | * @author: gonghao.gh 4 | * @date: 2013-11-27 5 | */ 6 | 7 | KISSY.add(function() { 8 | var Axis = { 9 | alias: 'axis', 10 | dim: 10, 11 | vertices: [-10,0.0,0.0, 10,0.0,0.0, 0.0,-10/2,0.0, 0.0,10/2,0.0, 0.0,0.0,-10, 0.0,0.0,10], 12 | indices: [0, 1, 2, 3, 4, 5], 13 | colors: [1, 1, 0 ,1, 1, 1, 0 ,1, 0, 1 ,0 ,1, 0, 1 ,0 ,1, 0, 0, 1 ,1, 0, 0, 1 ,1], 14 | wireframe: true, 15 | perVertexColor: true, 16 | build: function(d) { 17 | if (d) { 18 | Axis.dim = d; 19 | } 20 | Axis.vertices = [-d,0.0,0.0, d,0.0,0.0, 0.0,-d/2,0.0, 0.0,d/2,0.0, 0.0,0.0,-d, 0.0,0.0,d]; 21 | } 22 | }; 23 | 24 | return Axis; 25 | }); -------------------------------------------------------------------------------- /library/floor.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 地板模块 3 | * @author: gonghao.gh 4 | * @date: 2013-11-27 5 | */ 6 | 7 | KISSY.add(function() { 8 | var Floor = { 9 | alias: 'floor', 10 | wireframe: true, 11 | dim: 50, 12 | lines: 50, 13 | vertices: [], 14 | indices: [], 15 | diffuse: [0.7, 0.7, 0.7, 1.0], 16 | build: function(d, e) { 17 | if (d) Floor.dim = d; 18 | if (e) Floor.lines = 2*Floor.dim/e; 19 | var inc = 2*Floor.dim/Floor.lines; 20 | var v = []; 21 | var i = []; 22 | 23 | for(var l=0;l<=Floor.lines;l++){ 24 | v[6*l] = -Floor.dim; 25 | v[6*l+1] = 0; 26 | v[6*l+2] = -Floor.dim+(l*inc); 27 | 28 | v[6*l+3] = Floor.dim; 29 | v[6*l+4] = 0; 30 | v[6*l+5] = -Floor.dim+(l*inc); 31 | 32 | v[6*(Floor.lines+1)+6*l] = -Floor.dim+(l*inc); 33 | v[6*(Floor.lines+1)+6*l+1] = 0; 34 | v[6*(Floor.lines+1)+6*l+2] = -Floor.dim; 35 | 36 | v[6*(Floor.lines+1)+6*l+3] = -Floor.dim+(l*inc); 37 | v[6*(Floor.lines+1)+6*l+4] = 0; 38 | v[6*(Floor.lines+1)+6*l+5] = Floor.dim; 39 | 40 | i[2*l] = 2*l; 41 | i[2*l+1] = 2*l+1; 42 | i[2*(Floor.lines+1)+2*l] = 2*(Floor.lines+1)+2*l; 43 | i[2*(Floor.lines+1)+2*l+1] = 2*(Floor.lines+1)+2*l+1; 44 | } 45 | Floor.vertices = v; 46 | Floor.indices = i; 47 | } 48 | }; 49 | 50 | return Floor; 51 | }); -------------------------------------------------------------------------------- /library/sceneTransforms.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 场景动画效果模块 3 | * @author: gonghao.gh 4 | * @date: 2013-11-26 5 | */ 6 | 7 | KISSY.add(function() { 8 | 9 | var SceneTransforms = function(camera) { 10 | this.stack = []; 11 | this.camera = camera; 12 | this.mvMatrix = mat4.create(); 13 | this.pMatrix = mat4.create(); 14 | this.nMatrix = mat4.create(); 15 | this.cMatrix = mat4.create(); 16 | }; 17 | 18 | SceneTransforms.prototype.calculateModelView = function() { 19 | this.mvMatrix = this.camera.getViewTransform(); 20 | }; 21 | 22 | SceneTransforms.prototype.calculateNormal = function() { 23 | mat4.identity(this.nMatrix); 24 | mat4.set(this.mvMatrix, this.nMatrix); 25 | mat4.inverse(this.nMatrix); 26 | mat4.transpose(this.nMatrix); 27 | }; 28 | 29 | SceneTransforms.prototype.calculatePerspective = function() { 30 | mat4.identity(this.pMatrix); 31 | mat4.perspective(30, c_width/c_height, 0.1, 1000.0, this.pMatrix); 32 | }; 33 | 34 | SceneTransforms.prototype.init = function() { 35 | this.calculateModelView(); 36 | this.calculateNormal(); 37 | this.calculatePerspective(); 38 | }; 39 | 40 | SceneTransforms.prototype.updatePerspective = function() { 41 | mat4.perspective(30, c_width/c_height, 0.1, 1000.0, this.pMatrix); 42 | }; 43 | 44 | SceneTransforms.prototype.setMatrixUniforms = function() { 45 | this.calculateNormal(); 46 | gl.uniformMatrix4fv(prg.uMVMatrix, false, this.mvMatrix); 47 | gl.uniformMatrix4fv(prg.uPMatrix, false, this.pMatrix); 48 | gl.uniformMatrix4fv(prg.uNMatrix, false, this.nMatrix); 49 | }; 50 | 51 | SceneTransforms.prototype.push = function() { 52 | var memento = mat4.create(); 53 | mat4.set(this.mvMatrix, memento); 54 | this.stack.push(memento); 55 | }; 56 | 57 | SceneTransforms.prototype.pop = function() { 58 | if (this.stack.length == 0) { 59 | return; 60 | } 61 | this.mvMatrix = this.stack.pop(); 62 | }; 63 | 64 | return SceneTransforms; 65 | }); -------------------------------------------------------------------------------- /library/webGLApp.js: -------------------------------------------------------------------------------- 1 | /** 2 | * webGL总控 3 | * @author: gonghao.gh 4 | * @date: 2013-11-26 5 | */ 6 | 7 | KISSY.add(function(S, Utils, Program) { 8 | 9 | var nop = function() {}, 10 | WEBGLAPP_RENDER_RATE = 33; 11 | 12 | var webGLApp_timer_id = -1; 13 | 14 | var WebGLApp = function(canvas) { 15 | this.loadSceneHook = nop; 16 | this.configureGLHook = nop; 17 | this.drawSceneHook = nop; 18 | window.gl = Utils.getGLContext(canvas); 19 | window.prg = {}; 20 | Program.load(); 21 | }; 22 | 23 | WebGLApp.prototype.renderLoop = function() { 24 | var self = this; 25 | webGLApp_timer_id = setInterval(self.drawSceneHook, 33); 26 | }; 27 | 28 | WebGLApp.prototype.run = function() { 29 | var self = this; 30 | if (this.configureGLHook === nop) { 31 | alert('Error! The WebGL application cannot start because the configureGLHook has not been specified'); return; 32 | } 33 | if (this.loadSceneHook === nop){ 34 | alert('Error! The WebGL application cannot start because the loadSceneHook has not been specified'); return; 35 | } 36 | if (this.drawSceneHook === nop){ 37 | alert('Error! The WebGL application cannot start because the drawSceneHook has not been specified'); return; 38 | } 39 | 40 | this.configureGLHook(); 41 | this.loadSceneHook(); 42 | setTimeout(function() { 43 | self.renderLoop(); 44 | }, 2000); 45 | }; 46 | 47 | WebGLApp.prototype.refresh = function() { 48 | if (this.drawSceneHook != nop) { 49 | this.drawSceneHook(); 50 | } 51 | }; 52 | 53 | return WebGLApp; 54 | }, { 55 | requires: [ 56 | "./utils", 57 | "./program" 58 | ] 59 | }); --------------------------------------------------------------------------------