The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 573 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 573 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $can_access_moderationqueue - Line: 752 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 752 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 34 - File: global.php(959) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/global.php(959) : eval()'d code 34 errorHandler->error
/global.php 959 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 1024 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 1024 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5308 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 5308 errorHandler->error
/global.php 1024 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1474 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1474 errorHandler->error
/inc/functions.php 1429 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Forums
Blender Track Info(track.txt) import/export - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3)
+--- Forum: Cars & Tracks (https://www.vdrift.net/Forum/forumdisplay.php?fid=11)
+--- Thread: Blender Track Info(track.txt) import/export (/showthread.php?tid=1633)



Blender Track Info(track.txt) import/export - NaN - 04-20-2012

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: https://github.com/VDrift/blender-scripts/tree/master/blender25

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]


- NaN - 04-23-2012

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]