adiciona modelo real
This commit is contained in:
1 parent
71d13753c9
commit
3a659a52c7
18 files changed
+612
-176
No files matched your search
@@ -0,0 +1,47 @@
|
||||
// Fonte real dos modelos: Z-Anatomy-Sample (github.com/LluisV/Z-Anatomy-Sample),
|
||||
// CC-BY-SA 4.0 — reempacota o dataset BodyParts3D/FMA em malhas organizadas
|
||||
// por sistema, com nomes de objeto reais em inglês. Servidos como blobs FBX
|
||||
// binários comuns (não Git LFS), então dá para baixar via raw.githubusercontent.com.
|
||||
//
|
||||
// Deixamos de fora "Regions of human body100.fbx" e "Reference lines,
|
||||
// planes and movements 1.fbx" nesta primeira importação (nomes com espaço,
|
||||
// conteúdo mais voltado a navegação/didática do que estruturas discretas) —
|
||||
// dá para adicionar depois seguindo o mesmo padrão.
|
||||
export const RAW_BASE =
|
||||
"https://raw.githubusercontent.com/LluisV/Z-Anatomy-Sample/main/Assets/Models/1.0%20Models/";
|
||||
|
||||
export const SOURCES = [
|
||||
{ fbx: "SkeletalSystem100.fbx", key: "skeletal" },
|
||||
{ fbx: "MuscularSystem100.fbx", key: "muscular" },
|
||||
{ fbx: "NervousSystem100.fbx", key: "nervous" },
|
||||
{ fbx: "CardioVascular41.fbx", key: "cardio" },
|
||||
{ fbx: "VisceralSystem100.fbx", key: "visceral" },
|
||||
{ fbx: "Joints100.fbx", key: "joints" },
|
||||
{ fbx: "LymphoidOrgans100.fbx", key: "lymphoid" },
|
||||
];
|
||||
|
||||
// Palavras-chave (substring, case-insensitive) que classificam um nó do
|
||||
// VisceralSystem100.fbx como respiratório em vez de "visceral genérico".
|
||||
export const RESPIRATORY_KEYWORDS = [
|
||||
"lung",
|
||||
"trachea",
|
||||
"bronch",
|
||||
"larynx",
|
||||
"pharynx",
|
||||
"diaphragm",
|
||||
"pleura",
|
||||
"alveol",
|
||||
];
|
||||
|
||||
// key (fonte) -> { modelFile, system } — "visceral" é especial: o system
|
||||
// real é decidido por nó (respiratorio vs visceral) via RESPIRATORY_KEYWORDS,
|
||||
// mas os dois compartilham o mesmo arquivo .glb final.
|
||||
export const SOURCE_TARGETS = {
|
||||
skeletal: { modelFile: "esqueletico.glb", system: "esqueletico" },
|
||||
muscular: { modelFile: "muscular.glb", system: "muscular" },
|
||||
nervous: { modelFile: "nervoso.glb", system: "nervoso" },
|
||||
cardio: { modelFile: "cardiovascular.glb", system: "cardiovascular" },
|
||||
visceral: { modelFile: "visceral-organs.glb", system: null },
|
||||
joints: { modelFile: "articular.glb", system: "articular" },
|
||||
lymphoid: { modelFile: "linfatico.glb", system: "linfatico" },
|
||||
};
|
||||
Reference in new issue
Block a user