Cameras.gltf 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. {
  2. "scenes" : [
  3. {
  4. "nodes" : [ 0, 1, 2 ]
  5. }
  6. ],
  7. "nodes" : [
  8. {
  9. "rotation" : [ -0.383, 0.0, 0.0, 0.92375 ],
  10. "mesh" : 0
  11. },
  12. {
  13. "translation" : [ 0.5, 0.5, 3.0 ],
  14. "camera" : 0
  15. },
  16. {
  17. "translation" : [ 0.5, 0.5, 3.0 ],
  18. "camera" : 1
  19. }
  20. ],
  21. "cameras" : [
  22. {
  23. "type": "perspective",
  24. "perspective": {
  25. "aspectRatio": 1.0,
  26. "yfov": 0.7,
  27. "zfar": 100,
  28. "znear": 0.01
  29. }
  30. },
  31. {
  32. "type": "orthographic",
  33. "orthographic": {
  34. "xmag": 1.0,
  35. "ymag": 1.0,
  36. "zfar": 100,
  37. "znear": 0.01
  38. }
  39. }
  40. ],
  41. "meshes" : [
  42. {
  43. "primitives" : [ {
  44. "attributes" : {
  45. "POSITION" : 1
  46. },
  47. "indices" : 0
  48. } ]
  49. }
  50. ],
  51. "buffers" : [
  52. {
  53. "uri" : "simpleSquare.bin",
  54. "byteLength" : 60
  55. }
  56. ],
  57. "bufferViews" : [
  58. {
  59. "buffer" : 0,
  60. "byteOffset" : 0,
  61. "byteLength" : 12,
  62. "target" : 34963
  63. },
  64. {
  65. "buffer" : 0,
  66. "byteOffset" : 12,
  67. "byteLength" : 48,
  68. "target" : 34962
  69. }
  70. ],
  71. "accessors" : [
  72. {
  73. "bufferView" : 0,
  74. "byteOffset" : 0,
  75. "componentType" : 5123,
  76. "count" : 6,
  77. "type" : "SCALAR",
  78. "max" : [ 3 ],
  79. "min" : [ 0 ]
  80. },
  81. {
  82. "bufferView" : 1,
  83. "byteOffset" : 0,
  84. "componentType" : 5126,
  85. "count" : 4,
  86. "type" : "VEC3",
  87. "max" : [ 1.0, 1.0, 0.0 ],
  88. "min" : [ 0.0, 0.0, 0.0 ]
  89. }
  90. ],
  91. "asset" : {
  92. "version" : "2.0"
  93. }
  94. }