camera.app.json 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. {
  2. "camera": {
  3. "metadata": {
  4. "version": 4.3,
  5. "type": "Object",
  6. "generator": "ObjectExporter"
  7. },
  8. "object": {
  9. "uuid": "F0D8434F-4603-415B-8024-792FE97B9600",
  10. "type": "PerspectiveCamera",
  11. "name": "Camera",
  12. "fov": 50,
  13. "aspect": 1.2252042007001167,
  14. "near": 0.1,
  15. "far": 100000,
  16. "matrix": [0.9700406789779663,-5.500052080442686e-10,-0.24294254183769226,0,-0.04822639003396034,0.9800989627838135,-0.19256223738193512,0,0.23810774087905884,0.19850945472717285,0.950735867023468,0,159.0158233642578,132.5708465576172,634.9312744140625,1]
  17. }
  18. },
  19. "scene": {
  20. "metadata": {
  21. "version": 4.3,
  22. "type": "Object",
  23. "generator": "ObjectExporter"
  24. },
  25. "geometries": [
  26. {
  27. "uuid": "D8E200D3-27BC-49F8-A5C5-7384206E70FE",
  28. "type": "BoxGeometry",
  29. "width": 100,
  30. "height": 100,
  31. "depth": 100,
  32. "widthSegments": 1,
  33. "heightSegments": 1,
  34. "depthSegments": 1
  35. },
  36. {
  37. "uuid": "25BA32DB-8B02-4ABA-A77C-69868C464A1A",
  38. "type": "CylinderGeometry",
  39. "radiusTop": 0,
  40. "radiusBottom": 40,
  41. "height": 75,
  42. "radialSegments": 4,
  43. "heightSegments": 1,
  44. "openEnded": false
  45. },
  46. {
  47. "uuid": "51BB3E54-D2DF-4576-9953-FB8E940588B5",
  48. "type": "PlaneGeometry",
  49. "width": 1000,
  50. "height": 1000,
  51. "widthSegments": 1,
  52. "heightSegments": 1
  53. },
  54. {
  55. "uuid": "4DECFAB5-6FD1-4D84-9A29-565807B074EA",
  56. "type": "IcosahedronGeometry",
  57. "radius": 40,
  58. "detail": 2
  59. }],
  60. "materials": [
  61. {
  62. "uuid": "B5943856-E404-45D9-A427-4774202C2CD0",
  63. "type": "MeshPhongMaterial",
  64. "color": 37119,
  65. "ambient": 16777215,
  66. "emissive": 0,
  67. "specular": 1118481,
  68. "shininess": 30
  69. },
  70. {
  71. "uuid": "3F872310-2067-4BE4-9250-5B3F4E43797E",
  72. "type": "MeshPhongMaterial",
  73. "color": 15859456,
  74. "ambient": 16777215,
  75. "emissive": 0,
  76. "specular": 1118481,
  77. "shininess": 30
  78. },
  79. {
  80. "uuid": "4AE8130E-B6A8-47BC-ACCF-060973C74044",
  81. "type": "MeshPhongMaterial",
  82. "color": 16777215,
  83. "ambient": 16777215,
  84. "emissive": 0,
  85. "specular": 1118481,
  86. "shininess": 30
  87. },
  88. {
  89. "uuid": "E1826901-7922-4584-A25D-6D487E2C9BBD",
  90. "type": "MeshPhongMaterial",
  91. "color": 16711680,
  92. "ambient": 16777215,
  93. "emissive": 0,
  94. "specular": 1118481,
  95. "shininess": 30
  96. }],
  97. "object": {
  98. "uuid": "3741222A-BD8F-401C-A5D2-5A907E891896",
  99. "type": "Scene",
  100. "name": "Scene",
  101. "matrix": [1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],
  102. "children": [
  103. {
  104. "uuid": "60B69C58-4201-43FD-815E-AD2EDFBBD0CE",
  105. "type": "PerspectiveCamera",
  106. "name": "PerspectiveCamera 1",
  107. "fov": 50,
  108. "aspect": 1,
  109. "near": 100,
  110. "far": 10000,
  111. "matrix": [1,0,0,0,0,1,0,0,0,0,1,0,0,100,400,1]
  112. },
  113. {
  114. "uuid": "26DAAD69-725D-43B7-AF9D-990A99DEF8C5",
  115. "type": "Mesh",
  116. "name": "Box 1",
  117. "geometry": "D8E200D3-27BC-49F8-A5C5-7384206E70FE",
  118. "material": "B5943856-E404-45D9-A427-4774202C2CD0",
  119. "matrix": [1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]
  120. },
  121. {
  122. "uuid": "AAAFF2D6-4725-4AFC-A9FE-26419B11011F",
  123. "type": "Mesh",
  124. "name": "Cylinder 3",
  125. "geometry": "25BA32DB-8B02-4ABA-A77C-69868C464A1A",
  126. "material": "3F872310-2067-4BE4-9250-5B3F4E43797E",
  127. "matrix": [1,0,0,0,0,1,0,0,0,0,1,0,-130,-15,0,1]
  128. },
  129. {
  130. "uuid": "A460C230-DC88-4A8F-A3FB-AA0FE735F3ED",
  131. "type": "Mesh",
  132. "name": "Plane 4",
  133. "geometry": "51BB3E54-D2DF-4576-9953-FB8E940588B5",
  134. "material": "4AE8130E-B6A8-47BC-ACCF-060973C74044",
  135. "matrix": [1,0,0,0,0,0.040785059332847595,-0.9991679191589355,0,0,0.9991679191589355,0.040785059332847595,0,0,-50,0,1]
  136. },
  137. {
  138. "uuid": "3412781E-27CC-43C3-A5DB-54C0C8E42ED6",
  139. "type": "PointLight",
  140. "name": "PointLight 2",
  141. "color": 12773063,
  142. "intensity": 1,
  143. "distance": 0,
  144. "matrix": [1,0,0,0,0,1,0,0,0,0,1,0,88.12999725341797,8.3100004196167,125.44999694824219,1]
  145. },
  146. {
  147. "uuid": "E2939A7B-5E40-438A-8C1B-32126FBC6892",
  148. "type": "PointLight",
  149. "name": "PointLight 1",
  150. "color": 9474221,
  151. "intensity": 0.75,
  152. "distance": 0,
  153. "matrix": [1,0,0,0,0,1,0,0,0,0,1,0,-93.86000061035156,127.12999725341797,-114.30000305175781,1]
  154. },
  155. {
  156. "uuid": "B855E267-A266-4098-ACD6-6A1FDE7B88BA",
  157. "type": "Mesh",
  158. "name": "Icosahedron 1",
  159. "geometry": "4DECFAB5-6FD1-4D84-9A29-565807B074EA",
  160. "material": "E1826901-7922-4584-A25D-6D487E2C9BBD",
  161. "matrix": [1,0,0,0,0,1,0,0,0,0,1,0,130,-10,0,1]
  162. }]
  163. }
  164. },
  165. "scripts": {
  166. "60B69C58-4201-43FD-815E-AD2EDFBBD0CE": [
  167. {
  168. "name": "Camera Orbit",
  169. "source": "player.setCamera( this );\n\nfunction update( event ) {\n\n\tvar time = event.time * 0.001;\n\n\tthis.position.x = Math.sin( time ) * 400;\n\tthis.position.z = Math.cos( time ) * 400;\n\tthis.lookAt( scene.position );\n\n}"
  170. }]
  171. }
  172. }