TSRE Mod - Update Rotation
#1
Posted 25 February 2017 - 05:49 AM
The concept was simple - the user would enter in starting and end points (XYZ + W coords), and and the QDirection would be calculated. By going into the W file, the QDirection would be updated for the starting piece of track, and then connecting pieces added to that to complete the straight run. It's horribly accurate over distances as long as 20 miles (the longest I tried).
With the increased use of TSRE, one of the users contacted me for some help on how to get it to work, and the short answer is that it won't, at least not as it was designed, but with a simple mod to TSRE, it could still be used as intended.
The current editing box for track objects looks like this...
capture__200354.jpg (4.58K)
Number of downloads: 1
The X, Y, and Z can be edited, but the Rot cannot.
How hard would it be to allow the Rot box to be updated as well?
#2
Posted 26 February 2017 - 03:16 PM
In the legacy RE, we can change a QD outside the RE, click on the track section in the RE, and the vector gets reset in the TDB. I'm not at a point to test this in TSRE, but it would be good to know if this concept can carry forward in your editor or not.
#3
Posted 26 February 2017 - 03:48 PM
Quote
In TSRE you can reset the vector too. Use "Z".
You can also enter qDirection in editor. Use "paste rotation" button.
#4
Posted 26 February 2017 - 04:04 PM
Using .6892, I don't see a "Paste Rotation" button. I see several "Paste" next to "Copy Pos", "Copy Rot" and "Copy Pos+Rot".
If I use the same "update the W file outside of TSRE" method, the TDB never gets updated when I select the track section in TSRE. Note the shape's blue outline and the TDB line when I manually change the QD... TSRE is clearly reading from the TDB, not the W file. If they're different, shouldn't the W file over-ride the TDB?
capture__200361.jpg (137.41K)
Number of downloads: 9
If you made the ROT box editable, and were able to ensure that the new rotation/QD got updated in the track object, that would fix the issue.
#5
Posted 26 February 2017 - 04:23 PM
I'm sorry but won't tell you more now because it will make Dave upset xD
#6
Posted 26 February 2017 - 04:46 PM
#7
Posted 26 February 2017 - 04:53 PM
Goku, on 26 February 2017 - 04:23 PM, said:
I'm sorry but won't tell you more now because it will make Dave upset xD
Well, I've looked. And I'm not finding it. Not sure why answering a direct question would make anyone upset.
I see where you can enter in a bearing (transform, and then define Y for rotation), but that's not the same as entering in an explicit QDirection. A compass bearing is not directly convertable to a QDirection when you're dealing with a skewed world projection.
What does work is deleting a piece from the TDB using the Z key, and then adding it back in.
Here's the process (Todd, take note and try it if you want)
1) Add the track piece
2) Save and exit TSRE
3) open up that W file in a text editor
4) change the QDirection for the track section
5) re-open TSRE
6) navigate to the track section
7) Select
8) hit Z to delete from TDB
9) Select again
10) hit Z to add piece to TDB
11) add the next track piece
It would be safer if you could just
1) Add the track piece
2) Update the Rot / Qdirection
3) Add the next track piece
#8
Posted 26 February 2017 - 05:12 PM
#9
Posted 26 February 2017 - 05:19 PM
You can look at my screenshot and see exactly what I'm looking at.
If there's a way, perhaps you could do a screenshot and upload it so I can see what you are trying to describe.
You've been asking recently why people still feel they need to use the other RE... from my use of it over the past few days, it's almost to the point where I'd be comfortable staying with it. Some of the key sequences are a little confusing, but the functionality appears to be very solid.
Being able to edit the QDirection is important to those of us using Tangent. There's a workaround to mimic how it works in the RE, but I'd rather see updates enabled thru the Rot box, just as you do for the X/Y/Z. It would be safer, and it would be faster.
#10
Posted 27 February 2017 - 03:27 PM