Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
getting Carolina.blend convert into vdrift
01-09-2010, 03:29 PM,
#3
 
Hi,

I am also new to vdrift and haven't created a track yet.

The export-all-joe-0.3.py script exports your blend file in joe fileformat. You should get at least an joe file and a list.txt. If not there is something wrong with your track.
Open CarolinaMP.blend in blender. Select the track mesh. Export joe. Select "Export only the selected object". You should get a joe and a list file.
Exporting all(without selecting "Export only the selected object") worked for me after uv-mapping the mesh and applying a texture to it. I might post a small tutorial if you're interested.

I also think you need to write track.txt by yourself.
You might use this one for testing(parkinglot):
Code:
cull faces = on
non-treaded friction coefficient = 1.000000
treaded friction coefficient = 0.900000
lap sequences = 0
start position 0 = 7.524787,2.211630,-5.473845
start orientation-xyz 0 = -0.017149,0.907452,0.037216
start orientation-w 0 = 0.418152

I guess lap sequences are used for auto tracing?

You might want to change "start position 0" to a position on your track. (In blender place a cube somewhere on your track an read its position(press N Key))

The "start orientation 0" is a quaternion. It describes the orientation of the camera/car on the track(I guess). The bad thing is, in blender the orientation is shown in X,Y,Z-Axis rotation angles. I think the rotation sequence is X, Y, Z. So RotX is φ, RotY is θ, RotZ is ψ. The quaternion is:
[Image: 8f24d7035f36dd398e6253a521d7ac0c.png]

The road.trk is generated by the Track editor. It defines the road surface for the track ie the bezier patches which you have traced in the Track editor.
Reply


Messages In This Thread
[No subject] - by thevikas - 01-09-2010, 01:20 PM
[No subject] - by NaN - 01-09-2010, 03:29 PM
[No subject] - by NaN - 01-09-2010, 05:43 PM
[No subject] - by joevenzon_phpbb2_import3 - 01-09-2010, 06:35 PM
[No subject] - by NaN - 01-09-2010, 06:44 PM
[No subject] - by thevikas - 01-10-2010, 02:06 AM
[No subject] - by NaN - 01-10-2010, 06:52 AM
[No subject] - by thevikas - 01-10-2010, 09:35 AM
[No subject] - by NaN - 01-10-2010, 09:43 AM
[No subject] - by thevikas - 01-10-2010, 09:58 AM
[No subject] - by thevikas - 01-10-2010, 10:07 AM
[No subject] - by NaN - 01-10-2010, 10:11 AM
[No subject] - by NaN - 01-10-2010, 10:58 AM
[No subject] - by thevikas - 01-10-2010, 12:18 PM
[No subject] - by Mekala - 04-21-2011, 04:57 AM
[No subject] - by NaN - 04-21-2011, 12:13 PM
[No subject] - by tatu - 08-21-2011, 05:35 PM
[No subject] - by NaN - 08-23-2011, 02:55 AM
[No subject] - by tatu - 08-26-2011, 02:17 PM
[No subject] - by NaN - 08-26-2011, 02:37 PM
[No subject] - by tatu - 08-29-2011, 08:04 AM
[No subject] - by tatu - 08-29-2011, 01:04 PM
[No subject] - by joevenzon_phpbb2_import3 - 08-30-2011, 10:43 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)