Skip to content

Reverse Engineering JSON

animate1978 edited this page Jun 23, 2019 · 2 revisions

THIS IS A WIP ENTRY!!! Pics are yet to be added!

Here are findings on how to modify the base mesh and related JSON-files to add vertices (and also modify existing ones by going through the same files)

(model is the caucasian male base)

The first image has the list of changed files in the top left and what was changed under that with 1-6 corresponding to the file

the second image show shows that the poses have no problem incorporating the new meshes based on their muscles or bone/vertex groups, but the shape keys would need to be edited, as they don't move the new vertices at all let me know if you have questions or need more details - (these are 4 new vertices from the basic extrusion seen in picture 1 part/file 2)

the human_male_vgroups_base.json + ...muscles.json seem to have a reference to the vertex index and how much the named group influences that vertex

m_ca01_verts.json is a list of all vertices in (I think) chronological order and human_male_polygs.json just has a new entry for each new one + characters_config.json aswell (just the count to go through when importing)

Dylan05/31/2019

for a step by step guide:

you have to add vertices in the humanoid_library.blend files (here just a simple extrusion)

then add those new vertices to the list in m_ca01_verts.json (coordinates are exactly the same as in blender) + the index in this list is the reference for human_male_vgroups_base.json & ...muscles.json wich have them in one (or more?) of their groups with a value that is the influence from that group (I think) (my guess is this is from the weights of the skeleton/muscles?)

human_male_polygs.json just adds the new polygons (in this case 4) and characters_config.json has its vertex and face count changed to the new amount