Elvas Tower: Turntables - Converting Static Ones into Working Ones? - Elvas Tower

Jump to content

Posting Rules

All new threads will be started by members of the Open Rails team, Staff, and/or Admins. Existing threads started in other forums may get moved here when it makes sense to do so.

Once a thread is started any member may post replies to it.
  • 5 Pages +
  • 1
  • 2
  • 3
  • 4
  • 5
  • You cannot start a new topic
  • You cannot reply to this topic

Turntables - Converting Static Ones into Working Ones? Rate Topic: -----

#21 User is offline   slipperman 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 750
  • Joined: 09-February 12
  • Gender:Male
  • Location:North Nottinghamshire
  • Simulator:MSTS & ORTS
  • Country:

Posted 12 July 2016 - 07:13 AM

Hi,
This is the reply I received from Tim (22 June 2016) :

Quote

Unfortunately, I no longer have the GMAX files for the turntables so I would have to rebuild the turntables from scratch. I will certainly take a look at whats required, and then see about developing new versions that can be animated.


Cheers,
Ged

#22 User is offline   rickloader 

  • Conductor
  • Group: Status: First Class
  • Posts: 479
  • Joined: 05-February 13
  • Gender:Male
  • Location:Southampton uk
  • Simulator:Open Rails
  • Country:

Posted 12 July 2016 - 07:46 AM

Ok, thanks. I didn`t think Tim was available any longer. (if he is I`d like to buy a Dynatrax licence!)
I think I had best wait and see what Tim comes up with. In the meantime I will make a basic turntable shape, and try to get it working.
Am I right OR wants a 3 key 0 180 360 animation?
Thanks, Rick

#23 User is offline   Csantucci 

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

Posted 12 July 2016 - 08:56 AM

View Postrickloader, on 12 July 2016 - 07:46 AM, said:

Am I right OR wants a 3 key 0 180 360 animation?

