Elvas Tower: Turntable Orientation Question - Elvas Tower

Jump to content

  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Turntable Orientation Question

#1 User is offline   wellsburg 

  • Conductor
  • Group: Status: First Class
  • Posts: 252
  • Joined: 29-January 04
  • Gender:Male
  • Location:Lakewood, Ohio
  • Country:

Posted 28 October 2016 - 09:38 AM

Hi,

I'm doing some turntable experimentation with Christian Schroder's not yet issued "Bridgton & Saco River". There is a turntable at Bridgton with a single lead that exits to a straight thru track and two adjacent tracks. The loco operates as expected on the straight thru track.

On the adjacent exits, the loco turns with the bridge but when the tracks align, the loco flips to the other adjacent track orientation. The loco can "exit" through the air to this adjacent track but cannot re-enter if the bridge is then correctly aligned. I re-read all the ET turntable discussions but did not find any clues. Is there something in the turntables.dat that affects loco orientation ? Is there something in the MSTS RE turntable installation that affects this ? The turntable was rebuilt from the original route turntable.

Thanks,

Mike

Attached Image: SG-1.jpg

#2 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 5,144
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 28 October 2016 - 10:37 AM

Can you attach turntables.dat as well as the tsection.dat block where the turntable is defined?

#3 User is offline   wellsburg 

  • Conductor
  • Group: Status: First Class
  • Posts: 252
  • Joined: 29-January 04
  • Gender:Male
  • Location:Lakewood, Ohio
  • Country:

Posted 28 October 2016 - 12:30 PM

View PostCsantucci, on 28 October 2016 - 10:37 AM, said:

Can you attach turntables.dat as well as the tsection.dat block where the turntable is defined?


Here is the requested data.

Mike

Attached File  turntables.zip (683bytes)
Number of downloads: 387

#4 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 5,144
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 28 October 2016 - 11:04 PM

In the attached data I don't see particular problems at a first glance, except that I'd have put two more decimals in the values within the TrackShape block. If that doesn't solve, can you pls. attach also the shapefile, the .ace files of the platform and the block from tracksection 39944 within tsection.dat? So I can try to run it.

#5 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 5,144
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 30 October 2016 - 07:35 AM

This problem was solved with private messages. It may be of interest what had to be modified: the platform animation within the .s file must generate a counterclockwise animation, while in the non-working case above it generated a clockwise animation. Checking this with ShapeViewer showed the issue. This is an example of correct counterclockwise animation:
				anim_node WHEEL1 (
					controllers ( 1
						tcb_rot ( 5
							slerp_rot ( 0 0 0 0 1 )
							slerp_rot ( 900 0 0.7071068 0 0.7071067 )
							slerp_rot ( 1800 0 1 0 -1.629207E-07 )
							slerp_rot ( 2700 0 -0.7071066 0 0.7071069 )
							slerp_rot ( 3600 0 0 0 1 )
						)
					)
				)


#6 User is offline   wellsburg 

  • Conductor
  • Group: Status: First Class
  • Posts: 252
  • Joined: 29-January 04
  • Gender:Male
  • Location:Lakewood, Ohio
  • Country:

Posted 30 October 2016 - 07:44 AM

Thank you Carlo.

Let's see more created turntables.

Mike

#7 User is offline   copperpen 

  • Vice President
  • Group: Status: Elite Member
  • Posts: 2,917
  • Joined: 08-August 05
  • Gender:Male
  • Simulator:MSTS & OR
  • Country:

Posted 30 October 2016 - 09:23 AM

View PostCsantucci, on 30 October 2016 - 07:35 AM, said:

This problem was solved with private messages. It may be of interest what had to be modified: the platform animation within the .s file must generate a counterclockwise animation, while in the non-working case above it generated a clockwise animation. Checking this with ShapeViewer showed the issue. This is an example of correct counterclockwise animation:
				anim_node WHEEL1 (
					controllers ( 1
						tcb_rot ( 5
							slerp_rot ( 0 0 0 0 1 )
							slerp_rot ( 900 0 0.7071068 0 0.7071067 )
							slerp_rot ( 1800 0 1 0 -1.629207E-07 )
							slerp_rot ( 2700 0 -0.7071066 0 0.7071069 )
							slerp_rot ( 3600 0 0 0 1 )
						)
					)
				)



That looks like a clockwise rotation animation, progressing from 0 to 3600 via 1800. A steam locomotive wheel also uses a clockwise animation rotation but can rotate in both directions.

#8 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 5,144
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 30 October 2016 - 09:30 AM

No, the parameters are such that the rotation is counterclockwise. Tested.

This instead rotates clockwise (wrong for OR turntable animations)
				anim_node WHEEL1 (
					controllers ( 1
						tcb_rot ( 5
							slerp_rot ( 0 0 0 0 1 )
							slerp_rot ( 900 0 -0.7071068 0 0.7071067 )
							slerp_rot ( 1800 0 1 0 -1.629207E-07 )
							slerp_rot ( 2700 0 0.7071066 0 0.7071069 )
							slerp_rot ( 3600 0 0 0 1 )
						)
					)
				)


#9 User is offline   copperpen 

  • Vice President
  • Group: Status: Elite Member
  • Posts: 2,917
  • Joined: 08-August 05
  • Gender:Male
  • Simulator:MSTS & OR
  • Country:

Posted 30 October 2016 - 01:01 PM

OK, but counter intuitive because the progression of the first column is clockwise round the compass.

#10 User is offline   eugenR 

  • Conductor
  • Group: Status: Active Member
  • Posts: 421
  • Joined: 15-April 13
  • Gender:Male
  • Simulator:MSTS
  • Country:

Posted 02 November 2016 - 07:47 AM

View Postcopperpen, on 30 October 2016 - 01:01 PM, said:

OK, but counter intuitive because the progression of the first column is clockwise round the compass.


The numbers 0 to 3600 have nothing to do with the rotation-direction!
This are step-numbers of the 3600 rotation-steps.
The numbers behind give the orientation of the rotated piece for the rotation steps.

  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users