to write u whave to use "write string" instead. using the str$() command to convert the integer/float or whatever to an string and write it to file
to read it, you do next:
open to read 1,"myfile.txt"
repeat
read string 1,ss$
sf$ =
"x: "
if left$(ss$,len(sf$)) = sf$ then
x# = val(right$(ss$,len(ss$)-len(sf$)))
sf$ =
"y: "
if left$(ss$,len(sf$)) = sf$ then
y# = val(right$(ss$,len(ss$)-len(sf$)))
sf$ =
"z: "
if left$(ss$,len(sf$)) = sf$ then
z# = val(right$(ss$,len(ss$)-len(sf$)))
until file end(1)
close file 1
more 3d models .x/.obj and more foramts here:
[href]https://www.turbosquid.com/Search/Index.cfm?keyword=gogetax1&x=0&y=0[href]