diff options
| -rw-r--r-- | .import/combinator.dae-c2e42d69a734eec01b3e4caac3929cd7.scn | bin | 0 -> 9447 bytes | |||
| -rw-r--r-- | assets/combinator.blend | bin | 0 -> 435816 bytes | |||
| -rw-r--r-- | assets/combinator.blend1 | bin | 0 -> 435816 bytes | |||
| -rw-r--r-- | base.tscn | 38 | ||||
| -rw-r--r-- | combinator.tscn | 196 | ||||
| -rw-r--r-- | combinator_panel.tscn | 38 | ||||
| -rw-r--r-- | incubator.tscn | 41 | ||||
| -rw-r--r-- | mesh/combinator.dae | 272 | ||||
| -rw-r--r-- | mesh/combinator.dae.import | 1049 | ||||
| -rw-r--r-- | out/html/index.pck | bin | 297988 -> 288180 bytes | |||
| -rw-r--r-- | out/html/indexfs.js | 2 | ||||
| -rw-r--r-- | scripts/base.gd | 10 | ||||
| -rw-r--r-- | scripts/camera.gd | 13 | ||||
| -rw-r--r-- | scripts/combinator.gd | 36 | ||||
| -rw-r--r-- | scripts/incubator.gd | 7 | ||||
| -rw-r--r-- | scripts/world.gd | 2 | ||||
| -rw-r--r-- | world.tscn | 14 |
17 files changed, 1683 insertions, 35 deletions
diff --git a/.import/combinator.dae-c2e42d69a734eec01b3e4caac3929cd7.scn b/.import/combinator.dae-c2e42d69a734eec01b3e4caac3929cd7.scn Binary files differnew file mode 100644 index 0000000..6f92adf --- /dev/null +++ b/.import/combinator.dae-c2e42d69a734eec01b3e4caac3929cd7.scn diff --git a/assets/combinator.blend b/assets/combinator.blend Binary files differnew file mode 100644 index 0000000..79f3ec3 --- /dev/null +++ b/assets/combinator.blend diff --git a/assets/combinator.blend1 b/assets/combinator.blend1 Binary files differnew file mode 100644 index 0000000..c927124 --- /dev/null +++ b/assets/combinator.blend1 @@ -1,16 +1,18 @@ -[gd_scene load_steps=5 format=2] +[gd_scene load_steps=6 format=2] [ext_resource path="res://scripts/base.gd" type="Script" id=1] [ext_resource path="res://scripts/camera.gd" type="Script" id=2] [ext_resource path="res://world.tscn" type="PackedScene" id=3] [ext_resource path="res://incubator.tscn" type="PackedScene" id=4] +[ext_resource path="res://combinator.tscn" type="PackedScene" id=5] [node name="Game" type="Spatial"] script = ExtResource( 1 ) -[node name="Camera" type="Camera" parent="."] +[node name="Camera" type="InterpolatedCamera" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0103998, -4.76837e-07, 0.0374603 ) projection = 0 fov = 60.0 near = 0.1 @@ -21,6 +23,9 @@ cull_mask = 1048575 environment = null h_offset = 0.0 v_offset = 0.0 +target = NodePath("") +speed = 1.0 +enabled = true script = ExtResource( 2 ) [node name="OmniLight" type="OmniLight" parent="Camera"] @@ -49,19 +54,30 @@ transform = Transform( 0.05, 0, 0, 0, 0.05, 0, 0, 0, 0.05, 0, 0, -3.35552 ) [node name="World2" parent="." instance=ExtResource( 3 )] -transform = Transform( 0.05, 0, 0, 0, 0.05, 0, 0, 0, 0.05, -5.01353, 0, -3.35552 ) +transform = Transform( 0.05, 0, 0, 0, 0.05, 0, 0, 0, 0.05, -2.29277, 0, -3.35552 ) [node name="Incubator" parent="." instance=ExtResource( 4 )] -transform = Transform( -4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0, 0, -6 ) +transform = Transform( -4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0, 0, -5 ) -[node name="Panel" type="Panel" parent="."] +[node name="Combinator" parent="." instance=ExtResource( 5 )] -margin_left = 20.0 -margin_top = 490.0 -margin_right = 240.0 -margin_bottom = 580.0 -rect_clip_content = false -mouse_filter = 0 +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -5, 0, 0 ) + +[node name="overview" type="Camera" parent="."] + +transform = Transform( 1, 0, 0, 0, 0.771128, 0.63668, 0, -0.63668, 0.771128, 0, 4.08988, 3.34826 ) +projection = 0 +fov = 60.0 +near = 0.1 +far = 100.0 +keep_aspect = 1 +current = false +cull_mask = 1048575 +environment = null +h_offset = 0.0 +v_offset = 0.0 + +[node name="center" type="Position3D" parent="."] diff --git a/combinator.tscn b/combinator.tscn new file mode 100644 index 0000000..72d4c86 --- /dev/null +++ b/combinator.tscn @@ -0,0 +1,196 @@ +[gd_scene load_steps=8 format=2] + +[ext_resource path="res://mesh/combinator.dae" type="PackedScene" id=1] +[ext_resource path="res://scripts/combinator.gd" type="Script" id=2] +[ext_resource path="res://combinator_panel.tscn" type="PackedScene" id=3] + +[sub_resource type="ConvexPolygonShape" id=4] + +points = PoolVector3Array( 1, -1, -0.999512, 1, -1, 1, -1, -1, 0.999512, -0.999512, -1, -1, 1, 1, -0.999512, -0.999512, 1, -1, -1, 1, 0.999512, 0.999512, 1, 1, 1, -1, -0.999512, 1, 1, -0.999512, 0.999512, 1, 1, 1, -1, 1, 1, -1, 1, 0.999512, 1, 1, -1, 1, 0.999512, -1, -1, 0.999512, -1, -1, 0.999512, -1, 1, 0.999512, -0.999512, 1, -1, -0.999512, -1, -1, 1, 1, -0.999512, 1, -1, -0.999512, -0.999512, -1, -1, -0.999512, 1, -1 ) + +[sub_resource type="ConvexPolygonShape" id=5] + +points = PoolVector3Array( -1, -1, 1.46973, -1, 1, 1.46973, -1, 1, -1, -1, -1, -1, -1, -1, -1, -1, 1, -1, 1, 1, -1, 1, -1, -1, 1, -1, -1, 1, 1, -1, 1, 1, 1.46973, 1, -1, 1.46973, 1, -1, 1.46973, 1, 1, 1.46973, -1, 1, 1.46973, -1, -1, 1.46973, -1, -1, -1, 1, -1, -1, 1, -1, 1.46973, -1, -1, 1.46973, 1, 1, -1, -1, 1, -1, -1, 1, 1.46973, 1, 1, 1.46973 ) + +[sub_resource type="BoxShape" id=3] + +extents = Vector3( 1, 1, 1 ) + +[sub_resource type="SpatialMaterial" id=2] + +flags_transparent = false +flags_unshaded = true +flags_on_top = false +flags_use_point_size = false +flags_fixed_size = false +vertex_color_use_as_albedo = false +vertex_color_is_srgb = false +params_diffuse_mode = 0 +params_blend_mode = 0 +params_cull_mode = 0 +params_depth_draw_mode = 0 +params_line_width = 1.0 +params_point_size = 1.0 +params_billboard_mode = 0 +albedo_color = Color( 0.7, 0.7, 0.7, 1 ) +specular_mode = 0 +specular_color = Color( 0.1, 0.1, 0.1, 1 ) +specular_metalness = 0.1 +specular_roughness = 0.0 +emission_enabled = false +normal_enabled = false +rim_enabled = false +clearcoat_enabled = false +anisotropy_enabled = false +ao_enabled = false +height_enabled = false +subsurf_scatter_enabled = false +refraction_enabled = false +detail_enabled = false +uv1_scale = Vector2( 1, 1 ) +uv1_offset = Vector2( 0, 0 ) +uv2_scale = Vector2( 1, 1 ) +uv2_offset = Vector2( 0, 0 ) + +[node name="Combinator" instance=ExtResource( 1 )] + +script = ExtResource( 2 ) + +[node name="StaticBody" type="StaticBody" parent="Cube"] + +input_ray_pickable = true +input_capture_on_drag = false +shape_count = 1 +shapes/0/shape = SubResource( 4 ) +shapes/0/transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 ) +shapes/0/trigger = true +collision_layer = 1 +collision_mask = 1 +friction = 1.0 +bounce = 0.0 +constant_linear_velocity = Vector3( 0, 0, 0 ) +constant_angular_velocity = Vector3( 0, 0, 0 ) + +[node name="CollisionShape" type="CollisionShape" parent="Cube/StaticBody"] + +shape = SubResource( 4 ) +trigger = true +_update_shape_index = 0 + +[node name="StaticBody" type="StaticBody" parent="Cube.1"] + +input_ray_pickable = true +input_capture_on_drag = false +shape_count = 1 +shapes/0/shape = SubResource( 5 ) +shapes/0/transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 ) +shapes/0/trigger = true +collision_layer = 1 +collision_mask = 1 +friction = 1.0 +bounce = 0.0 +constant_linear_velocity = Vector3( 0, 0, 0 ) +constant_angular_velocity = Vector3( 0, 0, 0 ) + +[node name="CollisionShape" type="CollisionShape" parent="Cube.1/StaticBody"] + +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 ) +shape = SubResource( 5 ) +trigger = true +_update_shape_index = 0 + +[node name="Viewport" type="Viewport" parent="."] + +size = Vector2( 400, 400 ) +own_world = true +world = null +transparent_bg = false +msaa = 0 +hdr = false +disable_3d = false +render_target_v_flip = true +render_target_clear_on_new_frame = true +render_target_update_mode = 3 +audio_listener_enable_2d = false +audio_listener_enable_3d = false +physics_object_picking = false +gui_disable_input = false +shadow_atlas_size = 0 +shadow_atlas_quad_0 = 2 +shadow_atlas_quad_1 = 2 +shadow_atlas_quad_2 = 3 +shadow_atlas_quad_3 = 4 + +[node name="CombinatorPanel" parent="Viewport" instance=ExtResource( 3 )] + +[node name="Area" type="Area" parent="."] + +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.434383, 0.698751 ) +input_ray_pickable = true +input_capture_on_drag = false +shape_count = 1 +shapes/0/shape = SubResource( 3 ) +shapes/0/transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 ) +shapes/0/trigger = true +space_override = 0 +gravity_point = false +gravity_distance_scale = 0.0 +gravity_vec = Vector3( 0, -1, 0 ) +gravity = 9.8 +linear_damp = 0.1 +angular_damp = 1.0 +priority = 0.0 +monitoring = true +monitorable = true +collision_layers = 1 +collision_mask = 1 + +[node name="Quad" type="Quad" parent="Area"] + +transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0.955984, 0 ) +layers = 1 +material_override = SubResource( 2 ) +cast_shadow = 1 +extra_cull_margin = 0.0 +visible_in_all_rooms = false +use_in_baked_light = false +lod_min_distance = 0.0 +lod_min_hysteresis = 0.0 +lod_max_distance = 0.0 +lod_max_hysteresis = 0.0 +axis = 1 +size = Vector2( 2, 2 ) +offset = Vector2( 0, 0 ) +centered = true + +[node name="CollisionShape" type="CollisionShape" parent="Area"] + +shape = SubResource( 3 ) +trigger = true +_update_shape_index = 0 + +[node name="spawn" type="Position3D" parent="."] + +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.809103, 1.6303, -1.32872 ) + +[node name="point" type="Camera" parent="."] + +transform = Transform( -3.09086e-08, -0.707107, 0.707107, -1.28028e-08, 0.707107, 0.707107, -1, 1.28028e-08, -3.09086e-08, 2.2, 3, 0 ) +projection = 0 +fov = 60.0 +near = 0.1 +far = 100.0 +keep_aspect = 1 +current = false +cull_mask = 1048575 +environment = null +h_offset = 0.0 +v_offset = 0.0 + +[connection signal="input_event" from="Cube/StaticBody" to="." method="_on_body_input_event"] + +[connection signal="input_event" from="Cube.1/StaticBody" to="." method="_on_panel_input_event"] + +[connection signal="input_event" from="Area" to="." method="_on_Area_input_event"] + + diff --git a/combinator_panel.tscn b/combinator_panel.tscn new file mode 100644 index 0000000..b306f7b --- /dev/null +++ b/combinator_panel.tscn @@ -0,0 +1,38 @@ +[gd_scene format=2] + +[node name="CombinatorPanel" type="Panel"] + +margin_right = 400.0 +margin_bottom = 400.0 +rect_clip_content = false +mouse_filter = 0 + +[node name="Label" type="Label" parent="."] + +margin_left = 30.0 +margin_top = 40.0 +margin_right = 70.0 +margin_bottom = 54.0 +rect_clip_content = false +mouse_filter = 2 +size_flags_vertical = 0 +text = "Test?" +percent_visible = 1.0 +lines_skipped = 0 +max_lines_visible = -1 + +[node name="Button" type="Button" parent="."] + +margin_left = 120.0 +margin_top = 50.0 +margin_right = 262.0 +margin_bottom = 150.0 +rect_clip_content = false +mouse_filter = 0 +toggle_mode = false +enabled_focus_mode = 2 +shortcut = null +group = null +flat = false + + diff --git a/incubator.tscn b/incubator.tscn index c46ac38..4acd66f 100644 --- a/incubator.tscn +++ b/incubator.tscn @@ -3,17 +3,16 @@ [ext_resource path="res://mesh/incubator.dae" type="PackedScene" id=1] [ext_resource path="res://scripts/incubator.gd" type="Script" id=2] -[sub_resource type="ConvexPolygonShape" id=2] +[sub_resource type="ConvexPolygonShape" id=4] points = PoolVector3Array( 1, -1, 1, -0.999512, -1, -1, 1, -1, -0.999512, -0.999512, 1, -1, 0.999512, 1, 1, 1, 1, -0.999512, 1, 1, -0.999512, 1, -1, 1, 1, -1, -0.999512, 0.999512, 1, 1, -1, -1, 0.999512, 1, -1, 1, -1, -1, 0.999512, -0.999512, 1, -1, -0.999512, -1, -1, 1, -1, -0.999512, -0.999512, 1, -1, 1, 1, -0.999512, -1, -1, 0.999512, -1, 1, 0.999512, 0.999512, 1, 1, -1, 1, 0.999512, -1, 1, 0.999512, -0.999512, -1, -1 ) -[sub_resource type="ConvexPolygonShape" id=3] +[sub_resource type="ConvexPolygonShape" id=2] points = PoolVector3Array( -1, 1, 2.81836, -1, -1, -1, -1, -1, 2.81836, -1, 1, -1, 1, -1, -1, -1, -1, -1, 1, 1, -1, 1, -1, 2.81836, 1, -1, -1, 1, 1, 2.81836, -1, -1, 2.81836, 1, -1, 2.81836, 1, -1, -1, -1, -1, 2.81836, -1, -1, -1, -1, 1, -1, 1, 1, 2.81836, 1, 1, -1, -1, 1, -1, 1, 1, -1, 1, 1, 2.81836, -1, 1, 2.81836, 1, -1, 2.81836, -1, 1, 2.81836 ) -[sub_resource type="SpatialMaterial" id=1] +[sub_resource type="SpatialMaterial" id=3] -resource_name = "glass" flags_transparent = true flags_unshaded = false flags_on_top = false @@ -52,12 +51,16 @@ uv2_offset = Vector2( 0, 0 ) script = ExtResource( 2 ) +[node name="Cube" parent="."] + +editor/display_folded = true + [node name="StaticBody" type="StaticBody" parent="Cube"] input_ray_pickable = true input_capture_on_drag = false shape_count = 1 -shapes/0/shape = SubResource( 2 ) +shapes/0/shape = SubResource( 4 ) shapes/0/transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 ) shapes/0/trigger = true collision_layer = 1 @@ -69,16 +72,20 @@ constant_angular_velocity = Vector3( 0, 0, 0 ) [node name="CollisionShape" type="CollisionShape" parent="Cube/StaticBody"] -shape = SubResource( 2 ) +shape = SubResource( 4 ) trigger = true _update_shape_index = 0 +[node name="Cube.1" parent="."] + +editor/display_folded = true + [node name="StaticBody" type="StaticBody" parent="Cube.1"] input_ray_pickable = true input_capture_on_drag = false shape_count = 1 -shapes/0/shape = SubResource( 3 ) +shapes/0/shape = SubResource( 2 ) shapes/0/transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 ) shapes/0/trigger = true collision_layer = 1 @@ -90,18 +97,18 @@ constant_angular_velocity = Vector3( 0, 0, 0 ) [node name="CollisionShape" type="CollisionShape" parent="Cube.1/StaticBody"] -transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 ) -shape = SubResource( 3 ) +shape = SubResource( 2 ) trigger = true _update_shape_index = 0 [node name="cover" parent="."] -material_override = SubResource( 1 ) +material_override = SubResource( 3 ) material/0 = null [node name="spawns" type="Spatial" parent="."] +editor/display_folded = true transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.1, 0 ) [node name="0-1" type="Position3D" parent="spawns"] @@ -136,6 +143,20 @@ transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.732647, 1.64196, -0.150503 transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.732647, 1.64196, -0.97198 ) +[node name="point" type="Camera" parent="."] + +transform = Transform( -3.09086e-08, -0.707107, 0.707107, -1.28028e-08, 0.707107, 0.707107, -1, 1.28028e-08, -3.09086e-08, 2.2, 3, 0 ) +projection = 0 +fov = 60.0 +near = 0.1 +far = 100.0 +keep_aspect = 1 +current = false +cull_mask = 1048575 +environment = null +h_offset = 0.0 +v_offset = 0.0 + [connection signal="input_event" from="Cube/StaticBody" to="." method="_on_body_input_event"] [connection signal="input_event" from="Cube.1/StaticBody" to="." method="_on_panel_input_event"] diff --git a/mesh/combinator.dae b/mesh/combinator.dae new file mode 100644 index 0000000..2e73f02 --- /dev/null +++ b/mesh/combinator.dae @@ -0,0 +1,272 @@ +<?xml version="1.0" encoding="utf-8"?> +<COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.1"> +<asset> + <contributor> + <author>Anonymous</author> + <authoring_tool>Collada Exporter for Blender 2.6+, by Juan Linietsky (juan@codenix.com)</authoring_tool> + </contributor> + <created>2017-04-22T17:48:26Z</created> + <modified>2017-04-22T17:48:26Z</modified> + <unit meter="1.0" name="meter"/> + <up_axis>Z_UP</up_axis> +</asset> +<library_effects> + <effect id="id-fx-2" name="Material.001-fx"> + <profile_COMMON> + <technique sid="common"> + <blinn> + <emission> + <color> 0.0 0.0 0.0 1.0 </color> + </emission> + <ambient> + <color> 0.0 0.0 0.0 1.0 </color> + </ambient> + <diffuse> + <color> 0.6400000190734865 0.6400000190734865 0.6400000190734865 1.0 </color> + </diffuse> + <specular> + <color> 0.5 0.5 0.5 1.0 </color> + </specular> + <shininess> + <float>50</float> + </shininess> + <reflective> + <color> 1.0 1.0 1.0 1.0 </color> + </reflective> + <index_of_refraction> + <float>4.0</float> + </index_of_refraction> + </blinn> + <extra> + <technique profile="FCOLLADA"> + </technique> + <technique profile="GOOGLEEARTH"> + <double_sided>0</double_sided> + </technique> + </extra> + </technique> + </profile_COMMON> + </effect> +</library_effects> +<library_materials> + <material id="id-material-3" name="Material.001"> + <instance_effect url="#id-fx-2"/> + </material> +</library_materials> +<library_geometries> + <geometry id="id-mesh-4" name="Cube.001"> + <mesh> + <source id="id-mesh-4-positions"> + <float_array id="id-mesh-4-positions-array" count="72"> 1.0 0.9999999403953552 -1.0 1.0 -1.0 -1.0 -1.0000001192092896 -0.9999998211860657 -1.0 -0.9999996423721313 1.0000003576278687 -1.0 1.0000004768371582 0.999999463558197 1.0 -0.9999999403953552 1.0 1.0 -1.0000003576278687 -0.9999996423721313 1.0 0.9999993443489075 -1.0000005960464478 1.0 1.0 0.9999999403953552 -1.0 1.0000004768371582 0.999999463558197 1.0 0.9999993443489075 -1.0000005960464478 1.0 1.0 -1.0 -1.0 1.0 -1.0 -1.0 0.9999993443489075 -1.0000005960464478 1.0 -1.0000003576278687 -0.9999996423721313 1.0 -1.0000001192092896 -0.9999998211860657 -1.0 -1.0000001192092896 -0.9999998211860657 -1.0 -1.0000003576278687 -0.9999996423721313 1.0 -0.9999999403953552 1.0 1.0 -0.9999996423721313 1.0000003576278687 -1.0 1.0000004768371582 0.999999463558197 1.0 1.0 0.9999999403953552 -1.0 -0.9999996423721313 1.0000003576278687 -1.0 -0.9999999403953552 1.0 1.0</float_array> + <technique_common> + <accessor source="#id-mesh-4-positions-array" count="24" stride="3"> + <param name="X" type="float"/> + <param name="Y" type="float"/> + <param name="Z" type="float"/> + </accessor> + </technique_common> + </source> + <source id="id-mesh-4-normals"> + <float_array id="id-mesh-4-normals-array" count="72"> 0.0 0.0 -1.0 0.0 0.0 -1.0 0.0 0.0 -1.0 0.0 0.0 -1.0 2.9802322387695312e-08 0.0 1.0 2.9802322387695312e-08 0.0 1.0 2.9802322387695312e-08 0.0 1.0 2.9802322387695312e-08 0.0 1.0 1.0 -2.980232238769531e-07 4.470339831641468e-08 1.0 -2.980232238769531e-07 4.470339831641468e-08 1.0 -2.980232238769531e-07 4.470339831641468e-08 1.0 -2.980232238769531e-07 4.470339831641468e-08 -2.831220911048149e-07 -1.0 -1.7881397695873602e-07 -2.831220911048149e-07 -1.0 -1.7881397695873602e-07 -2.831220911048149e-07 -1.0 -1.7881397695873602e-07 -2.831220911048149e-07 -1.0 -1.7881397695873602e-07 -1.0 2.384185791015625e-07 -1.341104365337742e-07 -1.0 2.384185791015625e-07 -1.341104365337742e-07 -1.0 2.384185791015625e-07 -1.341104365337742e-07 -1.0 2.384185791015625e-07 -1.341104365337742e-07 2.384185791015625e-07 1.0 1.6391278734317893e-07 2.384185791015625e-07 1.0 1.6391278734317893e-07 2.384185791015625e-07 1.0 1.6391278734317893e-07 2.384185791015625e-07 1.0 1.6391278734317893e-07</float_array> + <technique_common> + <accessor source="#id-mesh-4-normals-array" count="24" stride="3"> + <param name="X" type="float"/> + <param name="Y" type="float"/> + <param name="Z" type="float"/> + </accessor> + </technique_common> + </source> + <vertices id="id-mesh-4-vertices"> + <input semantic="POSITION" source="#id-mesh-4-positions"/> + </vertices> + <polygons count="6" material="id-trimat-5"> + <input semantic="VERTEX" source="#id-mesh-4-vertices" offset="0"/> + <input semantic="NORMAL" source="#id-mesh-4-normals" offset="0"/> + <p> 0 1 2 3 </p> + <p> 4 5 6 7 </p> + <p> 8 9 10 11 </p> + <p> 12 13 14 15 </p> + <p> 16 17 18 19 </p> + <p> 20 21 22 23 </p> + </polygons> + </mesh> + </geometry> + <geometry id="id-mesh-6" name="Cube.000"> + <mesh> + <source id="id-mesh-6-positions"> + <float_array id="id-mesh-6-positions-array" count="72"> -1.0 -1.4705469608306885 -1.0 -1.0 -1.4705469608306885 1.0 -1.0 1.0 1.0 -1.0 1.0 -1.0 -1.0 1.0 -1.0 -1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 -1.0 1.0 1.0 -1.0 1.0 1.0 1.0 1.0 -1.4705469608306885 1.0 1.0 -1.4705469608306885 -1.0 1.0 -1.4705469608306885 -1.0 1.0 -1.4705469608306885 1.0 -1.0 -1.4705469608306885 1.0 -1.0 -1.4705469608306885 -1.0 -1.0 1.0 -1.0 1.0 1.0 -1.0 1.0 -1.4705469608306885 -1.0 -1.0 -1.4705469608306885 -1.0 1.0 1.0 1.0 -1.0 1.0 1.0 -1.0 -1.4705469608306885 1.0 1.0 -1.4705469608306885 1.0</float_array> + <technique_common> + <accessor source="#id-mesh-6-positions-array" count="24" stride="3"> + <param name="X" type="float"/> + <param name="Y" type="float"/> + <param name="Z" type="float"/> + </accessor> + </technique_common> + </source> + <source id="id-mesh-6-normals"> + <float_array id="id-mesh-6-normals-array" count="72"> -1.0 0.0 0.0 -1.0 0.0 0.0 -1.0 0.0 0.0 -1.0 0.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 0.0 -1.0 0.0 0.0 -1.0 0.0 0.0 -1.0 0.0 0.0 -1.0 0.0 0.0 0.0 -1.0 0.0 0.0 -1.0 0.0 0.0 -1.0 0.0 0.0 -1.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0</float_array> + <technique_common> + <accessor source="#id-mesh-6-normals-array" count="24" stride="3"> + <param name="X" type="float"/> + <param name="Y" type="float"/> + <param name="Z" type="float"/> + </accessor> + </technique_common> + </source> + <vertices id="id-mesh-6-vertices"> + <input semantic="POSITION" source="#id-mesh-6-positions"/> + </vertices> + <polygons count="6"> + <input semantic="VERTEX" source="#id-mesh-6-vertices" offset="0"/> + <input semantic="NORMAL" source="#id-mesh-6-normals" offset="0"/> + <p> 0 1 2 3 </p> + <p> 4 5 6 7 </p> + <p> 8 9 10 11 </p> + <p> 12 13 14 15 </p> + <p> 16 17 18 19 </p> + <p> 20 21 22 23 </p> + </polygons> + </mesh> + </geometry> + <geometry id="id-mesh-7" name="Cube"> + <mesh> + <source id="id-mesh-7-positions"> + <float_array id="id-mesh-7-positions-array" count="156"> -1.3639461994171143 -0.8614062666893005 0.4651987552642822 -1.3639461994171143 1.2585525512695312 0.4651987552642822 -1.3639461994171143 1.2585525512695312 0.5333811044692993 -1.3639461994171143 -0.8614062666893005 0.5333811044692993 -1.3639461994171143 1.2585525512695312 0.4651987552642822 0.8921138644218445 1.2585525512695312 0.4651987552642822 0.8921138644218445 1.2585525512695312 0.5333811044692993 -1.3639461994171143 1.2585525512695312 0.5333811044692993 0.8921138644218445 1.2585525512695312 0.4651987552642822 0.8921138644218445 -0.8614062666893005 0.4651987552642822 0.8921138644218445 -0.8614062666893005 0.5333811044692993 0.8921138644218445 1.2585525512695312 0.5333811044692993 0.8921138644218445 -0.8614062666893005 0.4651987552642822 -1.3639461994171143 -0.8614062666893005 0.4651987552642822 -1.3639461994171143 -0.8614062666893005 0.5333811044692993 0.8921138644218445 -0.8614062666893005 0.5333811044692993 -1.3639461994171143 1.2585525512695312 0.4651987552642822 -1.3639461994171143 -0.8614062666893005 0.4651987552642822 0.8921138644218445 -0.8614062666893005 0.4651987552642822 0.8921138644218445 1.2585525512695312 0.4651987552642822 -1.5090508460998535 -1.0 -0.407797634601593 -1.5090508460998535 -1.0 0.5333811044692993 -1.5090508460998535 1.4003177881240845 0.5333811044692993 -1.5090508460998535 1.4003177881240845 -0.407797634601593 -1.5090508460998535 1.4003177881240845 -0.407797634601593 -1.5090508460998535 1.4003177881240845 0.5333811044692993 1.0 1.4003177881240845 0.5333811044692993 1.0 1.4003177881240845 -0.407797634601593 1.0 1.4003177881240845 -0.407797634601593 1.0 1.4003177881240845 0.5333811044692993 1.0 -1.0 0.5333811044692993 1.0 -1.0 -0.407797634601593 1.0 -1.0 -0.407797634601593 1.0 -1.0 0.5333811044692993 -1.5090508460998535 -1.0 0.5333811044692993 -1.5090508460998535 -1.0 -0.407797634601593 -1.5090508460998535 1.4003177881240845 -0.407797634601593 1.0 1.4003177881240845 -0.407797634601593 1.0 -1.0 -0.407797634601593 -1.5090508460998535 -1.0 -0.407797634601593 1.0 1.4003177881240845 0.5333811044692993 0.8921138644218445 1.2585525512695312 0.5333811044692993 0.8921138644218445 -0.8614062666893005 0.5333811044692993 -1.3639461994171143 -0.8614062666893005 0.5333811044692993 -1.5090508460998535 -1.0 0.5333811044692993 1.0 -1.0 0.5333811044692993 -1.5090508460998535 -1.0 0.5333811044692993 -1.3639461994171143 -0.8614062666893005 0.5333811044692993 -1.3639461994171143 1.2585525512695312 0.5333811044692993 0.8921138644218445 1.2585525512695312 0.5333811044692993 1.0 1.4003177881240845 0.5333811044692993 -1.5090508460998535 1.4003177881240845 0.5333811044692993</float_array> + <technique_common> + <accessor source="#id-mesh-7-positions-array" count="52" stride="3"> + <param name="X" type="float"/> + <param name="Y" type="float"/> + <param name="Z" type="float"/> + </accessor> + </technique_common> + </source> + <source id="id-mesh-7-normals"> + <float_array id="id-mesh-7-normals-array" count="156"> 1.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 0.0 -1.0 0.0 0.0 -1.0 0.0 0.0 -1.0 0.0 0.0 -1.0 0.0 -1.0 0.0 0.0 -1.0 0.0 0.0 -1.0 0.0 0.0 -1.0 0.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0 -1.0 0.0 0.0 -1.0 0.0 0.0 -1.0 0.0 0.0 -1.0 0.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 0.0 -1.0 0.0 0.0 -1.0 0.0 0.0 -1.0 0.0 0.0 -1.0 0.0 0.0 0.0 -1.0 0.0 0.0 -1.0 0.0 0.0 -1.0 0.0 0.0 -1.0 2.855400396128971e-07 0.0 1.0 2.855400396128971e-07 0.0 1.0 2.855400396128971e-07 0.0 1.0 2.855400396128971e-07 0.0 1.0 2.855400396128971e-07 0.0 1.0 2.855400396128971e-07 0.0 1.0 -1.3430116041490692e-07 0.0 0.9999999403953552 -1.3430116041490692e-07 0.0 0.9999999403953552 -1.3430116041490692e-07 0.0 0.9999999403953552 -1.3430116041490692e-07 0.0 0.9999999403953552 -1.3430116041490692e-07 0.0 0.9999999403953552 -1.3430116041490692e-07 0.0 0.9999999403953552</float_array> + <technique_common> + <accessor source="#id-mesh-7-normals-array" count="52" stride="3"> + <param name="X" type="float"/> + <param name="Y" type="float"/> + <param name="Z" type="float"/> + </accessor> + </technique_common> + </source> + <vertices id="id-mesh-7-vertices"> + <input semantic="POSITION" source="#id-mesh-7-positions"/> + </vertices> + <polygons count="12"> + <input semantic="VERTEX" source="#id-mesh-7-vertices" offset="0"/> + <input semantic="NORMAL" source="#id-mesh-7-normals" offset="0"/> + <p> 0 1 2 3 </p> + <p> 4 5 6 7 </p> + <p> 8 9 10 11 </p> + <p> 12 13 14 15 </p> + <p> 16 17 18 19 </p> + <p> 20 21 22 23 </p> + <p> 24 25 26 27 </p> + <p> 28 29 30 31 </p> + <p> 32 33 34 35 </p> + <p> 36 37 38 39 </p> + <p> 40 41 42 43 44 45 </p> + <p> 46 47 48 49 50 51 </p> + </polygons> + </mesh> + </geometry> + <geometry id="id-mesh-8" name="Cylinder.001"> + <mesh> + <source id="id-mesh-8-positions"> + <float_array id="id-mesh-8-positions-array" count="576"> 0.0 1.0 -1.0 0.0 1.0 1.0 0.19509032368659973 0.9807852506637573 1.0 0.19509032368659973 0.9807852506637573 -1.0 0.19509032368659973 0.9807852506637573 -1.0 0.19509032368659973 0.9807852506637573 1.0 0.3826834559440613 0.9238795042037964 1.0 0.3826834559440613 0.9238795042037964 -1.0 0.3826834559440613 0.9238795042037964 -1.0 0.3826834559440613 0.9238795042037964 1.0 0.5555702447891235 0.8314695954322815 1.0 0.5555702447891235 0.8314695954322815 -1.0 0.5555702447891235 0.8314695954322815 -1.0 0.5555702447891235 0.8314695954322815 1.0 0.7071067690849304 0.7071067690849304 1.0 0.7071067690849304 0.7071067690849304 -1.0 0.7071067690849304 0.7071067690849304 -1.0 0.7071067690849304 0.7071067690849304 1.0 0.8314696550369263 0.5555701851844788 1.0 0.8314696550369263 0.5555701851844788 -1.0 0.8314696550369263 0.5555701851844788 -1.0 0.8314696550369263 0.5555701851844788 1.0 0.9238795042037964 0.3826834261417389 1.0 0.9238795042037964 0.3826834261417389 -1.0 0.9238795042037964 0.3826834261417389 -1.0 0.9238795042037964 0.3826834261417389 1.0 0.9807852506637573 0.19509035348892212 1.0 0.9807852506637573 0.19509035348892212 -1.0 0.9807852506637573 0.19509035348892212 -1.0 0.9807852506637573 0.19509035348892212 1.0 1.0 7.549790126404332e-08 1.0 1.0 7.549790126404332e-08 -1.0 1.0 7.549790126404332e-08 -1.0 1.0 7.549790126404332e-08 1.0 0.9807853102684021 -0.19509020447731018 1.0 0.9807853102684021 -0.19509020447731018 -1.0 0.9807853102684021 -0.19509020447731018 -1.0 0.9807853102684021 -0.19509020447731018 1.0 0.9238795638084412 -0.38268327713012695 1.0 0.9238795638084412 -0.38268327713012695 -1.0 0.9238795638084412 -0.38268327713012695 -1.0 0.9238795638084412 -0.38268327713012695 1.0 0.8314696550369263 -0.5555701851844788 1.0 0.8314696550369263 -0.5555701851844788 -1.0 0.8314696550369263 -0.5555701851844788 -1.0 0.8314696550369263 -0.5555701851844788 1.0 0.7071067690849304 -0.7071067690849304 1.0 0.7071067690849304 -0.7071067690849304 -1.0 0.7071067690849304 -0.7071067690849304 -1.0 0.7071067690849304 -0.7071067690849304 1.0 0.5555701851844788 -0.8314696550369263 1.0 0.5555701851844788 -0.8314696550369263 -1.0 0.5555701851844788 -0.8314696550369263 -1.0 0.5555701851844788 -0.8314696550369263 1.0 0.38268327713012695 -0.9238796234130859 1.0 0.38268327713012695 -0.9238796234130859 -1.0 0.38268327713012695 -0.9238796234130859 -1.0 0.38268327713012695 -0.9238796234130859 1.0 0.19509008526802063 -0.9807853102684021 1.0 0.19509008526802063 -0.9807853102684021 -1.0 0.19509008526802063 -0.9807853102684021 -1.0 0.19509008526802063 -0.9807853102684021 1.0 -3.2584136988589307e-07 -1.0 1.0 -3.2584136988589307e-07 -1.0 -1.0 -3.2584136988589307e-07 -1.0 -1.0 -3.2584136988589307e-07 -1.0 1.0 -0.19509072601795197 -0.9807851910591125 1.0 -0.19509072601795197 -0.9807851910591125 -1.0 -0.19509072601795197 -0.9807851910591125 -1.0 -0.19509072601795197 -0.9807851910591125 1.0 -0.3826838731765747 -0.9238793253898621 1.0 -0.3826838731765747 -0.9238793253898621 -1.0 -0.3826838731765747 -0.9238793253898621 -1.0 -0.3826838731765747 -0.9238793253898621 1.0 -0.5555707216262817 -0.8314692974090576 1.0 -0.5555707216262817 -0.8314692974090576 -1.0 -0.5555707216262817 -0.8314692974090576 -1.0 -0.5555707216262817 -0.8314692974090576 1.0 -0.7071072459220886 -0.707106351852417 1.0 -0.7071072459220886 -0.707106351852417 -1.0 -0.7071072459220886 -0.707106351852417 -1.0 -0.7071072459220886 -0.707106351852417 1.0 -0.8314700126647949 -0.5555696487426758 1.0 -0.8314700126647949 -0.5555696487426758 -1.0 -0.8314700126647949 -0.5555696487426758 -1.0 -0.8314700126647949 -0.5555696487426758 1.0 -0.923879861831665 -0.3826826810836792 1.0 -0.923879861831665 -0.3826826810836792 -1.0 -0.923879861831665 -0.3826826810836792 -1.0 -0.923879861831665 -0.3826826810836792 1.0 -0.9807854294776917 -0.1950894594192505 1.0 -0.9807854294776917 -0.1950894594192505 -1.0 -0.9807854294776917 -0.1950894594192505 -1.0 -0.9807854294776917 -0.1950894594192505 1.0 -1.0 9.655991561885457e-07 1.0 -1.0 9.655991561885457e-07 -1.0 -1.0 9.655991561885457e-07 -1.0 -1.0 9.655991561885457e-07 1.0 -0.980785071849823 0.1950913518667221 1.0 -0.980785071849823 0.1950913518667221 -1.0 -0.980785071849823 0.1950913518667221 -1.0 -0.980785071849823 0.1950913518667221 1.0 -0.923879086971283 0.38268446922302246 1.0 -0.923879086971283 0.38268446922302246 -1.0 -0.923879086971283 0.38268446922302246 -1.0 -0.923879086971283 0.38268446922302246 1.0 -0.831468939781189 0.5555712580680847 1.0 -0.831468939781189 0.5555712580680847 -1.0 -0.831468939781189 0.5555712580680847 -1.0 -0.831468939781189 0.5555712580680847 1.0 -0.7071058750152588 0.707107663154602 1.0 -0.7071058750152588 0.707107663154602 -1.0 -0.7071058750152588 0.707107663154602 -1.0 -0.7071058750152588 0.707107663154602 1.0 -0.5555691123008728 0.8314703702926636 1.0 -0.5555691123008728 0.8314703702926636 -1.0 -0.5555691123008728 0.8314703702926636 -1.0 -0.5555691123008728 0.8314703702926636 1.0 -0.38268208503723145 0.9238801002502441 1.0 -0.38268208503723145 0.9238801002502441 -1.0 0.19509032368659973 0.9807852506637573 1.0 0.0 1.0 1.0 -0.19508881866931915 0.9807855486869812 1.0 -0.38268208503723145 0.9238801002502441 1.0 -0.5555691123008728 0.8314703702926636 1.0 -0.7071058750152588 0.707107663154602 1.0 -0.831468939781189 0.5555712580680847 1.0 -0.923879086971283 0.38268446922302246 1.0 -0.980785071849823 0.1950913518667221 1.0 -1.0 9.655991561885457e-07 1.0 -0.9807854294776917 -0.1950894594192505 1.0 -0.923879861831665 -0.3826826810836792 1.0 -0.8314700126647949 -0.5555696487426758 1.0 -0.7071072459220886 -0.707106351852417 1.0 -0.5555707216262817 -0.8314692974090576 1.0 -0.3826838731765747 -0.9238793253898621 1.0 -0.19509072601795197 -0.9807851910591125 1.0 -3.2584136988589307e-07 -1.0 1.0 0.19509008526802063 -0.9807853102684021 1.0 0.38268327713012695 -0.9238796234130859 1.0 0.5555701851844788 -0.8314696550369263 1.0 0.7071067690849304 -0.7071067690849304 1.0 0.8314696550369263 -0.5555701851844788 1.0 0.9238795638084412 -0.38268327713012695 1.0 0.9807853102684021 -0.19509020447731018 1.0 1.0 7.549790126404332e-08 1.0 0.9807852506637573 0.19509035348892212 1.0 0.9238795042037964 0.3826834261417389 1.0 0.8314696550369263 0.5555701851844788 1.0 0.7071067690849304 0.7071067690849304 1.0 0.5555702447891235 0.8314695954322815 1.0 0.3826834559440613 0.9238795042037964 1.0 -0.38268208503723145 0.9238801002502441 -1.0 -0.38268208503723145 0.9238801002502441 1.0 -0.19508881866931915 0.9807855486869812 1.0 -0.19508881866931915 0.9807855486869812 -1.0 -0.19508881866931915 0.9807855486869812 -1.0 -0.19508881866931915 0.9807855486869812 1.0 0.0 1.0 1.0 0.0 1.0 -1.0 0.0 1.0 -1.0 0.19509032368659973 0.9807852506637573 -1.0 0.3826834559440613 0.9238795042037964 -1.0 0.5555702447891235 0.8314695954322815 -1.0 0.7071067690849304 0.7071067690849304 -1.0 0.8314696550369263 0.5555701851844788 -1.0 0.9238795042037964 0.3826834261417389 -1.0 0.9807852506637573 0.19509035348892212 -1.0 1.0 7.549790126404332e-08 -1.0 0.9807853102684021 -0.19509020447731018 -1.0 0.9238795638084412 -0.38268327713012695 -1.0 0.8314696550369263 -0.5555701851844788 -1.0 0.7071067690849304 -0.7071067690849304 -1.0 0.5555701851844788 -0.8314696550369263 -1.0 0.38268327713012695 -0.9238796234130859 -1.0 0.19509008526802063 -0.9807853102684021 -1.0 -3.2584136988589307e-07 -1.0 -1.0 -0.19509072601795197 -0.9807851910591125 -1.0 -0.3826838731765747 -0.9238793253898621 -1.0 -0.5555707216262817 -0.8314692974090576 -1.0 -0.7071072459220886 -0.707106351852417 -1.0 -0.8314700126647949 -0.5555696487426758 -1.0 -0.923879861831665 -0.3826826810836792 -1.0 -0.9807854294776917 -0.1950894594192505 -1.0 -1.0 9.655991561885457e-07 -1.0 -0.980785071849823 0.1950913518667221 -1.0 -0.923879086971283 0.38268446922302246 -1.0 -0.831468939781189 0.5555712580680847 -1.0 -0.7071058750152588 0.707107663154602 -1.0 -0.5555691123008728 0.8314703702926636 -1.0 -0.38268208503723145 0.9238801002502441 -1.0 -0.19508881866931915 0.9807855486869812 -1.0</float_array> + <technique_common> + <accessor source="#id-mesh-8-positions-array" count="192" stride="3"> + <param name="X" type="float"/> + <param name="Y" type="float"/> + <param name="Z" type="float"/> + </accessor> + </technique_common> + </source> + <source id="id-mesh-8-normals"> + <float_array id="id-mesh-8-normals-array" count="576"> 0.09801729023456573 0.9951847195625305 0.0 0.09801729023456573 0.9951847195625305 0.0 0.09801729023456573 0.9951847195625305 0.0 0.09801729023456573 0.9951847195625305 0.0 0.2902846336364746 0.9569403529167175 0.0 0.2902846336364746 0.9569403529167175 0.0 0.2902846336364746 0.9569403529167175 0.0 0.2902846336364746 0.9569403529167175 0.0 0.47139671444892883 0.8819212913513184 0.0 0.47139671444892883 0.8819212913513184 0.0 0.47139671444892883 0.8819212913513184 0.0 0.47139671444892883 0.8819212913513184 0.0 0.6343933343887329 0.7730103731155396 0.0 0.6343933343887329 0.7730103731155396 0.0 0.6343933343887329 0.7730103731155396 0.0 0.6343933343887329 0.7730103731155396 0.0 0.7730104327201843 0.6343933939933777 0.0 0.7730104327201843 0.6343933939933777 0.0 0.7730104327201843 0.6343933939933777 0.0 0.7730104327201843 0.6343933939933777 0.0 0.8819213509559631 0.4713965356349945 0.0 0.8819213509559631 0.4713965356349945 0.0 0.8819213509559631 0.4713965356349945 0.0 0.8819213509559631 0.4713965356349945 0.0 0.9569402933120728 0.2902847230434418 0.0 0.9569402933120728 0.2902847230434418 0.0 0.9569402933120728 0.2902847230434418 0.0 0.9569402933120728 0.2902847230434418 0.0 0.9951847195625305 0.09801731258630753 0.0 0.9951847195625305 0.09801731258630753 0.0 0.9951847195625305 0.09801731258630753 0.0 0.9951847195625305 0.09801731258630753 0.0 0.9951847195625305 -0.09801700711250305 0.0 0.9951847195625305 -0.09801700711250305 0.0 0.9951847195625305 -0.09801700711250305 0.0 0.9951847195625305 -0.09801700711250305 0.0 0.9569402933120728 -0.2902847230434418 0.0 0.9569402933120728 -0.2902847230434418 0.0 0.9569402933120728 -0.2902847230434418 0.0 0.9569402933120728 -0.2902847230434418 0.0 0.8819214105606079 -0.47139644622802734 0.0 0.8819214105606079 -0.47139644622802734 0.0 0.8819214105606079 -0.47139644622802734 0.0 0.8819214105606079 -0.47139644622802734 0.0 0.7730104327201843 -0.6343933939933777 0.0 0.7730104327201843 -0.6343933939933777 0.0 0.7730104327201843 -0.6343933939933777 0.0 0.7730104327201843 -0.6343933939933777 0.0 0.6343933939933777 -0.7730104327201843 0.0 0.6343933939933777 -0.7730104327201843 0.0 0.6343933939933777 -0.7730104327201843 0.0 0.6343933939933777 -0.7730104327201843 0.0 0.47139668464660645 -0.8819212317466736 0.0 0.47139668464660645 -0.8819212317466736 0.0 0.47139668464660645 -0.8819212317466736 0.0 0.47139668464660645 -0.8819212317466736 0.0 0.29028427600860596 -0.9569404721260071 0.0 0.29028427600860596 -0.9569404721260071 0.0 0.29028427600860596 -0.9569404721260071 0.0 0.29028427600860596 -0.9569404721260071 0.0 0.09801694005727768 -0.9951847195625305 0.0 0.09801694005727768 -0.9951847195625305 0.0 0.09801694005727768 -0.9951847195625305 0.0 0.09801694005727768 -0.9951847195625305 0.0 -0.09801755100488663 -0.9951846599578857 0.0 -0.09801755100488663 -0.9951846599578857 0.0 -0.09801755100488663 -0.9951846599578857 0.0 -0.09801755100488663 -0.9951846599578857 0.0 -0.2902851700782776 -0.9569401741027832 0.0 -0.2902851700782776 -0.9569401741027832 0.0 -0.2902851700782776 -0.9569401741027832 0.0 -0.2902851700782776 -0.9569401741027832 0.0 -0.4713970720767975 -0.881921112537384 0.0 -0.4713970720767975 -0.881921112537384 0.0 -0.4713970720767975 -0.881921112537384 0.0 -0.4713970720767975 -0.881921112537384 0.0 -0.6343936920166016 -0.7730101346969604 0.0 -0.6343936920166016 -0.7730101346969604 0.0 -0.6343936920166016 -0.7730101346969604 0.0 -0.6343936920166016 -0.7730101346969604 0.0 -0.7730109691619873 -0.6343927383422852 0.0 -0.7730109691619873 -0.6343927383422852 0.0 -0.7730109691619873 -0.6343927383422852 0.0 -0.7730109691619873 -0.6343927383422852 0.0 -0.8819215297698975 -0.4713960587978363 0.0 -0.8819215297698975 -0.4713960587978363 0.0 -0.8819215297698975 -0.4713960587978363 0.0 -0.8819215297698975 -0.4713960587978363 0.0 -0.9569406509399414 -0.2902836799621582 0.0 -0.9569406509399414 -0.2902836799621582 0.0 -0.9569406509399414 -0.2902836799621582 0.0 -0.9569406509399414 -0.2902836799621582 0.0 -0.9951847791671753 -0.09801633656024933 0.0 -0.9951847791671753 -0.09801633656024933 0.0 -0.9951847791671753 -0.09801633656024933 0.0 -0.9951847791671753 -0.09801633656024933 0.0 -0.995184600353241 0.09801815450191498 0.0 -0.995184600353241 0.09801815450191498 0.0 -0.995184600353241 0.09801815450191498 0.0 -0.995184600353241 0.09801815450191498 0.0 -0.9569399952888489 0.29028576612472534 0.0 -0.9569399952888489 0.29028576612472534 0.0 -0.9569399952888489 0.29028576612472534 0.0 -0.9569399952888489 0.29028576612472534 0.0 -0.8819208145141602 0.47139766812324524 0.0 -0.8819208145141602 0.47139766812324524 0.0 -0.8819208145141602 0.47139766812324524 0.0 -0.8819208145141602 0.47139766812324524 0.0 -0.7730095982551575 0.6343943476676941 0.0 -0.7730095982551575 0.6343943476676941 0.0 -0.7730095982551575 0.6343943476676941 0.0 -0.7730095982551575 0.6343943476676941 0.0 -0.6343923807144165 0.7730112075805664 0.0 -0.6343923807144165 0.7730112075805664 0.0 -0.6343923807144165 0.7730112075805664 0.0 -0.6343923807144165 0.7730112075805664 0.0 -0.47139546275138855 0.8819218277931213 0.0 -0.47139546275138855 0.8819218277931213 0.0 -0.47139546275138855 0.8819218277931213 0.0 -0.47139546275138855 0.8819218277931213 0.0 -6.683323761080828e-08 0.0 1.0 -6.683323761080828e-08 0.0 1.0 -6.683323761080828e-08 0.0 1.0 -6.683323761080828e-08 0.0 1.0 -6.683323761080828e-08 0.0 1.0 -6.683323761080828e-08 0.0 1.0 -6.683323761080828e-08 0.0 1.0 -6.683323761080828e-08 0.0 1.0 -6.683323761080828e-08 0.0 1.0 -6.683323761080828e-08 0.0 1.0 -6.683323761080828e-08 0.0 1.0 -6.683323761080828e-08 0.0 1.0 -6.683323761080828e-08 0.0 1.0 -6.683323761080828e-08 0.0 1.0 -6.683323761080828e-08 0.0 1.0 -6.683323761080828e-08 0.0 1.0 -6.683323761080828e-08 0.0 1.0 -6.683323761080828e-08 0.0 1.0 -6.683323761080828e-08 0.0 1.0 -6.683323761080828e-08 0.0 1.0 -6.683323761080828e-08 0.0 1.0 -6.683323761080828e-08 0.0 1.0 -6.683323761080828e-08 0.0 1.0 -6.683323761080828e-08 0.0 1.0 -6.683323761080828e-08 0.0 1.0 -6.683323761080828e-08 0.0 1.0 -6.683323761080828e-08 0.0 1.0 -6.683323761080828e-08 0.0 1.0 -6.683323761080828e-08 0.0 1.0 -6.683323761080828e-08 0.0 1.0 -6.683323761080828e-08 0.0 1.0 -6.683323761080828e-08 0.0 1.0 -0.29028305411338806 0.9569408893585205 0.0 -0.29028305411338806 0.9569408893585205 0.0 -0.29028305411338806 0.9569408893585205 0.0 -0.29028305411338806 0.9569408893585205 0.0 -0.09801653027534485 0.9951847791671753 0.0 -0.09801653027534485 0.9951847791671753 0.0 -0.09801653027534485 0.9951847791671753 0.0 -0.09801653027534485 0.9951847791671753 0.0 5.7285621579694634e-08 0.0 -1.0 5.7285621579694634e-08 0.0 -1.0 5.7285621579694634e-08 0.0 -1.0 5.7285621579694634e-08 0.0 -1.0 5.7285621579694634e-08 0.0 -1.0 5.7285621579694634e-08 0.0 -1.0 5.7285621579694634e-08 0.0 -1.0 5.7285621579694634e-08 0.0 -1.0 5.7285621579694634e-08 0.0 -1.0 5.7285621579694634e-08 0.0 -1.0 5.7285621579694634e-08 0.0 -1.0 5.7285621579694634e-08 0.0 -1.0 5.7285621579694634e-08 0.0 -1.0 5.7285621579694634e-08 0.0 -1.0 5.7285621579694634e-08 0.0 -1.0 5.7285621579694634e-08 0.0 -1.0 5.7285621579694634e-08 0.0 -1.0 5.7285621579694634e-08 0.0 -1.0 5.7285621579694634e-08 0.0 -1.0 5.7285621579694634e-08 0.0 -1.0 5.7285621579694634e-08 0.0 -1.0 5.7285621579694634e-08 0.0 -1.0 5.7285621579694634e-08 0.0 -1.0 5.7285621579694634e-08 0.0 -1.0 5.7285621579694634e-08 0.0 -1.0 5.7285621579694634e-08 0.0 -1.0 5.7285621579694634e-08 0.0 -1.0 5.7285621579694634e-08 0.0 -1.0 5.7285621579694634e-08 0.0 -1.0 5.7285621579694634e-08 0.0 -1.0 5.7285621579694634e-08 0.0 -1.0 5.7285621579694634e-08 0.0 -1.0</float_array> + <technique_common> + <accessor source="#id-mesh-8-normals-array" count="192" stride="3"> + <param name="X" type="float"/> + <param name="Y" type="float"/> + <param name="Z" type="float"/> + </accessor> + </technique_common> + </source> + <vertices id="id-mesh-8-vertices"> + <input semantic="POSITION" source="#id-mesh-8-positions"/> + </vertices> + <polygons count="34"> + <input semantic="VERTEX" source="#id-mesh-8-vertices" offset="0"/> + <input semantic="NORMAL" source="#id-mesh-8-normals" offset="0"/> + <p> 0 1 2 3 </p> + <p> 4 5 6 7 </p> + <p> 8 9 10 11 </p> + <p> 12 13 14 15 </p> + <p> 16 17 18 19 </p> + <p> 20 21 22 23 </p> + <p> 24 25 26 27 </p> + <p> 28 29 30 31 </p> + <p> 32 33 34 35 </p> + <p> 36 37 38 39 </p> + <p> 40 41 42 43 </p> + <p> 44 45 46 47 </p> + <p> 48 49 50 51 </p> + <p> 52 53 54 55 </p> + <p> 56 57 58 59 </p> + <p> 60 61 62 63 </p> + <p> 64 65 66 67 </p> + <p> 68 69 70 71 </p> + <p> 72 73 74 75 </p> + <p> 76 77 78 79 </p> + <p> 80 81 82 83 </p> + <p> 84 85 86 87 </p> + <p> 88 89 90 91 </p> + <p> 92 93 94 95 </p> + <p> 96 97 98 99 </p> + <p> 100 101 102 103 </p> + <p> 104 105 106 107 </p> + <p> 108 109 110 111 </p> + <p> 112 113 114 115 </p> + <p> 116 117 118 119 </p> + <p> 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 </p> + <p> 152 153 154 155 </p> + <p> 156 157 158 159 </p> + <p> 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 </p> + </polygons> + </mesh> + </geometry> +</library_geometries> +<library_visual_scenes> + <visual_scene id="id-scene-1" name="scene"> + <node id="Cube" name="Cube" type="NODE"> + <matrix sid="transform"> 1.399999976158142 0.0 0.0 0.0 0.0 2.0 0.0 0.0 0.0 0.0 0.6000000238418579 0.6000000238418579 0.0 0.0 0.0 1.0 </matrix> + <instance_geometry url="#id-mesh-4"> + <bind_material> + <technique_common> + <instance_material symbol="id-trimat-5" target="#id-material-3"/> + </technique_common> + </bind_material> + </instance_geometry> + </node> + <node id="Cube.001" name="Cube.001" type="NODE"> + <matrix sid="transform"> 0.20000000298023224 0.0 0.0 1.0860042572021484 0.0 0.5 0.0 1.4221534729003906 0.0 0.0 0.20000000298023224 1.1518471240997314 0.0 0.0 0.0 1.0 </matrix> + <instance_geometry url="#id-mesh-6"> + </instance_geometry> + </node> + <node id="Cube.002" name="Cube.002" type="NODE"> + <matrix sid="transform"> 1.0 0.0 0.0 0.27793335914611816 0.0 1.0 0.0 -0.8406696319580078 0.0 0.0 1.0 0.8185544013977051 0.0 0.0 0.0 1.0 </matrix> + <instance_geometry url="#id-mesh-7"> + </instance_geometry> + </node> + <node id="Cylinder.001" name="Cylinder.001" type="NODE"> + <matrix sid="transform"> 0.30000001192092896 0.0 0.0 -0.8092041015625 0.0 0.30000001192092896 0.0 1.3361114263534546 0.0 0.0 0.10000000149011612 1.2000000476837158 0.0 0.0 0.0 1.0 </matrix> + <instance_geometry url="#id-mesh-8"> + </instance_geometry> + </node> + </visual_scene> +</library_visual_scenes> +<scene> + <instance_visual_scene url="#id-scene-1" /> +</scene> +</COLLADA> diff --git a/mesh/combinator.dae.import b/mesh/combinator.dae.import new file mode 100644 index 0000000..0dc05a8 --- /dev/null +++ b/mesh/combinator.dae.import @@ -0,0 +1,1049 @@ +[remap] + +importer="scene" +type="PackedScene" +path="res://.import/combinator.dae-c2e42d69a734eec01b3e4caac3929cd7.scn" + +[params] + +nodes/root_type="Spatial" +nodes/root_name="Scene Root" +nodes/custom_script="" +materials/location=0 +materials/storage=0 +geometry/compress=true +geometry/ensure_tangents=true +geometry/storage=0 +animation/import=true +animation/fps=15 +animation/filter_script="" +animation/optimizer/enabled=true +animation/optimizer/max_linear_error=0.05 +animation/optimizer/max_angular_error=0.01 +animation/optimizer/max_angle=22 +animation/optimizer/remove_unused_tracks=true +animation/clips/amount=0 +animation/clip_1/name="" +animation/clip_1/start_frame=0 +animation/clip_1/end_frame=0 +animation/clip_1/loops=false +animation/clip_2/name="" +animation/clip_2/start_frame=0 +animation/clip_2/end_frame=0 +animation/clip_2/loops=false +animation/clip_3/name="" +animation/clip_3/start_frame=0 +animation/clip_3/end_frame=0 +animation/clip_3/loops=false +animation/clip_4/name="" +animation/clip_4/start_frame=0 +animation/clip_4/end_frame=0 +animation/clip_4/loops=false +animation/clip_5/name="" +animation/clip_5/start_frame=0 +animation/clip_5/end_frame=0 +animation/clip_5/loops=false +animation/clip_6/name="" +animation/clip_6/start_frame=0 +animation/clip_6/end_frame=0 +animation/clip_6/loops=false +animation/clip_7/name="" +animation/clip_7/start_frame=0 +animation/clip_7/end_frame=0 +animation/clip_7/loops=false +animation/clip_8/name="" +animation/clip_8/start_frame=0 +animation/clip_8/end_frame=0 +animation/clip_8/loops=false +animation/clip_9/name="" +animation/clip_9/start_frame=0 +animation/clip_9/end_frame=0 +animation/clip_9/loops=false +animation/clip_10/name="" +animation/clip_10/start_frame=0 +animation/clip_10/end_frame=0 +animation/clip_10/loops=false +animation/clip_11/name="" +animation/clip_11/start_frame=0 +animation/clip_11/end_frame=0 +animation/clip_11/loops=false +animation/clip_12/name="" +animation/clip_12/start_frame=0 +animation/clip_12/end_frame=0 +animation/clip_12/loops=false +animation/clip_13/name="" +animation/clip_13/start_frame=0 +animation/clip_13/end_frame=0 +animation/clip_13/loops=false +animation/clip_14/name="" +animation/clip_14/start_frame=0 +animation/clip_14/end_frame=0 +animation/clip_14/loops=false +animation/clip_15/name="" +animation/clip_15/start_frame=0 +animation/clip_15/end_frame=0 +animation/clip_15/loops=false +animation/clip_16/name="" +animation/clip_16/start_frame=0 +animation/clip_16/end_frame=0 +animation/clip_16/loops=false +animation/clip_17/name="" +animation/clip_17/start_frame=0 +animation/clip_17/end_frame=0 +animation/clip_17/loops=false +animation/clip_18/name="" +animation/clip_18/start_frame=0 +animation/clip_18/end_frame=0 +animation/clip_18/loops=false +animation/clip_19/name="" +animation/clip_19/start_frame=0 +animation/clip_19/end_frame=0 +animation/clip_19/loops=false +animation/clip_20/name="" +animation/clip_20/start_frame=0 +animation/clip_20/end_frame=0 +animation/clip_20/loops=false +animation/clip_21/name="" +animation/clip_21/start_frame=0 +animation/clip_21/end_frame=0 +animation/clip_21/loops=false +animation/clip_22/name="" +animation/clip_22/start_frame=0 +animation/clip_22/end_frame=0 +animation/clip_22/loops=false +animation/clip_23/name="" +animation/clip_23/start_frame=0 +animation/clip_23/end_frame=0 +animation/clip_23/loops=false +animation/clip_24/name="" +animation/clip_24/start_frame=0 +animation/clip_24/end_frame=0 +animation/clip_24/loops=false +animation/clip_25/name="" +animation/clip_25/start_frame=0 +animation/clip_25/end_frame=0 +animation/clip_25/loops=false +animation/clip_26/name="" +animation/clip_26/start_frame=0 +animation/clip_26/end_frame=0 +animation/clip_26/loops=false +animation/clip_27/name="" +animation/clip_27/start_frame=0 +animation/clip_27/end_frame=0 +animation/clip_27/loops=false +animation/clip_28/name="" +animation/clip_28/start_frame=0 +animation/clip_28/end_frame=0 +animation/clip_28/loops=false +animation/clip_29/name="" +animation/clip_29/start_frame=0 +animation/clip_29/end_frame=0 +animation/clip_29/loops=false +animation/clip_30/name="" +animation/clip_30/start_frame=0 +animation/clip_30/end_frame=0 +animation/clip_30/loops=false +animation/clip_31/name="" +animation/clip_31/start_frame=0 +animation/clip_31/end_frame=0 +animation/clip_31/loops=false +animation/clip_32/name="" +animation/clip_32/start_frame=0 +animation/clip_32/end_frame=0 +animation/clip_32/loops=false +animation/clip_33/name="" +animation/clip_33/start_frame=0 +animation/clip_33/end_frame=0 +animation/clip_33/loops=false +animation/clip_34/name="" +animation/clip_34/start_frame=0 +animation/clip_34/end_frame=0 +animation/clip_34/loops=false +animation/clip_35/name="" +animation/clip_35/start_frame=0 +animation/clip_35/end_frame=0 +animation/clip_35/loops=false +animation/clip_36/name="" +animation/clip_36/start_frame=0 +animation/clip_36/end_frame=0 +animation/clip_36/loops=false +animation/clip_37/name="" +animation/clip_37/start_frame=0 +animation/clip_37/end_frame=0 +animation/clip_37/loops=false +animation/clip_38/name="" +animation/clip_38/start_frame=0 +animation/clip_38/end_frame=0 +animation/clip_38/loops=false +animation/clip_39/name="" +animation/clip_39/start_frame=0 +animation/clip_39/end_frame=0 +animation/clip_39/loops=false +animation/clip_40/name="" +animation/clip_40/start_frame=0 +animation/clip_40/end_frame=0 +animation/clip_40/loops=false +animation/clip_41/name="" +animation/clip_41/start_frame=0 +animation/clip_41/end_frame=0 +animation/clip_41/loops=false +animation/clip_42/name="" +animation/clip_42/start_frame=0 +animation/clip_42/end_frame=0 +animation/clip_42/loops=false +animation/clip_43/name="" +animation/clip_43/start_frame=0 +animation/clip_43/end_frame=0 +animation/clip_43/loops=false +animation/clip_44/name="" +animation/clip_44/start_frame=0 +animation/clip_44/end_frame=0 +animation/clip_44/loops=false +animation/clip_45/name="" +animation/clip_45/start_frame=0 +animation/clip_45/end_frame=0 +animation/clip_45/loops=false +animation/clip_46/name="" +animation/clip_46/start_frame=0 +animation/clip_46/end_frame=0 +animation/clip_46/loops=false +animation/clip_47/name="" +animation/clip_47/start_frame=0 +animation/clip_47/end_frame=0 +animation/clip_47/loops=false +animation/clip_48/name="" +animation/clip_48/start_frame=0 +animation/clip_48/end_frame=0 +animation/clip_48/loops=false +animation/clip_49/name="" +animation/clip_49/start_frame=0 +animation/clip_49/end_frame=0 +animation/clip_49/loops=false +animation/clip_50/name="" +animation/clip_50/start_frame=0 +animation/clip_50/end_frame=0 +animation/clip_50/loops=false +animation/clip_51/name="" +animation/clip_51/start_frame=0 +animation/clip_51/end_frame=0 +animation/clip_51/loops=false +animation/clip_52/name="" +animation/clip_52/start_frame=0 +animation/clip_52/end_frame=0 +animation/clip_52/loops=false +animation/clip_53/name="" +animation/clip_53/start_frame=0 +animation/clip_53/end_frame=0 +animation/clip_53/loops=false +animation/clip_54/name="" +animation/clip_54/start_frame=0 +animation/clip_54/end_frame=0 +animation/clip_54/loops=false +animation/clip_55/name="" +animation/clip_55/start_frame=0 +animation/clip_55/end_frame=0 +animation/clip_55/loops=false +animation/clip_56/name="" +animation/clip_56/start_frame=0 +animation/clip_56/end_frame=0 +animation/clip_56/loops=false +animation/clip_57/name="" +animation/clip_57/start_frame=0 +animation/clip_57/end_frame=0 +animation/clip_57/loops=false +animation/clip_58/name="" +animation/clip_58/start_frame=0 +animation/clip_58/end_frame=0 +animation/clip_58/loops=false +animation/clip_59/name="" +animation/clip_59/start_frame=0 +animation/clip_59/end_frame=0 +animation/clip_59/loops=false +animation/clip_60/name="" +animation/clip_60/start_frame=0 +animation/clip_60/end_frame=0 +animation/clip_60/loops=false +animation/clip_61/name="" +animation/clip_61/start_frame=0 +animation/clip_61/end_frame=0 +animation/clip_61/loops=false +animation/clip_62/name="" +animation/clip_62/start_frame=0 +animation/clip_62/end_frame=0 +animation/clip_62/loops=false +animation/clip_63/name="" +animation/clip_63/start_frame=0 +animation/clip_63/end_frame=0 +animation/clip_63/loops=false +animation/clip_64/name="" +animation/clip_64/start_frame=0 +animation/clip_64/end_frame=0 +animation/clip_64/loops=false +animation/clip_65/name="" +animation/clip_65/start_frame=0 +animation/clip_65/end_frame=0 +animation/clip_65/loops=false +animation/clip_66/name="" +animation/clip_66/start_frame=0 +animation/clip_66/end_frame=0 +animation/clip_66/loops=false +animation/clip_67/name="" +animation/clip_67/start_frame=0 +animation/clip_67/end_frame=0 +animation/clip_67/loops=false +animation/clip_68/name="" +animation/clip_68/start_frame=0 +animation/clip_68/end_frame=0 +animation/clip_68/loops=false +animation/clip_69/name="" +animation/clip_69/start_frame=0 +animation/clip_69/end_frame=0 +animation/clip_69/loops=false +animation/clip_70/name="" +animation/clip_70/start_frame=0 +animation/clip_70/end_frame=0 +animation/clip_70/loops=false +animation/clip_71/name="" +animation/clip_71/start_frame=0 +animation/clip_71/end_frame=0 +animation/clip_71/loops=false +animation/clip_72/name="" +animation/clip_72/start_frame=0 +animation/clip_72/end_frame=0 +animation/clip_72/loops=false +animation/clip_73/name="" +animation/clip_73/start_frame=0 +animation/clip_73/end_frame=0 +animation/clip_73/loops=false +animation/clip_74/name="" +animation/clip_74/start_frame=0 +animation/clip_74/end_frame=0 +animation/clip_74/loops=false +animation/clip_75/name="" +animation/clip_75/start_frame=0 +animation/clip_75/end_frame=0 +animation/clip_75/loops=false +animation/clip_76/name="" +animation/clip_76/start_frame=0 +animation/clip_76/end_frame=0 +animation/clip_76/loops=false +animation/clip_77/name="" +animation/clip_77/start_frame=0 +animation/clip_77/end_frame=0 +animation/clip_77/loops=false +animation/clip_78/name="" +animation/clip_78/start_frame=0 +animation/clip_78/end_frame=0 +animation/clip_78/loops=false +animation/clip_79/name="" +animation/clip_79/start_frame=0 +animation/clip_79/end_frame=0 +animation/clip_79/loops=false +animation/clip_80/name="" +animation/clip_80/start_frame=0 +animation/clip_80/end_frame=0 +animation/clip_80/loops=false +animation/clip_81/name="" +animation/clip_81/start_frame=0 +animation/clip_81/end_frame=0 +animation/clip_81/loops=false +animation/clip_82/name="" +animation/clip_82/start_frame=0 +animation/clip_82/end_frame=0 +animation/clip_82/loops=false +animation/clip_83/name="" +animation/clip_83/start_frame=0 +animation/clip_83/end_frame=0 +animation/clip_83/loops=false +animation/clip_84/name="" +animation/clip_84/start_frame=0 +animation/clip_84/end_frame=0 +animation/clip_84/loops=false +animation/clip_85/name="" +animation/clip_85/start_frame=0 +animation/clip_85/end_frame=0 +animation/clip_85/loops=false +animation/clip_86/name="" +animation/clip_86/start_frame=0 +animation/clip_86/end_frame=0 +animation/clip_86/loops=false +animation/clip_87/name="" +animation/clip_87/start_frame=0 +animation/clip_87/end_frame=0 +animation/clip_87/loops=false +animation/clip_88/name="" +animation/clip_88/start_frame=0 +animation/clip_88/end_frame=0 +animation/clip_88/loops=false +animation/clip_89/name="" +animation/clip_89/start_frame=0 +animation/clip_89/end_frame=0 +animation/clip_89/loops=false +animation/clip_90/name="" +animation/clip_90/start_frame=0 +animation/clip_90/end_frame=0 +animation/clip_90/loops=false +animation/clip_91/name="" +animation/clip_91/start_frame=0 +animation/clip_91/end_frame=0 +animation/clip_91/loops=false +animation/clip_92/name="" +animation/clip_92/start_frame=0 +animation/clip_92/end_frame=0 +animation/clip_92/loops=false +animation/clip_93/name="" +animation/clip_93/start_frame=0 +animation/clip_93/end_frame=0 +animation/clip_93/loops=false +animation/clip_94/name="" +animation/clip_94/start_frame=0 +animation/clip_94/end_frame=0 +animation/clip_94/loops=false +animation/clip_95/name="" +animation/clip_95/start_frame=0 +animation/clip_95/end_frame=0 +animation/clip_95/loops=false +animation/clip_96/name="" +animation/clip_96/start_frame=0 +animation/clip_96/end_frame=0 +animation/clip_96/loops=false +animation/clip_97/name="" +animation/clip_97/start_frame=0 +animation/clip_97/end_frame=0 +animation/clip_97/loops=false +animation/clip_98/name="" +animation/clip_98/start_frame=0 +animation/clip_98/end_frame=0 +animation/clip_98/loops=false +animation/clip_99/name="" +animation/clip_99/start_frame=0 +animation/clip_99/end_frame=0 +animation/clip_99/loops=false +animation/clip_100/name="" +animation/clip_100/start_frame=0 +animation/clip_100/end_frame=0 +animation/clip_100/loops=false +animation/clip_101/name="" +animation/clip_101/start_frame=0 +animation/clip_101/end_frame=0 +animation/clip_101/loops=false +animation/clip_102/name="" +animation/clip_102/start_frame=0 +animation/clip_102/end_frame=0 +animation/clip_102/loops=false +animation/clip_103/name="" +animation/clip_103/start_frame=0 +animation/clip_103/end_frame=0 +animation/clip_103/loops=false +animation/clip_104/name="" +animation/clip_104/start_frame=0 +animation/clip_104/end_frame=0 +animation/clip_104/loops=false +animation/clip_105/name="" +animation/clip_105/start_frame=0 +animation/clip_105/end_frame=0 +animation/clip_105/loops=false +animation/clip_106/name="" +animation/clip_106/start_frame=0 +animation/clip_106/end_frame=0 +animation/clip_106/loops=false +animation/clip_107/name="" +animation/clip_107/start_frame=0 +animation/clip_107/end_frame=0 +animation/clip_107/loops=false +animation/clip_108/name="" +animation/clip_108/start_frame=0 +animation/clip_108/end_frame=0 +animation/clip_108/loops=false +animation/clip_109/name="" +animation/clip_109/start_frame=0 +animation/clip_109/end_frame=0 +animation/clip_109/loops=false +animation/clip_110/name="" +animation/clip_110/start_frame=0 +animation/clip_110/end_frame=0 +animation/clip_110/loops=false +animation/clip_111/name="" +animation/clip_111/start_frame=0 +animation/clip_111/end_frame=0 +animation/clip_111/loops=false +animation/clip_112/name="" +animation/clip_112/start_frame=0 +animation/clip_112/end_frame=0 +animation/clip_112/loops=false +animation/clip_113/name="" +animation/clip_113/start_frame=0 +animation/clip_113/end_frame=0 +animation/clip_113/loops=false +animation/clip_114/name="" +animation/clip_114/start_frame=0 +animation/clip_114/end_frame=0 +animation/clip_114/loops=false +animation/clip_115/name="" +animation/clip_115/start_frame=0 +animation/clip_115/end_frame=0 +animation/clip_115/loops=false +animation/clip_116/name="" +animation/clip_116/start_frame=0 +animation/clip_116/end_frame=0 +animation/clip_116/loops=false +animation/clip_117/name="" +animation/clip_117/start_frame=0 +animation/clip_117/end_frame=0 +animation/clip_117/loops=false +animation/clip_118/name="" +animation/clip_118/start_frame=0 +animation/clip_118/end_frame=0 +animation/clip_118/loops=false +animation/clip_119/name="" +animation/clip_119/start_frame=0 +animation/clip_119/end_frame=0 +animation/clip_119/loops=false +animation/clip_120/name="" +animation/clip_120/start_frame=0 +animation/clip_120/end_frame=0 +animation/clip_120/loops=false +animation/clip_121/name="" +animation/clip_121/start_frame=0 +animation/clip_121/end_frame=0 +animation/clip_121/loops=false +animation/clip_122/name="" +animation/clip_122/start_frame=0 +animation/clip_122/end_frame=0 +animation/clip_122/loops=false +animation/clip_123/name="" +animation/clip_123/start_frame=0 +animation/clip_123/end_frame=0 +animation/clip_123/loops=false +animation/clip_124/name="" +animation/clip_124/start_frame=0 +animation/clip_124/end_frame=0 +animation/clip_124/loops=false +animation/clip_125/name="" +animation/clip_125/start_frame=0 +animation/clip_125/end_frame=0 +animation/clip_125/loops=false +animation/clip_126/name="" +animation/clip_126/start_frame=0 +animation/clip_126/end_frame=0 +animation/clip_126/loops=false +animation/clip_127/name="" +animation/clip_127/start_frame=0 +animation/clip_127/end_frame=0 +animation/clip_127/loops=false +animation/clip_128/name="" +animation/clip_128/start_frame=0 +animation/clip_128/end_frame=0 +animation/clip_128/loops=false +animation/clip_129/name="" +animation/clip_129/start_frame=0 +animation/clip_129/end_frame=0 +animation/clip_129/loops=false +animation/clip_130/name="" +animation/clip_130/start_frame=0 +animation/clip_130/end_frame=0 +animation/clip_130/loops=false +animation/clip_131/name="" +animation/clip_131/start_frame=0 +animation/clip_131/end_frame=0 +animation/clip_131/loops=false +animation/clip_132/name="" +animation/clip_132/start_frame=0 +animation/clip_132/end_frame=0 +animation/clip_132/loops=false +animation/clip_133/name="" +animation/clip_133/start_frame=0 +animation/clip_133/end_frame=0 +animation/clip_133/loops=false +animation/clip_134/name="" +animation/clip_134/start_frame=0 +animation/clip_134/end_frame=0 +animation/clip_134/loops=false +animation/clip_135/name="" +animation/clip_135/start_frame=0 +animation/clip_135/end_frame=0 +animation/clip_135/loops=false +animation/clip_136/name="" +animation/clip_136/start_frame=0 +animation/clip_136/end_frame=0 +animation/clip_136/loops=false +animation/clip_137/name="" +animation/clip_137/start_frame=0 +animation/clip_137/end_frame=0 +animation/clip_137/loops=false +animation/clip_138/name="" +animation/clip_138/start_frame=0 +animation/clip_138/end_frame=0 +animation/clip_138/loops=false +animation/clip_139/name="" +animation/clip_139/start_frame=0 +animation/clip_139/end_frame=0 +animation/clip_139/loops=false +animation/clip_140/name="" +animation/clip_140/start_frame=0 +animation/clip_140/end_frame=0 +animation/clip_140/loops=false +animation/clip_141/name="" +animation/clip_141/start_frame=0 +animation/clip_141/end_frame=0 +animation/clip_141/loops=false +animation/clip_142/name="" +animation/clip_142/start_frame=0 +animation/clip_142/end_frame=0 +animation/clip_142/loops=false +animation/clip_143/name="" +animation/clip_143/start_frame=0 +animation/clip_143/end_frame=0 +animation/clip_143/loops=false +animation/clip_144/name="" +animation/clip_144/start_frame=0 +animation/clip_144/end_frame=0 +animation/clip_144/loops=false +animation/clip_145/name="" +animation/clip_145/start_frame=0 +animation/clip_145/end_frame=0 +animation/clip_145/loops=false +animation/clip_146/name="" +animation/clip_146/start_frame=0 +animation/clip_146/end_frame=0 +animation/clip_146/loops=false +animation/clip_147/name="" +animation/clip_147/start_frame=0 +animation/clip_147/end_frame=0 +animation/clip_147/loops=false +animation/clip_148/name="" +animation/clip_148/start_frame=0 +animation/clip_148/end_frame=0 +animation/clip_148/loops=false +animation/clip_149/name="" +animation/clip_149/start_frame=0 +animation/clip_149/end_frame=0 +animation/clip_149/loops=false +animation/clip_150/name="" +animation/clip_150/start_frame=0 +animation/clip_150/end_frame=0 +animation/clip_150/loops=false +animation/clip_151/name="" +animation/clip_151/start_frame=0 +animation/clip_151/end_frame=0 +animation/clip_151/loops=false +animation/clip_152/name="" +animation/clip_152/start_frame=0 +animation/clip_152/end_frame=0 +animation/clip_152/loops=false +animation/clip_153/name="" +animation/clip_153/start_frame=0 +animation/clip_153/end_frame=0 +animation/clip_153/loops=false +animation/clip_154/name="" +animation/clip_154/start_frame=0 +animation/clip_154/end_frame=0 +animation/clip_154/loops=false +animation/clip_155/name="" +animation/clip_155/start_frame=0 +animation/clip_155/end_frame=0 +animation/clip_155/loops=false +animation/clip_156/name="" +animation/clip_156/start_frame=0 +animation/clip_156/end_frame=0 +animation/clip_156/loops=false +animation/clip_157/name="" +animation/clip_157/start_frame=0 +animation/clip_157/end_frame=0 +animation/clip_157/loops=false +animation/clip_158/name="" +animation/clip_158/start_frame=0 +animation/clip_158/end_frame=0 +animation/clip_158/loops=false +animation/clip_159/name="" +animation/clip_159/start_frame=0 +animation/clip_159/end_frame=0 +animation/clip_159/loops=false +animation/clip_160/name="" +animation/clip_160/start_frame=0 +animation/clip_160/end_frame=0 +animation/clip_160/loops=false +animation/clip_161/name="" +animation/clip_161/start_frame=0 +animation/clip_161/end_frame=0 +animation/clip_161/loops=false +animation/clip_162/name="" +animation/clip_162/start_frame=0 +animation/clip_162/end_frame=0 +animation/clip_162/loops=false +animation/clip_163/name="" +animation/clip_163/start_frame=0 +animation/clip_163/end_frame=0 +animation/clip_163/loops=false +animation/clip_164/name="" +animation/clip_164/start_frame=0 +animation/clip_164/end_frame=0 +animation/clip_164/loops=false +animation/clip_165/name="" +animation/clip_165/start_frame=0 +animation/clip_165/end_frame=0 +animation/clip_165/loops=false +animation/clip_166/name="" +animation/clip_166/start_frame=0 +animation/clip_166/end_frame=0 +animation/clip_166/loops=false +animation/clip_167/name="" +animation/clip_167/start_frame=0 +animation/clip_167/end_frame=0 +animation/clip_167/loops=false +animation/clip_168/name="" +animation/clip_168/start_frame=0 +animation/clip_168/end_frame=0 +animation/clip_168/loops=false +animation/clip_169/name="" +animation/clip_169/start_frame=0 +animation/clip_169/end_frame=0 +animation/clip_169/loops=false +animation/clip_170/name="" +animation/clip_170/start_frame=0 +animation/clip_170/end_frame=0 +animation/clip_170/loops=false +animation/clip_171/name="" +animation/clip_171/start_frame=0 +animation/clip_171/end_frame=0 +animation/clip_171/loops=false +animation/clip_172/name="" +animation/clip_172/start_frame=0 +animation/clip_172/end_frame=0 +animation/clip_172/loops=false +animation/clip_173/name="" +animation/clip_173/start_frame=0 +animation/clip_173/end_frame=0 +animation/clip_173/loops=false +animation/clip_174/name="" +animation/clip_174/start_frame=0 +animation/clip_174/end_frame=0 +animation/clip_174/loops=false +animation/clip_175/name="" +animation/clip_175/start_frame=0 +animation/clip_175/end_frame=0 +animation/clip_175/loops=false +animation/clip_176/name="" +animation/clip_176/start_frame=0 +animation/clip_176/end_frame=0 +animation/clip_176/loops=false +animation/clip_177/name="" +animation/clip_177/start_frame=0 +animation/clip_177/end_frame=0 +animation/clip_177/loops=false +animation/clip_178/name="" +animation/clip_178/start_frame=0 +animation/clip_178/end_frame=0 +animation/clip_178/loops=false +animation/clip_179/name="" +animation/clip_179/start_frame=0 +animation/clip_179/end_frame=0 +animation/clip_179/loops=false +animation/clip_180/name="" +animation/clip_180/start_frame=0 +animation/clip_180/end_frame=0 +animation/clip_180/loops=false +animation/clip_181/name="" +animation/clip_181/start_frame=0 +animation/clip_181/end_frame=0 +animation/clip_181/loops=false +animation/clip_182/name="" +animation/clip_182/start_frame=0 +animation/clip_182/end_frame=0 +animation/clip_182/loops=false +animation/clip_183/name="" +animation/clip_183/start_frame=0 +animation/clip_183/end_frame=0 +animation/clip_183/loops=false +animation/clip_184/name="" +animation/clip_184/start_frame=0 +animation/clip_184/end_frame=0 +animation/clip_184/loops=false +animation/clip_185/name="" +animation/clip_185/start_frame=0 +animation/clip_185/end_frame=0 +animation/clip_185/loops=false +animation/clip_186/name="" +animation/clip_186/start_frame=0 +animation/clip_186/end_frame=0 +animation/clip_186/loops=false +animation/clip_187/name="" +animation/clip_187/start_frame=0 +animation/clip_187/end_frame=0 +animation/clip_187/loops=false +animation/clip_188/name="" +animation/clip_188/start_frame=0 +animation/clip_188/end_frame=0 +animation/clip_188/loops=false +animation/clip_189/name="" +animation/clip_189/start_frame=0 +animation/clip_189/end_frame=0 +animation/clip_189/loops=false +animation/clip_190/name="" +animation/clip_190/start_frame=0 +animation/clip_190/end_frame=0 +animation/clip_190/loops=false +animation/clip_191/name="" +animation/clip_191/start_frame=0 +animation/clip_191/end_frame=0 +animation/clip_191/loops=false +animation/clip_192/name="" +animation/clip_192/start_frame=0 +animation/clip_192/end_frame=0 +animation/clip_192/loops=false +animation/clip_193/name="" +animation/clip_193/start_frame=0 +animation/clip_193/end_frame=0 +animation/clip_193/loops=false +animation/clip_194/name="" +animation/clip_194/start_frame=0 +animation/clip_194/end_frame=0 +animation/clip_194/loops=false +animation/clip_195/name="" +animation/clip_195/start_frame=0 +animation/clip_195/end_frame=0 +animation/clip_195/loops=false +animation/clip_196/name="" +animation/clip_196/start_frame=0 +animation/clip_196/end_frame=0 +animation/clip_196/loops=false +animation/clip_197/name="" +animation/clip_197/start_frame=0 +animation/clip_197/end_frame=0 +animation/clip_197/loops=false +animation/clip_198/name="" +animation/clip_198/start_frame=0 +animation/clip_198/end_frame=0 +animation/clip_198/loops=false +animation/clip_199/name="" +animation/clip_199/start_frame=0 +animation/clip_199/end_frame=0 +animation/clip_199/loops=false +animation/clip_200/name="" +animation/clip_200/start_frame=0 +animation/clip_200/end_frame=0 +animation/clip_200/loops=false +animation/clip_201/name="" +animation/clip_201/start_frame=0 +animation/clip_201/end_frame=0 +animation/clip_201/loops=false +animation/clip_202/name="" +animation/clip_202/start_frame=0 +animation/clip_202/end_frame=0 +animation/clip_202/loops=false +animation/clip_203/name="" +animation/clip_203/start_frame=0 +animation/clip_203/end_frame=0 +animation/clip_203/loops=false +animation/clip_204/name="" +animation/clip_204/start_frame=0 +animation/clip_204/end_frame=0 +animation/clip_204/loops=false +animation/clip_205/name="" +animation/clip_205/start_frame=0 +animation/clip_205/end_frame=0 +animation/clip_205/loops=false +animation/clip_206/name="" +animation/clip_206/start_frame=0 +animation/clip_206/end_frame=0 +animation/clip_206/loops=false +animation/clip_207/name="" +animation/clip_207/start_frame=0 +animation/clip_207/end_frame=0 +animation/clip_207/loops=false +animation/clip_208/name="" +animation/clip_208/start_frame=0 +animation/clip_208/end_frame=0 +animation/clip_208/loops=false +animation/clip_209/name="" +animation/clip_209/start_frame=0 +animation/clip_209/end_frame=0 +animation/clip_209/loops=false +animation/clip_210/name="" +animation/clip_210/start_frame=0 +animation/clip_210/end_frame=0 +animation/clip_210/loops=false +animation/clip_211/name="" +animation/clip_211/start_frame=0 +animation/clip_211/end_frame=0 +animation/clip_211/loops=false +animation/clip_212/name="" +animation/clip_212/start_frame=0 +animation/clip_212/end_frame=0 +animation/clip_212/loops=false +animation/clip_213/name="" +animation/clip_213/start_frame=0 +animation/clip_213/end_frame=0 +animation/clip_213/loops=false +animation/clip_214/name="" +animation/clip_214/start_frame=0 +animation/clip_214/end_frame=0 +animation/clip_214/loops=false +animation/clip_215/name="" +animation/clip_215/start_frame=0 +animation/clip_215/end_frame=0 +animation/clip_215/loops=false +animation/clip_216/name="" +animation/clip_216/start_frame=0 +animation/clip_216/end_frame=0 +animation/clip_216/loops=false +animation/clip_217/name="" +animation/clip_217/start_frame=0 +animation/clip_217/end_frame=0 +animation/clip_217/loops=false +animation/clip_218/name="" +animation/clip_218/start_frame=0 +animation/clip_218/end_frame=0 +animation/clip_218/loops=false +animation/clip_219/name="" +animation/clip_219/start_frame=0 +animation/clip_219/end_frame=0 +animation/clip_219/loops=false +animation/clip_220/name="" +animation/clip_220/start_frame=0 +animation/clip_220/end_frame=0 +animation/clip_220/loops=false +animation/clip_221/name="" +animation/clip_221/start_frame=0 +animation/clip_221/end_frame=0 +animation/clip_221/loops=false +animation/clip_222/name="" +animation/clip_222/start_frame=0 +animation/clip_222/end_frame=0 +animation/clip_222/loops=false +animation/clip_223/name="" +animation/clip_223/start_frame=0 +animation/clip_223/end_frame=0 +animation/clip_223/loops=false +animation/clip_224/name="" +animation/clip_224/start_frame=0 +animation/clip_224/end_frame=0 +animation/clip_224/loops=false +animation/clip_225/name="" +animation/clip_225/start_frame=0 +animation/clip_225/end_frame=0 +animation/clip_225/loops=false +animation/clip_226/name="" +animation/clip_226/start_frame=0 +animation/clip_226/end_frame=0 +animation/clip_226/loops=false +animation/clip_227/name="" +animation/clip_227/start_frame=0 +animation/clip_227/end_frame=0 +animation/clip_227/loops=false +animation/clip_228/name="" +animation/clip_228/start_frame=0 +animation/clip_228/end_frame=0 +animation/clip_228/loops=false +animation/clip_229/name="" +animation/clip_229/start_frame=0 +animation/clip_229/end_frame=0 +animation/clip_229/loops=false +animation/clip_230/name="" +animation/clip_230/start_frame=0 +animation/clip_230/end_frame=0 +animation/clip_230/loops=false +animation/clip_231/name="" +animation/clip_231/start_frame=0 +animation/clip_231/end_frame=0 +animation/clip_231/loops=false +animation/clip_232/name="" +animation/clip_232/start_frame=0 +animation/clip_232/end_frame=0 +animation/clip_232/loops=false +animation/clip_233/name="" +animation/clip_233/start_frame=0 +animation/clip_233/end_frame=0 +animation/clip_233/loops=false +animation/clip_234/name="" +animation/clip_234/start_frame=0 +animation/clip_234/end_frame=0 +animation/clip_234/loops=false +animation/clip_235/name="" +animation/clip_235/start_frame=0 +animation/clip_235/end_frame=0 +animation/clip_235/loops=false +animation/clip_236/name="" +animation/clip_236/start_frame=0 +animation/clip_236/end_frame=0 +animation/clip_236/loops=false +animation/clip_237/name="" +animation/clip_237/start_frame=0 +animation/clip_237/end_frame=0 +animation/clip_237/loops=false +animation/clip_238/name="" +animation/clip_238/start_frame=0 +animation/clip_238/end_frame=0 +animation/clip_238/loops=false +animation/clip_239/name="" +animation/clip_239/start_frame=0 +animation/clip_239/end_frame=0 +animation/clip_239/loops=false +animation/clip_240/name="" +animation/clip_240/start_frame=0 +animation/clip_240/end_frame=0 +animation/clip_240/loops=false +animation/clip_241/name="" +animation/clip_241/start_frame=0 +animation/clip_241/end_frame=0 +animation/clip_241/loops=false +animation/clip_242/name="" +animation/clip_242/start_frame=0 +animation/clip_242/end_frame=0 +animation/clip_242/loops=false +animation/clip_243/name="" +animation/clip_243/start_frame=0 +animation/clip_243/end_frame=0 +animation/clip_243/loops=false +animation/clip_244/name="" +animation/clip_244/start_frame=0 +animation/clip_244/end_frame=0 +animation/clip_244/loops=false +animation/clip_245/name="" +animation/clip_245/start_frame=0 +animation/clip_245/end_frame=0 +animation/clip_245/loops=false +animation/clip_246/name="" +animation/clip_246/start_frame=0 +animation/clip_246/end_frame=0 +animation/clip_246/loops=false +animation/clip_247/name="" +animation/clip_247/start_frame=0 +animation/clip_247/end_frame=0 +animation/clip_247/loops=false +animation/clip_248/name="" +animation/clip_248/start_frame=0 +animation/clip_248/end_frame=0 +animation/clip_248/loops=false +animation/clip_249/name="" +animation/clip_249/start_frame=0 +animation/clip_249/end_frame=0 +animation/clip_249/loops=false +animation/clip_250/name="" +animation/clip_250/start_frame=0 +animation/clip_250/end_frame=0 +animation/clip_250/loops=false +animation/clip_251/name="" +animation/clip_251/start_frame=0 +animation/clip_251/end_frame=0 +animation/clip_251/loops=false +animation/clip_252/name="" +animation/clip_252/start_frame=0 +animation/clip_252/end_frame=0 +animation/clip_252/loops=false +animation/clip_253/name="" +animation/clip_253/start_frame=0 +animation/clip_253/end_frame=0 +animation/clip_253/loops=false +animation/clip_254/name="" +animation/clip_254/start_frame=0 +animation/clip_254/end_frame=0 +animation/clip_254/loops=false +animation/clip_255/name="" +animation/clip_255/start_frame=0 +animation/clip_255/end_frame=0 +animation/clip_255/loops=false +animation/clip_256/name="" +animation/clip_256/start_frame=0 +animation/clip_256/end_frame=0 +animation/clip_256/loops=false diff --git a/out/html/index.pck b/out/html/index.pck Binary files differindex 62c1658..c426cc7 100644 --- a/out/html/index.pck +++ b/out/html/index.pck diff --git a/out/html/indexfs.js b/out/html/indexfs.js index 47555e3..d79a4a1 100644 --- a/out/html/indexfs.js +++ b/out/html/indexfs.js @@ -8,7 +8,7 @@ if (!Module.expectedDataFileDownloads) { Module.expectedDataFileDownloads++; (function() { - const PACK_FILE_NAME = 'index.pck'; const PACK_FILE_SIZE = 297988; function fetchRemotePackage(packageName, callback, errback) { + const PACK_FILE_NAME = 'index.pck'; const PACK_FILE_SIZE = 288180; function fetchRemotePackage(packageName, callback, errback) { var xhr = new XMLHttpRequest(); xhr.open('GET', packageName, true); xhr.responseType = 'arraybuffer'; diff --git a/scripts/base.gd b/scripts/base.gd index fb3dae7..6b48222 100644 --- a/scripts/base.gd +++ b/scripts/base.gd @@ -4,8 +4,10 @@ var Game = preload("res://base.tscn") var Wrld = preload("res://world.tscn") var Incubator = preload("res://incubator.tscn") +var cam = null + func _ready(): - pass + self.cam = get_node("Camera") func _process(delta): pass @@ -13,9 +15,11 @@ func _process(delta): func _input(event): if event.type == InputEvent.MOUSE_BUTTON: if event.button_index == BUTTON_WHEEL_DOWN: - get_node("Camera").translate(Vector3(0,0,0.1)) + self.cam.translate(Vector3(0,0,0.1)) + self.cam.reselect() elif event.button_index == BUTTON_WHEEL_UP: - get_node("Camera").translate(Vector3(0,0,-0.1)) + self.cam.translate(Vector3(0,0,-0.1)) + self.cam.reselect() if event.type == InputEvent.MOUSE_MOTION and event.button_mask == BUTTON_MASK_MIDDLE: get_node("Camera").rot_around(event.relative_x/(30)) if event.type == InputEvent.KEY: diff --git a/scripts/camera.gd b/scripts/camera.gd index e29ad51..814a549 100644 --- a/scripts/camera.gd +++ b/scripts/camera.gd @@ -1,18 +1,21 @@ -extends Camera +extends InterpolatedCamera var selected = null func _ready(): - pass + set_target(get_parent().get_node("overview")) + self.selected = get_parent().get_node("center") -func select(what): +func select(what, new_target): + set_target(new_target) if self.selected != what: - set_translation(what.translation + Vector3(1,3,0)) - look_at(what.translation, Vector3(0,1,0)) + set_interpolation_enabled(true) + #set_translation(what.translation + Vector3(1,3,0)) self.selected = what func reselect(): if self.selected != null: + set_interpolation_enabled(false) look_at(self.selected.translation, Vector3(0,1,0)) func rot_around(amount): diff --git a/scripts/combinator.gd b/scripts/combinator.gd new file mode 100644 index 0000000..dc68b84 --- /dev/null +++ b/scripts/combinator.gd @@ -0,0 +1,36 @@ +extends Spatial + +var prev_pos = null + +func _ready(): + get_node("Area/Quad").get_material_override().set_texture(SpatialMaterial.DIFFUSE_LAMBERT, get_node("Viewport").get_texture()) + set_process_input(true) + +func _on_Area_input_event( camera, event, click_pos, click_normal, shape_idx ): + var pos = get_node("Area").get_global_transform().affine_inverse()*click_pos + # Convert to 2D + if pos.y <= 0.9 or pos.y >= 1.1: + return + pos.x = (pos.x + 1)*200 + pos.z = (-pos.z + 1)*200 + var pos2 = Vector2(pos.z, pos.x) + event.pos = pos2 + event.global_pos = pos2 + if self.prev_pos == null: + self.prev_pos = pos2 + if event.type == InputEvent.MOUSE_MOTION: + event.relative_pos = pos2 - self.prev_pos + self.prev_pos = pos2 + get_node("Viewport").input(event) + +func _on_body_input_event( camera, event, click_pos, click_normal, shape_idx ): + if event.type == InputEvent.MOUSE_BUTTON and event.button_index == BUTTON_LEFT: + print("body") + var cam = get_tree().get_root().get_camera() + cam.select(self, get_node("point")) + +func _on_panel_input_event( camera, event, click_pos, click_normal, shape_idx ): + if event.type == InputEvent.MOUSE_BUTTON and event.button_index == BUTTON_LEFT: + print("panel") + var cam = get_tree().get_root().get_camera() + cam.select(self, get_node("point"))
\ No newline at end of file diff --git a/scripts/incubator.gd b/scripts/incubator.gd index 11f8d5b..993f76a 100644 --- a/scripts/incubator.gd +++ b/scripts/incubator.gd @@ -15,12 +15,9 @@ func set_world(x, y, world): world.set_translation(pos.global_transform.origin) func push_world(world): - print("pushing") for x in range(4): for y in range(2): - print("h") if self.worlds[x][y] == null: - print("set") set_world(x, y, world) return @@ -31,8 +28,10 @@ func _on_body_input_event( camera, event, click_pos, click_normal, shape_idx ): if event.type == InputEvent.MOUSE_BUTTON and event.button_index == BUTTON_LEFT: print("body") var cam = get_tree().get_root().get_camera() - cam.select(self) + cam.select(self, get_node("point")) func _on_panel_input_event( camera, event, click_pos, click_normal, shape_idx ): if event.type == InputEvent.MOUSE_BUTTON and event.button_index == BUTTON_LEFT: print("panel") + var cam = get_tree().get_root().get_camera() + cam.select(self, get_node("point")) diff --git a/scripts/world.gd b/scripts/world.gd index 572a658..89df926 100644 --- a/scripts/world.gd +++ b/scripts/world.gd @@ -42,4 +42,4 @@ func _make_ball(size, center): func _on_click(): var cam = get_tree().get_root().get_camera() - cam.select(self)
\ No newline at end of file + cam.select(self, get_node("point"))
\ No newline at end of file @@ -26,4 +26,18 @@ omni_attenuation = 1.0 omni_shadow_mode = 1 omni_shadow_detail = 1 +[node name="point" type="Camera" parent="."] + +transform = Transform( -3.09086e-08, -0.707107, 0.707107, -1.28028e-08, 0.707107, 0.707107, -1, 1.28028e-08, -3.09086e-08, 2.2, 3, 0 ) +projection = 0 +fov = 60.0 +near = 0.1 +far = 100.0 +keep_aspect = 1 +current = false +cull_mask = 1048575 +environment = null +h_offset = 0.0 +v_offset = 0.0 + |
