Why my .wrl code isnt working?

1 visualización (últimos 30 días)
Alix
Alix el 21 de En. de 2022
Comentada: Alix el 21 de En. de 2022
Why is my code not working? It doesn't shows any error message, it just doesn't works. This is the code.(it's supposed to be the body of a dinosaur) #VRML V2.0 utf8 Collision {collide TRUE children [DEF PISO Shape{ appearance Appearance { material Material {diffuseColor 0.6 0.5 0.1 }} geometry IndexedFaceSet {coord Coordinate { point [ #orden x y z #cuerpo 99 -298 5 #p32 0 108 -286 10 #p33 1 115-277 10 #p34 2 125-273-8 #p35 3 115-277-26 #p36 4 108-286-26 #p37 5 99-200-21 #p38 6 81 -312 -8 #p39 7 183 -276-8 #p8 183 -293 13 #p9 183 -339-40 #p10 183 -395 13 #p11 183 -418 -8 #p12 183 -383 -29 #p13 183 -339 -56 #p14 183 -293 -29 #p15 83 -322 -8 #p16 95 -322 17 #p17 124 -355 35 #p18 96 -353 30 #p19 95 -322 -33 #p20 124 -355 -51 #p21 96-353 -46 #p22 109 -366 50 #p23 138 -366 50 #p24 106 -414 53 #25 102 -414 38 #26 130 -414 53 #27 134 -414 18 #28 109 -366 -66 #29 138 -366 -66 #30 106 -414 -69 #31 102 -414 -54 #32 130 -414 -69 #33 134 -414 -34 #34 97 -474 38 #35 100-474 51 #36 121 -474 51 #37 124 -474 38 #38 84 -497 38 #39 88 -497 57 #40 116 -497 57 #41 122 -497 38 #42 100 -474 25 #43 121 -474 25 #44 88 -497 19 #45 116 -497 19 #46--- 106 -414 23 #47 C25 130 -414 18 #48 C27 106 -414 -31 #49 -C25 130 -414 -26 #50 -C27 97 -474 -46 #51 -C35 100 -474 -59 #52 -C36 121 -474 -59 #53 -C37 124 -474 -46 #54 -C38 100 -474 -33 #55 -C43 121 -474 -33 #56 -C44 84 -497 -46 #57 -C39 88 -497 -65 #58 -C40 116 -497 -65 #59 -C41 122 -497 -46 #60 -C42 116 -497 19 #61 46 88 -497 19 #62 45 116 -497 -27 #63 -C46 88 -497 -27 #64 -C45 255 -296 -8 #65---- 255 -312 13 #66 241 -347 40 #p67 234 -401 13 #68 300 -316 -8 #69 296 -328 17.2 #70 290 -356 22 #71 286 383 11 #72 255 -383 52 #73 281 -383 52 #74 253 401 52 #75 281 -401 52 #76 241 -465 13 #77 200 -465 47 #78 273 -465 47 #79 276 -465 13 #80 230 -497 13 #81 240 -497 49 #82 280 -497 49 #83 287 -497 13 #84 255 -312 -29 #85 C66 241 -347 -56 #86 C67 234 -401 -29 #87 C68 296 -328 -33.2 #88 C70 290 -356 -38 #89 C71 286 -383 -27 #90-- C72 255-383-48 #p91 C73 281-383-68 #p92 C74 253-401-68 #p93 C75 281-401-68 #p94 C76 241-465-29 #p95 C77 260-465-63 #p96 C78 273-465-63 #p97 C79 276-465-29 #P98 C80 230-497-29 #P99 C81 240 -497 65 #p100 C82 280-407-65 #p101 C83 287-497-29 #p102 C84 ]} coordIndex [
1,2,3,8,9,-1
0,1,9,10,18,19,17,-1
7,0,17,16,-1
3,4,5,15,8,-1
6,5,15,-1
15,14,21,6,-1
6,20,22,21,-1
7,6,20,16,-1
19,18,24,23,-1
19,23,25,26,-1
23,24,27,25,-1
24,18,28,27,-1
18,10,11,28,-1
22,21,30,29,-1
22,29,31,32,-1
29,30,33,31,-1
30,21,34,33,-1
21,14,13,34,-1
26,25,36,35,-1
25,27,37,36,-1
27,28,38,37,-1
35,36,40,39,-1
36,37,41,40,-1
37,38,42,41,-1
47,26,35,43,-1
47,48,44,43,-1
48,28,38,44,-1
32,31,52,51,-1
31,33,53,52,-1
33,34,54,53,-1
49,32,51,55,-1
49,50,56,55,-1
50,34,54,56,-1
35,43,45,39,-1
43,44,46,45,-1
44,38,4246,-1
51,52,58,57,-1
52,53,59,58,-1
53,54,60,59,-1
51,55,64,57,-1
55,56,63,64,-1
56,54,60,63,-1
39,40 41,-1
42,46,45,-1
]
solid FALSE }},]}
  1 comentario
