# BodyParts3D hemisphere assembly

BodyParts3D © The Database Center for Life Science (DBCLS), [Creative Commons Attribution 4.0 International](https://creativecommons.org/licenses/by/4.0/). See the [official BodyParts3D license page](https://dbarchive.biosciencedbc.jp/en/bodyparts3d/lic.html).

The 4.0 OBJ distribution embeds this legacy attribution: “BodyParts3D, © The Database Center for Life Science licensed under CC Attribution-Share Alike 2.1 Japan”. The repackaged geometry is also available under the embedded [CC BY-SA 2.1 Japan](https://creativecommons.org/licenses/by-sa/2.1/jp/) terms to the extent they apply to this historical archive. Those terms concern the geometry files, independently of the viewer code.

## Data and transformation

- [BodyParts3D download index](https://dbarchive.biosciencedbc.jp/en/bodyparts3d/download.html)
- [4.0 reduced PART-OF OBJ archive](https://dbarchive.biosciencedbc.jp/data/bodyparts3d/LATEST/partof_BP3D_4.0_obj_99.zip)
- Left cerebral hemisphere FMA61819/BP10491 and right cerebral hemisphere FMA67292/BP10498, both with 19 unique source elements.
- The manifest names every source element and its triangle-index range, maps five bilateral structures, and records all three source SHA-256 hashes plus the distributed binary hash.
- Source axes are transformed by (-x,z,-y) to right/up/anterior. The converter reverses face order under this reflected basis, transforms normals and applies one center and scale to both hemispheres. Viewer positions are quantized to signed 16-bit integers, normals to signed 8-bit integers. Faces retain the distributed reduced topology and are indexed with unsigned 16-bit integers.
- This is an atlas assembly of cerebral hemisphere structures. It does not represent a pial-surface reconstruction or medical imaging. The viewer's named structure filter isolates the exact upstream constituent meshes in place.

To reproduce with Python 3 from the repository root, put the original archive, partof_element_parts.txt and partof_parts_list_e.txt together, then run:

    python scripts/build-bodyparts3d-atlas.py PATH_TO_ORIGINAL_DOWNLOADS public/rep
