add bug mesh - colorize flowfield - very simple enemy - and first test with multimesh

This commit is contained in:
2025-02-22 18:47:06 +01:00
parent 690940a6c3
commit b9c94eeed6
13 changed files with 408 additions and 35 deletions

BIN
assets/bug/bug_mesh.res Normal file

Binary file not shown.

11
assets/bug/license.txt Normal file
View File

@@ -0,0 +1,11 @@
Model Information:
* title: Bug
* source: https://sketchfab.com/3d-models/bug-3f3e2ed9e31c4fff9e44637173514d7b
* author: Miguel Atienza (https://sketchfab.com/miguelatienza93)
Model License:
* license type: CC-BY-4.0 (http://creativecommons.org/licenses/by/4.0/)
* requirements: Author must be credited. Commercial use is allowed.
If you use this 3D model in your project be sure to copy paste this credit wherever you share it:
This work is based on "Bug" (https://sketchfab.com/3d-models/bug-3f3e2ed9e31c4fff9e44637173514d7b) by Miguel Atienza (https://sketchfab.com/miguelatienza93) licensed under CC-BY-4.0 (http://creativecommons.org/licenses/by/4.0/)

BIN
assets/bug/scene.bin Normal file

Binary file not shown.

173
assets/bug/scene.gltf Normal file
View File

@@ -0,0 +1,173 @@
{
"accessors": [
{
"bufferView": 1,
"componentType": 5126,
"count": 49086,
"max": [
1.9926960468292236,
2.4550979137420654,
0.9601231217384338
],
"min": [
-1.9935812950134277,
-5.510632038116455,
-1.192002773284912
],
"type": "VEC3"
},
{
"bufferView": 1,
"byteOffset": 589032,
"componentType": 5126,
"count": 49086,
"max": [
0.9999630451202393,
0.9999982118606567,
0.9999945759773254
],
"min": [
-0.99997478723526,
-0.9999390244483948,
-0.999993085861206
],
"type": "VEC3"
},
{
"bufferView": 2,
"componentType": 5126,
"count": 49086,
"max": [
0.9882352948188782,
0.6352941393852234,
0.6431372761726379,
1.0
],
"min": [
0.0,
0.0,
0.0,
1.0
],
"type": "VEC4"
},
{
"bufferView": 0,
"componentType": 5125,
"count": 292026,
"type": "SCALAR"
}
],
"asset": {
"extras": {
"author": "Miguel Atienza (https://sketchfab.com/miguelatienza93)",
"license": "CC-BY-4.0 (http://creativecommons.org/licenses/by/4.0/)",
"source": "https://sketchfab.com/3d-models/bug-3f3e2ed9e31c4fff9e44637173514d7b",
"title": "Bug"
},
"generator": "Sketchfab-12.68.0",
"version": "2.0"
},
"bufferViews": [
{
"buffer": 0,
"byteLength": 1168104,
"name": "floatBufferViews",
"target": 34963
},
{
"buffer": 0,
"byteLength": 1178064,
"byteOffset": 1168104,
"byteStride": 12,
"name": "floatBufferViews",
"target": 34962
},
{
"buffer": 0,
"byteLength": 785376,
"byteOffset": 2346168,
"byteStride": 16,
"name": "floatBufferViews",
"target": 34962
}
],
"buffers": [
{
"byteLength": 3131544,
"uri": "scene.bin"
}
],
"materials": [
{
"doubleSided": true,
"name": "Scene_-_Root",
"pbrMetallicRoughness": {
"metallicFactor": 0.0,
"roughnessFactor": 0.6
}
}
],
"meshes": [
{
"name": "Object_0",
"primitives": [
{
"attributes": {
"COLOR_0": 2,
"NORMAL": 1,
"POSITION": 0
},
"indices": 3,
"material": 0,
"mode": 4
}
]
}
],
"nodes": [
{
"children": [
1
],
"matrix": [
-2.220446049250313e-16,
-6.123234262925839e-17,
1.0,
0.0,
1.0,
1.6081226229577287e-16,
2.2204460492503136e-16,
0.0,
-1.6081226229577292e-16,
1.0,
6.123234262925839e-17,
0.0,
1.5273232460021973,
-8.953146193411835e-17,
1.5282138586044312,
1.0
],
"name": "Sketchfab_model"
},
{
"children": [
2
],
"name": "bug.OBJ.cleaner.materialmerger.gles"
},
{
"mesh": 0,
"name": "Object_2"
}
],
"scene": 0,
"scenes": [
{
"name": "Sketchfab_Scene",
"nodes": [
0
]
}
]
}

View File

@@ -0,0 +1,48 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://be1j1x6skha50"
path="res://.godot/imported/scene.gltf-40b9b7639a7cec48946880b758e17814.scn"
[deps]
source_file="res://assets/bug/scene.gltf"
dest_files=["res://.godot/imported/scene.gltf-40b9b7639a7cec48946880b758e17814.scn"]
[params]
nodes/root_type=""
nodes/root_name=""
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
_subresources={
"meshes": {
"Sketchfab_Scene_Object_0": {
"generate/lightmap_uv": 0,
"generate/lods": 0,
"generate/shadow_meshes": 1,
"lods/normal_merge_angle": 60.0,
"lods/normal_split_angle": 25.0,
"save_to_file/enabled": true,
"save_to_file/path": "res://assets/bug/bug_mesh.res"
}
}
}
gltf/naming_version=1
gltf/embedded_image_handling=1