Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Blender Track Info(track.txt) import/export
04-20-2012, 03:37 AM
Post: #1
Blender Track Info(track.txt) import/export
This is related to the gui branch as we will need 24 positions. Start positions are represented as boxes which can be copied, moved, rotated to edit/add positions. Other settings are set as properties of an empty track_info object.

Functionality is experimental atm. Download: In order to view links, you must have to reply to this thread.

I think we need a more clear start position definition. Currently car center of mass is used which is not optimal due to different car dimensions. I'd like to define it as furthest front point of the car on track surface.

Current start positions will have to be adjusted. I'll push the required code changes, update the blender add-on later today and post a how to.

[Image: trackj.jpg]
Find all posts by this user
Quote this message in a reply
04-23-2012, 12:00 PM
Post: #2
 
New (backward compatible) start position definition. Start position is the center of 1.8 x 4 x 1 meter big box. The car position will be adjusted to fit into this box relative to the lower front box edge.

Adding start positions:
- Open Blender
- Delete lamp to get rid of lighting in textured mode
- Import track.txt
- Select start position 0, View/View Selected
- Import track objects.jpk
- Duplicate 4 existing start boxes(SHIFT+D) and place them on the track viewed from top (I've switched to View/View Ortho here).
- Enable Snap during transform, Snap element face, Align rotation with snapping target
- Adjust boxes vertical positions(they will snap automatically to track surface)
- Rename duplicate boxes to fit naming scheme
- Export track.txt

[Image: startsh.jpg]
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)