test_scene.js 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821
  1. {
  2. "metadata": {
  3. "formatVersion": 3.2,
  4. "type" : "scene"
  5. },
  6. "urlBaseType" : "relativeToHTML",
  7. "objects": {
  8. "cube1" : {
  9. "geometry" : "cubeNormals",
  10. "material" : "phong_red",
  11. "position" : [ 0, 0, 0 ],
  12. "rotation" : [ 0, -0.3, 0 ],
  13. "scale" : [ 1, 1, 1 ],
  14. "visible" : true,
  15. "userData" : {
  16. "rotating" : true,
  17. "rotateX" : true,
  18. "rotateY" : true
  19. }
  20. },
  21. "cube2" : {
  22. "geometry" : "cubeWire",
  23. "material" : "basic_white",
  24. "position" : [ 0, 0, 0 ],
  25. "rotation" : [ 0, -0.3, 0 ],
  26. "scale" : [ 2, 2, 2 ],
  27. "visible" : true
  28. },
  29. "cube3" : {
  30. "geometry" : "cube",
  31. "material" : "minecraft",
  32. "position" : [ -30, -5, 25 ],
  33. "rotation" : [ 0, 0.8, 0 ],
  34. "scale" : [ 1, 1, 1 ],
  35. "visible" : true
  36. },
  37. "sphere_lambert" : {
  38. "geometry" : "sphere",
  39. "material" : "lambert_green",
  40. "position" : [ -20, -5, 15 ],
  41. "rotation" : [ 0, 0, 0 ],
  42. "scale" : [ 1, 1, 1 ],
  43. "visible" : true
  44. },
  45. "sphere_refraction" : {
  46. "geometry" : "sphere",
  47. "material" : "basic_refraction",
  48. "position" : [ 50, 45, -50 ],
  49. "rotation" : [ 0, 0, 0 ],
  50. "scale" : [ 1, 1, 1 ],
  51. "visible" : true
  52. },
  53. "sphere_cube" : {
  54. "geometry" : "sphere_uvs",
  55. "material" : "phong_compressed_cube",
  56. "position" : [ -30, -2, -15 ],
  57. "rotation" : [ 0, 0, 0 ],
  58. "scale" : [ 1.5, 1.5, 1.5 ],
  59. "visible" : true
  60. },
  61. "icosahedron" : {
  62. "geometry" : "icosahedron",
  63. "material" : "faceted_white",
  64. "position" : [ 20, 10, -60 ],
  65. "rotation" : [ 0, 0, 0 ],
  66. "scale" : [ 1, 1, 1 ],
  67. "visible" : true
  68. },
  69. "torus" : {
  70. "geometry" : "torus",
  71. "material" : "phong_orange",
  72. "position" : [ -20, 5, -50 ],
  73. "rotation" : [ 0, 0, 0 ],
  74. "scale" : [ 2, 2, 2 ],
  75. "visible" : true
  76. },
  77. "cone" : {
  78. "geometry" : "cone",
  79. "material" : "lambert_blue",
  80. "position" : [ -50, 15, -50 ],
  81. "rotation" : [ 0, 0, 0 ],
  82. "scale" : [ 1, 1, 1 ],
  83. "visible" : true
  84. },
  85. "cylinder" : {
  86. "geometry" : "cylinder",
  87. "material" : "lambert_blue",
  88. "position" : [ 50, 15, -50 ],
  89. "rotation" : [ 0, 0, 0 ],
  90. "scale" : [ 1, 1, 1 ],
  91. "visible" : true
  92. },
  93. "colorcube1" : {
  94. "geometry" : "colorcube",
  95. "material" : "face",
  96. "position" : [ -10, -5, 30 ],
  97. "rotation" : [ 0, 0, 0 ],
  98. "scale" : [ 5, 5, 5 ],
  99. "visible" : true,
  100. "children" : {
  101. "colorcube2" : {
  102. "geometry" : "colorcube",
  103. "material" : "face",
  104. "position" : [ 0, 2, 0 ],
  105. "rotation" : [ 0.1, 0.1, 0.1 ],
  106. "scale" : [ 0.5, 0.5, 0.5 ],
  107. "visible" : true,
  108. "children" : {
  109. "colorcube3" : {
  110. "geometry" : "colorcube",
  111. "material" : "face",
  112. "position" : [ 0, 2, 0 ],
  113. "rotation" : [ 0.1, 0.1, 0.1 ],
  114. "scale" : [ 0.5, 0.5, 0.5 ],
  115. "visible" : true,
  116. "children" : {
  117. "colorcube4" : {
  118. "geometry" : "colorcube",
  119. "material" : "face",
  120. "position" : [ 0, 2, 0 ],
  121. "rotation" : [ 0.1, 0.1, 0.1 ],
  122. "scale" : [ 0.5, 0.5, 0.5 ],
  123. "visible" : true
  124. }
  125. }
  126. }
  127. }
  128. }
  129. }
  130. },
  131. "veyron" : {
  132. "geometry" : "veyron",
  133. "material" : "multi_veyron",
  134. "position" : [ 40, -1, 0 ],
  135. "rotation" : [ 0, 0.3, 0 ],
  136. "scale" : [ 0.25, 0.25, 0.25 ],
  137. "visible" : true
  138. },
  139. "walt" : {
  140. "geometry" : "WaltHead",
  141. "material" : "lambert_cube",
  142. "position" : [ -75, 10, -30 ],
  143. "rotation" : [ 0, 0.5, 0 ],
  144. "scale" : [ 0.5, 0.5, 0.5 ],
  145. "visible" : true
  146. },
  147. "ben" : {
  148. "geometry" : "ben",
  149. "material" : "phong_ben",
  150. "position" : [ -45, -10, 0 ],
  151. "rotation" : [ 0, 0.5, 0 ],
  152. "scale" : [ 55, 55, 55 ],
  153. "visible" : true
  154. },
  155. "ninja" : {
  156. "geometry" : "NinjaLo",
  157. "material" : "phong_normal",
  158. "position" : [ 75, 10, -30 ],
  159. "rotation" : [ 0, -0.5, 0 ],
  160. "scale" : [ 1.25, 1.25, 1.25 ],
  161. "visible" : true
  162. },
  163. "sittingBox" : {
  164. "geometry" : "sittingBox",
  165. "material" : "phong_morph",
  166. "position" : [ -60, -10, 10 ],
  167. "rotation" : [ 0, 0.5, 0 ],
  168. "scale" : [ 23, 23, 23 ],
  169. "visible" : true,
  170. "morph" : true,
  171. "duration" : 8000,
  172. "mirroredLoop" : true
  173. },
  174. "knight" : {
  175. "geometry" : "knight",
  176. "material" : "phong_skin",
  177. "position" : [ 70, -10, 10 ],
  178. "rotation" : [ 0, 0, 0 ],
  179. "scale" : [ 2.5, 2.5, 2.5 ],
  180. "visible" : true,
  181. "skin" : true
  182. },
  183. "man" : {
  184. "type": "obj",
  185. "url" : "obj/male02/male02.obj",
  186. "material" : "phong_man",
  187. "position" : [ -10, -10, -25 ],
  188. "rotation" : [ 0, 0, 0 ],
  189. "scale" : [ 0.2, 0.2, 0.2 ],
  190. "visible" : true
  191. },
  192. "man_clone_1" : {
  193. "geometry" : "man",
  194. "material" : "multi_1",
  195. "position" : [ 2.5, -10, -25 ],
  196. "rotation" : [ 0, 0, 0 ],
  197. "scale" : [ 0.2, 0.2, 0.2 ],
  198. "visible" : true
  199. },
  200. "man_clone_2" : {
  201. "geometry" : "man",
  202. "material" : "multi_2",
  203. "position" : [ 15, -10, -25 ],
  204. "rotation" : [ 0, 0, 0 ],
  205. "scale" : [ 0.2, 0.2, 0.2 ],
  206. "visible" : true
  207. },
  208. "monster" : {
  209. "type": "dae",
  210. "url" : "models/collada/monster/monster.dae",
  211. "position" : [ -43, -10, 27 ],
  212. "rotation" : [ -1.57, 0, 0 ],
  213. "scale" : [ 0.01, 0.01, 0.01 ],
  214. "visible" : true
  215. },
  216. "hand" : {
  217. "type" : "utf8",
  218. "url" : "models/utf8/hand.js",
  219. "material" : "phong_hand",
  220. "position" : [ -28, -1, 29 ],
  221. "rotation" : [ 0, 0.5, 0 ],
  222. "scale" : [ 12, 12, 12 ],
  223. "visible" : true,
  224. "userData" : {
  225. "rotating" : true,
  226. "rotateY" : true
  227. }
  228. },
  229. "bunny" : {
  230. "geometry" : "bunny",
  231. "material" : "phong_bunny",
  232. "position" : [ -25, -14, 0 ],
  233. "rotation" : [ 0, 0, 0 ],
  234. "scale" : [ 100, 100, 100 ],
  235. "visible" : true
  236. },
  237. "disk" : {
  238. "geometry" : "disk",
  239. "material" : "phong_disk",
  240. "position" : [ 7, -10, 30 ],
  241. "rotation" : [ 1.57, 0, 0 ],
  242. "scale" : [ 10, 10, 10 ],
  243. "visible" : true
  244. },
  245. "quad_bg" : {
  246. "geometry" : "quad",
  247. "material" : "textured_bg",
  248. "position" : [ 0, 15, -90 ],
  249. "rotation" : [ 0, 0, 0 ],
  250. "scale" : [ 20, 20, 20 ],
  251. "visible" : true
  252. },
  253. "quad_texture1" : {
  254. "geometry" : "quad",
  255. "material" : "textured_compressed_dxt3",
  256. "position" : [ 15, -5, 20 ],
  257. "rotation" : [ 0, 0, 0 ],
  258. "scale" : [ 1, 1, 1 ],
  259. "visible" : true
  260. },
  261. "quad_texture2" : {
  262. "geometry" : "quad",
  263. "material" : "textured_compressed_dxt5",
  264. "position" : [ 15, -5, 25 ],
  265. "rotation" : [ 0, 0, 0 ],
  266. "scale" : [ 1, 1, 1 ],
  267. "visible" : true
  268. },
  269. "ground" : {
  270. "geometry" : "plane",
  271. "material" : "basic_gray",
  272. "position" : [ 0, -10, 0 ],
  273. "rotation" : [ -1.57, 0, 0 ],
  274. "scale" : [ 100, 100, 100 ],
  275. "visible" : true
  276. },
  277. "light1": {
  278. "type" : "DirectionalLight",
  279. "direction" : [ 0, 1, 1 ],
  280. "color" : 16777215,
  281. "intensity" : 1
  282. },
  283. "light2": {
  284. "type" : "PointLight",
  285. "position": [ 0, 0, 0 ],
  286. "color" : 16777215,
  287. "intensity" : 1.25
  288. },
  289. "camera1": {
  290. "type" : "PerspectiveCamera",
  291. "fov" : 50,
  292. "aspect": 1.33333,
  293. "near" : 1,
  294. "far" : 1000,
  295. "position": [ 0, 0, 100 ],
  296. "target" : [ 0, 0, 0 ]
  297. },
  298. "camera2": {
  299. "type" : "OrthographicCamera",
  300. "left" : 0,
  301. "right" : 1024,
  302. "top" : 0,
  303. "bottom": 1024,
  304. "near" : 1,
  305. "far" : 1000,
  306. "position": [ 0, 0, 0 ],
  307. "target" : [ 0, 0, 0 ]
  308. }
  309. },
  310. "geometries": {
  311. "cube": {
  312. "type" : "cube",
  313. "width" : 10,
  314. "height": 10,
  315. "depth" : 10,
  316. "widthSegments" : 1,
  317. "heightSegments" : 1,
  318. "depthSegments" : 1
  319. },
  320. "cubeNormals": {
  321. "type" : "cube",
  322. "width" : 10,
  323. "height": 10,
  324. "depth" : 10,
  325. "widthSegments" : 1,
  326. "heightSegments" : 1,
  327. "depthSegments" : 1
  328. },
  329. "cubeWire": {
  330. "type" : "cube",
  331. "width" : 10,
  332. "height": 10,
  333. "depth" : 10,
  334. "widthSegments" : 1,
  335. "heightSegments" : 1,
  336. "depthSegments" : 1
  337. },
  338. "plane": {
  339. "type" : "plane",
  340. "width" : 10,
  341. "height" : 10,
  342. "widthSegments" : 50,
  343. "heightSegments" : 50
  344. },
  345. "quad": {
  346. "type" : "plane",
  347. "width" : 10,
  348. "height" : 10,
  349. "widthSegments" : 1,
  350. "heightSegments" : 1
  351. },
  352. "sphere": {
  353. "type" : "sphere",
  354. "radius" : 5,
  355. "widthSegments" : 32,
  356. "heightSegments" : 16
  357. },
  358. "sphere_uvs": {
  359. "type" : "sphere",
  360. "radius" : 5,
  361. "widthSegments" : 32,
  362. "heightSegments" : 16
  363. },
  364. "icosahedron": {
  365. "type" : "icosahedron",
  366. "radius" : 20,
  367. "subdivisions" : 2
  368. },
  369. "torus": {
  370. "type" : "torus",
  371. "radius" : 5,
  372. "tube" : 2,
  373. "segmentsR" : 16,
  374. "segmentsT" : 32
  375. },
  376. "cylinder": {
  377. "type" : "cylinder",
  378. "topRad" : 5,
  379. "botRad" : 5,
  380. "height" : 50,
  381. "radSegs" : 32,
  382. "heightSegs": 1
  383. },
  384. "cone": {
  385. "type" : "cylinder",
  386. "topRad" : 0,
  387. "botRad" : 5,
  388. "height" : 50,
  389. "radSegs" : 32,
  390. "heightSegs" : 1
  391. },
  392. "WaltHead": {
  393. "type": "binary",
  394. "url" : "obj/walt/WaltHead_bin.js"
  395. },
  396. "NinjaLo": {
  397. "type": "binary",
  398. "url" : "obj/ninja/NinjaLo_bin.js"
  399. },
  400. "veyron": {
  401. "type": "binary",
  402. "url" : "obj/veyron/VeyronNoUv_bin.js"
  403. },
  404. "sittingBox": {
  405. "type": "ascii",
  406. "url" : "models/animated/sittingBox.js"
  407. },
  408. "knight": {
  409. "type": "ascii",
  410. "url" : "models/skinned/knight.js"
  411. },
  412. "man": {
  413. "type": "binary",
  414. "url" : "obj/male02/Male02_bin.js"
  415. },
  416. "ben": {
  417. "type": "ctm",
  418. "url" : "models/ctm/ben.ctm",
  419. "useWorkers" : true,
  420. "useBuffers" : true
  421. },
  422. "bunny": {
  423. "type": "vtk",
  424. "url" : "models/vtk/bunny.vtk"
  425. },
  426. "disk": {
  427. "type": "stl",
  428. "url" : "models/stl/ascii/slotted_disk.stl"
  429. },
  430. "colorcube": {
  431. "type": "embedded",
  432. "id" : "cube_fvc"
  433. }
  434. },
  435. "embeds": {
  436. "cube_fvc": {
  437. "metadata" : {
  438. "formatVersion" : 3
  439. },
  440. "scale" : 1.0,
  441. "materials": [{
  442. "DbgColor" : 15658734,
  443. "DbgIndex" : 0,
  444. "DbgName" : "Material",
  445. "colorAmbient" : [0.0, 0.0, 0.0],
  446. "colorDiffuse" : [0.8, 0.8, 0.8],
  447. "colorSpecular" : [0.5, 0.5, 0.5],
  448. "specularCoef" : 50,
  449. "transparency" : 1.0,
  450. "vertexColors" : true
  451. }],
  452. "vertices": [1.000000,-1.000000,-1.000000,1.000000,-1.000000,1.000000,-1.000000,-1.000000,1.000000,-1.000000,-1.000000,-1.000000,1.000000,1.000000,-1.000000,0.999999,1.000000,1.000001,-1.000000,1.000000,1.000000,-1.000000,1.000000,-1.000000],
  453. "morphTargets": [],
  454. "normals": [],
  455. "colors": [16777215,16769421,16769424,8454135,15195931,7299839,16586715,16711687,1056014,6029475,13762484,9044089,7962349,6772991,16774622,4144383,11973887,1966063,1056285,9081232,13696943,5002581],
  456. "uvs": [[]],
  457. "faces": [131,0,1,2,3,0,0,1,2,3,131,4,7,6,5,0,4,5,6,7,131,0,4,5,1,0,0,8,9,10,131,1,5,6,2,0,0,11,12,13,131,2,6,7,3,0,14,15,16,17,131,4,0,3,7,0,18,19,20,21]
  458. }
  459. },
  460. "materials": {
  461. "basic_gray": {
  462. "type": "MeshBasicMaterial",
  463. "parameters": { "color": 6710886, "wireframe": true }
  464. },
  465. "basic_white": {
  466. "type": "MeshBasicMaterial",
  467. "parameters": { "color": 16777215, "wireframe": true }
  468. },
  469. "faceted_white": {
  470. "type": "MeshLambertMaterial",
  471. "parameters": { "color": 16777215, "shading": "flat" }
  472. },
  473. "phong_red": {
  474. "type": "MeshPhongMaterial",
  475. "parameters": { "color": 16711680, "specular": 16711680, "shininess": 25, "bumpMap": "texture_bump", "bumpScale": -0.75 }
  476. },
  477. "phong_ben": {
  478. "type": "MeshPhongMaterial",
  479. "parameters": { "color": 1118481, "ambient": 1118481, "specular": 5601245, "shininess": 12, "bumpMap": "texture_bump_repeat", "bumpScale": 0.125 }
  480. },
  481. "phong_man": {
  482. "type": "MeshPhongMaterial",
  483. "parameters": { "color": 16737894, "ambient": 16737894, "specular": 2236962, "shininess": 40, "wrapAround": true, "wrapRGB": [ 0.15, 0.02, 0.01 ] }
  484. },
  485. "phong_hand": {
  486. "type": "MeshPhongMaterial",
  487. "parameters": { "color": 14531481, "ambient": 14531481, "specular": 2236962, "shininess": 40, "wrapAround": true, "wrapRGB": [ 0.15, 0.02, 0.01 ] }
  488. },
  489. "phong_bunny": {
  490. "type": "MeshPhongMaterial",
  491. "parameters": { "color": 16777215, "ambient": 16777215, "specular": 1118481, "shininess": 10 }
  492. },
  493. "phong_monster": {
  494. "type": "MeshPhongMaterial",
  495. "parameters": { "color": 16777215, "ambient": 16777215, "specular": 1118481, "shininess": 10 }
  496. },
  497. "phong_disk": {
  498. "type": "MeshPhongMaterial",
  499. "parameters": { "color": 16733491, "ambient": 16733491, "specular": 1118481, "shininess": 30, "wireframe": false }
  500. },
  501. "phong_normal": {
  502. "type": "MeshPhongMaterial",
  503. "parameters": { "color": 0, "specular": 16777215, "shininess": 25, "envMap": "cube_reflection", "reflectivity": 0.1, "lightMap": "texture_ao", "normalMap": "texture_normal", "normalScale": [ 1, -1 ], "displacementMap": "texture_displacement", "displacementScale": 2.436143, "displacementBias": -0.428408 }
  504. },
  505. "phong_morph": {
  506. "type": "MeshPhongMaterial",
  507. "parameters": { "color": 0, "ambient": 0, "specular": 16777215, "shininess": 50, "envMap": "cube_reflection", "reflectivity": 0.125, "combine": "MixOperation", "shading": "flat", "side": "double", "morphTargets": true, "morphNormals" : true }
  508. },
  509. "phong_skin": {
  510. "type": "MeshPhongMaterial",
  511. "parameters": { "color": 0, "ambient": 0, "specular": 16777215, "shininess": 50, "envMap": "cube_reflection", "reflectivity": 0.5, "combine": "MixOperation", "skinning": true, "morphTargets": true }
  512. },
  513. "phong_compressed_cube": {
  514. "type": "MeshPhongMaterial",
  515. "parameters": { "color": 16777215, "envMap": "cube_compressed", "bumpMap": "texture_bump_repeat_2", "bumpScale": -0.1 }
  516. },
  517. "lambert_green": {
  518. "type": "MeshLambertMaterial",
  519. "parameters": { "color": 30481, "blending": "AdditiveBlending", "transparent": true }
  520. },
  521. "lambert_blue": {
  522. "type": "MeshLambertMaterial",
  523. "parameters": { "color": 21930 }
  524. },
  525. "phong_orange": {
  526. "type": "MeshPhongMaterial",
  527. "parameters": { "color": 0, "specular": 11162880 }
  528. },
  529. "basic_refraction": {
  530. "type": "MeshBasicMaterial",
  531. "parameters": { "color": 16777215, "envMap": "cube_refraction", "refractionRatio": 0.95 }
  532. },
  533. "lambert_cube": {
  534. "type": "MeshLambertMaterial",
  535. "parameters": { "color": 16737792, "envMap": "cube_reflection", "combine": "MixOperation", "reflectivity": 0.3 }
  536. },
  537. "chrome": {
  538. "type": "MeshLambertMaterial",
  539. "parameters": { "color": 16777215, "envMap": "cube_reflection" }
  540. },
  541. "darkerchrome": {
  542. "type": "MeshLambertMaterial",
  543. "parameters": { "color": 2236962, "envMap": "cube_reflection" }
  544. },
  545. "glass": {
  546. "type": "MeshLambertMaterial",
  547. "parameters": { "color": 1052742, "envMap": "cube_reflection", "opacity": 0.25, "transparent": true }
  548. },
  549. "interior": {
  550. "type": "MeshLambertMaterial",
  551. "parameters": { "color": 328965 }
  552. },
  553. "backlights": {
  554. "type": "MeshLambertMaterial",
  555. "parameters": { "color": 16711680, "opacity": 0.5 }
  556. },
  557. "backsignals": {
  558. "type": "MeshLambertMaterial",
  559. "parameters": { "color": 16759552, "opacity": 0.5 }
  560. },
  561. "textured_bg": {
  562. "type": "MeshBasicMaterial",
  563. "parameters": { "color": 16777215, "map": "texture_bg" }
  564. },
  565. "textured_compressed_dxt3": {
  566. "type": "MeshBasicMaterial",
  567. "parameters": { "color": 16777215, "map": "texture_compressed_dxt3", "transparent": true }
  568. },
  569. "textured_compressed_dxt5": {
  570. "type": "MeshBasicMaterial",
  571. "parameters": { "color": 16777215, "map": "texture_compressed_dxt5", "transparent": true, "blending": "AdditiveBlending" }
  572. },
  573. "minecraft": {
  574. "type": "MeshBasicMaterial",
  575. "parameters": { "color": 16777215, "map": "texture_minecraft" }
  576. },
  577. "face": {
  578. "type": "MeshFaceMaterial",
  579. "parameters": {}
  580. },
  581. "multi_1": {
  582. "type": "MeshFaceMaterial",
  583. "parameters": {}
  584. },
  585. "multi_2": {
  586. "type": "MeshFaceMaterial",
  587. "parameters": { "materials": [ "phong_compressed_cube", "phong_man", "phong_hand", "minecraft", "backsignals" ] }
  588. },
  589. "multi_veyron": {
  590. "type": "MeshFaceMaterial",
  591. "parameters": { "materials": [ "interior", "chrome", "darkerchrome", "glass", "chrome", "chrome", "backlights", "backsignals" ] }
  592. }
  593. },
  594. "textures": {
  595. "cube_reflection": {
  596. "url": [
  597. "textures/cube/SwedishRoyalCastle/px.jpg",
  598. "textures/cube/SwedishRoyalCastle/nx.jpg",
  599. "textures/cube/SwedishRoyalCastle/py.jpg",
  600. "textures/cube/SwedishRoyalCastle/ny.jpg",
  601. "textures/cube/SwedishRoyalCastle/pz.jpg",
  602. "textures/cube/SwedishRoyalCastle/nz.jpg"
  603. ]
  604. },
  605. "cube_refraction": {
  606. "url": [
  607. "textures/cube/SwedishRoyalCastle/px.jpg",
  608. "textures/cube/SwedishRoyalCastle/nx.jpg",
  609. "textures/cube/SwedishRoyalCastle/py.jpg",
  610. "textures/cube/SwedishRoyalCastle/ny.jpg",
  611. "textures/cube/SwedishRoyalCastle/nz.jpg",
  612. "textures/cube/SwedishRoyalCastle/pz.jpg"
  613. ],
  614. "mapping": "CubeRefractionMapping"
  615. },
  616. "cube_compressed": {
  617. "url": [
  618. "textures/cube/Escher/dds/px.dds",
  619. "textures/cube/Escher/dds/nx.dds",
  620. "textures/cube/Escher/dds/py.dds",
  621. "textures/cube/Escher/dds/ny.dds",
  622. "textures/cube/Escher/dds/pz.dds",
  623. "textures/cube/Escher/dds/nz.dds"
  624. ]
  625. },
  626. "texture_bg": {
  627. "url": "textures/cube/SwedishRoyalCastle/pz.jpg",
  628. "anisotropy": 4
  629. },
  630. "texture_compressed_dxt3": {
  631. "url": "textures/compressed/hepatica_dxt3_mip.dds",
  632. "anisotropy": 4
  633. },
  634. "texture_compressed_dxt5": {
  635. "url": "textures/compressed/explosion_dxt5_mip.dds",
  636. "anisotropy": 4
  637. },
  638. "texture_bump": {
  639. "url": "textures/water.jpg",
  640. "anisotropy": 4
  641. },
  642. "texture_bump_repeat": {
  643. "url": "textures/water.jpg",
  644. "repeat" : [ 20, 20 ],
  645. "anisotropy": 4
  646. },
  647. "texture_bump_repeat_2": {
  648. "url": "textures/water.jpg",
  649. "repeat" : [ 4, 2 ],
  650. "anisotropy": 4
  651. },
  652. "texture_normal": {
  653. "url": "textures/normal/ninja/normal.jpg",
  654. "anisotropy": 4
  655. },
  656. "texture_ao": {
  657. "url": "textures/normal/ninja/ao.jpg",
  658. "anisotropy": 4
  659. },
  660. "texture_displacement": {
  661. "url": "textures/normal/ninja/displacement.jpg",
  662. "anisotropy": 4
  663. },
  664. "texture_minecraft": {
  665. "url": "textures/minecraft/grass.png",
  666. "magFilter": "NearestFilter",
  667. "minFilter": "LinearMipMapLinearFilter"
  668. }
  669. },
  670. "fogs": {
  671. "basic": {
  672. "type": "linear",
  673. "color": [1,0,0],
  674. "near": 1,
  675. "far": 1000
  676. },
  677. "exponential": {
  678. "type": "exp2",
  679. "color": [1,1,1],
  680. "density": 0.005
  681. },
  682. "black": {
  683. "type": "exp2",
  684. "color": [0,0,0],
  685. "density": 0.005
  686. }
  687. },
  688. "defaults": {
  689. "bgcolor": [0,0,0],
  690. "bgalpha": 1,
  691. "camera": "camera1",
  692. "fog": "black"
  693. }
  694. }