Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Track im/exporter update
04-07-2011, 08:22 AM,
Track im/exporter update
New track import/export work flow:

1. Import your track from 3ds/obj into blender.
2. Export it as jpk. Only textured meshes will be exported. A default list.txt will be generated.
3. Import jpk into Blender. the objects will be assigned to groups according to their properties.
4. Modify the groups of the selected object ctrl+g. If an object belongs to multiple surface groups the first surface is used.
4.1 If required create additional surface groups "surface-[0-9]". You will have to extend the surfaces.txt of course(is not created automatically atm).
[Image: tracku.jpg]
5. Export jpk. The group settings will override object properties.
04-07-2011, 10:02 AM,
Just found out that the groups can also be accessed in the object panel, he he.
[Image: trackf.jpg]
04-07-2011, 03:25 PM,
very good job! quick question: how do i select a group so it can highlight all the objects belonging to it (so i could ascertain if a given object should or should not belong to that particular group)? thanks.

04-07-2011, 03:43 PM,
Select->Grouped->Objects in the same Group
Shift+G, 7
04-07-2011, 04:29 PM,
thanks. and how do i un-select a group?

04-07-2011, 04:33 PM,
Select All/Deselect is A.
04-07-2011, 04:42 PM,
you would think so, but everything stayed green. i'll figure it out eventually. anyway, this will really help with the track editing. thanks.

04-07-2011, 04:47 PM,
nevermind, looks like the colours changed. instead of getting black and pink now we get dark green/light green. i think i liked the old colours better though.

04-07-2011, 05:12 PM,
That's is some blender internal stuff. As soon as you link an object to a group it changes the coloring to green.
04-19-2011, 07:12 AM,
after Exporting jpk , then???????????????? :o :o :o :o :o :o :o
04-19-2011, 09:26 AM,
Set objects properties,the .jpk need have name objects.jpk.
04-19-2011, 10:24 AM,
Try to load it into the track-editor(latest version). If loading fails look for a stderr.txt and stdout.txt.

If there is no track.txt the editor will set the first start position to 0,0,0. Delete it with K. Create some start positions by moving the camera and pressing L to use current camera position as start position. Save the track by pressing S.

Import your objects.jpk into blender.
Select objects(Shift-RMB) you want the car to collide with/drive on and add them to the collidables group(Ctrl+G).
Copy a surfaces.txt from one of the tracks. Create additional surface groups in blender surface-1, surface-2 (I will update the script to do this automatically). Assign track objects to surface groups.

Forum Jump:

Users browsing this thread: 1 Guest(s)