Closed GoogleCodeExporter closed 8 years ago
Original comment by Dbkazarian
on 19 Apr 2013 at 5:28
Puedo hacerlo yo, peroo
Hacemos que lea un XML? o un var file? (o nose como se llama, yo lo conozco asi
de VB xd)
un var file seria tipo
[WAITPOINTS]
Cant=2
Waitpoint1=100,0,100
Waitpoint2=6,7,8
etc..
sino que proponen?
Original comment by pablo.sa...@gmail.com
on 19 Apr 2013 at 5:33
Para convertir de un string a un tipo podemos usar TgcParserUtils, la funcion
parseFloat3Array convierte de "(x,y,z)" a Vector3.
Para levantar todo un archivo se usa string str = File.ReadAllText(filePath);
Si elegimos XML podemos mirar(entre otras) parseSceneFromString de
TgcSceneParser, obtiene valores del string de un xml.
Original comment by Dbkazarian
on 19 Apr 2013 at 5:45
Original comment by Dbkazarian
on 27 Apr 2013 at 11:32
This issue was closed by revision r214.
Original comment by Dbkazarian
on 27 Apr 2013 at 11:33
Original issue reported on code.google.com by
Dbkazarian
on 18 Apr 2013 at 8:50