updated demo scene

This commit is contained in:
RodZill4 2020-01-26 08:49:56 +01:00
parent f7a3d2b846
commit 288e5585d2
45 changed files with 116 additions and 17 deletions

View File

@ -1,8 +1,52 @@
[gd_scene load_steps=3 format=2] [gd_scene load_steps=8 format=2]
[ext_resource path="res://material_maker/examples/skulls.ptex" type="Material" id=1] [ext_resource path="res://material_maker/examples/skulls.ptex" type="Material" id=1]
[ext_resource path="res://material_maker/preview/panoramas/studio_sky.tres" type="Environment" id=2]
[sub_resource type="CubeMesh" id=1] [sub_resource type="SphereMesh" id=1]
[sub_resource type="Animation" id=2]
resource_name = "rotate"
length = 10.0
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("CamPivot:rotation_degrees")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 10 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector3( 0, 0, 0 ), Vector3( 0, 360, 0 ) ]
}
[sub_resource type="SpatialMaterial" id=4]
flags_unshaded = true
flags_do_not_receive_shadows = true
[sub_resource type="SphereMesh" id=5]
material = SubResource( 4 )
radius = 0.1
height = 0.2
[sub_resource type="Animation" id=3]
resource_name = "rotate"
length = 5.0
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("LightPivot:rotation_degrees")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 5 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector3( 0, 0, 0 ), Vector3( 360, 0, 0 ) ]
}
[node name="Spatial" type="Spatial"] [node name="Spatial" type="Spatial"]
@ -10,10 +54,30 @@
mesh = SubResource( 1 ) mesh = SubResource( 1 )
material/0 = ExtResource( 1 ) material/0 = ExtResource( 1 )
[node name="Spatial" type="Spatial" parent="."] [node name="CamPivot" type="Spatial" parent="."]
transform = Transform( 0.982287, 0, 0.187381, 0, 1, 0, -0.187381, 0, 0.982287, 0, 0, 0 )
[node name="Camera" type="Camera" parent="Spatial"] [node name="Camera" type="Camera" parent="CamPivot"]
transform = Transform( 1, 0, 0, 0, 0.896973, 0.442085, 0, -0.442085, 0.896973, 0, 1.78914, 4.2882 ) transform = Transform( 0.999487, 0.0319038, 0.00268748, -0.0319038, 0.985399, 0.167245, 0.00268751, -0.167245, 0.985912, 0.28563, 0.826821, 2.79088 )
[node name="OmniLight" type="OmniLight" parent="."] [node name="CamRotate" type="AnimationPlayer" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 4.21974, 3.39093, 0 ) autoplay = "rotate"
anims/rotate = SubResource( 2 )
[node name="LightPivot" type="Spatial" parent="."]
transform = Transform( 1, 0, 0, 0, 0.929776, -0.368125, 0, 0.368125, 0.929776, 0, 0, 0 )
[node name="OmniLight" type="OmniLight" parent="LightPivot"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0746527, 1.74306, 0 )
[node name="MeshInstance" type="MeshInstance" parent="LightPivot/OmniLight"]
cast_shadow = 0
mesh = SubResource( 5 )
material/0 = null
[node name="LightRotate" type="AnimationPlayer" parent="."]
autoplay = "rotate"
anims/rotate = SubResource( 3 )
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = ExtResource( 2 )

View File

