config.json 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. {
  2. "root": "",
  3. "tests": [
  4. {
  5. "title": "Control",
  6. "createMesh": true,
  7. "configuration": {
  8. "extends": "extended, shadowDirectionalLight"
  9. },
  10. "referenceImage": "Control.png"
  11. },
  12. {
  13. "title": "Diffuse",
  14. "createMesh": true,
  15. "createMaterial": true,
  16. "configuration": {
  17. "extends": "extended, shadowDirectionalLight",
  18. "castShadow": true,
  19. "model": {
  20. "material": {
  21. "albedoColor": {
  22. "r": 0,
  23. "g": 0,
  24. "b": 1
  25. },
  26. "reflectivityColor": {
  27. "r": 0,
  28. "g": 0,
  29. "b": 0
  30. },
  31. "microSurface": 0
  32. }
  33. }
  34. },
  35. "referenceImage": "Diffuse.png"
  36. },
  37. {
  38. "title": "Specular {{glos * 20}} - {{spec * 20}}",
  39. "createMesh": true,
  40. "createMaterial": true,
  41. "repeatVariables": "glos,spec",
  42. "repeatTimes": "6,6",
  43. "configuration": {
  44. "extends": "extended, shadowDirectionalLight",
  45. "castShadow": true,
  46. "model": {
  47. "material": {
  48. "albedoColor": {
  49. "r": 0,
  50. "g": 0,
  51. "b": 1
  52. },
  53. "reflectivityColor": {
  54. "r": "{{spec / 5}}",
  55. "g": "{{spec / 5}}",
  56. "b": "{{spec / 5}}"
  57. },
  58. "microSurface": "{{glos / 5}}"
  59. }
  60. }
  61. },
  62. "referenceImage": "Specular{{glos * 20}}-{{spec * 20}}.png"
  63. },
  64. {
  65. "title": "BrainStem",
  66. "configuration": {
  67. "extends": "extended, shadowDirectionalLight"
  68. },
  69. "model": "/dist/assets/BrainStem/BrainStem.gltf",
  70. "referenceImage": "BrainStem.png"
  71. },
  72. {
  73. "title": "BrainStem transformation",
  74. "configuration": {
  75. "extends": "extended, shadowDirectionalLight",
  76. "camera": {
  77. "disableAutoFocus": true
  78. },
  79. "model": {
  80. "position": {
  81. "x": 0.2
  82. },
  83. "rotation": {
  84. "y": 0.9
  85. }
  86. }
  87. },
  88. "model": "/dist/assets/BrainStem/BrainStem.gltf",
  89. "referenceImage": "BrainStemTransformation.png"
  90. }
  91. ]
  92. }