Adding a tree model

This commit is contained in:
yannk 2022-02-15 17:15:35 +01:00
parent 0f3eee24ef
commit b23f73088c
5 changed files with 958 additions and 14 deletions

View file

@ -35,7 +35,7 @@ data = PackedVector3Array(-0.5, 0.5, 0.5, 0.5, 0.5, 0.5, -0.5, -0.5, 0.5, 0.5, 0
[node name="basic_setup" type="Node3D"]
[node name="sunlight" type="DirectionalLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.00872654, 0.999962, 0, -0.999962, 0.00872654, -1.75049, 15.9707, 4.39927)
transform = Transform3D(1, 0, 0, 0, 0.634731, 0.772734, 0, -0.772734, 0.634731, -1.75049, 15.9707, 4.39927)
light_color = Color(0.988235, 0.960784, 1, 1)
light_energy = 0.75
shadow_enabled = true
@ -126,4 +126,4 @@ transform = Transform3D(-0.947718, 0, 0.319108, 0, 1, 0, -0.319108, 0, -0.947718
transform = Transform3D(-0.755122, 0, 0.655585, 0, 1, 0, -0.655585, 0, -0.755122, -16, 0, -2)
[node name="natural_ground" parent="." instance=ExtResource( "12_r7x73" )]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.05, 65)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 65, 0.05, -15)

856
maps/imports/tree_aa.gltf Normal file

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,28 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://xh0tssqbg7t6"
path="res://.godot/imported/tree_aa.gltf-d403f0d26fe6c00e4d8a8d064065dbb1.scn"
[deps]
source_file="res://maps/imports/tree_aa.gltf"
dest_files=["res://.godot/imported/tree_aa.gltf-d403f0d26fe6c00e4d8a8d064065dbb1.scn"]
[params]
nodes/root_type="Node3D"
nodes/root_name="Scene Root"
nodes/root_scale=1.0
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.1
skins/use_named_skins=true
animation/import=true
animation/fps=30
import_script/path=""
_subresources={}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,5 @@
[gd_scene load_steps=2 format=3 uid="uid://8aljdwbvgxr4"]
[ext_resource type="PackedScene" uid="uid://xh0tssqbg7t6" path="res://maps/imports/tree_aa.gltf" id="1_jcabl"]
[node name="tree_aa" instance=ExtResource( "1_jcabl" )]