Elvas Tower: 3D Cabs - 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.
  • 80 Pages +
  • « First
  • 57
  • 58
  • 59
  • 60
  • 61
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

3D Cabs Rate Topic: -----

#581 User is offline   VAPOR3D 

  • Conductor
  • Group: Status: Active Member
  • Posts: 268
  • Joined: 15-March 20
  • Gender:Male
  • Location:Barcelona, Catalunya
  • Simulator:Open Rails
  • Country:

Posted 05 April 2020 - 05:54 AM

Hi,

Many Thanks for your post, superheatedsteam.

However, yes, I work with TSM and what you said didn't work for me. You gave me a hint and I tried it, rotating the apex:

Attached Image: pantalla2.jpg

However, it remains exactly the same:

Attached Image: pantalla2b.jpg

The first time I got the screens to work, to show the numbers in the simulator was when I added an animation in the form of a rotation in the X axis, in three equal frames:

0;23.5000;0.0000
1;23.5000;0.0000
2;23.5000;0.0000


That 23.5000 corresponds to the tilt angle of the screen in degrees. Since the analog needles work perfectly from TSM whit this trick, I thought it should be the same with this, but nothing. They are still tilted at 0°.

One possibility is that it's only possible to make them work from Blender or similar.

I looked well in the code of the example cab.s, which seems to be made with Blender because the animation codes in the .s are different from those generated by TSM, but I can't see what I could try to change manually to get the screens tilted.

Thanks again for the help!

#582 User is offline   mrmosky 

  • Engineer
  • Group: Status: Contributing Member
  • Posts: 648
  • Joined: 02-October 16
  • Gender:Male
  • Location:Chasetown
  • Simulator:Openrails
  • Country:

Posted 05 April 2020 - 10:00 AM

There is always a way to do it - even if TSM won't help.

Attached Image: SPEEDO.JPG

In the .s file for the cab, search for SPEEDOMETER, and you should find an entry which looks like this

matrix SPEEDOMETER:0:20 ( 1 0 0 0 1 0 0 0 1 -0.764 2.763 -2.638 )

I wondered whether the first sets of numbers were defining the rotation of the origin, as they were all the same in my TSM made model.

So I played around with the numbers until I got a result. This worked for me. You may need to play around some more to get the right angle.


matrix SPEEDOMETER:0:30 ( 1 0 0 0 1 0.764 2.763 -2.638 1 -0.764 2.763 -2.638 )

I started off by putting the speedometer object at the angle I wanted it to display (about 30 degrees) . then I copied the numbers from the last set of four to the middle set of four. That changed the angle, but it was inverted. So I rotated the speedometer object again to 150 degrees. Then copied the numbers again.
geoff

#583 User is offline   VAPOR3D 

  • Conductor
  • Group: Status: Active Member
  • Posts: 268
  • Joined: 15-March 20
  • Gender:Male
  • Location:Barcelona, Catalunya
  • Simulator:Open Rails
  • Country:

Posted 05 April 2020 - 05:56 PM

BINGO!

Thanks a lot, Geoff. That's the key.

It took me a while to adjust, and it's still not quite finished, but that's much better. Taking into account that they are two different screens... but I really appreciate the help, and above all the sharing of alchemy so that there are more people doing these things.

Attached Image: Open Rails 2020-04-06 03-26-11.jpg

Here, a video I just took out with the whole train, which is already posted for download:

http://youtu.be/fy3LfZD8w9U

I can't seem to display video thumbnails on this forum, or I don't quite understand how it's done. I'm sorry!

#584 User is offline   superheatedsteam 

  • Engineer
  • Group: Status: Contributing Member
  • Posts: 503
  • Joined: 28-June 08
  • Location:Perth, WA
  • Country:

Posted 06 April 2020 - 12:17 AM

Are you using custom ACE files for the different fonts for the digital displays?

Cheers,

Marek.

#585 User is offline   Csantucci 

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

Posted 06 April 2020 - 03:34 AM

Superb work!

#586 User is offline   mrmosky 

  • Engineer
  • Group: Status: Contributing Member
  • Posts: 648
  • Joined: 02-October 16
  • Gender:Male
  • Location:Chasetown
  • Simulator:Openrails
  • Country:

Posted 06 April 2020 - 05:27 AM

Very nice cab! Glad I was able to help.

It would be good to collect all of these tips and tricks in one place, so that they are easy for others to find.

Geoff

#587 User is offline   VAPOR3D 

  • Conductor
  • Group: Status: Active Member
  • Posts: 268
  • Joined: 15-March 20
  • Gender:Male
  • Location:Barcelona, Catalunya
  • Simulator:Open Rails
  • Country:

Posted 06 April 2020 - 06:05 AM

Thank you very much for your comments and your help. Now I know how to make 3D cabs and I plan to make much many more! :cheers3: :sign_thanks:

#588 User is offline   VAPOR3D 

  • Conductor
  • Group: Status: Active Member
  • Posts: 268
  • Joined: 15-March 20
  • Gender:Male
  • Location:Barcelona, Catalunya
  • Simulator:Open Rails
  • Country:

Posted 06 April 2020 - 08:36 AM

View Postsuperheatedsteam, on 06 April 2020 - 12:17 AM, said:

Are you using custom ACE files for the different fonts for the digital displays?

Cheers,

Marek.


Yes! speed.ace and speedlim.ace

Attached Image: speed.jpg

Attached Image: speedlim.jpg

#589 User is offline   superheatedsteam 

  • Engineer
  • Group: Status: Contributing Member
  • Posts: 503
  • Joined: 28-June 08
  • Location:Perth, WA
  • Country:

Posted 06 April 2020 - 08:57 AM

View Postmrmosky, on 06 April 2020 - 05:27 AM, said:


It would be good to collect all of these tips and tricks in one place, so that they are easy for others to find.

Geoff


The Open Rails manual would be the logical location. I have been reading through the 3D cab building section over the last couple of days and will write up what I found missing or unclear and submit for inclusion in the manual.

Cheers,

Marek.

#590 User is offline   superheatedsteam 

  • Engineer
  • Group: Status: Contributing Member
  • Posts: 503
  • Joined: 28-June 08
  • Location:Perth, WA
  • Country:

Posted 06 April 2020 - 08:59 AM

View PostVAPOR3D, on 06 April 2020 - 08:36 AM, said:

Yes! speed.ace and speedlim.ace



Thanks for that. I just worked it out, about an hour after I posted.

Cheers,

Marek.

  • 80 Pages +
  • « First
  • 57
  • 58
  • 59
  • 60
  • 61
  • Last »
  • 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