initial commit
13
.gitignore
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# ---> Godot
|
||||||
|
# Godot-specific ignores
|
||||||
|
.import/
|
||||||
|
export.cfg
|
||||||
|
export_presets.cfg
|
||||||
|
|
||||||
|
# Imported translations (automatically generated from CSV files)
|
||||||
|
*.translation
|
||||||
|
|
||||||
|
# Mono-specific ignores
|
||||||
|
.mono/
|
||||||
|
data_*/
|
||||||
|
|
BIN
Assets/BG_sperical.hdr
Normal file
34
Assets/BG_sperical.hdr.import
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path="res://.import/BG_sperical.hdr-4f5f2c1012cdf5dee112551faf28b89f.stex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/BG_sperical.hdr"
|
||||||
|
dest_files=[ "res://.import/BG_sperical.hdr-4f5f2c1012cdf5dee112551faf28b89f.stex" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_mode=0
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
flags/repeat=0
|
||||||
|
flags/filter=true
|
||||||
|
flags/mipmaps=false
|
||||||
|
flags/anisotropic=false
|
||||||
|
flags/srgb=2
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/HDR_as_SRGB=false
|
||||||
|
process/invert_color=false
|
||||||
|
stream=false
|
||||||
|
size_limit=0
|
||||||
|
detect_3d=true
|
||||||
|
svg/scale=1.0
|
BIN
Assets/MASTER_basecolor.png
Normal file
After Width: | Height: | Size: 8.7 MiB |
34
Assets/MASTER_basecolor.png.import
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path="res://.import/MASTER_basecolor.png-72b0e2de30ea453c46b140318b4e82f3.stex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/MASTER_basecolor.png"
|
||||||
|
dest_files=[ "res://.import/MASTER_basecolor.png-72b0e2de30ea453c46b140318b4e82f3.stex" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_mode=0
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
flags/repeat=0
|
||||||
|
flags/filter=true
|
||||||
|
flags/mipmaps=false
|
||||||
|
flags/anisotropic=false
|
||||||
|
flags/srgb=2
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/HDR_as_SRGB=false
|
||||||
|
process/invert_color=false
|
||||||
|
stream=false
|
||||||
|
size_limit=0
|
||||||
|
detect_3d=true
|
||||||
|
svg/scale=1.0
|
BIN
Assets/NO USE REF ONLY fancydice_01UV_Map.png
Normal file
After Width: | Height: | Size: 19 KiB |
34
Assets/NO USE REF ONLY fancydice_01UV_Map.png.import
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path="res://.import/NO USE REF ONLY fancydice_01UV_Map.png-4760bef99c053415f05846b11fb69fae.stex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/NO USE REF ONLY fancydice_01UV_Map.png"
|
||||||
|
dest_files=[ "res://.import/NO USE REF ONLY fancydice_01UV_Map.png-4760bef99c053415f05846b11fb69fae.stex" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_mode=0
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
flags/repeat=0
|
||||||
|
flags/filter=true
|
||||||
|
flags/mipmaps=false
|
||||||
|
flags/anisotropic=false
|
||||||
|
flags/srgb=2
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/HDR_as_SRGB=false
|
||||||
|
process/invert_color=false
|
||||||
|
stream=false
|
||||||
|
size_limit=0
|
||||||
|
detect_3d=true
|
||||||
|
svg/scale=1.0
|
322
Assets/bar1.obj
Normal file
@ -0,0 +1,322 @@
|
|||||||
|
# WaveFront *.obj file (generated by Cinema 4D)
|
||||||
|
|
||||||
|
mtllib ./bar1.mtl
|
||||||
|
|
||||||
|
v -0.40000000596046 -0.5 9.89999961853027
|
||||||
|
v 0.40000000596046 -0.5 9.89999961853027
|
||||||
|
v 0.40000000596046 -0.5 -9.89999961853027
|
||||||
|
v -0.40000000596046 -0.5 -9.89999961853027
|
||||||
|
v -0.40000000596046 -0.48660254478455 9.94999980926514
|
||||||
|
v 0.40000000596046 -0.48660254478455 9.94999980926514
|
||||||
|
v 0.42500001192093 -0.48660254478455 9.9433012008667
|
||||||
|
v 0.44330126047134 -0.48660254478455 9.92500019073486
|
||||||
|
v 0.44999998807907 -0.48660254478455 9.89999961853027
|
||||||
|
v 0.44999998807907 -0.48660254478455 -9.89999961853027
|
||||||
|
v 0.44330126047134 -0.48660254478455 -9.92500019073486
|
||||||
|
v 0.42500001192093 -0.48660254478455 -9.9433012008667
|
||||||
|
v 0.40000000596046 -0.48660254478455 -9.94999980926514
|
||||||
|
v -0.40000000596046 -0.48660254478455 -9.94999980926514
|
||||||
|
v -0.42500001192093 -0.48660254478455 -9.9433012008667
|
||||||
|
v -0.44330126047134 -0.48660254478455 -9.92500019073486
|
||||||
|
v -0.44999998807907 -0.48660254478455 -9.89999961853027
|
||||||
|
v -0.44999998807907 -0.48660254478455 9.89999961853027
|
||||||
|
v -0.44330126047134 -0.48660254478455 9.92500019073486
|
||||||
|
v -0.42500001192093 -0.48660254478455 9.9433012008667
|
||||||
|
v -0.40000000596046 -0.44999998807907 9.98660278320312
|
||||||
|
v 0.40000000596046 -0.44999998807907 9.98660278320312
|
||||||
|
v 0.44330126047134 -0.44999998807907 9.97500038146973
|
||||||
|
v 0.47499999403954 -0.44999998807907 9.9433012008667
|
||||||
|
v 0.48660254478455 -0.44999998807907 9.89999961853027
|
||||||
|
v 0.48660254478455 -0.44999998807907 -9.89999961853027
|
||||||
|
v 0.47499999403954 -0.44999998807907 -9.9433012008667
|
||||||
|
v 0.44330126047134 -0.44999998807907 -9.97500038146973
|
||||||
|
v 0.40000000596046 -0.44999998807907 -9.98660278320312
|
||||||
|
v -0.40000000596046 -0.44999998807907 -9.98660278320312
|
||||||
|
v -0.44330126047134 -0.44999998807907 -9.97500038146973
|
||||||
|
v -0.47499999403954 -0.44999998807907 -9.9433012008667
|
||||||
|
v -0.48660254478455 -0.44999998807907 -9.89999961853027
|
||||||
|
v -0.48660254478455 -0.44999998807907 9.89999961853027
|
||||||
|
v -0.47499999403954 -0.44999998807907 9.9433012008667
|
||||||
|
v -0.44330126047134 -0.44999998807907 9.97500038146973
|
||||||
|
v -0.40000000596046 -0.40000000596046 10
|
||||||
|
v 0.40000000596046 -0.40000000596046 10
|
||||||
|
v 0.44999998807907 -0.40000000596046 9.98660278320312
|
||||||
|
v 0.48660254478455 -0.40000000596046 9.94999980926514
|
||||||
|
v 0.5 -0.40000000596046 9.89999961853027
|
||||||
|
v 0.5 -0.40000000596046 -9.89999961853027
|
||||||
|
v 0.48660254478455 -0.40000000596046 -9.94999980926514
|
||||||
|
v 0.44999998807907 -0.40000000596046 -9.98660278320312
|
||||||
|
v 0.40000000596046 -0.40000000596046 -10
|
||||||
|
v -0.40000000596046 -0.40000000596046 -10
|
||||||
|
v -0.44999998807907 -0.40000000596046 -9.98660278320312
|
||||||
|
v -0.48660254478455 -0.40000000596046 -9.94999980926514
|
||||||
|
v -0.5 -0.40000000596046 -9.89999961853027
|
||||||
|
v -0.5 -0.40000000596046 9.89999961853027
|
||||||
|
v -0.48660254478455 -0.40000000596046 9.94999980926514
|
||||||
|
v -0.44999998807907 -0.40000000596046 9.98660278320312
|
||||||
|
v -0.40000000596046 -0.14996279776096 10
|
||||||
|
v 0.40000000596046 -0.14996279776096 10
|
||||||
|
v 0.44999998807907 -0.14996279776096 9.98660278320312
|
||||||
|
v 0.48660254478455 -0.14996279776096 9.94999980926514
|
||||||
|
v 0.5 -0.14996279776096 9.89999961853027
|
||||||
|
v 0.5 -0.14996279776096 -9.89999961853027
|
||||||
|
v 0.48660254478455 -0.14996279776096 -9.94999980926514
|
||||||
|
v 0.44999998807907 -0.14996279776096 -9.98660278320312
|
||||||
|
v 0.40000000596046 -0.14996279776096 -10
|
||||||
|
v -0.40000000596046 -0.14996279776096 -10
|
||||||
|
v -0.44999998807907 -0.14996279776096 -9.98660278320312
|
||||||
|
v -0.48660254478455 -0.14996279776096 -9.94999980926514
|
||||||
|
v -0.5 -0.14996279776096 -9.89999961853027
|
||||||
|
v -0.5 -0.14996279776096 9.89999961853027
|
||||||
|
v -0.48660254478455 -0.14996279776096 9.94999980926514
|
||||||
|
v -0.44999998807907 -0.14996279776096 9.98660278320312
|
||||||
|
# 68 vertices
|
||||||
|
|
||||||
|
vn -0.1308376789093 -0.98273241519928 0.13083775341511
|
||||||
|
vn -0.06626969575882 -0.86462944746017 0.4980203807354
|
||||||
|
vn 0.0662697032094 -0.86462938785553 0.4980203807354
|
||||||
|
vn 0.13083769381046 -0.98273241519928 0.13083775341511
|
||||||
|
vn -0.11370025575161 -0.49759936332703 0.85992270708084
|
||||||
|
vn 0.11370024830103 -0.49759936332703 0.85992276668549
|
||||||
|
vn -0.12949667870998 -0.12949664890766 0.9830875992775
|
||||||
|
vn 0.12949666380882 -0.12949667870998 0.9830875992775
|
||||||
|
vn 0.13052397966385 0 0.99144512414932
|
||||||
|
vn -0.13052397966385 0 0.99144512414932
|
||||||
|
vn 0.24911372363567 -0.86704522371292 0.43147987127304
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0.43251672387123 -0.50171488523483 0.74914044141769
|
||||||
|
vn 0.49571368098259 -0.13067185878754 0.85859936475754
|
||||||
|
vn 0.5000005364418 0 0.86602509021759
|
||||||
|
vn 0.43148079514503 -0.86704450845718 0.24911467730999
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0.74914240837097 -0.50171381235123 0.4325145483017
|
||||||
|
vn 0.85860157012939 -0.13067242503166 0.49570968747139
|
||||||
|
vn 0.86602705717087 0 0.49999707937241
|
||||||
|
vn 0.49802330136299 -0.86462771892548 0.06627001613379
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0.85992312431335 -0.49759855866432 0.11370092630386
|
||||||
|
vn 0.98308718204498 -0.12949860095978 0.12949806451797
|
||||||
|
vn 0.99144494533539 0 0.13052567839622
|
||||||
|
vn 0.49802342057228 -0.86462765932083 -0.06627004593611
|
||||||
|
vn 0.1308376789093 -0.98273241519928 -0.13083775341511
|
||||||
|
vn 0.859923183918 -0.49759846925735 -0.11370094865561
|
||||||
|
vn 0.98308718204498 -0.12949858605862 -0.12949806451797
|
||||||
|
vn 0.99144494533539 0 -0.13052567839622
|
||||||
|
vn 0.43148058652878 -0.86704468727112 -0.24911442399025
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0.74914240837097 -0.50171411037445 -0.43251433968544
|
||||||
|
vn 0.85860157012939 -0.13067239522934 -0.49570968747139
|
||||||
|
vn 0.86602705717087 0 -0.49999707937241
|
||||||
|
vn 0.24911341071129 -0.86704552173614 -0.43147951364517
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0.4325165450573 -0.50171536207199 -0.74914026260376
|
||||||
|
vn 0.49571371078491 -0.13067182898521 -0.85859930515289
|
||||||
|
vn 0.5000005364418 0 -0.86602509021759
|
||||||
|
vn 0.06626969575882 -0.86462944746017 -0.49802035093307
|
||||||
|
vn 0 1 0
|
||||||
|
vn 0.11370026320219 -0.49759945273399 -0.85992270708084
|
||||||
|
vn 0.12949667870998 -0.12949664890766 -0.9830875992775
|
||||||
|
vn 0.13052397966385 0 -0.99144512414932
|
||||||
|
vn -0.0662697032094 -0.86462938785553 -0.4980203807354
|
||||||
|
vn -0.13083769381046 -0.98273241519928 -0.13083775341511
|
||||||
|
vn -0.11370024830103 -0.49759936332703 -0.85992276668549
|
||||||
|
vn -0.12949666380882 -0.12949667870998 -0.9830875992775
|
||||||
|
vn -0.13052397966385 0 -0.99144512414932
|
||||||
|
vn -0.24911372363567 -0.86704522371292 -0.43147987127304
|
||||||
|
vn 0 1 0
|
||||||
|
vn -0.43251672387123 -0.50171488523483 -0.74914044141769
|
||||||
|
vn -0.49571368098259 -0.13067185878754 -0.85859936475754
|
||||||
|
vn -0.5000005364418 0 -0.86602509021759
|
||||||
|
vn -0.43148079514503 -0.86704450845718 -0.24911467730999
|
||||||
|
vn 0 1 0
|
||||||
|
vn -0.74914240837097 -0.50171381235123 -0.4325145483017
|
||||||
|
vn -0.85860157012939 -0.13067242503166 -0.49570968747139
|
||||||
|
vn -0.86602705717087 0 -0.49999707937241
|
||||||
|
vn -0.49802330136299 -0.86462771892548 -0.06627001613379
|
||||||
|
vn 0 1 0
|
||||||
|
vn -0.85992312431335 -0.49759855866432 -0.11370092630386
|
||||||
|
vn -0.98308718204498 -0.12949860095978 -0.12949806451797
|
||||||
|
vn -0.99144494533539 0 -0.13052567839622
|
||||||
|
vn -0.49802342057228 -0.86462765932083 0.06627004593611
|
||||||
|
vn -0.859923183918 -0.49759846925735 0.11370094865561
|
||||||
|
vn -0.98308718204498 -0.12949858605862 0.12949806451797
|
||||||
|
vn -0.99144494533539 0 0.13052567839622
|
||||||
|
vn -0.43148058652878 -0.86704468727112 0.24911442399025
|
||||||
|
vn 0 1 0
|
||||||
|
vn -0.74914240837097 -0.50171411037445 0.43251433968544
|
||||||
|
vn -0.85860157012939 -0.13067239522934 0.49570968747139
|
||||||
|
vn -0.86602705717087 0 0.49999707937241
|
||||||
|
vn -0.24911341071129 -0.86704552173614 0.43147951364517
|
||||||
|
vn 0 1 0
|
||||||
|
vn -0.4325165450573 -0.50171536207199 0.74914026260376
|
||||||
|
vn -0.49571371078491 -0.13067182898521 0.85859930515289
|
||||||
|
vn -0.5000005364418 0 0.86602509021759
|
||||||
|
vn 0 1 0
|
||||||
|
# 80 normals
|
||||||
|
|
||||||
|
vt 0.00684572011232 0.95287239551544 0
|
||||||
|
vt 0.00445498665795 0.95287239551544 0
|
||||||
|
vt 0.00445498665795 0.99284613132477 0
|
||||||
|
vt 0.00684572011232 0.99284613132477 0
|
||||||
|
vt 0.00270484853536 0.95287239551544 0
|
||||||
|
vt 0.00270484853536 0.99284613132477 0
|
||||||
|
vt 0.01699098572135 0.89859080314636 0
|
||||||
|
vt 0.01453237421811 0.89859080314636 0
|
||||||
|
vt 0.01453237421811 0.93856453895569 0
|
||||||
|
vt 0.01699098572135 0.93856453895569 0
|
||||||
|
vt 0.00270484853536 0.93856453895569 0
|
||||||
|
vt 0.00270484853536 0.89859080314636 0
|
||||||
|
vt 0.00477528432384 0.99409526586533 0
|
||||||
|
vt 0.00325962016359 0.99500972032547 0
|
||||||
|
vt 0.01462583243847 0.94106292724609 0
|
||||||
|
vt 0.01707192324102 0.94072818756104 0
|
||||||
|
vt 0.00279830675572 0.94106292724609 0
|
||||||
|
vt 0.0056503531523 0.99500972032547 0
|
||||||
|
vt 0.00477528432384 0.99659365415573 0
|
||||||
|
vt 0.01488116569817 0.94289183616638 0
|
||||||
|
vt 0.01729304715991 0.9423121213913 0
|
||||||
|
vt 0.00305363978259 0.94289183616638 0
|
||||||
|
vt 0.00684572011232 0.99534446001053 0
|
||||||
|
vt 0.00684572011232 0.99717336893082 0
|
||||||
|
vt 0.97750604152679 0.0031613111496 0
|
||||||
|
vt 0.97506332397461 0.00282669067383 0
|
||||||
|
vt 0.97497963905334 0.00532495975494 0
|
||||||
|
vt 0.97743356227875 0.00532495975494 0
|
||||||
|
vt 0.96312665939331 0.00532495975494 0
|
||||||
|
vt 0.96321034431458 0.00282669067383 0
|
||||||
|
vt 0.95357608795166 0.99534446001053 0
|
||||||
|
vt 0.95357608795166 0.99284613132477 0
|
||||||
|
vt 0.95357608795166 0.99717336893082 0
|
||||||
|
vt 0.97497963905334 0.99467504024506 0
|
||||||
|
vt 0.97743356227875 0.99467504024506 0
|
||||||
|
vt 0.96312665939331 0.99467504024506 0
|
||||||
|
vt 0.95477145910263 0.99500972032547 0
|
||||||
|
vt 0.95564651489258 0.99659365415573 0
|
||||||
|
vt 0.97506332397461 0.99717336893082 0
|
||||||
|
vt 0.97750604152679 0.9968386888504 0
|
||||||
|
vt 0.96321034431458 0.99717336893082 0
|
||||||
|
vt 0.95564651489258 0.99409526586533 0
|
||||||
|
vt 0.95716220140457 0.99500972032547 0
|
||||||
|
vt 0.02270274423063 0.9423121213913 0
|
||||||
|
vt 0.02511462755501 0.94289183616638 0
|
||||||
|
vt 0.02536996081471 0.94106292724609 0
|
||||||
|
vt 0.02292387001216 0.94072818756104 0
|
||||||
|
vt 0.03719748556614 0.94106292724609 0
|
||||||
|
vt 0.03694215416908 0.94289183616638 0
|
||||||
|
vt 0.9559668302536 0.99284613132477 0
|
||||||
|
vt 0.9577169418335 0.99284613132477 0
|
||||||
|
vt 0.02546341903508 0.93856453895569 0
|
||||||
|
vt 0.02300480753183 0.93856453895569 0
|
||||||
|
vt 0.03729094564915 0.93856453895569 0
|
||||||
|
vt 0.9559668302536 0.95287239551544 0
|
||||||
|
vt 0.95357608795166 0.95287239551544 0
|
||||||
|
vt 0.9577169418335 0.95287239551544 0
|
||||||
|
vt 0.02546341903508 0.89859080314636 0
|
||||||
|
vt 0.02300480753183 0.89859080314636 0
|
||||||
|
vt 0.03729094564915 0.89859080314636 0
|
||||||
|
vt 0.95564651489258 0.95162320137024 0
|
||||||
|
vt 0.95716220140457 0.9507087469101 0
|
||||||
|
vt 0.02536996081471 0.8960924744606 0
|
||||||
|
vt 0.02292387001216 0.89642715454102 0
|
||||||
|
vt 0.03719748556614 0.8960924744606 0
|
||||||
|
vt 0.95477145910263 0.9507087469101 0
|
||||||
|
vt 0.95564651489258 0.94912481307983 0
|
||||||
|
vt 0.02511462755501 0.89426356554031 0
|
||||||
|
vt 0.02270274423063 0.8948432803154 0
|
||||||
|
vt 0.03694215416908 0.89426356554031 0
|
||||||
|
vt 0.95357608795166 0.95037400722504 0
|
||||||
|
vt 0.95357608795166 0.94854509830475 0
|
||||||
|
vt 0.98291575908661 0.9968386888504 0
|
||||||
|
vt 0.98535847663879 0.99717336893082 0
|
||||||
|
vt 0.98544216156006 0.99467504024506 0
|
||||||
|
vt 0.98298823833466 0.99467504024506 0
|
||||||
|
vt 0.99729514122009 0.99467504024506 0
|
||||||
|
vt 0.99721145629883 0.99717336893082 0
|
||||||
|
vt 0.00684572011232 0.95037400722504 0
|
||||||
|
vt 0.00684572011232 0.94854509830475 0
|
||||||
|
vt 0.98544216156006 0.00532495975494 0
|
||||||
|
vt 0.98298823833466 0.00532495975494 0
|
||||||
|
vt 0.99729514122009 0.00532495975494 0
|
||||||
|
vt 0.0056503531523 0.9507087469101 0
|
||||||
|
vt 0.00477528432384 0.94912481307983 0
|
||||||
|
vt 0.98535847663879 0.00282669067383 0
|
||||||
|
vt 0.98291575908661 0.0031613111496 0
|
||||||
|
vt 0.99721145629883 0.00282669067383 0
|
||||||
|
vt 0.00477528432384 0.95162320137024 0
|
||||||
|
vt 0.00325962016359 0.9507087469101 0
|
||||||
|
vt 0.01729304715991 0.8948432803154 0
|
||||||
|
vt 0.01488116569817 0.89426356554031 0
|
||||||
|
vt 0.01462583243847 0.8960924744606 0
|
||||||
|
vt 0.01707192324102 0.89642715454102 0
|
||||||
|
vt 0.00279830675572 0.8960924744606 0
|
||||||
|
vt 0.00305363978259 0.89426356554031 0
|
||||||
|
# 96 texture coordinates
|
||||||
|
|
||||||
|
o Cube.2
|
||||||
|
usemtl Stylized_Ground_Rock_10
|
||||||
|
f 2/4/4 6/3/3 5/2/2 1/1/1
|
||||||
|
f 6/3/3 22/6/6 21/5/5 5/2/2
|
||||||
|
f 22/10/6 38/9/8 37/8/7 21/7/5
|
||||||
|
f 53/12/10 37/8/7 38/9/8 54/11/9
|
||||||
|
f 7/13/11 6/3/3 2/4/4
|
||||||
|
f 7/13/11 23/14/13 22/6/6 6/3/3
|
||||||
|
f 23/16/13 39/15/14 38/9/8 22/10/6
|
||||||
|
f 54/11/9 38/9/8 39/15/14 55/17/15
|
||||||
|
f 8/18/16 7/13/11 2/4/4
|
||||||
|
f 8/18/16 24/19/18 23/14/13 7/13/11
|
||||||
|
f 24/21/18 40/20/19 39/15/14 23/16/13
|
||||||
|
f 55/17/15 39/15/14 40/20/19 56/22/20
|
||||||
|
f 9/23/21 8/18/16 2/4/4
|
||||||
|
f 9/23/21 25/24/23 24/19/18 8/18/16
|
||||||
|
f 25/28/23 41/27/24 40/26/19 24/25/18
|
||||||
|
f 56/30/20 40/26/19 41/27/24 57/29/25
|
||||||
|
f 3/32/27 10/31/26 9/23/21 2/4/4
|
||||||
|
f 10/31/26 26/33/28 25/24/23 9/23/21
|
||||||
|
f 26/35/28 42/34/29 41/27/24 25/28/23
|
||||||
|
f 57/29/25 41/27/24 42/34/29 58/36/30
|
||||||
|
f 11/37/31 10/31/26 3/32/27
|
||||||
|
f 11/37/31 27/38/33 26/33/28 10/31/26
|
||||||
|
f 27/40/33 43/39/34 42/34/29 26/35/28
|
||||||
|
f 58/36/30 42/34/29 43/39/34 59/41/35
|
||||||
|
f 12/42/36 11/37/31 3/32/27
|
||||||
|
f 12/42/36 28/43/38 27/38/33 11/37/31
|
||||||
|
f 28/47/38 44/46/39 43/45/34 27/44/33
|
||||||
|
f 59/49/35 43/45/34 44/46/39 60/48/40
|
||||||
|
f 13/50/41 12/42/36 3/32/27
|
||||||
|
f 13/50/41 29/51/43 28/43/38 12/42/36
|
||||||
|
f 29/53/43 45/52/44 44/46/39 28/47/38
|
||||||
|
f 60/48/40 44/46/39 45/52/44 61/54/45
|
||||||
|
f 4/56/47 14/55/46 13/50/41 3/32/27
|
||||||
|
f 14/55/46 30/57/48 29/51/43 13/50/41
|
||||||
|
f 30/59/48 46/58/49 45/52/44 29/53/43
|
||||||
|
f 61/54/45 45/52/44 46/58/49 62/60/50
|
||||||
|
f 15/61/51 14/55/46 4/56/47
|
||||||
|
f 15/61/51 31/62/53 30/57/48 14/55/46
|
||||||
|
f 31/64/53 47/63/54 46/58/49 30/59/48
|
||||||
|
f 62/60/50 46/58/49 47/63/54 63/65/55
|
||||||
|
f 16/66/56 15/61/51 4/56/47
|
||||||
|
f 16/66/56 32/67/58 31/62/53 15/61/51
|
||||||
|
f 32/69/58 48/68/59 47/63/54 31/64/53
|
||||||
|
f 63/65/55 47/63/54 48/68/59 64/70/60
|
||||||
|
f 17/71/61 16/66/56 4/56/47
|
||||||
|
f 17/71/61 33/72/63 32/67/58 16/66/56
|
||||||
|
f 33/76/63 49/75/64 48/74/59 32/73/58
|
||||||
|
f 64/78/60 48/74/59 49/75/64 65/77/65
|
||||||
|
f 1/1/1 18/79/66 17/71/61 4/56/47
|
||||||
|
f 18/79/66 34/80/67 33/72/63 17/71/61
|
||||||
|
f 34/82/67 50/81/68 49/75/64 33/76/63
|
||||||
|
f 65/77/65 49/75/64 50/81/68 66/83/69
|
||||||
|
f 19/84/70 18/79/66 1/1/1
|
||||||
|
f 19/84/70 35/85/72 34/80/67 18/79/66
|
||||||
|
f 35/87/72 51/86/73 50/81/68 34/82/67
|
||||||
|
f 66/83/69 50/81/68 51/86/73 67/88/74
|
||||||
|
f 20/89/75 19/84/70 1/1/1
|
||||||
|
f 20/89/75 36/90/77 35/85/72 19/84/70
|
||||||
|
f 36/94/77 52/93/78 51/92/73 35/91/72
|
||||||
|
f 67/96/74 51/92/73 52/93/78 68/95/79
|
||||||
|
f 5/2/2 20/89/75 1/1/1
|
||||||
|
f 5/2/2 21/5/5 36/90/77 20/89/75
|
||||||
|
f 21/7/5 37/8/7 52/93/78 36/94/77
|
||||||
|
f 68/95/79 52/93/78 37/8/7 53/12/10
|
||||||
|
f 4/56/47 3/32/27 2/4/4 1/1/1
|
||||||
|
|
19
Assets/bar1.obj.import
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="wavefront_obj"
|
||||||
|
type="Mesh"
|
||||||
|
path="res://.import/bar1.obj-23933ca6261a6176139f6afdbc0c57a3.mesh"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
files=[ "res://.import/bar1.obj-23933ca6261a6176139f6afdbc0c57a3.mesh" ]
|
||||||
|
|
||||||
|
source_file="res://Assets/bar1.obj"
|
||||||
|
dest_files=[ "res://.import/bar1.obj-23933ca6261a6176139f6afdbc0c57a3.mesh", "res://.import/bar1.obj-23933ca6261a6176139f6afdbc0c57a3.mesh" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
generate_tangents=true
|
||||||
|
scale_mesh=Vector3( 1, 1, 1 )
|
||||||
|
offset_mesh=Vector3( 0, 0, 0 )
|
||||||
|
optimize_mesh=true
|
510
Assets/dice01.obj
Normal file
@ -0,0 +1,510 @@
|
|||||||
|
# WaveFront *.obj file (generated by Cinema 4D)
|
||||||
|
|
||||||
|
mtllib ./dice01.mtl
|
||||||
|
|
||||||
|
v -0.69999998807907 -0.80000001192093 0.69999998807907
|
||||||
|
v 0.69999998807907 -0.80000001192093 0.69999998807907
|
||||||
|
v 0.69999998807907 -0.80000001192093 -0.69999998807907
|
||||||
|
v -0.69999998807907 -0.80000001192093 -0.69999998807907
|
||||||
|
v -0.69999998807907 -0.78660255670547 0.75
|
||||||
|
v 0.69999998807907 -0.78660255670547 0.75
|
||||||
|
v 0.72500002384186 -0.78660255670547 0.74330127239227
|
||||||
|
v 0.74330127239227 -0.78660255670547 0.72500002384186
|
||||||
|
v 0.75 -0.78660255670547 0.69999998807907
|
||||||
|
v 0.75 -0.78660255670547 -0.69999998807907
|
||||||
|
v 0.74330127239227 -0.78660255670547 -0.72500002384186
|
||||||
|
v 0.72500002384186 -0.78660255670547 -0.74330127239227
|
||||||
|
v 0.69999998807907 -0.78660255670547 -0.75
|
||||||
|
v -0.69999998807907 -0.78660255670547 -0.75
|
||||||
|
v -0.72500002384186 -0.78660255670547 -0.74330127239227
|
||||||
|
v -0.74330127239227 -0.78660255670547 -0.72500002384186
|
||||||
|
v -0.75 -0.78660255670547 -0.69999998807907
|
||||||
|
v -0.75 -0.78660255670547 0.69999998807907
|
||||||
|
v -0.74330127239227 -0.78660255670547 0.72500002384186
|
||||||
|
v -0.72500002384186 -0.78660255670547 0.74330127239227
|
||||||
|
v -0.69999998807907 -0.75 0.78660255670547
|
||||||
|
v 0.69999998807907 -0.75 0.78660255670547
|
||||||
|
v 0.74330127239227 -0.75 0.77499997615814
|
||||||
|
v 0.77499997615814 -0.75 0.74330127239227
|
||||||
|
v 0.78660255670547 -0.75 0.69999998807907
|
||||||
|
v 0.78660255670547 -0.75 -0.69999998807907
|
||||||
|
v 0.77499997615814 -0.75 -0.74330127239227
|
||||||
|
v 0.74330127239227 -0.75 -0.77499997615814
|
||||||
|
v 0.69999998807907 -0.75 -0.78660255670547
|
||||||
|
v -0.69999998807907 -0.75 -0.78660255670547
|
||||||
|
v -0.74330127239227 -0.75 -0.77499997615814
|
||||||
|
v -0.77499997615814 -0.75 -0.74330127239227
|
||||||
|
v -0.78660255670547 -0.75 -0.69999998807907
|
||||||
|
v -0.78660255670547 -0.75 0.69999998807907
|
||||||
|
v -0.77499997615814 -0.75 0.74330127239227
|
||||||
|
v -0.74330127239227 -0.75 0.77499997615814
|
||||||
|
v -0.69999998807907 -0.69999998807907 0.80000001192093
|
||||||
|
v 0.69999998807907 -0.69999998807907 0.80000001192093
|
||||||
|
v 0.75 -0.69999998807907 0.78660255670547
|
||||||
|
v 0.78660255670547 -0.69999998807907 0.75
|
||||||
|
v 0.80000001192093 -0.69999998807907 0.69999998807907
|
||||||
|
v 0.80000001192093 -0.69999998807907 -0.69999998807907
|
||||||
|
v 0.78660255670547 -0.69999998807907 -0.75
|
||||||
|
v 0.75 -0.69999998807907 -0.78660255670547
|
||||||
|
v 0.69999998807907 -0.69999998807907 -0.80000001192093
|
||||||
|
v -0.69999998807907 -0.69999998807907 -0.80000001192093
|
||||||
|
v -0.75 -0.69999998807907 -0.78660255670547
|
||||||
|
v -0.78660255670547 -0.69999998807907 -0.75
|
||||||
|
v -0.80000001192093 -0.69999998807907 -0.69999998807907
|
||||||
|
v -0.80000001192093 -0.69999998807907 0.69999998807907
|
||||||
|
v -0.78660255670547 -0.69999998807907 0.75
|
||||||
|
v -0.75 -0.69999998807907 0.78660255670547
|
||||||
|
v -0.69999998807907 0.69999998807907 0.80000001192093
|
||||||
|
v 0.69999998807907 0.69999998807907 0.80000001192093
|
||||||
|
v 0.75 0.69999998807907 0.78660255670547
|
||||||
|
v 0.78660255670547 0.69999998807907 0.75
|
||||||
|
v 0.80000001192093 0.69999998807907 0.69999998807907
|
||||||
|
v 0.80000001192093 0.69999998807907 -0.69999998807907
|
||||||
|
v 0.78660255670547 0.69999998807907 -0.75
|
||||||
|
v 0.75 0.69999998807907 -0.78660255670547
|
||||||
|
v 0.69999998807907 0.69999998807907 -0.80000001192093
|
||||||
|
v -0.69999998807907 0.69999998807907 -0.80000001192093
|
||||||
|
v -0.75 0.69999998807907 -0.78660255670547
|
||||||
|
v -0.78660255670547 0.69999998807907 -0.75
|
||||||
|
v -0.80000001192093 0.69999998807907 -0.69999998807907
|
||||||
|
v -0.80000001192093 0.69999998807907 0.69999998807907
|
||||||
|
v -0.78660255670547 0.69999998807907 0.75
|
||||||
|
v -0.75 0.69999998807907 0.78660255670547
|
||||||
|
v -0.69999998807907 0.75 0.78660255670547
|
||||||
|
v 0.69999998807907 0.75 0.78660255670547
|
||||||
|
v 0.74330127239227 0.75 0.77499997615814
|
||||||
|
v 0.77499997615814 0.75 0.74330127239227
|
||||||
|
v 0.78660255670547 0.75 0.69999998807907
|
||||||
|
v 0.78660255670547 0.75 -0.69999998807907
|
||||||
|
v 0.77499997615814 0.75 -0.74330127239227
|
||||||
|
v 0.74330127239227 0.75 -0.77499997615814
|
||||||
|
v 0.69999998807907 0.75 -0.78660255670547
|
||||||
|
v -0.69999998807907 0.75 -0.78660255670547
|
||||||
|
v -0.74330127239227 0.75 -0.77499997615814
|
||||||
|
v -0.77499997615814 0.75 -0.74330127239227
|
||||||
|
v -0.78660255670547 0.75 -0.69999998807907
|
||||||
|
v -0.78660255670547 0.75 0.69999998807907
|
||||||
|
v -0.77499997615814 0.75 0.74330127239227
|
||||||
|
v -0.74330127239227 0.75 0.77499997615814
|
||||||
|
v -0.69999998807907 0.78660255670547 0.75
|
||||||
|
v 0.69999998807907 0.78660255670547 0.75
|
||||||
|
v 0.72500002384186 0.78660255670547 0.74330127239227
|
||||||
|
v 0.74330127239227 0.78660255670547 0.72500002384186
|
||||||
|
v 0.75 0.78660255670547 0.69999998807907
|
||||||
|
v 0.75 0.78660255670547 -0.69999998807907
|
||||||
|
v 0.74330127239227 0.78660255670547 -0.72500002384186
|
||||||
|
v 0.72500002384186 0.78660255670547 -0.74330127239227
|
||||||
|
v 0.69999998807907 0.78660255670547 -0.75
|
||||||
|
v -0.69999998807907 0.78660255670547 -0.75
|
||||||
|
v -0.72500002384186 0.78660255670547 -0.74330127239227
|
||||||
|
v -0.74330127239227 0.78660255670547 -0.72500002384186
|
||||||
|
v -0.75 0.78660255670547 -0.69999998807907
|
||||||
|
v -0.75 0.78660255670547 0.69999998807907
|
||||||
|
v -0.74330127239227 0.78660255670547 0.72500002384186
|
||||||
|
v -0.72500002384186 0.78660255670547 0.74330127239227
|
||||||
|
v -0.69999998807907 0.80000001192093 0.69999998807907
|
||||||
|
v 0.69999998807907 0.80000001192093 0.69999998807907
|
||||||
|
v 0.69999998807907 0.80000001192093 -0.69999998807907
|
||||||
|
v -0.69999998807907 0.80000001192093 -0.69999998807907
|
||||||
|
# 104 vertices
|
||||||
|
|
||||||
|
vn -0.13083824515343 -0.98273229598999 0.13083824515343
|
||||||
|
vn -0.06627110391855 -0.86462777853012 0.49802306294441
|
||||||
|
vn 0.06627110391855 -0.86462771892548 0.49802309274673
|
||||||
|
vn 0.13083824515343 -0.98273229598999 0.13083824515343
|
||||||
|
vn -0.11370202898979 -0.49759867787361 0.85992288589478
|
||||||
|
vn 0.11370202898979 -0.49759864807129 0.85992294549942
|
||||||
|
vn -0.12949869036674 -0.12949867546558 0.98308706283569
|
||||||
|
vn 0.12949869036674 -0.12949869036674 0.98308706283569
|
||||||
|
vn -0.12949869036674 0.12949869036674 0.98308706283569
|
||||||
|
vn 0.12949869036674 0.12949867546558 0.98308706283569
|
||||||
|
vn -0.11370204389095 0.49759864807129 0.85992294549942
|
||||||
|
vn 0.11370202898979 0.49759867787361 0.85992288589478
|
||||||
|
vn -0.06627111881971 0.86462771892548 0.49802312254906
|
||||||
|
vn 0.06627110391855 0.86462777853012 0.49802306294441
|
||||||
|
vn -0.13083826005459 0.98273223638535 0.13083826005459
|
||||||
|
vn 0.13083824515343 0.98273223638535 0.13083826005459
|
||||||
|
vn 0.24911570549011 -0.86704409122467 0.43148106336594
|
||||||
|
vn 0.57735025882721 0.57735025882721 -0.57735025882721
|
||||||
|
vn 0.43251678347588 -0.50171428918838 0.74914079904556
|
||||||
|
vn 0.49571278691292 -0.13067311048508 0.85859966278076
|
||||||
|
vn 0.49571278691292 0.13067311048508 0.85859966278076
|
||||||
|
vn 0.43251675367355 0.50171434879303 0.74914079904556
|
||||||
|
vn 0.24911570549011 0.86704409122467 0.43148100376129
|
||||||
|
vn -0.57735025882721 -0.57735025882721 0.57735025882721
|
||||||
|
vn 0.43148103356361 -0.86704409122467 0.24911567568779
|
||||||
|
vn 0.74914079904556 -0.50171434879303 0.43251678347588
|
||||||
|
vn 0.85859966278076 -0.13067311048508 0.49571278691292
|
||||||
|
vn 0.85859966278076 0.13067311048508 0.49571278691292
|
||||||
|
vn 0.74914079904556 0.50171434879303 0.43251678347588
|
||||||
|
vn 0.43148109316826 0.86704409122467 0.24911576509476
|
||||||
|
vn 1 0 0
|
||||||
|
vn 0.49802306294441 -0.86462777853012 0.06627109646797
|
||||||
|
vn 0.85992288589478 -0.49759867787361 0.11370202898979
|
||||||
|
vn 0.98308706283569 -0.12949867546558 0.12949869036674
|
||||||
|
vn 0.98308706283569 0.12949869036674 0.12949869036674
|
||||||
|
vn 0.85992288589478 0.49759867787361 0.11370203644037
|
||||||
|
vn 0.49802309274673 0.86462777853012 0.06627111136913
|
||||||
|
vn 0 0 -1
|
||||||
|
vn 0.49802309274673 -0.86462771892548 -0.06627111136913
|
||||||
|
vn 0.13083824515343 -0.98273229598999 -0.13083824515343
|
||||||
|
vn 0.85992294549942 -0.49759864807129 -0.11370202898979
|
||||||
|
vn 0.98308706283569 -0.12949869036674 -0.12949869036674
|
||||||
|
vn 0.98308706283569 0.12949867546558 -0.12949869036674
|
||||||
|
vn 0.85992288589478 0.49759867787361 -0.11370202898979
|
||||||
|
vn 0.49802306294441 0.86462777853012 -0.06627110391855
|
||||||
|
vn 0.13083826005459 0.98273223638535 -0.13083824515343
|
||||||
|
vn 0.43148106336594 -0.86704409122467 -0.24911572039127
|
||||||
|
vn 0.74914079904556 -0.50171428918838 -0.43251678347588
|
||||||
|
vn 0.85859966278076 -0.13067311048508 -0.49571278691292
|
||||||
|
vn 0.85859966278076 0.13067311048508 -0.49571278691292
|
||||||
|
vn 0.74914079904556 0.50171434879303 -0.43251675367355
|
||||||
|
vn 0.43148100376129 0.86704409122467 -0.24911570549011
|
||||||
|
vn 0.24911566078663 -0.86704409122467 -0.43148103356361
|
||||||
|
vn 0.43251678347588 -0.50171434879303 -0.74914079904556
|
||||||
|
vn 0.49571278691292 -0.13067311048508 -0.85859966278076
|
||||||
|
vn 0.49571278691292 0.13067311048508 -0.85859966278076
|
||||||
|
vn 0.43251678347588 0.50171434879303 -0.74914079904556
|
||||||
|
vn 0.24911576509476 0.86704409122467 -0.43148109316826
|
||||||
|
vn 0.06627109646797 -0.86462777853012 -0.49802306294441
|
||||||
|
vn 0.70710676908493 0.70710676908493 0
|
||||||
|
vn 0.11370202898979 -0.49759867787361 -0.85992288589478
|
||||||
|
vn 0.12949869036674 -0.12949867546558 -0.98308706283569
|
||||||
|
vn 0.12949869036674 0.12949869036674 -0.98308706283569
|
||||||
|
vn 0.11370204389095 0.49759867787361 -0.85992288589478
|
||||||
|
vn 0.06627111136913 0.86462777853012 -0.49802309274673
|
||||||
|
vn -0.06627110391855 -0.86462771892548 -0.49802309274673
|
||||||
|
vn -0.13083824515343 -0.98273229598999 -0.13083824515343
|
||||||
|
vn -0.11370202898979 -0.49759864807129 -0.85992294549942
|
||||||
|
vn -0.12949869036674 -0.12949869036674 -0.98308706283569
|
||||||
|
vn -0.12949869036674 0.12949867546558 -0.98308706283569
|
||||||
|
vn -0.11370202898979 0.49759867787361 -0.85992288589478
|
||||||
|
vn -0.06627110391855 0.86462777853012 -0.49802306294441
|
||||||
|
vn -0.13083824515343 0.98273223638535 -0.13083826005459
|
||||||
|
vn -0.24911570549011 -0.86704409122467 -0.43148106336594
|
||||||
|
vn -0.43251678347588 -0.50171428918838 -0.74914079904556
|
||||||
|
vn -0.49571278691292 -0.13067311048508 -0.85859966278076
|
||||||
|
vn -0.49571278691292 0.13067311048508 -0.85859966278076
|
||||||
|
vn -0.43251675367355 0.50171434879303 -0.74914079904556
|
||||||
|
vn -0.24911570549011 0.86704409122467 -0.43148100376129
|
||||||
|
vn -0.43148103356361 -0.86704409122467 -0.24911567568779
|
||||||
|
vn -0.74914079904556 -0.50171434879303 -0.43251678347588
|
||||||
|
vn -0.85859966278076 -0.13067311048508 -0.49571278691292
|
||||||
|
vn -0.85859966278076 0.13067311048508 -0.49571278691292
|
||||||
|
vn -0.74914079904556 0.50171434879303 -0.43251678347588
|
||||||
|
vn -0.43148109316826 0.86704409122467 -0.24911576509476
|
||||||
|
vn -0.49802306294441 -0.86462777853012 -0.06627109646797
|
||||||
|
vn -0.85992288589478 -0.49759867787361 -0.11370202898979
|
||||||
|
vn -0.98308706283569 -0.12949867546558 -0.12949869036674
|
||||||
|
vn -0.98308706283569 0.12949869036674 -0.12949869036674
|
||||||
|
vn -0.85992288589478 0.49759867787361 -0.11370203644037
|
||||||
|
vn -0.49802309274673 0.86462777853012 -0.06627111136913
|
||||||
|
vn -0.49802309274673 -0.86462771892548 0.06627111136913
|
||||||
|
vn -0.85992294549942 -0.49759864807129 0.11370202898979
|
||||||
|
vn -0.98308706283569 -0.12949869036674 0.12949869036674
|
||||||
|
vn -0.98308706283569 0.12949867546558 0.12949869036674
|
||||||
|
vn -0.85992288589478 0.49759867787361 0.11370202898979
|
||||||
|
vn -0.49802306294441 0.86462777853012 0.06627110391855
|
||||||
|
vn -0.43148106336594 -0.86704409122467 0.24911572039127
|
||||||
|
vn -0.74914079904556 -0.50171428918838 0.43251678347588
|
||||||
|
vn -0.85859966278076 -0.13067311048508 0.49571278691292
|
||||||
|
vn -0.85859966278076 0.13067311048508 0.49571278691292
|
||||||
|
vn -0.74914079904556 0.50171434879303 0.43251675367355
|
||||||
|
vn -0.43148100376129 0.86704409122467 0.24911570549011
|
||||||
|
vn -0.24911566078663 -0.86704409122467 0.43148103356361
|
||||||
|
vn -0.43251678347588 -0.50171434879303 0.74914079904556
|
||||||
|
vn -0.49571278691292 -0.13067311048508 0.85859966278076
|
||||||
|
vn -0.49571278691292 0.13067311048508 0.85859966278076
|
||||||
|
vn -0.43251678347588 0.50171434879303 0.74914079904556
|
||||||
|
vn -0.24911576509476 0.86704409122467 0.43148109316826
|
||||||
|
vn 0 0 0
|
||||||
|
# 110 normals
|
||||||
|
|
||||||
|
vt 0.265625 0.359375 0
|
||||||
|
vt 0.265625 0.3671875 0
|
||||||
|
vt 0.484375 0.3671875 0
|
||||||
|
vt 0.484375 0.359375 0
|
||||||
|
vt 0.265625 0.3770934343338 0
|
||||||
|
vt 0.265625 0.3828125 0
|
||||||
|
vt 0.484375 0.3828125 0
|
||||||
|
vt 0.484375 0.3770934343338 0
|
||||||
|
vt 0.265625 0.390625 0
|
||||||
|
vt 0.484375 0.390625 0
|
||||||
|
vt 0.265625 0.609375 0
|
||||||
|
vt 0.484375 0.609375 0
|
||||||
|
vt 0.265625 0.6171875 0
|
||||||
|
vt 0.484375 0.6171875 0
|
||||||
|
vt 0.265625 0.62290668487549 0
|
||||||
|
vt 0.484375 0.62290668487549 0
|
||||||
|
vt 0.265625 0.6328125 0
|
||||||
|
vt 0.265625 0.640625 0
|
||||||
|
vt 0.484375 0.640625 0
|
||||||
|
vt 0.484375 0.6328125 0
|
||||||
|
vt 0.48828125 0.36614084243774 0
|
||||||
|
vt 0.49114081263542 0.3828125 0
|
||||||
|
vt 0.48828125 0.3770934343338 0
|
||||||
|
vt 0.4921875 0.390625 0
|
||||||
|
vt 0.4921875 0.609375 0
|
||||||
|
vt 0.49114081263542 0.6171875 0
|
||||||
|
vt 0.48828125 0.62290668487549 0
|
||||||
|
vt 0.48828125 0.6338592171669 0
|
||||||
|
vt 0.49114081263542 0.36328125 0
|
||||||
|
vt 0.49114081263542 0.37109375 0
|
||||||
|
vt 0.49609375 0.36614084243774 0
|
||||||
|
vt 0.49790665507317 0.390625 0
|
||||||
|
vt 0.49609375 0.3828125 0
|
||||||
|
vt 0.49790665507317 0.609375 0
|
||||||
|
vt 0.49609375 0.6171875 0
|
||||||
|
vt 0.49114081263542 0.62890625 0
|
||||||
|
vt 0.49114081263542 0.63671875 0
|
||||||
|
vt 0.49609375 0.6338592171669 0
|
||||||
|
vt 0.4921875 0.359375 0
|
||||||
|
vt 0.51171875 0.3770934343338 0
|
||||||
|
vt 0.50885915756226 0.3828125 0
|
||||||
|
vt 0.515625 0.3828125 0
|
||||||
|
vt 0.515625 0.3770934343338 0
|
||||||
|
vt 0.5078125 0.390625 0
|
||||||
|
vt 0.515625 0.390625 0
|
||||||
|
vt 0.5078125 0.609375 0
|
||||||
|
vt 0.515625 0.609375 0
|
||||||
|
vt 0.50885915756226 0.6171875 0
|
||||||
|
vt 0.515625 0.6171875 0
|
||||||
|
vt 0.51171875 0.62290668487549 0
|
||||||
|
vt 0.515625 0.62290668487549 0
|
||||||
|
vt 0.4921875 0.640625 0
|
||||||
|
vt 0.4921875 0.140625 0
|
||||||
|
vt 0.484375 0.140625 0
|
||||||
|
vt 0.49790665507317 0.359375 0
|
||||||
|
vt 0.49790665507317 0.140625 0
|
||||||
|
vt 0.734375 0.390625 0
|
||||||
|
vt 0.734375 0.3828125 0
|
||||||
|
vt 0.734375 0.609375 0
|
||||||
|
vt 0.734375 0.6171875 0
|
||||||
|
vt 0.49790665507317 0.640625 0
|
||||||
|
vt 0.4921875 0.859375 0
|
||||||
|
vt 0.49790665507317 0.859375 0
|
||||||
|
vt 0.484375 0.859375 0
|
||||||
|
vt 0.49114081263542 0.13671875 0
|
||||||
|
vt 0.49609375 0.13385915756226 0
|
||||||
|
vt 0.7421875 0.390625 0
|
||||||
|
vt 0.74114084243774 0.3828125 0
|
||||||
|
vt 0.7421875 0.609375 0
|
||||||
|
vt 0.74114084243774 0.6171875 0
|
||||||
|
vt 0.49114081263542 0.86328125 0
|
||||||
|
vt 0.49609375 0.86614084243774 0
|
||||||
|
vt 0.48828125 0.13385915756226 0
|
||||||
|
vt 0.49114081263542 0.12890625 0
|
||||||
|
vt 0.74790662527084 0.390625 0
|
||||||
|
vt 0.74609375 0.3828125 0
|
||||||
|
vt 0.74790662527084 0.609375 0
|
||||||
|
vt 0.75209337472916 0.609375 0
|
||||||
|
vt 0.75390625 0.6171875 0
|
||||||
|
vt 0.75885915756226 0.6171875 0
|
||||||
|
vt 0.7578125 0.609375 0
|
||||||
|
vt 0.48828125 0.86614084243774 0
|
||||||
|
vt 0.49114081263542 0.87109375 0
|
||||||
|
vt 0.484375 0.1328125 0
|
||||||
|
vt 0.76171875 0.3770934343338 0
|
||||||
|
vt 0.75885915756226 0.3828125 0
|
||||||
|
vt 0.765625 0.3828125 0
|
||||||
|
vt 0.765625 0.3770934343338 0
|
||||||
|
vt 0.7578125 0.390625 0
|
||||||
|
vt 0.765625 0.390625 0
|
||||||
|
vt 0.765625 0.609375 0
|
||||||
|
vt 0.765625 0.6171875 0
|
||||||
|
vt 0.76171875 0.62290668487549 0
|
||||||
|
vt 0.765625 0.62290668487549 0
|
||||||
|
vt 0.484375 0.8671875 0
|
||||||
|
vt 0.265625 0.1328125 0
|
||||||
|
vt 0.265625 0.140625 0
|
||||||
|
vt 0.984375 0.3828125 0
|
||||||
|
vt 0.984375 0.3770934343338 0
|
||||||
|
vt 0.984375 0.390625 0
|
||||||
|
vt 0.984375 0.609375 0
|
||||||
|
vt 0.984375 0.6171875 0
|
||||||
|
vt 0.984375 0.62290668487549 0
|
||||||
|
vt 0.265625 0.859375 0
|
||||||
|
vt 0.265625 0.8671875 0
|
||||||
|
vt 0.26171875 0.13385915756226 0
|
||||||
|
vt 0.99114084243774 0.3828125 0
|
||||||
|
vt 0.98828125 0.3770934343338 0
|
||||||
|
vt 0.9921875 0.390625 0
|
||||||
|
vt 0.9921875 0.609375 0
|
||||||
|
vt 0.99114084243774 0.6171875 0
|
||||||
|
vt 0.98828125 0.62290668487549 0
|
||||||
|
vt 0.26171875 0.86614084243774 0
|
||||||
|
vt 0.25885918736458 0.13671875 0
|
||||||
|
vt 0.25885918736458 0.12890625 0
|
||||||
|
vt 0.25390625 0.13385915756226 0
|
||||||
|
vt 0.99790662527084 0.390625 0
|
||||||
|
vt 0.99609375 0.3828125 0
|
||||||
|
vt 0.99790662527084 0.609375 0
|
||||||
|
vt 0.99609375 0.6171875 0
|
||||||
|
vt 0.25885918736458 0.87109375 0
|
||||||
|
vt 0.25885918736458 0.86328125 0
|
||||||
|
vt 0.25390625 0.86614084243774 0
|
||||||
|
vt 0.2578125 0.140625 0
|
||||||
|
vt 0.01171875 0.3770934343338 0
|
||||||
|
vt 0.00885917618871 0.3828125 0
|
||||||
|
vt 0.015625 0.3828125 0
|
||||||
|
vt 0.015625 0.3770934343338 0
|
||||||
|
vt 0.0078125 0.390625 0
|
||||||
|
vt 0.015625 0.390625 0
|
||||||
|
vt 0.0078125 0.609375 0
|
||||||
|
vt 0.015625 0.609375 0
|
||||||
|
vt 0.00885917618871 0.6171875 0
|
||||||
|
vt 0.015625 0.6171875 0
|
||||||
|
vt 0.01171875 0.62290668487549 0
|
||||||
|
vt 0.015625 0.62290668487549 0
|
||||||
|
vt 0.2578125 0.859375 0
|
||||||
|
vt 0.2578125 0.359375 0
|
||||||
|
vt 0.25209334492683 0.140625 0
|
||||||
|
vt 0.25209334492683 0.359375 0
|
||||||
|
vt 0.234375 0.390625 0
|
||||||
|
vt 0.234375 0.3828125 0
|
||||||
|
vt 0.234375 0.609375 0
|
||||||
|
vt 0.234375 0.6171875 0
|
||||||
|
vt 0.25209334492683 0.859375 0
|
||||||
|
vt 0.2578125 0.640625 0
|
||||||
|
vt 0.25209334492683 0.640625 0
|
||||||
|
vt 0.25885918736458 0.36328125 0
|
||||||
|
vt 0.25390625 0.36614084243774 0
|
||||||
|
vt 0.2421875 0.390625 0
|
||||||
|
vt 0.24114082753658 0.3828125 0
|
||||||
|
vt 0.2421875 0.609375 0
|
||||||
|
vt 0.24114082753658 0.6171875 0
|
||||||
|
vt 0.25885918736458 0.63671875 0
|
||||||
|
vt 0.25390625 0.6338592171669 0
|
||||||
|
vt 0.26171875 0.36614084243774 0
|
||||||
|
vt 0.25885918736458 0.37109375 0
|
||||||
|
vt 0.25390625 0.3828125 0
|
||||||
|
vt 0.25209334492683 0.390625 0
|
||||||
|
vt 0.2578125 0.390625 0
|
||||||
|
vt 0.25885918736458 0.3828125 0
|
||||||
|
vt 0.25209334492683 0.609375 0
|
||||||
|
vt 0.2578125 0.609375 0
|
||||||
|
vt 0.25390625 0.6171875 0
|
||||||
|
vt 0.25885918736458 0.6171875 0
|
||||||
|
vt 0.26171875 0.6338592171669 0
|
||||||
|
vt 0.25885918736458 0.62890625 0
|
||||||
|
vt 0.26171875 0.3770934343338 0
|
||||||
|
vt 0.26171875 0.62290668487549 0
|
||||||
|
# 169 texture coordinates
|
||||||
|
|
||||||
|
o Dice
|
||||||
|
usemtl default
|
||||||
|
f 2/4/4 6/3/3 5/2/2 1/1/1
|
||||||
|
f 6/8/3 22/7/6 21/6/5 5/5/2
|
||||||
|
f 22/7/6 38/10/8 37/9/7 21/6/5
|
||||||
|
f 38/10/8 54/12/10 53/11/9 37/9/7
|
||||||
|
f 54/12/10 70/14/12 69/13/11 53/11/9
|
||||||
|
f 70/14/12 86/16/14 85/15/13 69/13/11
|
||||||
|
f 86/20/14 102/19/16 101/18/15 85/17/13
|
||||||
|
f 7/21/17 6/3/3 2/4/4
|
||||||
|
f 7/23/17 23/22/19 22/7/6 6/8/3
|
||||||
|
f 23/22/19 39/24/20 38/10/8 22/7/6
|
||||||
|
f 39/24/20 55/25/21 54/12/10 38/10/8
|
||||||
|
f 55/25/21 71/26/22 70/14/12 54/12/10
|
||||||
|
f 71/26/22 87/27/23 86/16/14 70/14/12
|
||||||
|
f 87/28/23 102/19/16 86/20/14
|
||||||
|
f 8/29/25 7/21/17 2/4/4
|
||||||
|
f 8/29/25 24/31/26 23/30/19 7/21/17
|
||||||
|
f 24/33/26 40/32/27 39/24/20 23/22/19
|
||||||
|
f 40/32/27 56/34/28 55/25/21 39/24/20
|
||||||
|
f 56/34/28 72/35/29 71/26/22 55/25/21
|
||||||
|
f 72/38/29 88/37/30 87/28/23 71/36/22
|
||||||
|
f 88/37/30 102/19/16 87/28/23
|
||||||
|
f 9/39/32 8/29/25 2/4/4
|
||||||
|
f 9/43/32 25/42/33 24/41/26 8/40/25
|
||||||
|
f 25/42/33 41/45/34 40/44/27 24/41/26
|
||||||
|
f 41/45/34 57/47/35 56/46/28 40/44/27
|
||||||
|
f 57/47/35 73/49/36 72/48/29 56/46/28
|
||||||
|
f 73/49/36 89/51/37 88/50/30 72/48/29
|
||||||
|
f 89/52/37 102/19/16 88/37/30
|
||||||
|
f 3/54/40 10/53/39 9/39/32 2/4/4
|
||||||
|
f 10/53/39 26/56/41 25/55/33 9/39/32
|
||||||
|
f 26/58/41 42/57/42 41/45/34 25/42/33
|
||||||
|
f 42/57/42 58/59/43 57/47/35 41/45/34
|
||||||
|
f 58/59/43 74/60/44 73/49/36 57/47/35
|
||||||
|
f 74/63/44 90/62/45 89/52/37 73/61/36
|
||||||
|
f 90/62/45 103/64/46 102/19/16 89/52/37
|
||||||
|
f 11/65/47 10/53/39 3/54/40
|
||||||
|
f 11/65/47 27/66/48 26/56/41 10/53/39
|
||||||
|
f 27/68/48 43/67/49 42/57/42 26/58/41
|
||||||
|
f 43/67/49 59/69/50 58/59/43 42/57/42
|
||||||
|
f 59/69/50 75/70/51 74/60/44 58/59/43
|
||||||
|
f 75/72/51 91/71/52 90/62/45 74/63/44
|
||||||
|
f 91/71/52 103/64/46 90/62/45
|
||||||
|
f 12/73/53 11/65/47 3/54/40
|
||||||
|
f 12/73/53 28/74/54 27/66/48 11/65/47
|
||||||
|
f 28/76/54 44/75/55 43/67/49 27/68/48
|
||||||
|
f 44/75/55 60/77/56 59/69/50 43/67/49
|
||||||
|
f 60/81/56 76/80/57 75/79/51 59/78/50
|
||||||
|
f 76/83/57 92/82/58 91/71/52 75/72/51
|
||||||
|
f 92/82/58 103/64/46 91/71/52
|
||||||
|
f 13/84/59 12/73/53 3/54/40
|
||||||
|
f 13/88/59 29/87/61 28/86/54 12/85/53
|
||||||
|
f 29/87/61 45/90/62 44/89/55 28/86/54
|
||||||
|
f 45/90/62 61/91/63 60/81/56 44/89/55
|
||||||
|
f 61/91/63 77/92/64 76/80/57 60/81/56
|
||||||
|
f 77/92/64 93/94/65 92/93/58 76/80/57
|
||||||
|
f 93/95/65 103/64/46 92/82/58
|
||||||
|
f 4/97/67 14/96/66 13/84/59 3/54/40
|
||||||
|
f 14/99/66 30/98/68 29/87/61 13/88/59
|
||||||
|
f 30/98/68 46/100/69 45/90/62 29/87/61
|
||||||
|
f 46/100/69 62/101/70 61/91/63 45/90/62
|
||||||
|
f 62/101/70 78/102/71 77/92/64 61/91/63
|
||||||
|
f 78/102/71 94/103/72 93/94/65 77/92/64
|
||||||
|
f 94/105/72 104/104/73 103/64/46 93/95/65
|
||||||
|
f 15/106/74 14/96/66 4/97/67
|
||||||
|
f 15/108/74 31/107/75 30/98/68 14/99/66
|
||||||
|
f 31/107/75 47/109/76 46/100/69 30/98/68
|
||||||
|
f 47/109/76 63/110/77 62/101/70 46/100/69
|
||||||
|
f 63/110/77 79/111/78 78/102/71 62/101/70
|
||||||
|
f 79/111/78 95/112/79 94/103/72 78/102/71
|
||||||
|
f 95/113/79 104/104/73 94/105/72
|
||||||
|
f 16/114/80 15/106/74 4/97/67
|
||||||
|
f 16/114/80 32/116/81 31/115/75 15/106/74
|
||||||
|
f 32/118/81 48/117/82 47/109/76 31/107/75
|
||||||
|
f 48/117/82 64/119/83 63/110/77 47/109/76
|
||||||
|
f 64/119/83 80/120/84 79/111/78 63/110/77
|
||||||
|
f 80/123/84 96/122/85 95/113/79 79/121/78
|
||||||
|
f 96/122/85 104/104/73 95/113/79
|
||||||
|
f 17/124/86 16/114/80 4/97/67
|
||||||
|
f 17/128/86 33/127/87 32/126/81 16/125/80
|
||||||
|
f 33/127/87 49/130/88 48/129/82 32/126/81
|
||||||
|
f 49/130/88 65/132/89 64/131/83 48/129/82
|
||||||
|
f 65/132/89 81/134/90 80/133/84 64/131/83
|
||||||
|
f 81/134/90 97/136/91 96/135/85 80/133/84
|
||||||
|
f 97/137/91 104/104/73 96/122/85
|
||||||
|
f 1/1/1 18/138/92 17/124/86 4/97/67
|
||||||
|
f 18/138/92 34/140/93 33/139/87 17/124/86
|
||||||
|
f 34/142/93 50/141/94 49/130/88 33/127/87
|
||||||
|
f 50/141/94 66/143/95 65/132/89 49/130/88
|
||||||
|
f 66/143/95 82/144/96 81/134/90 65/132/89
|
||||||
|
f 82/147/96 98/146/97 97/137/91 81/145/90
|
||||||
|
f 98/146/97 101/18/15 104/104/73 97/137/91
|
||||||
|
f 19/148/98 18/138/92 1/1/1
|
||||||
|
f 19/148/98 35/149/99 34/140/93 18/138/92
|
||||||
|
f 35/151/99 51/150/100 50/141/94 34/142/93
|
||||||
|
f 51/150/100 67/152/101 66/143/95 50/141/94
|
||||||
|
f 67/152/101 83/153/102 82/144/96 66/143/95
|
||||||
|
f 83/155/102 99/154/103 98/146/97 82/147/96
|
||||||
|
f 99/154/103 101/18/15 98/146/97
|
||||||
|
f 20/156/104 19/148/98 1/1/1
|
||||||
|
f 20/156/104 36/157/105 35/149/99 19/148/98
|
||||||
|
f 36/161/105 52/160/106 51/159/100 35/158/99
|
||||||
|
f 52/160/106 68/163/107 67/162/101 51/159/100
|
||||||
|
f 68/163/107 84/165/108 83/164/102 67/162/101
|
||||||
|
f 84/167/108 100/166/109 99/154/103 83/155/102
|
||||||
|
f 100/166/109 101/18/15 99/154/103
|
||||||
|
f 5/2/2 20/156/104 1/1/1
|
||||||
|
f 5/5/2 21/6/5 36/161/105 20/168/104
|
||||||
|
f 21/6/5 37/9/7 52/160/106 36/161/105
|
||||||
|
f 37/9/7 53/11/9 68/163/107 52/160/106
|
||||||
|
f 53/11/9 69/13/11 84/165/108 68/163/107
|
||||||
|
f 69/13/11 85/15/13 100/169/109 84/165/108
|
||||||
|
f 85/17/13 101/18/15 100/166/109
|
||||||
|
f 102/19/16 103/64/46 104/104/73 101/18/15
|
||||||
|
f 4/97/67 3/54/40 2/4/4 1/1/1
|
||||||
|
|
19
Assets/dice01.obj.import
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="wavefront_obj"
|
||||||
|
type="Mesh"
|
||||||
|
path="res://.import/dice01.obj-37489c6e7782208f15f80172e6800356.mesh"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
files=[ "res://.import/dice01.obj-37489c6e7782208f15f80172e6800356.mesh" ]
|
||||||
|
|
||||||
|
source_file="res://Assets/dice01.obj"
|
||||||
|
dest_files=[ "res://.import/dice01.obj-37489c6e7782208f15f80172e6800356.mesh", "res://.import/dice01.obj-37489c6e7782208f15f80172e6800356.mesh" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
generate_tangents=true
|
||||||
|
scale_mesh=Vector3( 1, 1, 1 )
|
||||||
|
offset_mesh=Vector3( 0, 0, 0 )
|
||||||
|
optimize_mesh=true
|
BIN
Assets/fancydice_01Color.png
Normal file
After Width: | Height: | Size: 1.7 MiB |
36
Assets/fancydice_01Color.png.import
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path.s3tc="res://.import/fancydice_01Color.png-8645ecdccbabf6fb69422c29804614ec.s3tc.stex"
|
||||||
|
path.etc2="res://.import/fancydice_01Color.png-8645ecdccbabf6fb69422c29804614ec.etc2.stex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": [ "s3tc", "etc2" ],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/fancydice_01Color.png"
|
||||||
|
dest_files=[ "res://.import/fancydice_01Color.png-8645ecdccbabf6fb69422c29804614ec.s3tc.stex", "res://.import/fancydice_01Color.png-8645ecdccbabf6fb69422c29804614ec.etc2.stex" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_mode=0
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
flags/repeat=true
|
||||||
|
flags/filter=true
|
||||||
|
flags/mipmaps=true
|
||||||
|
flags/anisotropic=false
|
||||||
|
flags/srgb=1
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/HDR_as_SRGB=false
|
||||||
|
process/invert_color=false
|
||||||
|
stream=false
|
||||||
|
size_limit=0
|
||||||
|
detect_3d=false
|
||||||
|
svg/scale=1.0
|
BIN
Assets/fancydice_01Diffusion.png
Normal file
After Width: | Height: | Size: 1.5 MiB |
36
Assets/fancydice_01Diffusion.png.import
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path.s3tc="res://.import/fancydice_01Diffusion.png-469b60ac94020da546453151ef329792.s3tc.stex"
|
||||||
|
path.etc2="res://.import/fancydice_01Diffusion.png-469b60ac94020da546453151ef329792.etc2.stex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": [ "s3tc", "etc2" ],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/fancydice_01Diffusion.png"
|
||||||
|
dest_files=[ "res://.import/fancydice_01Diffusion.png-469b60ac94020da546453151ef329792.s3tc.stex", "res://.import/fancydice_01Diffusion.png-469b60ac94020da546453151ef329792.etc2.stex" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_mode=0
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
flags/repeat=true
|
||||||
|
flags/filter=true
|
||||||
|
flags/mipmaps=true
|
||||||
|
flags/anisotropic=false
|
||||||
|
flags/srgb=2
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/HDR_as_SRGB=false
|
||||||
|
process/invert_color=false
|
||||||
|
stream=false
|
||||||
|
size_limit=0
|
||||||
|
detect_3d=false
|
||||||
|
svg/scale=1.0
|
BIN
Assets/fancydice_01Emission.png
Normal file
After Width: | Height: | Size: 47 KiB |
36
Assets/fancydice_01Emission.png.import
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path.s3tc="res://.import/fancydice_01Emission.png-254d114fc774b0a8aa8b179be16f8314.s3tc.stex"
|
||||||
|
path.etc2="res://.import/fancydice_01Emission.png-254d114fc774b0a8aa8b179be16f8314.etc2.stex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": [ "s3tc", "etc2" ],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/fancydice_01Emission.png"
|
||||||
|
dest_files=[ "res://.import/fancydice_01Emission.png-254d114fc774b0a8aa8b179be16f8314.s3tc.stex", "res://.import/fancydice_01Emission.png-254d114fc774b0a8aa8b179be16f8314.etc2.stex" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_mode=0
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
flags/repeat=true
|
||||||
|
flags/filter=true
|
||||||
|
flags/mipmaps=true
|
||||||
|
flags/anisotropic=false
|
||||||
|
flags/srgb=1
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/HDR_as_SRGB=false
|
||||||
|
process/invert_color=false
|
||||||
|
stream=false
|
||||||
|
size_limit=0
|
||||||
|
detect_3d=false
|
||||||
|
svg/scale=1.0
|
BIN
Assets/fancydice_01Normal.png
Normal file
After Width: | Height: | Size: 1.5 MiB |
36
Assets/fancydice_01Normal.png.import
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path.s3tc="res://.import/fancydice_01Normal.png-ced54e0594f2668a3819e1ea91c4794a.s3tc.stex"
|
||||||
|
path.etc2="res://.import/fancydice_01Normal.png-ced54e0594f2668a3819e1ea91c4794a.etc2.stex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": [ "s3tc", "etc2" ],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/fancydice_01Normal.png"
|
||||||
|
dest_files=[ "res://.import/fancydice_01Normal.png-ced54e0594f2668a3819e1ea91c4794a.s3tc.stex", "res://.import/fancydice_01Normal.png-ced54e0594f2668a3819e1ea91c4794a.etc2.stex" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_mode=0
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=1
|
||||||
|
flags/repeat=true
|
||||||
|
flags/filter=true
|
||||||
|
flags/mipmaps=true
|
||||||
|
flags/anisotropic=false
|
||||||
|
flags/srgb=2
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/HDR_as_SRGB=false
|
||||||
|
process/invert_color=false
|
||||||
|
stream=false
|
||||||
|
size_limit=0
|
||||||
|
detect_3d=false
|
||||||
|
svg/scale=1.0
|
BIN
Assets/fancydice_01Surface_Color.png
Normal file
After Width: | Height: | Size: 2.0 MiB |
36
Assets/fancydice_01Surface_Color.png.import
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path.s3tc="res://.import/fancydice_01Surface_Color.png-d06f2c4602fffd591d0ebbf967506c38.s3tc.stex"
|
||||||
|
path.etc2="res://.import/fancydice_01Surface_Color.png-d06f2c4602fffd591d0ebbf967506c38.etc2.stex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": [ "s3tc", "etc2" ],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/fancydice_01Surface_Color.png"
|
||||||
|
dest_files=[ "res://.import/fancydice_01Surface_Color.png-d06f2c4602fffd591d0ebbf967506c38.s3tc.stex", "res://.import/fancydice_01Surface_Color.png-d06f2c4602fffd591d0ebbf967506c38.etc2.stex" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_mode=0
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
flags/repeat=true
|
||||||
|
flags/filter=true
|
||||||
|
flags/mipmaps=true
|
||||||
|
flags/anisotropic=false
|
||||||
|
flags/srgb=1
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/HDR_as_SRGB=false
|
||||||
|
process/invert_color=false
|
||||||
|
stream=false
|
||||||
|
size_limit=0
|
||||||
|
detect_3d=false
|
||||||
|
svg/scale=1.0
|
BIN
Assets/fancyedge_01Diffusion.png
Normal file
After Width: | Height: | Size: 309 KiB |
36
Assets/fancyedge_01Diffusion.png.import
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path.s3tc="res://.import/fancyedge_01Diffusion.png-83f171bc8a88628c65ba5af26f9d85cf.s3tc.stex"
|
||||||
|
path.etc2="res://.import/fancyedge_01Diffusion.png-83f171bc8a88628c65ba5af26f9d85cf.etc2.stex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": [ "s3tc", "etc2" ],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/fancyedge_01Diffusion.png"
|
||||||
|
dest_files=[ "res://.import/fancyedge_01Diffusion.png-83f171bc8a88628c65ba5af26f9d85cf.s3tc.stex", "res://.import/fancyedge_01Diffusion.png-83f171bc8a88628c65ba5af26f9d85cf.etc2.stex" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_mode=0
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
flags/repeat=true
|
||||||
|
flags/filter=true
|
||||||
|
flags/mipmaps=true
|
||||||
|
flags/anisotropic=false
|
||||||
|
flags/srgb=2
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/HDR_as_SRGB=false
|
||||||
|
process/invert_color=false
|
||||||
|
stream=false
|
||||||
|
size_limit=0
|
||||||
|
detect_3d=false
|
||||||
|
svg/scale=1.0
|
BIN
Assets/fancyedge_01Normal.png
Normal file
After Width: | Height: | Size: 443 KiB |
36
Assets/fancyedge_01Normal.png.import
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path.s3tc="res://.import/fancyedge_01Normal.png-250d8034c967d33166db649c384d3c6f.s3tc.stex"
|
||||||
|
path.etc2="res://.import/fancyedge_01Normal.png-250d8034c967d33166db649c384d3c6f.etc2.stex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": [ "s3tc", "etc2" ],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/fancyedge_01Normal.png"
|
||||||
|
dest_files=[ "res://.import/fancyedge_01Normal.png-250d8034c967d33166db649c384d3c6f.s3tc.stex", "res://.import/fancyedge_01Normal.png-250d8034c967d33166db649c384d3c6f.etc2.stex" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_mode=0
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=1
|
||||||
|
flags/repeat=true
|
||||||
|
flags/filter=true
|
||||||
|
flags/mipmaps=true
|
||||||
|
flags/anisotropic=false
|
||||||
|
flags/srgb=2
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/HDR_as_SRGB=false
|
||||||
|
process/invert_color=false
|
||||||
|
stream=false
|
||||||
|
size_limit=0
|
||||||
|
detect_3d=false
|
||||||
|
svg/scale=1.0
|
BIN
Assets/fancyedge_01Surface_Color.png
Normal file
After Width: | Height: | Size: 932 KiB |
36
Assets/fancyedge_01Surface_Color.png.import
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path.s3tc="res://.import/fancyedge_01Surface_Color.png-40f3048c28aca3c212cbb22bb2d2a61d.s3tc.stex"
|
||||||
|
path.etc2="res://.import/fancyedge_01Surface_Color.png-40f3048c28aca3c212cbb22bb2d2a61d.etc2.stex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": [ "s3tc", "etc2" ],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/fancyedge_01Surface_Color.png"
|
||||||
|
dest_files=[ "res://.import/fancyedge_01Surface_Color.png-40f3048c28aca3c212cbb22bb2d2a61d.s3tc.stex", "res://.import/fancyedge_01Surface_Color.png-40f3048c28aca3c212cbb22bb2d2a61d.etc2.stex" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_mode=0
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
flags/repeat=true
|
||||||
|
flags/filter=true
|
||||||
|
flags/mipmaps=true
|
||||||
|
flags/anisotropic=false
|
||||||
|
flags/srgb=1
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/HDR_as_SRGB=false
|
||||||
|
process/invert_color=false
|
||||||
|
stream=false
|
||||||
|
size_limit=0
|
||||||
|
detect_3d=false
|
||||||
|
svg/scale=1.0
|
BIN
Assets/green_felt_ambientOcclusion.png
Normal file
After Width: | Height: | Size: 12 MiB |
36
Assets/green_felt_ambientOcclusion.png.import
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path.s3tc="res://.import/green_felt_ambientOcclusion.png-1de4e79c4f2015d66691c66d776bb4ad.s3tc.stex"
|
||||||
|
path.etc2="res://.import/green_felt_ambientOcclusion.png-1de4e79c4f2015d66691c66d776bb4ad.etc2.stex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": [ "s3tc", "etc2" ],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/green_felt_ambientOcclusion.png"
|
||||||
|
dest_files=[ "res://.import/green_felt_ambientOcclusion.png-1de4e79c4f2015d66691c66d776bb4ad.s3tc.stex", "res://.import/green_felt_ambientOcclusion.png-1de4e79c4f2015d66691c66d776bb4ad.etc2.stex" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_mode=0
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
flags/repeat=true
|
||||||
|
flags/filter=true
|
||||||
|
flags/mipmaps=true
|
||||||
|
flags/anisotropic=false
|
||||||
|
flags/srgb=2
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/HDR_as_SRGB=false
|
||||||
|
process/invert_color=false
|
||||||
|
stream=false
|
||||||
|
size_limit=0
|
||||||
|
detect_3d=false
|
||||||
|
svg/scale=1.0
|
BIN
Assets/green_felt_basecolor.png
Normal file
After Width: | Height: | Size: 15 MiB |
36
Assets/green_felt_basecolor.png.import
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path.s3tc="res://.import/green_felt_basecolor.png-61edd4446bf093f771a799df1af26c79.s3tc.stex"
|
||||||
|
path.etc2="res://.import/green_felt_basecolor.png-61edd4446bf093f771a799df1af26c79.etc2.stex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": [ "s3tc", "etc2" ],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/green_felt_basecolor.png"
|
||||||
|
dest_files=[ "res://.import/green_felt_basecolor.png-61edd4446bf093f771a799df1af26c79.s3tc.stex", "res://.import/green_felt_basecolor.png-61edd4446bf093f771a799df1af26c79.etc2.stex" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_mode=0
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
flags/repeat=true
|
||||||
|
flags/filter=true
|
||||||
|
flags/mipmaps=true
|
||||||
|
flags/anisotropic=false
|
||||||
|
flags/srgb=1
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/HDR_as_SRGB=false
|
||||||
|
process/invert_color=false
|
||||||
|
stream=false
|
||||||
|
size_limit=0
|
||||||
|
detect_3d=false
|
||||||
|
svg/scale=1.0
|
BIN
Assets/green_felt_normal.png
Normal file
After Width: | Height: | Size: 15 MiB |
36
Assets/green_felt_normal.png.import
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path.s3tc="res://.import/green_felt_normal.png-ae9d57f34c992c408c736b0e20895f35.s3tc.stex"
|
||||||
|
path.etc2="res://.import/green_felt_normal.png-ae9d57f34c992c408c736b0e20895f35.etc2.stex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": [ "s3tc", "etc2" ],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/green_felt_normal.png"
|
||||||
|
dest_files=[ "res://.import/green_felt_normal.png-ae9d57f34c992c408c736b0e20895f35.s3tc.stex", "res://.import/green_felt_normal.png-ae9d57f34c992c408c736b0e20895f35.etc2.stex" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_mode=0
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=1
|
||||||
|
flags/repeat=true
|
||||||
|
flags/filter=true
|
||||||
|
flags/mipmaps=true
|
||||||
|
flags/anisotropic=false
|
||||||
|
flags/srgb=2
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/HDR_as_SRGB=false
|
||||||
|
process/invert_color=false
|
||||||
|
stream=false
|
||||||
|
size_limit=0
|
||||||
|
detect_3d=false
|
||||||
|
svg/scale=1.0
|
BIN
Assets/noise.png
Normal file
After Width: | Height: | Size: 637 KiB |
36
Assets/noise.png.import
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path.s3tc="res://.import/noise.png-21fb0e63b7cfb028d833f0edd6a9bf77.s3tc.stex"
|
||||||
|
path.etc2="res://.import/noise.png-21fb0e63b7cfb028d833f0edd6a9bf77.etc2.stex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": [ "s3tc", "etc2" ],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/noise.png"
|
||||||
|
dest_files=[ "res://.import/noise.png-21fb0e63b7cfb028d833f0edd6a9bf77.s3tc.stex", "res://.import/noise.png-21fb0e63b7cfb028d833f0edd6a9bf77.etc2.stex" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_mode=0
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
flags/repeat=true
|
||||||
|
flags/filter=true
|
||||||
|
flags/mipmaps=true
|
||||||
|
flags/anisotropic=false
|
||||||
|
flags/srgb=2
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/HDR_as_SRGB=false
|
||||||
|
process/invert_color=false
|
||||||
|
stream=false
|
||||||
|
size_limit=0
|
||||||
|
detect_3d=false
|
||||||
|
svg/scale=1.0
|
22
Dice.gd
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
extends RigidBody
|
||||||
|
|
||||||
|
var outline_visible = false
|
||||||
|
|
||||||
|
# Called when the node enters the scene tree for the first time.
|
||||||
|
func _ready():
|
||||||
|
self.mode = RigidBody.MODE_RIGID
|
||||||
|
get_node("MeshInstance/MeshOutline").visible = false
|
||||||
|
|
||||||
|
func _toggle_outline():
|
||||||
|
outline_visible = !outline_visible
|
||||||
|
if outline_visible:
|
||||||
|
self.mode = RigidBody.MODE_STATIC
|
||||||
|
get_node("MeshInstance/MeshOutline").visible = true
|
||||||
|
else:
|
||||||
|
self.mode = RigidBody.MODE_RIGID
|
||||||
|
get_node("MeshInstance/MeshOutline").visible = false
|
||||||
|
|
||||||
|
func _on_Dice_input_event(_camera, event, _click_position, _click_normal, _shape_idx):
|
||||||
|
if event is InputEventMouseButton:
|
||||||
|
if event.button_index == BUTTON_LEFT and event.pressed:
|
||||||
|
_toggle_outline()
|
323
FancyBar.tres
Normal file
@ -0,0 +1,323 @@
|
|||||||
|
[gd_resource type="ShaderMaterial" load_steps=29 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://Assets/fancyedge_01Normal.png" type="Texture" id=1]
|
||||||
|
[ext_resource path="res://Assets/fancyedge_01Surface_Color.png" type="Texture" id=2]
|
||||||
|
[ext_resource path="res://Assets/fancyedge_01Diffusion.png" type="Texture" id=3]
|
||||||
|
[ext_resource path="res://Assets/noise.png" type="Texture" id=4]
|
||||||
|
|
||||||
|
[sub_resource type="VisualShaderNodeTexture" id=1]
|
||||||
|
output_port_for_preview = 0
|
||||||
|
texture = ExtResource( 4 )
|
||||||
|
|
||||||
|
[sub_resource type="VisualShaderNodeVectorOp" id=2]
|
||||||
|
output_port_for_preview = 0
|
||||||
|
operator = 2
|
||||||
|
|
||||||
|
[sub_resource type="VisualShaderNodeVectorOp" id=3]
|
||||||
|
output_port_for_preview = 0
|
||||||
|
default_input_values = [ 0, Vector3( 0, 0, 0 ), 1, Vector3( 0.5, 0.5, 0.5 ) ]
|
||||||
|
operator = 2
|
||||||
|
|
||||||
|
[sub_resource type="VisualShaderNodeScalarFunc" id=4]
|
||||||
|
output_port_for_preview = 0
|
||||||
|
function = 31
|
||||||
|
|
||||||
|
[sub_resource type="VisualShaderNodeVectorCompose" id=5]
|
||||||
|
|
||||||
|
[sub_resource type="VisualShaderNodeInput" id=6]
|
||||||
|
input_name = "time"
|
||||||
|
|
||||||
|
[sub_resource type="VisualShaderNodeInput" id=7]
|
||||||
|
output_port_for_preview = 0
|
||||||
|
input_name = "uv"
|
||||||
|
|
||||||
|
[sub_resource type="VisualShaderNodeScalarOp" id=8]
|
||||||
|
default_input_values = [ 0, 0.0, 1, -0.005 ]
|
||||||
|
operator = 2
|
||||||
|
|
||||||
|
[sub_resource type="VisualShaderNodeTexture" id=9]
|
||||||
|
texture = ExtResource( 2 )
|
||||||
|
texture_type = 1
|
||||||
|
|
||||||
|
[sub_resource type="VisualShaderNodeVectorCompose" id=10]
|
||||||
|
|
||||||
|
[sub_resource type="VisualShaderNodeVectorOp" id=11]
|
||||||
|
output_port_for_preview = 0
|
||||||
|
|
||||||
|
[sub_resource type="VisualShaderNodeVectorOp" id=12]
|
||||||
|
output_port_for_preview = 0
|
||||||
|
default_input_values = [ 0, Vector3( 0, 0, 0 ), 1, Vector3( 7, 0, 0 ) ]
|
||||||
|
operator = 2
|
||||||
|
|
||||||
|
[sub_resource type="VisualShaderNodeColorOp" id=13]
|
||||||
|
output_port_for_preview = 0
|
||||||
|
default_input_values = [ 0, Vector3( 0, 0, 0 ), 1, Vector3( 0.1, 0, 0 ) ]
|
||||||
|
operator = 4
|
||||||
|
|
||||||
|
[sub_resource type="VisualShaderNodeVectorDecompose" id=14]
|
||||||
|
|
||||||
|
[sub_resource type="VisualShaderNodeColorFunc" id=15]
|
||||||
|
|
||||||
|
[sub_resource type="VisualShaderNodeColorOp" id=16]
|
||||||
|
default_input_values = [ 0, Vector3( 0, 0, 0 ), 1, Vector3( 2, 2, 2 ) ]
|
||||||
|
operator = 8
|
||||||
|
|
||||||
|
[sub_resource type="VisualShaderNodeVectorOp" id=17]
|
||||||
|
default_input_values = [ 0, Vector3( 0, 0, 0 ), 1, Vector3( 0.25, 0.25, 0.25 ) ]
|
||||||
|
operator = 2
|
||||||
|
|
||||||
|
[sub_resource type="VisualShaderNodeScalarConstant" id=18]
|
||||||
|
|
||||||
|
[sub_resource type="VisualShaderNodeTexture" id=19]
|
||||||
|
texture = ExtResource( 3 )
|
||||||
|
|
||||||
|
[sub_resource type="VisualShaderNodeTexture" id=20]
|
||||||
|
texture = ExtResource( 1 )
|
||||||
|
texture_type = 2
|
||||||
|
|
||||||
|
[sub_resource type="VisualShaderNodeVectorOp" id=21]
|
||||||
|
default_input_values = [ 0, Vector3( 0, 0, 0 ), 1, Vector3( 0.1, 0.025, 0.1 ) ]
|
||||||
|
operator = 2
|
||||||
|
|
||||||
|
[sub_resource type="VisualShaderNodeVectorDecompose" id=22]
|
||||||
|
|
||||||
|
[sub_resource type="VisualShaderNodeVectorOp" id=23]
|
||||||
|
default_input_values = [ 0, Vector3( 0, 0, 0 ), 1, Vector3( 1, 1, 1 ) ]
|
||||||
|
operator = 2
|
||||||
|
|
||||||
|
[sub_resource type="VisualShader" id=24]
|
||||||
|
code = "shader_type spatial;
|
||||||
|
render_mode specular_schlick_ggx;
|
||||||
|
|
||||||
|
uniform sampler2D tex_frg_2 : hint_albedo;
|
||||||
|
uniform sampler2D tex_frg_3;
|
||||||
|
uniform sampler2D tex_frg_10;
|
||||||
|
uniform sampler2D tex_frg_4 : hint_normal;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
void vertex() {
|
||||||
|
// Output:0
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void fragment() {
|
||||||
|
// Texture:2
|
||||||
|
vec4 tex_frg_2_read = texture(tex_frg_2, UV.xy);
|
||||||
|
vec3 n_out2p0 = tex_frg_2_read.rgb;
|
||||||
|
float n_out2p1 = tex_frg_2_read.a;
|
||||||
|
|
||||||
|
// VectorOp:5
|
||||||
|
vec3 n_in5p1 = vec3(0.10000, 0.02500, 0.10000);
|
||||||
|
vec3 n_out5p0 = n_out2p0 * n_in5p1;
|
||||||
|
|
||||||
|
// Scalar:29
|
||||||
|
float n_out29p0 = 0.000000;
|
||||||
|
|
||||||
|
// ColorFunc:25
|
||||||
|
vec3 n_out25p0;
|
||||||
|
{
|
||||||
|
vec3 c = n_out2p0;
|
||||||
|
float max1 = max(c.r, c.g);
|
||||||
|
float max2 = max(max1, c.b);
|
||||||
|
float max3 = max(max1, max2);
|
||||||
|
n_out25p0 = vec3(max3, max3, max3);
|
||||||
|
}
|
||||||
|
|
||||||
|
// ColorOp:26
|
||||||
|
vec3 n_in26p1 = vec3(2.00000, 2.00000, 2.00000);
|
||||||
|
vec3 n_out26p0;
|
||||||
|
{
|
||||||
|
float base = n_out25p0.x;
|
||||||
|
float blend = n_in26p1.x;
|
||||||
|
if (base < 0.5) {
|
||||||
|
n_out26p0.x = (base * (2.0 * blend));
|
||||||
|
} else {
|
||||||
|
n_out26p0.x = (1.0 - (1.0 - base) * (1.0 - 2.0 * (blend - 0.5)));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
float base = n_out25p0.y;
|
||||||
|
float blend = n_in26p1.y;
|
||||||
|
if (base < 0.5) {
|
||||||
|
n_out26p0.y = (base * (2.0 * blend));
|
||||||
|
} else {
|
||||||
|
n_out26p0.y = (1.0 - (1.0 - base) * (1.0 - 2.0 * (blend - 0.5)));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
float base = n_out25p0.z;
|
||||||
|
float blend = n_in26p1.z;
|
||||||
|
if (base < 0.5) {
|
||||||
|
n_out26p0.z = (base * (2.0 * blend));
|
||||||
|
} else {
|
||||||
|
n_out26p0.z = (1.0 - (1.0 - base) * (1.0 - 2.0 * (blend - 0.5)));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// VectorDecompose:24
|
||||||
|
float n_out24p0 = n_out26p0.x;
|
||||||
|
float n_out24p1 = n_out26p0.y;
|
||||||
|
float n_out24p2 = n_out26p0.z;
|
||||||
|
|
||||||
|
// Texture:3
|
||||||
|
vec4 tex_frg_3_read = texture(tex_frg_3, UV.xy);
|
||||||
|
vec3 n_out3p0 = tex_frg_3_read.rgb;
|
||||||
|
float n_out3p1 = tex_frg_3_read.a;
|
||||||
|
|
||||||
|
// VectorDecompose:6
|
||||||
|
float n_out6p0 = n_out3p0.x;
|
||||||
|
float n_out6p1 = n_out3p0.y;
|
||||||
|
float n_out6p2 = n_out3p0.z;
|
||||||
|
|
||||||
|
// ScalarFunc:15
|
||||||
|
float n_out15p0 = 1.0 - n_out6p2;
|
||||||
|
|
||||||
|
// VectorCompose:16
|
||||||
|
vec3 n_out16p0 = vec3(n_out15p0, n_out15p0, n_out15p0);
|
||||||
|
|
||||||
|
// Input:18
|
||||||
|
vec3 n_out18p0 = vec3(UV, 0.0);
|
||||||
|
|
||||||
|
// VectorOp:27
|
||||||
|
vec3 n_in27p1 = vec3(0.25000, 0.25000, 0.25000);
|
||||||
|
vec3 n_out27p0 = n_out18p0 * n_in27p1;
|
||||||
|
|
||||||
|
// Input:17
|
||||||
|
float n_out17p0 = TIME;
|
||||||
|
|
||||||
|
// ScalarOp:19
|
||||||
|
float n_in19p1 = -0.00500;
|
||||||
|
float n_out19p0 = n_out17p0 * n_in19p1;
|
||||||
|
|
||||||
|
// VectorCompose:20
|
||||||
|
float n_in20p1 = 0.00000;
|
||||||
|
float n_in20p2 = 0.00000;
|
||||||
|
vec3 n_out20p0 = vec3(n_out19p0, n_in20p1, n_in20p2);
|
||||||
|
|
||||||
|
// VectorOp:21
|
||||||
|
vec3 n_out21p0 = n_out27p0 + n_out20p0;
|
||||||
|
|
||||||
|
// Texture:10
|
||||||
|
vec4 tex_frg_10_read = texture(tex_frg_10, n_out21p0.xy);
|
||||||
|
vec3 n_out10p0 = tex_frg_10_read.rgb;
|
||||||
|
float n_out10p1 = tex_frg_10_read.a;
|
||||||
|
|
||||||
|
// VectorOp:11
|
||||||
|
vec3 n_out11p0 = n_out16p0 * n_out10p0;
|
||||||
|
|
||||||
|
// VectorOp:22
|
||||||
|
vec3 n_in22p1 = vec3(7.00000, 0.00000, 0.00000);
|
||||||
|
vec3 n_out22p0 = n_out11p0 * n_in22p1;
|
||||||
|
|
||||||
|
// ColorOp:23
|
||||||
|
vec3 n_in23p1 = vec3(0.10000, 0.00000, 0.00000);
|
||||||
|
vec3 n_out23p0;
|
||||||
|
{
|
||||||
|
float base = n_out22p0.x;
|
||||||
|
float blend = n_in23p1.x;
|
||||||
|
if (base < 0.5) {
|
||||||
|
n_out23p0.x = 2.0 * base * blend;
|
||||||
|
} else {
|
||||||
|
n_out23p0.x = 1.0 - 2.0 * (1.0 - blend) * (1.0 - base);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
float base = n_out22p0.y;
|
||||||
|
float blend = n_in23p1.y;
|
||||||
|
if (base < 0.5) {
|
||||||
|
n_out23p0.y = 2.0 * base * blend;
|
||||||
|
} else {
|
||||||
|
n_out23p0.y = 1.0 - 2.0 * (1.0 - blend) * (1.0 - base);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
float base = n_out22p0.z;
|
||||||
|
float blend = n_in23p1.z;
|
||||||
|
if (base < 0.5) {
|
||||||
|
n_out23p0.z = 2.0 * base * blend;
|
||||||
|
} else {
|
||||||
|
n_out23p0.z = 1.0 - 2.0 * (1.0 - blend) * (1.0 - base);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// VectorOp:13
|
||||||
|
vec3 n_in13p1 = vec3(0.50000, 0.50000, 0.50000);
|
||||||
|
vec3 n_out13p0 = n_out23p0 * n_in13p1;
|
||||||
|
|
||||||
|
// Texture:4
|
||||||
|
vec4 tex_frg_4_read = texture(tex_frg_4, UV.xy);
|
||||||
|
vec3 n_out4p0 = tex_frg_4_read.rgb;
|
||||||
|
float n_out4p1 = tex_frg_4_read.a;
|
||||||
|
|
||||||
|
// VectorOp:7
|
||||||
|
vec3 n_in7p1 = vec3(1.00000, 1.00000, 1.00000);
|
||||||
|
vec3 n_out7p0 = n_out4p0 * n_in7p1;
|
||||||
|
|
||||||
|
// Output:0
|
||||||
|
ALBEDO = n_out5p0;
|
||||||
|
METALLIC = n_out29p0;
|
||||||
|
ROUGHNESS = n_out24p0;
|
||||||
|
EMISSION = n_out13p0;
|
||||||
|
AO = n_out6p0;
|
||||||
|
NORMALMAP = n_out7p0;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void light() {
|
||||||
|
// Output:0
|
||||||
|
|
||||||
|
}
|
||||||
|
"
|
||||||
|
graph_offset = Vector2( 657.707, 684.756 )
|
||||||
|
nodes/fragment/0/position = Vector2( 1920, 340 )
|
||||||
|
nodes/fragment/2/node = SubResource( 9 )
|
||||||
|
nodes/fragment/2/position = Vector2( -60, 120 )
|
||||||
|
nodes/fragment/3/node = SubResource( 19 )
|
||||||
|
nodes/fragment/3/position = Vector2( -60, 360 )
|
||||||
|
nodes/fragment/4/node = SubResource( 20 )
|
||||||
|
nodes/fragment/4/position = Vector2( -60, 940 )
|
||||||
|
nodes/fragment/5/node = SubResource( 21 )
|
||||||
|
nodes/fragment/5/position = Vector2( 260, 120 )
|
||||||
|
nodes/fragment/6/node = SubResource( 22 )
|
||||||
|
nodes/fragment/6/position = Vector2( 180, 380 )
|
||||||
|
nodes/fragment/7/node = SubResource( 23 )
|
||||||
|
nodes/fragment/7/position = Vector2( 285, 792 )
|
||||||
|
nodes/fragment/10/node = SubResource( 1 )
|
||||||
|
nodes/fragment/10/position = Vector2( -60, 600 )
|
||||||
|
nodes/fragment/11/node = SubResource( 2 )
|
||||||
|
nodes/fragment/11/position = Vector2( 820, 480 )
|
||||||
|
nodes/fragment/13/node = SubResource( 3 )
|
||||||
|
nodes/fragment/13/position = Vector2( 1400, 480 )
|
||||||
|
nodes/fragment/15/node = SubResource( 4 )
|
||||||
|
nodes/fragment/15/position = Vector2( 400, 460 )
|
||||||
|
nodes/fragment/16/node = SubResource( 5 )
|
||||||
|
nodes/fragment/16/position = Vector2( 600, 460 )
|
||||||
|
nodes/fragment/17/node = SubResource( 6 )
|
||||||
|
nodes/fragment/17/position = Vector2( -1040, 820 )
|
||||||
|
nodes/fragment/18/node = SubResource( 7 )
|
||||||
|
nodes/fragment/18/position = Vector2( -920, 600 )
|
||||||
|
nodes/fragment/19/node = SubResource( 8 )
|
||||||
|
nodes/fragment/19/position = Vector2( -840, 800 )
|
||||||
|
nodes/fragment/20/node = SubResource( 10 )
|
||||||
|
nodes/fragment/20/position = Vector2( -600, 820 )
|
||||||
|
nodes/fragment/21/node = SubResource( 11 )
|
||||||
|
nodes/fragment/21/position = Vector2( -340, 660 )
|
||||||
|
nodes/fragment/22/node = SubResource( 12 )
|
||||||
|
nodes/fragment/22/position = Vector2( 1020, 480 )
|
||||||
|
nodes/fragment/23/node = SubResource( 13 )
|
||||||
|
nodes/fragment/23/position = Vector2( 1220, 480 )
|
||||||
|
nodes/fragment/24/node = SubResource( 14 )
|
||||||
|
nodes/fragment/24/position = Vector2( 880, 320 )
|
||||||
|
nodes/fragment/25/node = SubResource( 15 )
|
||||||
|
nodes/fragment/25/position = Vector2( 400, 260 )
|
||||||
|
nodes/fragment/26/node = SubResource( 16 )
|
||||||
|
nodes/fragment/26/position = Vector2( 660, 300 )
|
||||||
|
nodes/fragment/27/node = SubResource( 17 )
|
||||||
|
nodes/fragment/27/position = Vector2( -660, 640 )
|
||||||
|
nodes/fragment/29/node = SubResource( 18 )
|
||||||
|
nodes/fragment/29/position = Vector2( 1280, 280 )
|
||||||
|
nodes/fragment/connections = PoolIntArray( 2, 0, 5, 0, 3, 0, 6, 0, 4, 0, 7, 0, 10, 0, 11, 1, 6, 2, 15, 0, 15, 0, 16, 2, 15, 0, 16, 0, 15, 0, 16, 1, 16, 0, 11, 0, 7, 0, 0, 8, 20, 0, 21, 1, 21, 0, 10, 0, 17, 0, 19, 0, 5, 0, 0, 0, 11, 0, 22, 0, 22, 0, 23, 0, 23, 0, 13, 0, 2, 0, 25, 0, 25, 0, 26, 0, 26, 0, 24, 0, 19, 0, 20, 0, 27, 0, 21, 0, 18, 0, 27, 0, 13, 0, 0, 5, 6, 0, 0, 6, 29, 0, 0, 2, 24, 0, 0, 3 )
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
shader = SubResource( 24 )
|
131
GreenFelt.tres
Normal file
@ -0,0 +1,131 @@
|
|||||||
|
[gd_resource type="ShaderMaterial" load_steps=11 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://Assets/green_felt_ambientOcclusion.png" type="Texture" id=1]
|
||||||
|
[ext_resource path="res://Assets/green_felt_basecolor.png" type="Texture" id=2]
|
||||||
|
[ext_resource path="res://Assets/green_felt_normal.png" type="Texture" id=3]
|
||||||
|
|
||||||
|
[sub_resource type="VisualShaderNodeTexture" id=1]
|
||||||
|
output_port_for_preview = 0
|
||||||
|
texture = ExtResource( 2 )
|
||||||
|
texture_type = 1
|
||||||
|
|
||||||
|
[sub_resource type="VisualShaderNodeVectorOp" id=2]
|
||||||
|
output_port_for_preview = 0
|
||||||
|
default_input_values = [ 0, Vector3( 0, 0, 0 ), 1, Vector3( 0.15, 0.15, 0.15 ) ]
|
||||||
|
operator = 2
|
||||||
|
|
||||||
|
[sub_resource type="VisualShaderNodeTexture" id=3]
|
||||||
|
texture = ExtResource( 3 )
|
||||||
|
texture_type = 2
|
||||||
|
|
||||||
|
[sub_resource type="VisualShaderNodeTexture" id=4]
|
||||||
|
texture = ExtResource( 1 )
|
||||||
|
|
||||||
|
[sub_resource type="VisualShaderNodeVectorDecompose" id=5]
|
||||||
|
|
||||||
|
[sub_resource type="VisualShaderNodeColorOp" id=6]
|
||||||
|
default_input_values = [ 0, Vector3( 0, 0, 0 ), 1, Vector3( 0, 0.1, 0 ) ]
|
||||||
|
operator = 7
|
||||||
|
|
||||||
|
[sub_resource type="VisualShader" id=7]
|
||||||
|
code = "shader_type spatial;
|
||||||
|
render_mode specular_schlick_ggx;
|
||||||
|
|
||||||
|
uniform sampler2D tex_frg_2 : hint_albedo;
|
||||||
|
uniform sampler2D tex_frg_7;
|
||||||
|
uniform sampler2D tex_frg_6 : hint_normal;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
void vertex() {
|
||||||
|
// Output:0
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void fragment() {
|
||||||
|
// Texture:2
|
||||||
|
vec4 tex_frg_2_read = texture(tex_frg_2, UV.xy);
|
||||||
|
vec3 n_out2p0 = tex_frg_2_read.rgb;
|
||||||
|
float n_out2p1 = tex_frg_2_read.a;
|
||||||
|
|
||||||
|
// VectorOp:4
|
||||||
|
vec3 n_in4p1 = vec3(0.15000, 0.15000, 0.15000);
|
||||||
|
vec3 n_out4p0 = n_out2p0 * n_in4p1;
|
||||||
|
|
||||||
|
// ColorOp:9
|
||||||
|
vec3 n_in9p1 = vec3(0.00000, 0.10000, 0.00000);
|
||||||
|
vec3 n_out9p0;
|
||||||
|
{
|
||||||
|
float base = n_out4p0.x;
|
||||||
|
float blend = n_in9p1.x;
|
||||||
|
if (base < 0.5) {
|
||||||
|
n_out9p0.x = (base * (blend + 0.5));
|
||||||
|
} else {
|
||||||
|
n_out9p0.x = (1.0 - (1.0 - base) * (1.0 - (blend - 0.5)));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
float base = n_out4p0.y;
|
||||||
|
float blend = n_in9p1.y;
|
||||||
|
if (base < 0.5) {
|
||||||
|
n_out9p0.y = (base * (blend + 0.5));
|
||||||
|
} else {
|
||||||
|
n_out9p0.y = (1.0 - (1.0 - base) * (1.0 - (blend - 0.5)));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
float base = n_out4p0.z;
|
||||||
|
float blend = n_in9p1.z;
|
||||||
|
if (base < 0.5) {
|
||||||
|
n_out9p0.z = (base * (blend + 0.5));
|
||||||
|
} else {
|
||||||
|
n_out9p0.z = (1.0 - (1.0 - base) * (1.0 - (blend - 0.5)));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Texture:7
|
||||||
|
vec4 tex_frg_7_read = texture(tex_frg_7, UV.xy);
|
||||||
|
vec3 n_out7p0 = tex_frg_7_read.rgb;
|
||||||
|
float n_out7p1 = tex_frg_7_read.a;
|
||||||
|
|
||||||
|
// VectorDecompose:8
|
||||||
|
float n_out8p0 = n_out7p0.x;
|
||||||
|
float n_out8p1 = n_out7p0.y;
|
||||||
|
float n_out8p2 = n_out7p0.z;
|
||||||
|
|
||||||
|
// Texture:6
|
||||||
|
vec4 tex_frg_6_read = texture(tex_frg_6, UV.xy);
|
||||||
|
vec3 n_out6p0 = tex_frg_6_read.rgb;
|
||||||
|
float n_out6p1 = tex_frg_6_read.a;
|
||||||
|
|
||||||
|
// Output:0
|
||||||
|
ALBEDO = n_out9p0;
|
||||||
|
ROUGHNESS = n_out8p0;
|
||||||
|
AO = n_out8p0;
|
||||||
|
NORMALMAP = n_out6p0;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void light() {
|
||||||
|
// Output:0
|
||||||
|
|
||||||
|
}
|
||||||
|
"
|
||||||
|
graph_offset = Vector2( 349.961, 139.535 )
|
||||||
|
nodes/fragment/0/position = Vector2( 1420, 300 )
|
||||||
|
nodes/fragment/2/node = SubResource( 1 )
|
||||||
|
nodes/fragment/2/position = Vector2( 600, 80 )
|
||||||
|
nodes/fragment/4/node = SubResource( 2 )
|
||||||
|
nodes/fragment/4/position = Vector2( 940, 240 )
|
||||||
|
nodes/fragment/6/node = SubResource( 3 )
|
||||||
|
nodes/fragment/6/position = Vector2( 600, 420 )
|
||||||
|
nodes/fragment/7/node = SubResource( 4 )
|
||||||
|
nodes/fragment/7/position = Vector2( 620, 660 )
|
||||||
|
nodes/fragment/8/node = SubResource( 5 )
|
||||||
|
nodes/fragment/8/position = Vector2( 880, 720 )
|
||||||
|
nodes/fragment/9/node = SubResource( 6 )
|
||||||
|
nodes/fragment/9/position = Vector2( 1200, 280 )
|
||||||
|
nodes/fragment/connections = PoolIntArray( 2, 0, 4, 0, 7, 0, 8, 0, 6, 0, 0, 8, 8, 0, 0, 6, 8, 0, 0, 3, 4, 0, 9, 0, 9, 0, 0, 0 )
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
shader = SubResource( 7 )
|
364
MainScene.tscn
Normal file
70
Simulation.gd
Normal file
@ -0,0 +1,70 @@
|
|||||||
|
extends Spatial
|
||||||
|
|
||||||
|
#var dice
|
||||||
|
var dices
|
||||||
|
var btn_roll
|
||||||
|
var lbl_debug
|
||||||
|
|
||||||
|
# Called when the node enters the scene tree for the first time.
|
||||||
|
func _ready():
|
||||||
|
dices = find_node("Dices")
|
||||||
|
# dice = find_node("Dice")
|
||||||
|
_init_roll_button()
|
||||||
|
_init_debug_labels()
|
||||||
|
|
||||||
|
func _init_roll_button():
|
||||||
|
btn_roll = Button.new()
|
||||||
|
btn_roll.text = "Roll"
|
||||||
|
btn_roll.connect("pressed", self, "_button_pressed")
|
||||||
|
add_child(btn_roll)
|
||||||
|
|
||||||
|
func _button_pressed():
|
||||||
|
print("applying force on dice")
|
||||||
|
for dice in dices.get_children():
|
||||||
|
if !dice.sleeping:
|
||||||
|
dice.apply_central_impulse(Vector3(0,50,0))
|
||||||
|
dice.apply_torque_impulse(Vector3(3,1,3))
|
||||||
|
|
||||||
|
func _process(_delta):
|
||||||
|
_update_debug_info()
|
||||||
|
for dice in dices.get_children():
|
||||||
|
if dice.global_transform.origin.y > 1:
|
||||||
|
dice.global_transform.origin.y = 1
|
||||||
|
|
||||||
|
## Debug
|
||||||
|
func _init_debug_labels():
|
||||||
|
lbl_debug = Label.new()
|
||||||
|
lbl_debug.text = "init"
|
||||||
|
lbl_debug.set_position(Vector2(10,50))
|
||||||
|
add_child(lbl_debug)
|
||||||
|
|
||||||
|
func _update_debug_info():
|
||||||
|
var debug_text = "Scores:\n"
|
||||||
|
var count = 1
|
||||||
|
var sum = 0
|
||||||
|
for dice in dices.get_children():
|
||||||
|
var result = _get_score_of_dice(dice)
|
||||||
|
sum += int(result)
|
||||||
|
debug_text += str("\n Dice ",count,": ",result)
|
||||||
|
count += 1
|
||||||
|
debug_text += str("\n Total Score: ",sum)
|
||||||
|
lbl_debug.text = str(debug_text)
|
||||||
|
|
||||||
|
func _get_score_of_dice(dice):
|
||||||
|
var dice_vector = dice.global_transform.basis.get_euler()
|
||||||
|
var x = stepify(dice_vector.x, 2)
|
||||||
|
var z = stepify(dice_vector.z, 2)
|
||||||
|
var current_result = ""
|
||||||
|
if x == 0 && z == 0:
|
||||||
|
current_result = "1"
|
||||||
|
elif x == 0 && z == 2:
|
||||||
|
current_result = "2"
|
||||||
|
elif x == 0 && (z == -4 || z == 4):
|
||||||
|
current_result = "3"
|
||||||
|
elif x == 0 && z == -2:
|
||||||
|
current_result = "4"
|
||||||
|
elif x == -2:
|
||||||
|
current_result = "5"
|
||||||
|
elif x == 2:
|
||||||
|
current_result = "6"
|
||||||
|
return current_result
|
14
default_env.tres
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
[gd_resource type="Environment" load_steps=2 format=2]
|
||||||
|
|
||||||
|
[sub_resource type="ProceduralSky" id=1]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
background_mode = 2
|
||||||
|
background_sky = SubResource( 1 )
|
||||||
|
background_color = Color( 0.737255, 0.694118, 0.564706, 1 )
|
||||||
|
glow_enabled = true
|
||||||
|
glow_levels/5 = false
|
||||||
|
glow_strength = 1.51
|
||||||
|
glow_hdr_threshold = 1.14
|
||||||
|
glow_hdr_luminance_cap = 9.89
|
||||||
|
glow_hdr_scale = 1.75
|
34
icon.png.import
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://icon.png"
|
||||||
|
dest_files=[ "res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_mode=0
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
flags/repeat=0
|
||||||
|
flags/filter=true
|
||||||
|
flags/mipmaps=false
|
||||||
|
flags/anisotropic=false
|
||||||
|
flags/srgb=2
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/HDR_as_SRGB=false
|
||||||
|
process/invert_color=false
|
||||||
|
stream=false
|
||||||
|
size_limit=0
|
||||||
|
detect_3d=true
|
||||||
|
svg/scale=1.0
|
24
project.godot
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
; 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=4
|
||||||
|
|
||||||
|
[application]
|
||||||
|
|
||||||
|
config/name="Dice Rolling Simulator"
|
||||||
|
run/main_scene="res://MainScene.tscn"
|
||||||
|
config/icon="res://icon.png"
|
||||||
|
|
||||||
|
[physics]
|
||||||
|
|
||||||
|
common/enable_pause_aware_picking=true
|
||||||
|
3d/physics_engine="Bullet"
|
||||||
|
|
||||||
|
[rendering]
|
||||||
|
|
||||||
|
environment/default_environment="res://default_env.tres"
|