Elvas Tower: Baltimore & Ohio Winans Camel #199 Animation Issue - Elvas Tower

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Baltimore & Ohio Winans Camel #199 Animation Issue Rate Topic: -----

#1 User is offline   Frank Musick 

  • Conductor
  • Group: Status: Contributing Member
  • Posts: 463
  • Joined: 29-June 21
  • Gender:Male
  • Simulator:OR MSTS
  • Country:

Posted 13 December 2021 - 12:50 PM

Bit of trouble with animation on a 18 year old model. Should have fixed 18 years ago but life got in the way.

Don't have the original DST files to fix the model. Need to fix the animation in the S file. I have played with it, but have no clue what I'm doing.

Click on the image to see a video of the glitch.
https://i.pinimg.com/originals/e7/91/6b/e7916b8a41c12816c937bd1a5a37de8b.jpg

Here's the animation section of the S file for the rod and such...


animations ( 1
animation ( 7 30
anim_nodes ( 13
anim_node Frame (
controllers ( 0 )
)
anim_node Wheels4 (
controllers ( 1
tcb_rot ( 9
tcb_key ( 0 0 0 0 1 0 0 0 0 0 )
tcb_key ( 1 -0.382683 0 0 0.92388 0 0 0 0 0 )
tcb_key ( 2 -0.707107 0 0 0.707107 0 0 0 0 0 )
tcb_key ( 3 -0.92388 0 0 0.382683 0 0 0 0 0 )
tcb_key ( 4 -1 0 0 -4.37114e-008 0 0 0 0 0 )
tcb_key ( 5 -0.92388 0 0 -0.382683 0 0 0 0 0 )
tcb_key ( 6 -0.707107 0 0 -0.707107 0 0 0 0 0 )
tcb_key ( 7 -0.382683 0 0 -0.92388 0 0 0 0 0 )
tcb_key ( 8 0 0 0 1 0 0 0 0 0 )
)
)
)
anim_node Wheels3 (
controllers ( 1
tcb_rot ( 9
tcb_key ( 0 0 0 0 1 0 0 0 0 0 )
tcb_key ( 1 -0.382683 0 0 0.92388 0 0 0 0 0 )
tcb_key ( 2 -0.707107 0 0 0.707107 0 0 0 0 0 )
tcb_key ( 3 -0.92388 0 0 0.382683 0 0 0 0 0 )
tcb_key ( 4 -1 0 0 -4.37114e-008 0 0 0 0 0 )
tcb_key ( 5 -0.92388 0 0 -0.382683 0 0 0 0 0 )
tcb_key ( 6 -0.707107 0 0 -0.707107 0 0 0 0 0 )
tcb_key ( 7 -0.382683 0 0 -0.92388 0 0 0 0 0 )
tcb_key ( 8 0 0 0 1 0 0 0 0 0 )
)
)
)
anim_node Wheels2 (
controllers ( 1
tcb_rot ( 9
tcb_key ( 0 0 0 0 1 0 0 0 0 0 )
tcb_key ( 1 -0.382683 0 0 0.92388 0 0 0 0 0 )
tcb_key ( 2 -0.707107 0 0 0.707107 0 0 0 0 0 )
tcb_key ( 3 -0.92388 0 0 0.382683 0 0 0 0 0 )
tcb_key ( 4 -1 0 0 -4.37114e-008 0 0 0 0 0 )
tcb_key ( 5 -0.92388 0 0 -0.382683 0 0 0 0 0 )
tcb_key ( 6 -0.707107 0 0 -0.707107 0 0 0 0 0 )
tcb_key ( 7 -0.382683 0 0 -0.92388 0 0 0 0 0 )
tcb_key ( 8 0 0 0 1 0 0 0 0 0 )
)
)
)
anim_node Wheels1 (
controllers ( 1
tcb_rot ( 9
tcb_key ( 0 0 0 0 1 0 0 0 0 0 )
tcb_key ( 1 -0.382683 0 0 0.92388 0 0 0 0 0 )
tcb_key ( 2 -0.707107 0 0 0.707107 0 0 0 0 0 )
tcb_key ( 3 -0.92388 0 0 0.382683 0 0 0 0 0 )
tcb_key ( 4 -1 0 0 -4.37114e-008 0 0 0 0 0 )
tcb_key ( 5 -0.92388 0 0 -0.382683 0 0 0 0 0 )
tcb_key ( 6 -0.707107 0 0 -0.707107 0 0 0 0 0 )
tcb_key ( 7 -0.382683 0 0 -0.92388 0 0 0 0 0 )
tcb_key ( 8 0 0 0 1 0 0 0 0 0 )
)
)
)

anim_node PistonAssyRight (
controllers ( 1
linear_pos ( 8
linear_key ( 0 0.875995 0.575767 1.84931 )
linear_key ( 1 0.875995 0.575767 1.93706 )
linear_key ( 2 0.875995 0.575767 2.0248 )
linear_key ( 3 0.875995 0.575767 2.23929 )
linear_key ( 4 0.875995 0.575767 2.36929 )
linear_key ( 5 0.875995 0.575767 2.29129 )
linear_key ( 6 0.875995 0.575767 2.18242 )
linear_key ( 7 0.875995 0.575767 1.97443 )
)
)
)
anim_node GuideBlockRight (
controllers ( 1
linear_pos ( 8
linear_key ( 0 0.8763 0.573329 1.25975 )
linear_key ( 1 0.8763 0.573329 1.34843 )
linear_key ( 2 0.8763 0.573329 1.5527 )
linear_key ( 3 0.8763 0.573329 1.78205 )
linear_key ( 4 0.8763 0.573329 1.89208 )
linear_key ( 5 0.8763 0.573329 1.81037 )
linear_key ( 6 0.8763 0.573329 1.57638 )
linear_key ( 7 0.8763 0.573329 1.33403 )
)
)
)
anim_node ConnRodRight (
controllers ( 2
tcb_rot ( 8
tcb_key ( 0 0 0 0 1 0 0 0 0 0 )
tcb_key ( 1 -0.0479781 0 0 0.998848 0 0 0 0 0 )
tcb_key ( 2 -0.0697565 0 0 0.997564 0 0 0 0 0 )
tcb_key ( 3 -0.0566928 0 0 0.998392 0 0 0 0 0 )
tcb_key ( 4 0 0 0 1 0 0 0 0 0 )
tcb_key ( 5 -0.0436193 0 0 -0.999048 0 0 0 0 0 )
tcb_key ( 6 -0.0697565 0 0 -0.997564 0 0 0 0 0 )
tcb_key ( 7 -0.0436193 0 0 -0.999048 0 0 0 0 0 )
)
linear_pos ( 8
linear_key ( 0 0.87569 0.571844 -0.926799 )
linear_key ( 1 0.87569 0.79518 -0.843048 )
linear_key ( 2 0.87569 0.89568 -0.61413 )
linear_key ( 3 0.87569 0.806346 -0.385211 )
linear_key ( 4 0.87569 0.571844 -0.307044 )
linear_key ( 5 0.87569 0.348509 -0.390795 )
linear_key ( 6 0.87569 0.259175 -0.61413 )
linear_key ( 7 0.87569 0.348509 -0.837465 )
)
)
)
anim_node MainRodRight (
controllers ( 1
linear_pos ( 8
linear_key ( 0 0.840943 0.571805 0.786216 )
linear_key ( 1 0.840943 0.79514 0.865978 )
linear_key ( 2 0.840943 0.894045 1.09569 )
linear_key ( 3 0.840943 0.804711 1.32541 )
linear_key ( 4 0.840943 0.571805 1.40517 )
linear_key ( 5 0.840943 0.348469 1.32541 )
linear_key ( 6 0.840943 0.262326 1.10208 )
linear_key ( 7 0.840943 0.348469 0.869169 )
)
)
)
anim_node MainRodLeft (
controllers ( 1
linear_pos ( 8
linear_key ( 0 -0.840943 0.262311 1.10207 )
linear_key ( 1 -0.840943 0.34847 0.865964 )
linear_key ( 2 -0.840943 0.571797 0.789395 )
linear_key ( 3 -0.840943 0.804705 0.87555 )
linear_key ( 4 -0.840943 0.894037 1.0989 )
linear_key ( 5 -0.840943 0.798331 1.32221 )
linear_key ( 6 -0.840943 0.568623 1.40519 )
linear_key ( 7 -0.840943 0.348478 1.31266 )
)
)
)
anim_node ConnRodLeft (
controllers ( 2
tcb_rot ( 8
tcb_key ( 0 -0.00436331 0 0 0.99999 0 0 0 0 0 )
tcb_key ( 1 -0.0218149 0 0 0.999762 0 0 0 0 0 )
tcb_key ( 2 -0.0697565 0 0 0.997564 0 0 0 0 0 )
tcb_key ( 3 -0.117537 0 0 0.993068 0 0 0 0 0 )
tcb_key ( 4 -0.139173 0 0 0.990268 0 0 0 0 0 )
tcb_key ( 5 -0.121869 0 0 0.992546 0 0 0 0 0 )
tcb_key ( 6 -0.0697565 0 0 0.997564 0 0 0 0 0 )
tcb_key ( 7 -0.0261769 0 0 0.999657 0 0 0 0 0 )
)
linear_pos ( 8
linear_key ( 0 -0.877519 0.264871 -0.601675 )
linear_key ( 1 -0.877519 0.354445 -0.840539 )
linear_key ( 2 -0.877519 0.5732 -0.91691 )
linear_key ( 3 -0.877519 0.80394 -0.838914 )
linear_key ( 4 -0.877519 0.894935 -0.604925 )
linear_key ( 5 -0.877519 0.80069 -0.390435 )
linear_key ( 6 -0.877519 0.569951 -0.302689 )
linear_key ( 7 -0.877519 0.348961 -0.396935 )
)
)
)
anim_node CrossHeadLeft (
controllers ( 1
linear_pos ( 8
linear_key ( 0 -0.8763 0.573329 1.56119 )
linear_key ( 1 -0.8763 0.573329 1.33704 )
linear_key ( 2 -0.8763 0.573329 1.28397 )
linear_key ( 3 -0.8763 0.573329 1.34414 )
linear_key ( 4 -0.8763 0.573329 1.56365 )
linear_key ( 5 -0.8763 0.573329 1.81036 )
linear_key ( 6 -0.8763 0.573329 1.85504 )
linear_key ( 7 -0.8763 0.573329 1.78189 )

#2 User is offline   wellsburg 

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

Posted 13 December 2021 - 02:06 PM

View PostFrank Musick, on 13 December 2021 - 12:50 PM, said:

Bit of trouble with animation on a 18 year old model. Should have fixed 18 years ago but life got in the way.

Don't have the original DST files to fix the model. Need to fix the animation in the S file. I have played with it, but have no clue what I'm doing.

Click on the image to see a video of the glitch.
https://i.pinimg.com/originals/e7/91/6b/e7916b8a41c12816c937bd1a5a37de8b.jpg

Here's the animation section of the S file for the rod and such...



Frank,

Gotta luv those old-timers.

Here is a suggestion for the animation code. Changes are in red.

The animation code tracks the animated piece through a 360 degree cycle. Therefore, the first and last X Y Z steps should be identical. Applies for rotational and linear animations on this model.

If motion is still erratic, the data sets can be graphed as step versus data point on a spreadsheet. This will show any outliers or data points slightly off the curve. New data points can be fitted to the curve.

Keep up the great additions you have done for the train simulation world.


Mike


animations ( 1
animation ( 8 30
anim_nodes ( 13
anim_node Frame (
controllers ( 0 )
)
anim_node Wheels4 (
controllers ( 1
tcb_rot ( 9
tcb_key ( 0 0 0 0 1 0 0 0 0 0 )
tcb_key ( 1 -0.382683 0 0 0.92388 0 0 0 0 0 )
tcb_key ( 2 -0.707107 0 0 0.707107 0 0 0 0 0 )
tcb_key ( 3 -0.92388 0 0 0.382683 0 0 0 0 0 )
tcb_key ( 4 -1 0 0 -4.37114e-008 0 0 0 0 0 )
tcb_key ( 5 -0.92388 0 0 -0.382683 0 0 0 0 0 )
tcb_key ( 6 -0.707107 0 0 -0.707107 0 0 0 0 0 )
tcb_key ( 7 -0.382683 0 0 -0.92388 0 0 0 0 0 )
tcb_key ( 8 0 0 0 1 0 0 0 0 0 )
)
)
)
anim_node Wheels3 (
controllers ( 1
tcb_rot ( 9
tcb_key ( 0 0 0 0 1 0 0 0 0 0 )
tcb_key ( 1 -0.382683 0 0 0.92388 0 0 0 0 0 )
tcb_key ( 2 -0.707107 0 0 0.707107 0 0 0 0 0 )
tcb_key ( 3 -0.92388 0 0 0.382683 0 0 0 0 0 )
tcb_key ( 4 -1 0 0 -4.37114e-008 0 0 0 0 0 )
tcb_key ( 5 -0.92388 0 0 -0.382683 0 0 0 0 0 )
tcb_key ( 6 -0.707107 0 0 -0.707107 0 0 0 0 0 )
tcb_key ( 7 -0.382683 0 0 -0.92388 0 0 0 0 0 )
tcb_key ( 8 0 0 0 1 0 0 0 0 0 )
)
)
)
anim_node Wheels2 (
controllers ( 1
tcb_rot ( 9
tcb_key ( 0 0 0 0 1 0 0 0 0 0 )
tcb_key ( 1 -0.382683 0 0 0.92388 0 0 0 0 0 )
tcb_key ( 2 -0.707107 0 0 0.707107 0 0 0 0 0 )
tcb_key ( 3 -0.92388 0 0 0.382683 0 0 0 0 0 )
tcb_key ( 4 -1 0 0 -4.37114e-008 0 0 0 0 0 )
tcb_key ( 5 -0.92388 0 0 -0.382683 0 0 0 0 0 )
tcb_key ( 6 -0.707107 0 0 -0.707107 0 0 0 0 0 )
tcb_key ( 7 -0.382683 0 0 -0.92388 0 0 0 0 0 )
tcb_key ( 8 0 0 0 1 0 0 0 0 0 )
)
)
)
anim_node Wheels1 (
controllers ( 1
tcb_rot ( 9
tcb_key ( 0 0 0 0 1 0 0 0 0 0 )
tcb_key ( 1 -0.382683 0 0 0.92388 0 0 0 0 0 )
tcb_key ( 2 -0.707107 0 0 0.707107 0 0 0 0 0 )
tcb_key ( 3 -0.92388 0 0 0.382683 0 0 0 0 0 )
tcb_key ( 4 -1 0 0 -4.37114e-008 0 0 0 0 0 )
tcb_key ( 5 -0.92388 0 0 -0.382683 0 0 0 0 0 )
tcb_key ( 6 -0.707107 0 0 -0.707107 0 0 0 0 0 )
tcb_key ( 7 -0.382683 0 0 -0.92388 0 0 0 0 0 )
tcb_key ( 8 0 0 0 1 0 0 0 0 0 )
)
)
)

anim_node PistonAssyRight (
controllers ( 1
linear_pos ( 8
linear_key ( 0 0.875995 0.575767 1.84931 )
linear_key ( 1 0.875995 0.575767 1.93706 )
linear_key ( 2 0.875995 0.575767 2.0248 )
linear_key ( 3 0.875995 0.575767 2.23929 )
linear_key ( 4 0.875995 0.575767 2.36929 )
linear_key ( 5 0.875995 0.575767 2.29129 )
linear_key ( 6 0.875995 0.575767 2.18242 )
linear_key ( 7 0.875995 0.575767 1.84931 )
)
)
)
anim_node GuideBlockRight (
controllers ( 1
linear_pos ( 8
linear_key ( 0 0.8763 0.573329 1.25975 )
linear_key ( 1 0.8763 0.573329 1.34843 )
linear_key ( 2 0.8763 0.573329 1.5527 )
linear_key ( 3 0.8763 0.573329 1.78205 )
linear_key ( 4 0.8763 0.573329 1.89208 )
linear_key ( 5 0.8763 0.573329 1.81037 )
linear_key ( 6 0.8763 0.573329 1.57638 )
linear_key ( 7 0.8763 0.573329 1.25975 )
)
)
)
anim_node ConnRodRight (
controllers ( 2
tcb_rot ( 8
tcb_key ( 0 0 0 0 1 0 0 0 0 0 )
tcb_key ( 1 -0.0479781 0 0 0.998848 0 0 0 0 0 )
tcb_key ( 2 -0.0697565 0 0 0.997564 0 0 0 0 0 )
tcb_key ( 3 -0.0566928 0 0 0.998392 0 0 0 0 0 )
tcb_key ( 4 0 0 0 1 0 0 0 0 0 )
tcb_key ( 5 -0.0436193 0 0 -0.999048 0 0 0 0 0 )
tcb_key ( 6 -0.0697565 0 0 -0.997564 0 0 0 0 0 )
tcb_key ( 7 0 0 0 1 0 0 0 0 0 )
)
linear_pos ( 8
linear_key ( 0 0.87569 0.571844 -0.926799 )
linear_key ( 1 0.87569 0.79518 -0.843048 )
linear_key ( 2 0.87569 0.89568 -0.61413 )
linear_key ( 3 0.87569 0.806346 -0.385211 )
linear_key ( 4 0.87569 0.571844 -0.307044 )
linear_key ( 5 0.87569 0.348509 -0.390795 )
linear_key ( 6 0.87569 0.259175 -0.61413 )
linear_key ( 7 0.87569 0.571844 -0.926799 )
)
)
)
anim_node MainRodRight (
controllers ( 1
linear_pos ( 8
linear_key ( 0 0.840943 0.571805 0.786216 )
linear_key ( 1 0.840943 0.79514 0.865978 )
linear_key ( 2 0.840943 0.894045 1.09569 )
linear_key ( 3 0.840943 0.804711 1.32541 )
linear_key ( 4 0.840943 0.571805 1.40517 )
linear_key ( 5 0.840943 0.348469 1.32541 )
linear_key ( 6 0.840943 0.262326 1.10208 )
linear_key ( 7 0.840943 0.571805 0.786216 )
)
)
)
anim_node MainRodLeft (
controllers ( 1
linear_pos ( 8
linear_key ( 0 -0.840943 0.262311 1.10207 )
linear_key ( 1 -0.840943 0.34847 0.865964 )
linear_key ( 2 -0.840943 0.571797 0.789395 )
linear_key ( 3 -0.840943 0.804705 0.87555 )
linear_key ( 4 -0.840943 0.894037 1.0989 )
linear_key ( 5 -0.840943 0.798331 1.32221 )
linear_key ( 6 -0.840943 0.568623 1.40519 )
linear_key ( 7 -0.840943 0.262311 1.10207 )
)
)
)
anim_node ConnRodLeft (
controllers ( 2
tcb_rot ( 8
tcb_key ( 0 -0.00436331 0 0 0.99999 0 0 0 0 0 )
tcb_key ( 1 -0.0218149 0 0 0.999762 0 0 0 0 0 )
tcb_key ( 2 -0.0697565 0 0 0.997564 0 0 0 0 0 )
tcb_key ( 3 -0.117537 0 0 0.993068 0 0 0 0 0 )
tcb_key ( 4 -0.139173 0 0 0.990268 0 0 0 0 0 )
tcb_key ( 5 -0.121869 0 0 0.992546 0 0 0 0 0 )
tcb_key ( 6 -0.0697565 0 0 0.997564 0 0 0 0 0 )
tcb_key ( 7 -0.00436331 0 0 0.99999 0 0 0 0 0 )
)
linear_pos ( 8
linear_key ( 0 -0.877519 0.264871 -0.601675 )
linear_key ( 1 -0.877519 0.354445 -0.840539 )
linear_key ( 2 -0.877519 0.5732 -0.91691 )
linear_key ( 3 -0.877519 0.80394 -0.838914 )
linear_key ( 4 -0.877519 0.894935 -0.604925 )
linear_key ( 5 -0.877519 0.80069 -0.390435 )
linear_key ( 6 -0.877519 0.569951 -0.302689 )
linear_key ( 7 -0.877519 0.264871 -0.601675 )
)
)
)
anim_node CrossHeadLeft (
controllers ( 1
linear_pos ( 8
linear_key ( 0 -0.8763 0.573329 1.56119 )
linear_key ( 1 -0.8763 0.573329 1.33704 )
linear_key ( 2 -0.8763 0.573329 1.28397 )
linear_key ( 3 -0.8763 0.573329 1.34414 )
linear_key ( 4 -0.8763 0.573329 1.56365 )
linear_key ( 5 -0.8763 0.573329 1.81036 )
linear_key ( 6 -0.8763 0.573329 1.85504 )
linear_key ( 7 -0.8763 0.573329 1.56119 )


#3 User is offline   Frank Musick 

  • Conductor
  • Group: Status: Contributing Member
  • Posts: 463
  • Joined: 29-June 21
  • Gender:Male
  • Simulator:OR MSTS
  • Country:

Posted 13 December 2021 - 05:42 PM

WOW!!!
Thank you, Mike.

#4 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 13 December 2021 - 06:56 PM

I found that if you 8use Mike's numbers, but leave the animations at ( 7 30 ) the animation is fairly smooth.

Page 1 of 1
  • 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