@ -12,3 +12,4 @@ dest_files=[ "res://.import/3d_shapes.ptex-fdbdf93744127700e5f17a837ca716e7.tres
[params] [params]
render=false render=false
scale=1.0

View File

@ -12,3 +12,4 @@ dest_files=[ "res://.import/beehive.ptex-51715262d81c1a144e9a7e141a45db7f.tres"
[params] [params]
render=false render=false
scale=1.0

View File

@ -12,3 +12,4 @@ dest_files=[ "res://.import/biohazard.ptex-7f147a6da8459c3f121e4ff97781005f.tres
[params] [params]
render=false render=false
scale=1.0

View File

@ -12,3 +12,4 @@ dest_files=[ "res://.import/brick_rotated.ptex-523d59c690c5371f32f259e6a1da3fd9.
[params] [params]
render=false render=false
scale=1.0

View File

@ -12,3 +12,4 @@ dest_files=[ "res://.import/bricks.ptex-8a4a409b5b41c018677a6156ef3f93e5.tres" ]
[params] [params]
render=false render=false
scale=1.0

View File

@ -12,3 +12,4 @@ dest_files=[ "res://.import/clump_of_grass.ptex-f0fa2e6dda8708b9aa2491696fc29cde
[params] [params]
render=false render=false
scale=1.0

View File

@ -12,3 +12,4 @@ dest_files=[ "res://.import/crocodile_skin.ptex-398dcbc43eaacec55b210f3f06b38a36
[params] [params]
render=false render=false
scale=1.0

View File

@ -12,3 +12,4 @@ dest_files=[ "res://.import/doc_tools.ptex-4ba87d8fd8f50f46518c89bbb13c85fd.tres
[params] [params]
render=false render=false
scale=1.0

View File

@ -12,3 +12,4 @@ dest_files=[ "res://.import/dry_earth.ptex-13acfd0cdc239e8962445ff516cb0a67.tres
[params] [params]
render=false render=false
scale=1.0

View File

@ -12,3 +12,4 @@ dest_files=[ "res://.import/emmental.ptex-c0863356db9414878f0cd8b90b863568.tres"
[params] [params]
render=false render=false
scale=1.0

View File

@ -12,3 +12,4 @@ dest_files=[ "res://.import/floor1.ptex-fb54baf7242d73ad5e0d97d70fc2ffe8.tres" ]
[params] [params]
render=false render=false
scale=1.0

View File

@ -12,3 +12,4 @@ dest_files=[ "res://.import/floor2.ptex-da3b9c107b59a68a0ac827a6690612c9.tres" ]
[params] [params]
render=false render=false
scale=1.0

View File

@ -12,3 +12,4 @@ dest_files=[ "res://.import/grass_with_flowers.ptex-c14125150522387de6157f5cba8b
[params] [params]
render=false render=false
scale=1.0

View File

@ -12,3 +12,4 @@ dest_files=[ "res://.import/halloween.ptex-bfac36287c4edfbe37d836f896e886e8.tres
[params] [params]
render=false render=false
scale=1.0

View File

@ -12,3 +12,4 @@ dest_files=[ "res://.import/improved_brick.ptex-79c07253474a6fefb8e704efc87ba6c5
[params] [params]
render=false render=false
scale=1.0

View File

@ -12,3 +12,4 @@ dest_files=[ "res://.import/lava.ptex-414f52da7b363c5ce34fb86dba1c326e.tres" ]
[params] [params]
render=false render=false
scale=1.0

View File

@ -12,3 +12,4 @@ dest_files=[ "res://.import/mandala.ptex-0963e6f90da0804792c0a2756af5f5dd.tres"
[params] [params]
render=false render=false
scale=1.0

View File

@ -12,3 +12,4 @@ dest_files=[ "res://.import/mandelbrot.ptex-ecf3c69e20a7f4e53370f6dbdf8d3840.tre
[params] [params]
render=false render=false
scale=1.0

View File

@ -12,3 +12,4 @@ dest_files=[ "res://.import/marble.ptex-0b7e8ced36657d462bfe938e53d1f73b.tres" ]
[params] [params]
render=false render=false
scale=1.0

View File

@ -12,3 +12,4 @@ dest_files=[ "res://.import/materials.ptex-53d72a7b67477f2082dc05ffe4d8bcb4.tres
[params] [params]
render=false render=false
scale=1.0

View File

@ -12,3 +12,4 @@ dest_files=[ "res://.import/medieval_wall.ptex-28369316aeb5d9dfca15a3cfe9753817.
[params] [params]
render=false render=false
scale=1.0

View File

@ -12,3 +12,4 @@ dest_files=[ "res://.import/metal_pattern.ptex-e025c128931ab21f0c2cdeab02c98d7e.
[params] [params]
render=false render=false
scale=1.0

View File

@ -12,3 +12,4 @@ dest_files=[ "res://.import/metal_pattern_2.ptex-13a437ede929314389a0e1af74aeaea
[params] [params]
render=false render=false
scale=1.0

View File

@ -12,3 +12,4 @@ dest_files=[ "res://.import/metal_pattern_3.ptex-63819f6ac26d3e33f84ee3007313bc4
[params] [params]
render=false render=false
scale=1.0

View File

@ -12,3 +12,4 @@ dest_files=[ "res://.import/mosaic.ptex-54dc20f1bcb9e75989bd7edbf0eefb3f.tres" ]
[params] [params]
render=false render=false
scale=1.0

View File

@ -12,3 +12,4 @@ dest_files=[ "res://.import/paper.ptex-9bf458e14ff2684526a7ca610ab6e0ce.tres" ]
[params] [params]
render=false render=false
scale=3.0

View File

@ -12,3 +12,4 @@ dest_files=[ "res://.import/pentagram.ptex-7721d9a35a97fa5e212e6e7db0ace1f0.tres
[params] [params]
render=false render=false
scale=1.0

View File

@ -12,3 +12,4 @@ dest_files=[ "res://.import/pile_of_bricks.ptex-e452e231879d20f4c0b968f5aeb5cce8
[params] [params]
render=false render=false
scale=1.0

View File

@ -12,3 +12,4 @@ dest_files=[ "res://.import/planet.ptex-6fec3bea6b82b2a8aad4cadc105ed701.tres" ]
[params] [params]
render=false render=false
scale=1.0

View File

@ -12,3 +12,4 @@ dest_files=[ "res://.import/radiation.ptex-5339c3a3e4abda484ef198d06cc51d03.tres
[params] [params]
render=false render=false
scale=1.0

View File

@ -12,3 +12,4 @@ dest_files=[ "res://.import/raymarching.ptex-2478648d0e15bf392f6c3b9155c8b1d6.tr
[params] [params]
render=false render=false
scale=1.0

View File

@ -12,3 +12,4 @@ dest_files=[ "res://.import/rock.ptex-790cf04ee0b49be08c43969cd33f57be.tres" ]
[params] [params]
render=false render=false
scale=1.0

View File

@ -12,3 +12,4 @@ dest_files=[ "res://.import/rusted_metal.ptex-67dbbbc635e49a12125db6eef7e9fe27.t
[params] [params]
render=false render=false
scale=1.0

View File

@ -1,6 +1,6 @@
[remap] [remap]
importer="" importer="material_maker.import"
type="SpatialMaterial" type="SpatialMaterial"
path="res://.import/skulls.ptex-a7a3a956ab3a92097a30ab2e5a72ebbb.tres" path="res://.import/skulls.ptex-a7a3a956ab3a92097a30ab2e5a72ebbb.tres"

View File

@ -12,3 +12,4 @@ dest_files=[ "res://.import/splatter.ptex-f748997def40cd9d42946f8f2d6fa745.tres"
[params] [params]
render=false render=false
scale=1.0

View File

@ -12,3 +12,4 @@ dest_files=[ "res://.import/stone_wall.ptex-05814a2113c8a1efcba6aa5a44180dd6.tre
[params] [params]
render=false render=false
scale=1.0

View File

@ -12,3 +12,4 @@ dest_files=[ "res://.import/tiles.ptex-bb40bd3764e59f94a21d6514626ca2f3.tres" ]
[params] [params]
render=false render=false
scale=1.0

View File

@ -12,3 +12,4 @@ dest_files=[ "res://.import/wood.ptex-9103d7621dd6a30936fcbd644ea5b97c.tres" ]
[params] [params]
render=false render=false
scale=1.0

View File

@ -12,3 +12,4 @@ dest_files=[ "res://.import/wood_with_blood.ptex-9f2bb1b75f00c94dc21c9e25c9a4c34
[params] [params]
render=false render=false
scale=1.0

View File

@ -12,3 +12,4 @@ dest_files=[ "res://.import/wooden_floor.ptex-6a889ddc1c5f6eeeffb8ed3c8a6c223f.t
[params] [params]
render=false render=false
scale=1.0

View File

@ -2,7 +2,6 @@
[sub_resource type="StreamTexture" id=1] [sub_resource type="StreamTexture" id=1]
flags = 4 flags = 4
load_path = "res://.import/icons.svg-d2e3029ae68e242c75d7182ab1a1b6f4.stex"
[resource] [resource]
flags = 4 flags = 4

View File

@ -2,7 +2,6 @@
[sub_resource type="StreamTexture" id=1] [sub_resource type="StreamTexture" id=1]
flags = 4 flags = 4
load_path = "res://.import/icons.svg-d2e3029ae68e242c75d7182ab1a1b6f4.stex"
[resource] [resource]
flags = 4 flags = 4

View File

@ -6,10 +6,9 @@
[ext_resource path="res://material_maker/preview/panoramas/epping_forest_01.hdr" type="Texture" id=4] [ext_resource path="res://material_maker/preview/panoramas/epping_forest_01.hdr" type="Texture" id=4]
[ext_resource path="res://material_maker/preview/panoramas/studio_sky.tres" type="Environment" id=5] [ext_resource path="res://material_maker/preview/panoramas/studio_sky.tres" type="Environment" id=5]
[sub_resource type="PanoramaSky" id=1] [sub_resource type="PanoramaSky" id=1]
resource_local_to_scene = true resource_local_to_scene = true
radiance_size = 4
panorama = ExtResource( 2 ) panorama = ExtResource( 2 )
[sub_resource type="Environment" id=2] [sub_resource type="Environment" id=2]
@ -34,6 +33,7 @@ tracks/0/keys = {
[sub_resource type="PanoramaSky" id=4] [sub_resource type="PanoramaSky" id=4]
resource_local_to_scene = true resource_local_to_scene = true
radiance_size = 4
panorama = ExtResource( 4 ) panorama = ExtResource( 4 )
[sub_resource type="Environment" id=5] [sub_resource type="Environment" id=5]
@ -78,13 +78,12 @@ anims/rotate = SubResource( 3 )
[node name="Environments" type="Spatial" parent="."] [node name="Environments" type="Spatial" parent="."]
[node name="Epping Forest" type="Spatial" parent="Environments"] [node name="Epping Forest" type="Spatial" parent="Environments"]
editor/display_folded = true
visible = false visible = false
script = ExtResource( 3 ) script = ExtResource( 3 )
environment = SubResource( 5 ) environment = SubResource( 5 )
[node name="DirectionalLight" type="DirectionalLight" parent="Environments/Epping Forest"] [node name="DirectionalLight" type="DirectionalLight" parent="Environments/Epping Forest"]
transform = Transform( 0.976272, -0.0494319, -0.21083, 0.216548, 0.222856, 0.950496, -8.69534e-009, -0.973597, 0.228272, -5.08826, 21.6274, 5.3744 ) transform = Transform( 0.976272, -0.0494319, -0.21083, 0.216548, 0.222856, 0.950496, -8.69534e-09, -0.973597, 0.228272, -5.08826, 21.6274, 5.3744 )
light_energy = 0.5 light_energy = 0.5
shadow_enabled = true shadow_enabled = true
@ -95,7 +94,6 @@ mesh = SubResource( 6 )
material/0 = SubResource( 7 ) material/0 = SubResource( 7 )
[node name="Moonless Golf" type="Spatial" parent="Environments"] [node name="Moonless Golf" type="Spatial" parent="Environments"]
editor/display_folded = true
visible = false visible = false
script = ExtResource( 3 ) script = ExtResource( 3 )
environment = SubResource( 2 ) environment = SubResource( 2 )

View File

@ -48,7 +48,7 @@ size = Vector2( 12, 12 )
albedo_texture = ExtResource( 1 ) albedo_texture = ExtResource( 1 )
uv1_scale = Vector3( 4, 4, 4 ) uv1_scale = Vector3( 4, 4, 4 )
[sub_resource type="ShaderMaterial" id=15] [sub_resource type="ShaderMaterial" id=14]
shader = ExtResource( 2 ) shader = ExtResource( 2 )
shader_param/albedo = Color( 1, 1, 1, 1 ) shader_param/albedo = Color( 1, 1, 1, 1 )
shader_param/specular = 0.5 shader_param/specular = 0.5
@ -107,4 +107,4 @@ material/0 = SubResource( 13 )
[node name="SphereTess" type="MeshInstance" parent="."] [node name="SphereTess" type="MeshInstance" parent="."]
visible = false visible = false
mesh = SubResource( 5 ) mesh = SubResource( 5 )
material/0 = SubResource( 15 ) material/0 = SubResource( 14 )