Creating a track renderer/editor in HTML/JS
Posted: Mon May 22, 2017 1:05 am
I got really frustrated with the existing editor (bundled with torcs, in Java).
Ended up wanting to create a better one.
So far I managed to render tracks to canvas. They're mostly correct but due to what I presume are rounding or interpolation errors, they don't quite close right.
Starting to sketch the editor itself but that's 10% at most.
Wanted to say hello and let you know about my little effort and gather any feedback - do you find this relevant? Am I missing a much better editor? Is this the better way to reach the developers? Cheers!
current demo (focus on the viewer for now, ignore the editor for the time being, just started the GUI forms):
https://josepedrodias.github.io/torcs-t ... index.html
source code:
https://github.com/JosePedroDias/torcs-track-editor
P.S. - testing in Chrome with some ES5/6 features wo/ babel. May break on some browsers.
Ended up wanting to create a better one.
So far I managed to render tracks to canvas. They're mostly correct but due to what I presume are rounding or interpolation errors, they don't quite close right.
Starting to sketch the editor itself but that's 10% at most.
Wanted to say hello and let you know about my little effort and gather any feedback - do you find this relevant? Am I missing a much better editor? Is this the better way to reach the developers? Cheers!
current demo (focus on the viewer for now, ignore the editor for the time being, just started the GUI forms):
https://josepedrodias.github.io/torcs-t ... index.html
source code:
https://github.com/JosePedroDias/torcs-track-editor
P.S. - testing in Chrome with some ES5/6 features wo/ babel. May break on some browsers.