@@ -55,3 +55,110 @@ DEF Blue5 NaoV6 {
5555 jerseyColor 0 0.75 1
5656 }
5757}
58+
59+ #VRML_SIM R2022b utf8
60+ EXTERNPROTO "https://raw.githubusercontent.com/cyberbotics/webots/R2022b/projects/objects/backgrounds/protos/TexturedBackground.proto"
61+ EXTERNPROTO "https://raw.githubusercontent.com/cyberbotics/webots/R2022b/projects/objects/backgrounds/protos/TexturedBackgroundLight.proto"
62+ EXTERNPROTO "../protos/SPL_Field.proto"
63+ EXTERNPROTO "../protos/SPL_Ball.proto"
64+ EXTERNPROTO "../protos/NaoV6.proto"
65+ EXTERNPROTO "../protos/NaoJersey.proto"
66+ WorldInfo {
67+ info [
68+ "Simulation of the Robocup Standard Platform League"
69+ ]
70+ title "Robocup"
71+ basicTimeStep 12
72+ defaultDamping Damping {
73+ linear 0.3
74+ angular 0.75
75+ }
76+ contactProperties [
77+ ContactProperties {
78+ material1 "NAO foot material"
79+ coulombFriction [
80+ 7
81+ ]
82+ bounce 0.3
83+ bounceVelocity 0.003
84+ bumpSound ""
85+ rollSound ""
86+ slideSound ""
87+ }
88+ ]
89+ }
90+ Viewpoint {
91+ orientation -0.4 0.4 0.8 1.77
92+ position 0 -10 13
93+ followType "Pan and Tilt Shot"
94+ }
95+ TexturedBackground {
96+ texture "stadium"
97+ }
98+ TexturedBackgroundLight {
99+ texture "stadium"
100+ }
101+ SPL_Field {
102+ }
103+ SPL_Ball {
104+ }
105+ DEF Blue5 NaoV6 {
106+ translation -0.75 3.1 0.334
107+ rotation 0 0 1 -1.57
108+ name "Blue5"
109+ jersey NaoJersey {
110+ jerseyTexture [
111+ "../protos/textures/nao_jersey_dark_5.png"
112+ ]
113+ jerseyColor 0 0.75 1
114+ }
115+ }
116+
117+ Solid {
118+ translation 0 0 0
119+ children [
120+ Shape {
121+ appearance PBRAppearance {
122+ baseColorMap ImageTexture {
123+ url ["https://e7.pngegg.com/pngimages/942/789/png-clipart-adobe-creative-cloud-adobe-bridge-face-gimp-recruiter-face-photography.png"]
124+ }
125+ transparency 0
126+ metalness 0
127+ roughness 1
128+ }
129+ geometry IndexedFaceSet {
130+ coord Coordinate {
131+ point [
132+ 0.25 -0.05 0, -0.25 -0.05 0, -0.25 -0.05 0.5, 0.25 -0.05 0.5,
133+ 0.25 0.05 0, -0.25 0.05 0, -0.25 0.05 0.5, 0.25 0.05 0.5
134+ ]
135+ }
136+ coordIndex [
137+ 0, 1, 2, 3, -1,
138+ 4, 5, 6, 7, -1,
139+ 0, 1, 5, 4, -1,
140+ 1, 2, 6, 5, -1,
141+ 2, 3, 7, 6, -1,
142+ 3, 0, 4, 7, -1
143+ ]
144+ texCoord TextureCoordinate {
145+ point [
146+ 0 0, 1 0, 1 1, 0 1,
147+ 0 0, 1 0, 1 1, 0 1
148+ ]
149+ }
150+ texCoordIndex [
151+ 0, 1, 2, 3, -1,
152+ 0, 1, 2, 3, -1,
153+ 0, 1, 2, 3, -1,
154+ 0, 1, 2, 3, -1,
155+ 0, 1, 2, 3, -1,
156+ 0, 1, 2, 3, -1
157+ ]
158+ }
159+ }
160+ ]
161+ boundingObject Box {
162+ size 0.5 0.1 0.5
163+ }
164+ }
0 commit comments