Upload files to "/"

This commit is contained in:
RK117 2023-11-16 11:00:02 -08:00
parent 7bb361e943
commit 5237550eb3
5 changed files with 17235 additions and 0 deletions

51
cgtosm.tscn Normal file
View File

@ -0,0 +1,51 @@
[gd_scene load_steps=8 format=3 uid="uid://mrvl31gfybct"]
[ext_resource type="Script" path="res://mapper.gd" id="1_fj876"]
[ext_resource type="Material" uid="uid://bh6upxp7jv45j" path="res://red.tres" id="2_kjr6x"]
[ext_resource type="Script" path="res://MoveCam.gd" id="2_l4cv8"]
[ext_resource type="Script" path="res://crosshair.gd" id="3_uho8j"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_8hdxo"]
[sub_resource type="PlaneMesh" id="PlaneMesh_5u5qg"]
[sub_resource type="BoxMesh" id="BoxMesh_22qfd"]
[node name="cgtosm" type="Node3D"]
[node name="mapper" type="HTTPRequest" parent="." node_paths=PackedStringArray("img")]
script = ExtResource("1_fj876")
img = NodePath("../MeshInstance3D")
lat = 45.555
long = -73.576
zoom = 17
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 150, 0)
fov = 90.0
size = 250.0
near = 0.001
script = ExtResource("2_l4cv8")
movespeed = 100.0
rotatespeed = 2.0
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(0.5, 0, 0, 0, 1, 0, 0, 0, 0.5, 0, 0, 0)
material_override = SubResource("StandardMaterial3D_8hdxo")
mesh = SubResource("PlaneMesh_5u5qg")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 1, 0)
[node name="100 meter" type="MeshInstance3D" parent="." node_paths=PackedStringArray("cam")]
transform = Transform3D(3, 0, 0, 0, 1, 0, 0, 0, 100, 0, 0, 0)
material_override = ExtResource("2_kjr6x")
mesh = SubResource("BoxMesh_22qfd")
script = ExtResource("3_uho8j")
cam = NodePath("../Camera3D")
[node name="100 meter2" type="MeshInstance3D" parent="100 meter"]
transform = Transform3D(-4.37114e-08, 0, 33.3333, 0, 1, 0, -0.03, 0, -4.37114e-08, 0, 0, 0)
material_override = ExtResource("2_kjr6x")
mesh = SubResource("BoxMesh_22qfd")
skeleton = NodePath("../..")

13
crosshair.gd Normal file
View File

@ -0,0 +1,13 @@
extends MeshInstance3D
@export var cam: Node3D
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
self.position=Vector3(cam.position.x,self.position.y,cam.position.z)
self.rotation=Vector3(self.rotation.x,cam.rotation.y,self.rotation.z)
pass

BIN
dmesh.fbx Normal file

Binary file not shown.

62
dmesho.mtl Normal file
View File

@ -0,0 +1,62 @@
# Blender 3.6.1 MTL File: 'None'
# www.blender.org
newmtl Black
Ns 250.000000
Ka 1.000000 1.000000 1.000000
Kd 0.000000 0.000000 0.000000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 2
newmtl Default
Ns 250.000000
Ka 1.000000 1.000000 1.000000
Kd 0.480000 0.480000 0.480000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 2
newmtl PropBlur
Ns 250.000000
Ka 1.000000 1.000000 1.000000
Kd 0.800000 0.800000 0.800000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 0.800000
illum 9
newmtl White
Ns 250.000000
Ka 1.000000 1.000000 1.000000
Kd 0.800000 0.800000 0.800000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 2
newmtl WhiteEyes
Ns 250.000000
Ka 1.000000 1.000000 1.000000
Kd 0.680000 0.680000 0.680000
Ks 0.000000 0.000000 0.000000
Ke 0.034852 0.248523 1.000000
Ni 1.450000
d 1.000000
illum 1
newmtl blue
Ns 250.000000
Ka 1.000000 1.000000 1.000000
Kd 0.345100 0.741200 0.843100
Ks 0.500000 0.500000 0.500000
Ke 0.008628 0.018530 0.021078
Ni 1.450000
d 1.000000
illum 2

17109
dmesho.obj Normal file

File diff suppressed because it is too large Load Diff