minor fixes
This commit is contained in:
parent
d90c41565e
commit
14a988baa5
@ -4,7 +4,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Benedek László - IH1RZJ - első beadandó: Lego Batman</title>
|
||||
<title>Benedek László - IH1RZJ - masodik beadandó: Lego Batman</title>
|
||||
<script async src="./dist/es-module-shims.js"></script>
|
||||
<script type="importmap">
|
||||
{
|
||||
@ -175,7 +175,7 @@
|
||||
renderer = new THREE.WebGLRenderer({ antialias: true, canvas: canvas, alpha: true });
|
||||
renderer.shadowMap.enabled = true;
|
||||
renderer.setSize(window.innerWidth, window.innerHeight);
|
||||
renderer.setClearColor(0xadadad);
|
||||
renderer.setClearColor("black");
|
||||
|
||||
camera = new THREE.PerspectiveCamera(fov, window.innerWidth / window.innerHeight, near, far);
|
||||
camera.position.set(0, 10, 50);
|
||||
|
55
scene.json
55
scene.json
@ -104,13 +104,6 @@
|
||||
}
|
||||
},
|
||||
"materials": {
|
||||
"purple_frame": {
|
||||
"type": "MeshBasicMaterial",
|
||||
"options": {
|
||||
"color": "rgb(255, 0, 255)",
|
||||
"wireframe": true
|
||||
}
|
||||
},
|
||||
"black": {
|
||||
"type": "MeshStandardMaterial",
|
||||
"options": {
|
||||
@ -118,11 +111,26 @@
|
||||
"roughness": 0.1
|
||||
}
|
||||
},
|
||||
"white_frame": {
|
||||
"type": "MeshBasicMaterial",
|
||||
"yellow": {
|
||||
"type": "MeshStandardMaterial",
|
||||
"options": {
|
||||
"color": "rgb(255, 255, 255)",
|
||||
"wireframe": true
|
||||
"color": "rgb(253, 255, 0)",
|
||||
"roughness": 0.1,
|
||||
"metalness": 1
|
||||
}
|
||||
},
|
||||
"blue": {
|
||||
"type": "MeshStandardMaterial",
|
||||
"options": {
|
||||
"color": "rgb(80, 92, 124)",
|
||||
"roughness": 0.1
|
||||
}
|
||||
},
|
||||
"dark_blue": {
|
||||
"type": "MeshStandardMaterial",
|
||||
"options": {
|
||||
"color": "rgb(40, 46, 60)",
|
||||
"roughness": 0.1
|
||||
}
|
||||
},
|
||||
"skin": {
|
||||
@ -144,7 +152,7 @@
|
||||
"batman_logo": {
|
||||
"type": "OBJ",
|
||||
"url": "batman.obj",
|
||||
"material": "black",
|
||||
"material": "yellow",
|
||||
"position": [
|
||||
0,
|
||||
50,
|
||||
@ -526,6 +534,11 @@
|
||||
0,
|
||||
0,
|
||||
-1
|
||||
],
|
||||
"rotation": [
|
||||
0,
|
||||
180,
|
||||
0
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -592,6 +605,21 @@
|
||||
},
|
||||
"lights": {
|
||||
"children": {
|
||||
"front_light": {
|
||||
"type": "SpotLight",
|
||||
"position": [
|
||||
0,
|
||||
-13,
|
||||
30
|
||||
],
|
||||
"intensity": 10000,
|
||||
"target": "chin",
|
||||
"color": "rgb(150, 0, 0)"
|
||||
},
|
||||
"front_light_helper": {
|
||||
"type": "SpotLightHelper",
|
||||
"target": "front_light"
|
||||
},
|
||||
"right_backlight": {
|
||||
"type": "DirectionalLight",
|
||||
"target": "backlight_tagret",
|
||||
@ -662,7 +690,8 @@
|
||||
50
|
||||
],
|
||||
"angle": 20,
|
||||
"intensity": 10000000,
|
||||
"intensity": 5000000,
|
||||
"color": "rgb(195, 163, 33)",
|
||||
"castShadow": true,
|
||||
"target": "batman_logo"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user