The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.27 (Linux)
|
Vanishing Point Detection in VDrift - Printable Version +- Forums (https://www.vdrift.net/Forum) +-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3) +--- Forum: Help (https://www.vdrift.net/Forum/forumdisplay.php?fid=5) +--- Thread: Vanishing Point Detection in VDrift (/showthread.php?tid=2235) |
Vanishing Point Detection in VDrift - andwor - 11-08-2016 Hi everyone, in the context of automated driving, we're experimenting with VDrift as an environment for creating test data. We have established a binding between VDrift an out middleware and currently are investigating to exttract vanishing points from VDrift recordings. This is challenging as, from the required perspective, on racing tracks - and in contrast to highways or cities - usually only a single lane marking is visible. Do you know, whether there is something in the VDrift API or track information that could help computing vanishing points? Easiest could maybe to calculate something based on track data (which, however, would not take perspective into account). Best, Andreas P.S: If this is the wrong forum, please move the thread as necessary. RE: Vanishing Point Detection in VDrift - NaN - 11-08-2016 You could abuse the racing line as an additional visual cue. If you disable racing line calculation in track loader the default racing line will be the road center I think. Car AI also had some debugging code that would draw road patch outlines ahead of the car. I am not sure if it is still working though. The track itself is defined is a list of roadstrips. A strip is a list of (bezier) patches. RE: Vanishing Point Detection in VDrift - andwor - 11-09-2016 Hi NaN, thanks for the hint. With the racing line, we probably can use established vanishing point detection methods. Although we had to do horrible things to the tracks' textures Could you please point me to the track loader. I couldn't find anything in forum or wiki by this name. Best, Andreas RE: Vanishing Point Detection in VDrift - NaN - 11-11-2016 With track loader I meant src/trackloader.cpp. Look for Track::Loader::CreateRacingLines(). |