Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
VDrift Tracks Blender script
08-29-2010, 10:02 PM,
#3
 
This is still coming along alright...so far, I have been writing it as a single module full of functions, rather than classes, because I wasn't sure the best way to structure it. Now I have a pretty good idea, but I'm going to continue hacking in this fashion until I have a basic version of all the functionality needed. After that I'll refactor it all, and integrate it more closely with vdrift.py.

In vdrift-art r159, I have begun implementing the export function and added a way to add/edit/delete start points. The idea here is to create camera objects, place them at the desired start points, then tell the script the ids of the objects. Later, I hope to set the script up to also manipulate the camera objects themselves when defining start points, rather than just remember the id.

So to finish this up I need to do the following (in this order):
  • Track Objects - add default properties
  • Road Segments - not sure how to tackle this one...
  • Lap Sequences
  • Export
  • Import
A few questions:
  • What is the "start orientation-w" parameter in track.txt? I understand the other start-related parameters...not sure how to get that one.
  • What other track.txt parameters are available? I have noticed "vertical tracking skyboxes", didn't know that was there.
  • What is the best way to generate roads.trk from a given road mesh object?
  • Is there a limit to the number of vertices wide a road can be? The old track editor only allows the width to be 2, 3, or 4. Is 4 the limit or could it be more? (BTB makes its roads 5 vertices wide).
  • Am I correct that a Lap Sequence is defined by two points, which make a line segment, and timing starts/stops when this segment is crossed by the vehicle?
I could probably just read code to figure these out, but I want to make sure to avoid any deprecated functionality which hasn't been removed, and get some context about where these things might be headed in the future.
Reply


Messages In This Thread
VDrift Tracks Blender script - by thelusiv - 08-25-2010, 10:55 AM
[No subject] - by NaN - 08-25-2010, 12:56 PM
[No subject] - by thelusiv - 08-29-2010, 10:02 PM
[No subject] - by NaN - 08-30-2010, 08:24 AM
[No subject] - by joevenzon_phpbb2_import3 - 08-31-2010, 03:45 PM
[No subject] - by thelusiv - 09-02-2010, 06:27 PM
[No subject] - by NaN - 09-03-2010, 07:39 PM
[No subject] - by joevenzon_phpbb2_import3 - 09-05-2010, 04:21 AM
[No subject] - by portets - 09-14-2010, 04:27 PM
[No subject] - by thelusiv - 09-21-2010, 05:43 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)