test_scene.js 18 KB

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