OR wants an animation like this
				anim_node TRACKPIECE (
					controllers ( 2
						tcb_rot ( 3
							tcb_key ( 0 0 0 0 1 0 0 0 0 0 )
							tcb_key ( 1800 0 1 0 0.0 0 0 0 0 0 )
							tcb_key ( 3600 0 0 0 -1 0 0 0 0 0 )
						)


#24 User is offline   slipperman 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 750
  • Joined: 09-February 12
  • Gender:Male
  • Location:North Nottinghamshire
  • Simulator:MSTS & ORTS
  • Country:

Posted 12 July 2016 - 09:02 AM

Hi Rick,
The last email address I contacted Tim on was : email@trainsimfiles.uk

His current website is :- www.trainsimfiles.uk.

Cheers,
Ged

#25 User is offline   rickloader 

  • Conductor
  • Group: Status: First Class
  • Posts: 479
  • Joined: 05-February 13
  • Gender:Male
  • Location:Southampton uk
  • Simulator:Open Rails
  • Country:

Posted 17 July 2016 - 01:04 PM

Carlo, thanks for your work on Turntables. I think I am out of my depth here as I am only used to key frame 0-1-0 animations. I have made a replacement UKFS68ft turntable with 3DC, and it displays correctly in the Sim. I get messages such as "train front on turntable" "turntable started rotation with train" and "turntable forward connect". But the turntable will not animate.
In my 3dc model "Main" is set as the turntable well with the origin set on the approach track the same as ukfs. The bridge is "trackpiece" and rotates around its own centre. Animation is 3 key frames at 0-180-360 degrees
On export 3DC gives the following
animations ( 1
animation ( 2 30
anim_nodes ( 4
anim_node MAIN (
controllers ( 0
)
)
anim_node TRACKPIECE (
controllers ( 1
tcb_rot ( 3
slerp_rot ( 0 0 0 0 1 )
slerp_rot ( 1 0 0.9999822 0 5.95526E-03 )
slerp_rot ( 2 0 0 0 1 )
)
)
)
anim_node HANDRAIL1 (
controllers ( 0
)
)
anim_node TRACK (
controllers ( 0
)
)
)
)
)
)
I have tried substituting Carlo`s code with tcb_rot, and also applying an 11m offset to the turntable bridge. It seems that 3600 frames are called for, but I can`t get 3dc to produce more than 40. Is 0-1-2, 0,180, 360 degrees allowed?
In the other turntable thread Jared2982 asked "So what do we need to create a completely new turntable from scratch? " . I don`t think this was answered, and some modelling guidance would be a great help.
Thanks again Carlo, and Chris for the info about train sim files.
rick

#26 User is offline   Csantucci 

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

Posted 18 July 2016 - 12:00 PM

Try replacing
animation ( 2 30

with
animation ( 3599 30

and
tcb_rot ( 3
slerp_rot ( 0 0 0 0 1 )
slerp_rot ( 1 0 0.9999822 0 5.95526E-03 )
slerp_rot ( 2 0 0 0 1 )
)

with
tcb_rot ( 3
slerp_rot ( 0 0 0 0 1 )
slerp_rot ( 1800 0 0.9999822 0 5.95526E-03 )
slerp_rot ( 3600 0 0 0 1 )
)


#27 User is offline   jared2982 

  • Superintendant
  • Group: Status: First Class
  • Posts: 1,187
  • Joined: 01-January 10
  • Gender:Male
  • Location:Louisiana
  • Simulator:MSTS, TS2017, OR
  • Country:

Posted 18 July 2016 - 12:53 PM

I understand why 3600 frames may be necessary for the default turntable. What concerns me is why turntables that are constructed correctly require so many frames. It is great we now have the long awaited operational turntable but it would be much more convenient if we could export models from modeling software and they work without having to manually edit the shape file. While it may be possible that the file format may change in the future, the programs we use to create these models will be the same.

#28 User is offline   rickloader 

  • Conductor
  • Group: Status: First Class
  • Posts: 479
  • Joined: 05-February 13
  • Gender:Male
  • Location:Southampton uk
  • Simulator:Open Rails
  • Country:

Posted 18 July 2016 - 03:18 PM

Thank you so much Carlo! That worked! In particular I needed "animation ( 3599 30" to give the 3600 frames that 3DC can not provide.
The turntable works brilliantly now, and I just need to adjust the axis and detail the model.
I do appreciate the pop up dialogue (train front on turntable etc) - a great help.
Jared, I found your posts on making a turntable very helpful, thanks. I think we are agreed making replacement models is the way forward, rather than struggling with existing ones. I guess what is needed now is a set of modelling guidelines?
Ged, (sorry I got your name wrong) thanks for the info, Dynatrax ordered!
thanks everyone! rick

#29 User is offline   Jovet 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 2,240
  • Joined: 14-January 08
  • Gender:Male
  • Location:Omaha, Nebraska.
  • Simulator:MSTS/Open Rails
  • Country:

Posted 18 July 2016 - 08:03 PM

View Postjared2982, on 18 July 2016 - 12:53 PM, said:

I understand why 3600 frames may be necessary for the default turntable. What concerns me is why turntables that are constructed correctly require so many frames. It is great we now have the long awaited operational turntable but it would be much more convenient if we could export models from modeling software and they work without having to manually edit the shape file. While it may be possible that the file format may change in the future, the programs we use to create these models will be the same.

The number of frames is necessary because of the granularity of the movement. A turntable that is only capable of stopping at noon, 3, 6, and 9 o'clock wouldn't be very useful. OR turntables can stop in any of 3600 positions.

You should be able to specify any number of frames in the modeling software of your choice. It should not be necessary to hand-edit new files after creating them.

#30 User is offline   lineman 

  • Engineer
  • Group: Status: Contributing Member
  • Posts: 516
  • Joined: 19-April 08
  • Gender:Male
  • Location:Arizona
  • Simulator:Open Rails Train Simulator
  • Country:

Posted 18 July 2016 - 08:35 PM

I have a question. I animated the R_us2turntable ( basically an A1t27mturntable ) with some altering of the animation sequence ( this turntable is centered ). I cannot get it to be recognized in the tsection.dat file, trying to use the example posted here, to use the 'include' feature. Have had no success yet, could use some help please. Thanks as always

  • 5 Pages +
  • 1
  • 2
  • 3
  • 4
  • 5
  • 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