Skip to content

Commit

Permalink
Add demo project
Browse files Browse the repository at this point in the history
  • Loading branch information
Warreign committed Aug 7, 2024
1 parent bd03260 commit 1022229
Show file tree
Hide file tree
Showing 12 changed files with 114 additions and 0 deletions.
2 changes: 2 additions & 0 deletions demo/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Normalize EOL for all files that Git considers text files.
* text=auto eol=lf
2 changes: 2 additions & 0 deletions demo/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Godot 4+ specific ignores
.godot/
11 changes: 11 additions & 0 deletions demo/addons/cesium-godot/cesium-godot.gdextension
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[configuration]
entry_symbol = "GDExtensionInit"
compatibility_minimum = 4.1

[icons]
Example = "icons/Example.svg"

[libraries]
linux.debug.x86_64 = "lib/Linux-x86_64/libcesium-godot-d.so"
macos.debug = "lib/Darwin-Universal/libcesium-godot-d.dylib"
windows.debug.x86_64 = "lib/Windows-AMD64/cesium-godot-d.dll"
1 change: 1 addition & 0 deletions demo/addons/cesium-godot/icons/Example.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 37 additions & 0 deletions demo/addons/cesium-godot/icons/Example.svg.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://dao814wlfjtla"
path="res://.godot/imported/Example.svg-48983e07ca2a1b509ce1a2772e742e21.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://addons/cesium-godot/icons/Example.svg"
dest_files=["res://.godot/imported/Example.svg-48983e07ca2a1b509ce1a2772e742e21.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions demo/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 37 additions & 0 deletions demo/icon.svg.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://cdw3fxelk41so"
path="res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://icon.svg"
dest_files=["res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false
7 changes: 7 additions & 0 deletions demo/main.tscn
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[gd_scene format=3 uid="uid://dkklw300gsxdi"]

[node name="Main" type="Node3D"]

[node name="Example" type="Example" parent="."]
offset_right = 40.0
offset_bottom = 40.0
16 changes: 16 additions & 0 deletions demo/project.godot
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
; Engine configuration file.
; It's best edited using the editor UI and not directly,
; since the parameters that go here are not all obvious.
;
; Format:
; [section] ; section goes between []
; param=value ; assign values to parameters

config_version=5

[application]

config/name="cesium-demo"
run/main_scene="res://main.tscn"
config/features=PackedStringArray("4.2", "Forward Plus")
config/icon="res://icon.svg"

0 comments on commit 1022229

Please sign in to comment.