The-any-Key
Member
Hi.
The FBX parser is done.
Sent via PM.
Exported FBX from blender with a dummy texture and animation:
The JSON will look like this:
https://drive.google.com/open?id=107fTVTJynJ1ShMmN8R7hMX24ufoTYkvW
Whenever the end of a key or "elem_props_type" is "_map" it is a ds map and "_list" it is a ds list. So it will be easier to use the data.
The elem_props_data_list and elem_props_type_list is synced.
Ex:
if elem_props_type_list[0]="unsigned_int_8_list"
The elem_props_data_list[0]=a ds list with unsigned int 8
Ex of use a list:
Now it is a whole other story to actually try to make some sense of this data.
The FBX parser is done.
Sent via PM.
Exported FBX from blender with a dummy texture and animation:
The JSON will look like this:
https://drive.google.com/open?id=107fTVTJynJ1ShMmN8R7hMX24ufoTYkvW
Whenever the end of a key or "elem_props_type" is "_map" it is a ds map and "_list" it is a ds list. So it will be easier to use the data.
The elem_props_data_list and elem_props_type_list is synced.
Ex:
if elem_props_type_list[0]="unsigned_int_8_list"
The elem_props_data_list[0]=a ds list with unsigned int 8
Ex of use a list:
Code:
var elem_list=The elem_props_data_list[0];
show_debug_message(elem_list[| 0]);
Code:
"elem_props_data_list": [
[
1.0,
1.0,
-1.0,
1.0,
-1.0,
-1.0,
-1.0,
-1.0,
-1.0,
-1.0,
1.0,
-1.0,
1.0,
0.999999,
1.0,
0.999999,
-1.000001,
1.0,
-1.0,
-1.0,
1.0,
-1.0,
1.0,
1.0
]
],
"elem_props_type_list": [
"float_64_list"
],
Last edited: