From 21b17db29535f5e7454acc006da64cd790fba17a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?BENEDEK=20L=C3=A1szl=C3=B3?= Date: Tue, 24 Sep 2024 20:02:01 +0200 Subject: [PATCH] init --- index.html | 155 ++++++++++++++++++++ scene.json | 408 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 563 insertions(+) create mode 100644 index.html create mode 100644 scene.json diff --git a/index.html b/index.html new file mode 100644 index 0000000..3efbabf --- /dev/null +++ b/index.html @@ -0,0 +1,155 @@ + + + + + + + Benedek László - IH1RZJ - első beadandó + + + + + + + + + + + + \ No newline at end of file diff --git a/scene.json b/scene.json new file mode 100644 index 0000000..b4cef67 --- /dev/null +++ b/scene.json @@ -0,0 +1,408 @@ +{ + "geometries": { + "feet": { + "type": "BoxGeometry", + "options": [ + 7.25, + 3.15, + 7.85 + ] + }, + "leg": { + "type": "BoxGeometry", + "options": [ + 7.25, + 8.3, + 5.6 + ] + }, + "thigh": { + "type": "CylinderGeometry", + "options": [ + 3, + 3, + 7.25 + ] + }, + "hip": { + "type": "BoxGeometry", + "options": [ + 14.25, + 2, + 7.85 + ] + }, + "body": { + "type": "CylinderGeometry", + "options": [ + 8.48528137424, + 10.0762716319, + 12.3, + 4, + 1 + ] + }, + "neck": { + "type": "CylinderGeometry", + "options": [ + 2.4, + 2.4, + 11.5 + ] + }, + "head_border": { + "type": "TorusGeometry", + "options": [ + 4, + 1 + ] + }, + "head_cap": { + "type": "CircleGeometry", + "options": [ + 4 + ] + }, + "head": { + "type": "CylinderGeometry", + "options": [ + 5, + 5, + 7 + ] + } + }, + "materials": { + "purple": { + "type": "MeshBasicMaterial", + "options": { + "color": "rgb(255, 0, 255)", + "wireframe": true + } + } + }, + "meshes": { + "hip": { + "geometry": "hip", + "material": "purple", + "position": [ + 0, + 0, + 0 + ], + "rotation": [ + 0, + 0, + 0 + ], + "scale": [ + 1, + 1, + 1 + ], + "children": { + "r_thigh": { + "geometry": "thigh", + "material": "purple", + "position": [ + -3.57, + -3, + 0 + ], + "rotation": [ + 0, + 0, + 90 + ], + "scale": [ + 1, + 0.9, + 1 + ], + "children": { + "r_leg": { + "geometry": "leg", + "material": "purple", + "position": [ + -4.15, + 0, + -0.2 + ], + "rotation": [ + 0, + 0, + -90 + ], + "scale": [ + 1, + 1, + 1 + ], + "children": { + "r_feet": { + "geometry": "feet", + "material": "purple", + "position": [ + 0, + -5.75, + 1.125 + ], + "rotation": [ + 0, + 0, + 0 + ], + "scale": [ + 1, + 1, + 1 + ] + } + } + } + } + }, + "l_thigh": { + "geometry": "thigh", + "material": "purple", + "position": [ + 3.57, + -3, + 0 + ], + "rotation": [ + 0, + 0, + 90 + ], + "scale": [ + 1, + 0.9, + 1 + ], + "children": { + "l_leg": { + "geometry": "leg", + "material": "purple", + "position": [ + -4.15, + 0, + -0.2 + ], + "rotation": [ + 0, + 0, + -90 + ], + "scale": [ + 1, + 1, + 1 + ], + "children": { + "l_feet": { + "geometry": "feet", + "material": "purple", + "position": [ + 0, + -5.75, + 1.125 + ], + "rotation": [ + 0, + 0, + 0 + ], + "scale": [ + 1, + 1, + 1 + ] + } + } + } + } + }, + "spine": { + "type": "empty", + "position": [ + 0, + 0, + 0 + ], + "rotation": [ + 0, + 0, + 0 + ], + "scale": [ + 1, + 1, + 1 + ], + "children": { + "neck": { + "geometry": "neck", + "material": "purple", + "position": [ + 0, + 19.05, + 0 + ], + "rotation": [ + 0, + 0, + 0 + ], + "scale": [ + 1, + 1, + 1 + ], + "children": { + "head": { + "geometry": "head", + "material": "purple", + "position": [ + 0, + 0, + 0 + ], + "rotation": [ + 0, + 0, + 0 + ], + "scale": [ + 1, + 1, + 1 + ] + }, + "chin": { + "geometry": "head_border", + "material": "purple", + "position": [ + 0, + -3.5, + 0 + ], + "rotation": [ + 90, + 0, + 0 + ], + "scale": [ + 1, + 1, + 1 + ], + "children": { + "head_cap_bottom": { + "geometry": "head_cap", + "material": "purple", + "position": [ + 0, + 0, + 1 + ], + "rotation": [ + 0, + 0, + 0 + ], + "scale": [ + 1, + 1, + 1 + ] + } + } + }, + "scalp": { + "geometry": "head_border", + "material": "purple", + "position": [ + 0, + 3.5, + 0 + ], + "rotation": [ + 90, + 0, + 0 + ], + "scale": [ + 1, + 1, + 1 + ], + "children": { + "head_cap_top": { + "geometry": "head_cap", + "material": "purple", + "position": [ + 0, + 0, + -1 + ], + "rotation": [ + 0, + 0, + 0 + ], + "scale": [ + 1, + 1, + 1 + ] + } + } + } + } + }, + "body_helper": { + "type": "empty", + "position": [ + 0, + 0, + 0 + ], + "rotation": [ + 0, + 0, + 0 + ], + "scale": [ + 1, + 1, + 0.55087719298 + ], + "children": { + "body": { + "geometry": "body", + "material": "purple", + "position": [ + 0, + 7.15, + 0 + ], + "rotation": [ + 0, + 45, + 0 + ], + "scale": [ + 1, + 1, + 1 + ] + } + } + } + } + } + } + } + } +} \ No newline at end of file