Page 2 of 3

Re: Automation Track Builder - a visual track editor

PostPosted: Wed May 14, 2014 9:07 am
by Reaper392
ElSaico wrote:The corners are drawn by calculating the center and destination and making a quadratic curve out of them. This means I need to work on an iterative (parametric?) approach to achieve a similar result with the game.


This could possibly be a dumb question, but why are you using a quadratic equation to estimate the path of the corner? surely it would be more sensible to use the equation of a circle:
(x-a)² + (y-b)² = r²

centre = (a, b)
radius = r

I have no idea what your maths abilities are, so here is a better explanation if you need it: http://www.mathsisfun.com/algebra/circle-equations.html

Re: Automation Track Builder - a visual track editor

PostPosted: Wed May 14, 2014 12:40 pm
by 07CobaltGirl
Well, this track I did was a rush job before going to work this morning. I will play with it more tonight to see if I can learn how to correct it. One thing I had trouble with was getting "sweeping turns" to come out as expected using the line, which is why I said it can't be trusted implicitly. One thing I did learn is, if you append the next section after a curve, it becomes a LOT easier to form it using the visual aid. Overall, I really like this. As stated before, with the track I showed I spent 3.5 hours and only got about 2/3 around but managed this "pretty close" attempt in only about .5 hours. Much, MUCH faster with this tool. It's just a matter of learning the quirks. The slowet part of doing them manually (at least for longer tracks) is waiting the 1-3 minutes for the simulation to run so you can see how you need to correct it. This is instant on changes, which is a HUGE help. Thanks for taking the time to make it. :)

Re: Automation Track Builder - a visual track editor

PostPosted: Wed May 14, 2014 2:26 pm
by ElSaico
Reaper392 wrote:
ElSaico wrote:The corners are drawn by calculating the center and destination and making a quadratic curve out of them. This means I need to work on an iterative (parametric?) approach to achieve a similar result with the game.


This could possibly be a dumb question, but why are you using a quadratic equation to estimate the path of the corner? surely it would be more sensible to use the equation of a circle:
(x-a)² + (y-b)² = r²

centre = (a, b)
radius = r

I have no idea what your maths abilities are, so here is a better explanation if you need it: http://www.mathsisfun.com/algebra/circle-equations.html

This kind of curve is built into the API; only the origin, destination and middle point are necessary. And those are a matter of basic trigonometry.

Re: Automation Track Builder - a visual track editor

PostPosted: Wed May 14, 2014 10:44 pm
by strop
SirStonelouse wrote:i actually had something of a pikes peak challenge in mind to run after this round of the BRC.
obviously the track should only be released to the public after the challenge so that people can't practice till perfection.

so if people would leave this track alone for the time being i would organize something if there is interest.


Okay then! I would love to participate in something like this, but it seems modelling all 130something turns in Pikes Peak would be quite the task!

I shall await further news of this.

Re: Automation Track Builder - a visual track editor

PostPosted: Thu May 15, 2014 8:52 am
by SirStonelouse
strop wrote:
SirStonelouse wrote:i actually had something of a pikes peak challenge in mind to run after this round of the BRC.
obviously the track should only be released to the public after the challenge so that people can't practice till perfection.

so if people would leave this track alone for the time being i would organize something if there is interest.


Okay then! I would love to participate in something like this, but it seems modelling all 130something turns in Pikes Peak would be quite the task!

I shall await further news of this.


luckily i have some spare time next week, let me see how far i get. :D

Re: Automation Track Builder - a visual track editor

PostPosted: Fri May 16, 2014 10:14 am
by Nivracer
This is still to complicated for me. Is there a way you could make it so you can drag the track with your mouse or something like that?

Re: Automation Track Builder - a visual track editor

PostPosted: Fri May 23, 2014 8:39 pm
by USDMFTW
Quite confusing tool, i got a strait to work but could not get a turn to appear on the end.

Re: Automation Track Builder - a visual track editor

PostPosted: Sat May 24, 2014 3:48 pm
by 07CobaltGirl
I don't really do video tutorials, but I can put together a simple tutorial to get others started.

EDIT: I have a suggestion for this tool. I really like it, and it is pretty simple to use, however it would be really nice if it calculated the distance of the line for you. I'm sure I could do it mathematically, and of course I can run the track and determine it with sector length, but it would be much easier if the tool could calculate it for me.

EDIT: Moved my Simple Automation Track Builder tutorial here: Simple Tutorial for Automation Track Editor + SuzyQ Circuit

Re: Automation Track Builder - a visual track editor

PostPosted: Mon May 26, 2014 1:16 pm
by zeussy
As a thank you to ElSaico we have upgraded his account to the special edition.

Re: Automation Track Builder - a visual track editor

PostPosted: Mon May 26, 2014 1:24 pm
by Jakgoe
zeussy wrote:As a thank you to ElSaico we have upgraded his account to the special edition.

He definitely deserves it. This visual track editor is amazing for how quick he finished it.

Re: Automation Track Builder - a visual track editor

PostPosted: Mon May 26, 2014 5:21 pm
by 07CobaltGirl
Agreed! This thing is super fantastic! A few things still need fixed, and I made a suggestion for it to be even better, but it is awesome already and I hope people start using it a lot! :) MORE TRACKS!!!! :D

Re: Automation Track Builder - a visual track editor

PostPosted: Tue May 27, 2014 6:09 am
by ElSaico
Thank you very much for the feedback, people. :)

I've just launched an update - now the import/export issues are finally fixed. Plus the corners are drawn with the right shape this time.
The only thing left to solve now are those accuracy issues (that only get worse the more corners a track has :|) - then interface improvements will follow.

Then again, this line length thing does seem interesting to implement right now. hmmm...

Re: Automation Track Builder - a visual track editor

PostPosted: Tue May 27, 2014 6:49 am
by 07CobaltGirl
ElSaico wrote:Thank you very much for the feedback, people. :)

I've just launched an update - now the import/export issues are finally fixed. Plus the corners are drawn with the right shape this time.
The only thing left to solve now are those accuracy issues (that only get worse the more corners a track has :|) - then interface improvements will follow.

Then again, this line length thing does seem interesting to implement right now. hmmm...


YAY!

Re: Automation Track Builder - a visual track editor

PostPosted: Tue May 27, 2014 6:57 am
by Dragawn
Yay too, for a hint with the accuracy issue: it seems to be only in the Y-axis, not X

Re: Automation Track Builder - a visual track editor

PostPosted: Tue May 27, 2014 7:45 am
by 07CobaltGirl
Yes, the accuracy issues I had to correct with Notepad++. Mine weren't TOO bad though. Pretty easy 30 minute fix.