Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Conversion Of Old Tracks To Newer Ones
05-06-2013, 11:19 PM, (This post was last modified: 05-06-2013, 11:34 PM by Linksblackmask.)
#4
RE: Conversion Of Old Tracks To Newer Ones
Thanks for the response and sorry for a very late reply, I've gotta say i'm not to competent with blender so I'll explain what i've done so far Smile

1- opened the blender file for the track and added your script,
2- imported the roads.trk, track.txt
3- imported the list.txt, this seemed to add certain objects, noticeable of these was the sky background.
4- export the track.txt, this corrected the track starting position and orientation I believe
5- export the roads.trk, this comes out as a 149KB file... Alittle small incomparison to the rest

vdrift is crashing within

bool TRACK::LOADER::AddObject(const OBJECT & object)

as I've used the info_output to gauge where, it crashes up upon the first object that is part of a .joe file...

info_output << "Add Object -"<< objectdir <<"/"<< object.model<< "/"<< object.surface <<"/" <<object.texture<<std::endl;
i.e. snippet of the list.txt for the file

# File generated by export-all-joe-0.3.py

17

# Object BeforeExit1
track1-object-BeforeExit1.joe
BeforeExit1.jpg
1
0
0
0
2.0
0.0
0
1
1.0
1.0
1.0
0.0
0
0
1

that one...

Any further help would be muchly appreciated and thank you once again...

All the best
Reply


Messages In This Thread
RE: Conversion Of Old Tracks To Newer Ones - by Linksblackmask - 05-06-2013, 11:19 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)