Advertisement
nikich340

W3 SRT VertexProperties example (1 vertex)

May 19th, 2022 (edited)
619
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. "VertexProperties": [
  2.   {
  3.     "PropertyName": "VERTEX_PROPERTY_POSITION",
  4.     "PropertyFormat": "VERTEX_FORMAT_HALF_FLOAT",
  5.     "ValueCount": 3,
  6.     "FloatValues": [
  7.       0.0535583496,
  8.       0.254150391,
  9.       0.308349609
  10.     ],
  11.     "ByteValues": [],
  12.     "ValueOffset": [
  13.       0,
  14.       2,
  15.       4
  16.     ]
  17.   },
  18.   {
  19.     "PropertyName": "VERTEX_PROPERTY_DIFFUSE_TEXCOORDS",
  20.     "PropertyFormat": "VERTEX_FORMAT_HALF_FLOAT",
  21.     "ValueCount": 2,
  22.     "FloatValues": [
  23.       0.97265625,
  24.       0.619140625
  25.     ],
  26.     "ByteValues": [],
  27.     "ValueOffset": [
  28.       8,
  29.       10
  30.     ]
  31.   },
  32.   {
  33.     "PropertyName": "VERTEX_PROPERTY_NORMAL",
  34.     "PropertyFormat": "VERTEX_FORMAT_BYTE",
  35.     "ValueCount": 3,
  36.     "FloatValues": [],
  37.     "ByteValues": [
  38.       153,
  39.       128,
  40.       252
  41.     ],
  42.     "ValueOffset": [
  43.       48,
  44.       49,
  45.       50
  46.     ]
  47.   },
  48.   {
  49.     "PropertyName": "VERTEX_PROPERTY_LOD_POSITION",
  50.     "PropertyFormat": "VERTEX_FORMAT_HALF_FLOAT",
  51.     "ValueCount": 3,
  52.     "FloatValues": [
  53.       0.0535583496,
  54.       0.254150391,
  55.       0.308349609
  56.     ],
  57.     "ByteValues": [],
  58.     "ValueOffset": [
  59.       6,
  60.       12,
  61.       14
  62.     ]
  63.   },
  64.   {
  65.     "PropertyName": "VERTEX_PROPERTY_GEOMETRY_TYPE_HINT",
  66.     "PropertyFormat": "VERTEX_FORMAT_HALF_FLOAT",
  67.     "ValueCount": 1,
  68.     "FloatValues": [
  69.       1
  70.     ],
  71.     "ByteValues": [],
  72.     "ValueOffset": [
  73.       16
  74.     ]
  75.   },
  76.   {
  77.     "PropertyName": "VERTEX_PROPERTY_LEAF_CARD_CORNER",
  78.     "PropertyFormat": "VERTEX_FORMAT_HALF_FLOAT",
  79.     "ValueCount": 3,
  80.     "FloatValues": [
  81.       0,
  82.       0,
  83.       0
  84.     ],
  85.     "ByteValues": [],
  86.     "ValueOffset": [
  87.       18,
  88.       20,
  89.       22
  90.     ]
  91.   },
  92.   {
  93.     "PropertyName": "VERTEX_PROPERTY_LEAF_CARD_LOD_SCALAR",
  94.     "PropertyFormat": "VERTEX_FORMAT_HALF_FLOAT",
  95.     "ValueCount": 1,
  96.     "FloatValues": [
  97.       1
  98.     ],
  99.     "ByteValues": [],
  100.     "ValueOffset": [
  101.       24
  102.     ]
  103.   },
  104.   {
  105.     "PropertyName": "VERTEX_PROPERTY_LEAF_CARD_SELF_SHADOW_OFFSET",
  106.     "PropertyFormat": "VERTEX_FORMAT_UNASSIGNED",
  107.     "ValueCount": 0,
  108.     "FloatValues": [],
  109.     "ByteValues": [],
  110.     "ValueOffset": []
  111.   },
  112.   {
  113.     "PropertyName": "VERTEX_PROPERTY_WIND_BRANCH_DATA",
  114.     "PropertyFormat": "VERTEX_FORMAT_HALF_FLOAT",
  115.     "ValueCount": 4,
  116.     "FloatValues": [
  117.       0.863769531,
  118.       8.8984375,
  119.       0,
  120.       0
  121.     ],
  122.     "ByteValues": [],
  123.     "ValueOffset": [
  124.       32,
  125.       34,
  126.       36,
  127.       38
  128.     ]
  129.   },
  130.   {
  131.     "PropertyName": "VERTEX_PROPERTY_WIND_EXTRA_DATA",
  132.     "PropertyFormat": "VERTEX_FORMAT_HALF_FLOAT",
  133.     "ValueCount": 3,
  134.     "FloatValues": [
  135.       7.02734375,
  136.       0.177124023,
  137.       1.65625
  138.     ],
  139.     "ByteValues": [],
  140.     "ValueOffset": [
  141.       26,
  142.       28,
  143.       30
  144.     ]
  145.   },
  146.   {
  147.     "PropertyName": "VERTEX_PROPERTY_WIND_FLAGS",
  148.     "PropertyFormat": "VERTEX_FORMAT_UNASSIGNED",
  149.     "ValueCount": 0,
  150.     "FloatValues": [],
  151.     "ByteValues": [],
  152.     "ValueOffset": []
  153.   },
  154.   {
  155.     "PropertyName": "VERTEX_PROPERTY_LEAF_ANCHOR_POINT",
  156.     "PropertyFormat": "VERTEX_FORMAT_HALF_FLOAT",
  157.     "ValueCount": 3,
  158.     "FloatValues": [
  159.       0,
  160.       0,
  161.       0
  162.     ],
  163.     "ByteValues": [],
  164.     "ValueOffset": [
  165.       40,
  166.       42,
  167.       44
  168.     ]
  169.   },
  170.   {
  171.     "PropertyName": "VERTEX_PROPERTY_BONE_ID",
  172.     "PropertyFormat": "VERTEX_FORMAT_UNASSIGNED",
  173.     "ValueCount": 0,
  174.     "FloatValues": [],
  175.     "ByteValues": [],
  176.     "ValueOffset": []
  177.   },
  178.   {
  179.     "PropertyName": "VERTEX_PROPERTY_BRANCH_SEAM_DIFFUSE",
  180.     "PropertyFormat": "VERTEX_FORMAT_UNASSIGNED",
  181.     "ValueCount": 0,
  182.     "FloatValues": [],
  183.     "ByteValues": [],
  184.     "ValueOffset": []
  185.   },
  186.   {
  187.     "PropertyName": "VERTEX_PROPERTY_BRANCH_SEAM_DETAIL",
  188.     "PropertyFormat": "VERTEX_FORMAT_UNASSIGNED",
  189.     "ValueCount": 0,
  190.     "FloatValues": [],
  191.     "ByteValues": [],
  192.     "ValueOffset": []
  193.   },
  194.   {
  195.     "PropertyName": "VERTEX_PROPERTY_DETAIL_TEXCOORDS",
  196.     "PropertyFormat": "VERTEX_FORMAT_UNASSIGNED",
  197.     "ValueCount": 0,
  198.     "FloatValues": [],
  199.     "ByteValues": [],
  200.     "ValueOffset": []
  201.   },
  202.   {
  203.     "PropertyName": "VERTEX_PROPERTY_TANGENT",
  204.     "PropertyFormat": "VERTEX_FORMAT_BYTE",
  205.     "ValueCount": 3,
  206.     "FloatValues": [],
  207.     "ByteValues": [
  208.       252,
  209.       128,
  210.       102
  211.     ],
  212.     "ValueOffset": [
  213.       52,
  214.       53,
  215.       54
  216.     ]
  217.   },
  218.   {
  219.     "PropertyName": "VERTEX_PROPERTY_LIGHTMAP_TEXCOORDS",
  220.     "PropertyFormat": "VERTEX_FORMAT_UNASSIGNED",
  221.     "ValueCount": 0,
  222.     "FloatValues": [],
  223.     "ByteValues": [],
  224.     "ValueOffset": []
  225.   },
  226.   {
  227.     "PropertyName": "VERTEX_PROPERTY_AMBIENT_OCCLUSION",
  228.     "PropertyFormat": "VERTEX_FORMAT_BYTE",
  229.     "ValueCount": 1,
  230.     "FloatValues": [],
  231.     "ByteValues": [
  232.       255
  233.     ],
  234.     "ValueOffset": [
  235.       51
  236.     ]
  237.   },
  238.   {
  239.     "PropertyName": "VERTEX_PROPERTY_PAD",
  240.     "PropertyFormat": "VERTEX_FORMAT_UNASSIGNED",
  241.     "ValueCount": 0,
  242.     "FloatValues": [],
  243.     "ByteValues": [],
  244.     "ValueOffset": []
  245.   }
  246. ]
  247.  
Advertisement
RAW Paste Data Copied
Advertisement