Alix
Alix el 21 de En. de 2022
Here's the code again #VRML V2.0 utf8 Collision {collide TRUE children [DEF PISO Shape{ appearance Appearance { material Material {diffuseColor 0.6 0.5 0.1 }} geometry IndexedFaceSet {coord Coordinate { point [ #orden x y z #cuerpo 99 -298 5 #p32 0 108 -286 10 #p33 1 115-277 10 #p34 2 125-273-8 #p35 3 115-277-26 #p36 4 108-286-26 #p37 5 99-200-21 #p38 6 81 -312 -8 #p39 7 183 -276-8 #p8 183 -293 13 #p9 183 -339-40 #p10 183 -395 13 #p11 183 -418 -8 #p12 183 -383 -29 #p13 183 -339 -56 #p14 183 -293 -29 #p15 83 -322 -8 #p16 95 -322 17 #p17 124 -355 35 #p18 96 -353 30 #p19 95 -322 -33 #p20 124 -355 -51 #p21 96-353 -46 #p22 109 -366 50 #p23 138 -366 50 #p24 106 -414 53 #25 102 -414 38 #26 130 -414 53 #27 134 -414 18 #28 109 -366 -66 #29 138 -366 -66 #30 106 -414 -69 #31 102 -414 -54 #32 130 -414 -69 #33 134 -414 -34 #34 97 -474 38 #35 100-474 51 #36 121 -474 51 #37 124 -474 38 #38 84 -497 38 #39 88 -497 57 #40 116 -497 57 #41 122 -497 38 #42 100 -474 25 #43 121 -474 25 #44 88 -497 19 #45 116 -497 19 #46--- 106 -414 23 #47 C25 130 -414 18 #48 C27 106 -414 -31 #49 -C25 130 -414 -26 #50 -C27 97 -474 -46 #51 -C35 100 -474 -59 #52 -C36 121 -474 -59 #53 -C37 124 -474 -46 #54 -C38 100 -474 -33 #55 -C43 121 -474 -33 #56 -C44 84 -497 -46 #57 -C39 88 -497 -65 #58 -C40 116 -497 -65 #59 -C41 122 -497 -46 #60 -C42 116 -497 19 #61 46 88 -497 19 #62 45 116 -497 -27 #63 -C46 88 -497 -27 #64 -C45 255 -296 -8 #65---- 255 -312 13 #66 241 -347 40 #p67 234 -401 13 #68 300 -316 -8 #69 296 -328 17.2 #70 290 -356 22 #71 286 383 11 #72 255 -383 52 #73 281 -383 52 #74 253 401 52 #75 281 -401 52 #76 241 -465 13 #77 200 -465 47 #78 273 -465 47 #79 276 -465 13 #80 230 -497 13 #81 240 -497 49 #82 280 -497 49 #83 287 -497 13 #84 255 -312 -29 #85 C66 241 -347 -56 #86 C67 234 -401 -29 #87 C68 296 -328 -33.2 #88 C70 290 -356 -38 #89 C71 286 -383 -27 #90-- C72 255-383-48 #p91 C73 281-383-68 #p92 C74 253-401-68 #p93 C75 281-401-68 #p94 C76 241-465-29 #p95 C77 260-465-63 #p96 C78 273-465-63 #p97 C79 276-465-29 #P98 C80 230-497-29 #P99 C81 240 -497 65 #p100 C82 280-407-65 #p101 C83 287-497-29 #p102 C84 ]} coordIndex [
1,2,3,8,9,-1
0,1,9,10,18,19,17,-1
7,0,17,16,-1
3,4,5,15,8,-1
6,5,15,-1
15,14,21,6,-1
6,20,22,21,-1
7,6,20,16,-1
19,18,24,23,-1
19,23,25,26,-1
23,24,27,25,-1
24,18,28,27,-1
18,10,11,28,-1
22,21,30,29,-1
22,29,31,32,-1
29,30,33,31,-1
30,21,34,33,-1
21,14,13,34,-1
26,25,36,35,-1
25,27,37,36,-1
27,28,38,37,-1
35,36,40,39,-1
36,37,41,40,-1
37,38,42,41,-1
47,26,35,43,-1
47,48,44,43,-1
48,28,38,44,-1
32,31,52,51,-1
31,33,53,52,-1
33,34,54,53,-1
49,32,51,55,-1
49,50,56,55,-1
50,34,54,56,-1
35,43,45,39,-1
43,44,46,45,-1
44,38,4246,-1
51,52,58,57,-1
52,53,59,58,-1
53,54,60,59,-1
51,55,64,57,-1
55,56,63,64,-1
56,54,60,63,-1
39,40 41,-1
42,46,45,-1
]
solid FALSE }},]}

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Elementary Polygons en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by