Add backpack editor startup scene

This commit is contained in:
2026-03-28 19:26:08 +08:00
parent a519fdab7d
commit eb5de3e3d4
16 changed files with 471 additions and 39 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

View File

@@ -0,0 +1,16 @@
# Blender MTL File: 'None'
# Material Count: 1
newmtl Scene_-_Root
Ns 225.000000
Ka 1.000000 1.000000 1.000000
Kd 0.800000 0.800000 0.800000
Ks 0.500000 0.500000 0.500000
Ke 0.0 0.0 0.0
Ni 1.450000
d 1.000000
illum 2
map_Kd diffuse.jpg
map_Bump normal.png
map_Ks specular.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 MiB

View File

@@ -0,0 +1,3 @@
Model by Berk Gedik, from: https://sketchfab.com/3d-models/survival-guitar-backpack-low-poly-799f8c4511f84fab8c3f12887f7e6b36
Modified material assignment (Joey de Vries) for easier load in OpenGL model loading chapter, and renamed albedo to diffuse and metallic to specular to match non-PBR lighting setup.

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 MiB

View File

@@ -0,0 +1,61 @@
# XCEngine Scene File
scene=Main Scene
active=1
gameobject_begin
id=1
uuid=11806343893082442755
name=Main Camera
active=1
parent=0
transform=position=0,0,0;rotation=0,0,0,1;scale=1,1,1;
component=Camera;projection=0;fov=45;orthoSize=5;near=0.1;far=100;depth=0;primary=1;clearColor=0.05,0.05,0.08,1;
gameobject_end
gameobject_begin
id=2
uuid=1695101543211549096
name=BackpackRoot
active=1
parent=0
transform=position=0,0.08,3;rotation=0,0,0,1;scale=1,1,1;
gameobject_end
gameobject_begin
id=3
uuid=9855370671540411784
name=BackpackRotateY
active=1
parent=2
transform=position=0,0,0;rotation=0,-0.174108138,0,0.984726539;scale=1,1,1;
gameobject_end
gameobject_begin
id=4
uuid=14568936532392398358
name=BackpackRotateX
active=1
parent=3
transform=position=0,0,0;rotation=-0.0898785492,0,0,0.995952733;scale=1,1,1;
gameobject_end
gameobject_begin
id=5
uuid=7319598685716776031
name=BackpackScale
active=1
parent=4
transform=position=0,0,0;rotation=0,0,0,1;scale=0.389120452,0.389120452,0.389120452;
gameobject_end
gameobject_begin
id=6
uuid=14495577888798577643
name=BackpackMesh
active=1
parent=5
transform=position=0.048938,-0.5718905,-0.943127;rotation=0,0,0,1;scale=1,1,1;
component=MeshFilter;mesh=Assets/Models/backpack/backpack.obj;
component=MeshRenderer;materials=;castShadows=1;receiveShadows=1;renderLayer=0;
gameobject_end