-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TFO cars dislocated on converging track #1099
Comments
It's somewhere in between a bug and a feature. Basically, this is a fundamental issue with the concept of zero-based (as opposed to absolute wpos) routefile notation. TLDR: There's not really any way around this without dropping the zero-based routefile notation. I suppose it might be possible to write some sort of internal conversion between the internal 'real' distance and the routefile distance, but to do that you're essentially dumping the whole parser, and at that point you might as well just drop the whole zero-based concept. Essentially, you've just found one of the reasons nearly everything uses a tile based format :) |
Thanks for the explanation! The 0-based system makes sense and it seems like this wouldn't have been much of an issue (since rail objects can be bent and extended to hide the gaps) until the "invention" of TFOs more recently, so I don't think it's a surprising or "bad" design decision on anyone's part. I'm curious if a solution downstream of the actual route parsing and closer to where the actual rendering is being done would be possible. I could imagine some function that takes the 0-based coordinates for what they are and tries to draw a more continuous path for the TFO's movement when actually rendered. In my example, I obviously never use Let me know if I'm making sense or not. I may go spend some time looking through the code myself later, but I'm curious how easy or difficult you think this might be in a broad sense. |
Route File
TFO
Behavior (video)
tfo_comp.mov
I went through some of the old threads about TFO development and I saw a few similar issues, but I think this might be a slightly different one. This is one of the issues where I'm not sure where "bug report" ends and "feature request" begins, but is it possible to improve the interpolation of the individual car locations within the existing TFO framework, or is this similar to the offset from
rail0
effect we're used to seeing, like with myStructure.Rail
objects in this video?Edit: I think I'm using 1.11.0.6
The text was updated successfully, but these errors were encountered: