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.
  • 57 Pages +
  • « First
  • 38
  • 39
  • 40
  • 41
  • 42
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

3D Cabs Rate Topic: -----

#581 User is offline   VAPOR3D 

  • Conductor
  • Group: Posts: Active Member
  • Posts: 347
  • 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 

  • Foreman Of Engines
  • Group: Posts: Contributing Member
  • Posts: 812
  • 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: Posts: Active Member
  • Posts: 347
  • 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: Posts: Contributing Member
  • Posts: 608
  • 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: Posts: Elite Member
  • Posts: 7,450
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 06 April 2020 - 03:34 AM

Superb work!

#586 User is offline   mrmosky 

  • Foreman Of Engines
  • Group: Posts: Contributing Member
  • Posts: 812
  • 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: Posts: Active Member
  • Posts: 347
  • 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: Posts: Active Member
  • Posts: 347
  • 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: Posts: Contributing Member
  • Posts: 608
  • 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: Posts: Contributing Member
  • Posts: 608
  • 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.

#591 User is offline   Csantucci 

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

Posted 06 April 2020 - 10:15 AM

View Postsuperheatedsteam, on 06 April 2020 - 08:57 AM, said:

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.

Hi Marek,
thanks for that.

#592 User is offline   Hamza97 

  • Engineer
  • Group: Posts: Contributing Member
  • Posts: 606
  • Joined: 01-March 15
  • Gender:Male
  • Simulator:Open Rails
  • Country:

Posted 18 April 2020 - 09:04 PM

Hii Everyone .... !!

I am building a 3D Cab for the Electric locomotive WAP7 class used on Indian Railways .., Unfortunately I am stuck on combined power cum dynamic handle ... :( In real life .., the handle is notch less with smooth movements in both traction and dynamic braking mode .., I tried implementing same in Open Rails unfortunately it doesn't work and whenever I click on throttle and drag it ., instead of smooth increments it jumps to either 100% throttle or 100% braking ... :o

For animation I have Frame 0 for full throttle,
Frame 1 for slight throttle .,
Frame 2 for IDLE / 0
Frame 3 for slight braking ...,
Frame 4 for full braking ...

and here is CVF entry I made ::

		CombinedControl (
			Type ( CP_HANDLE COMBINED_CONTROL )
			Position ( 206 350 58 86 )
			Graphic ( x.ace )
			Style ( NOT_SPRUNG )
			MouseControl ( 1 )
			NumFrames ( 5 5 0 )
			NumPositions ( 5 0 1 2 3 4 )
			NumValues ( 5 1.0 0.55 0.5 0.45 0 )
			Orientation ( 0 )
			DirIncrease ( 0 )
			ScaleRange ( 0 1 )
		)



and here is engine controllers section ::

    EngineControllers (
        Throttle ( 0 1 0.025 0
            NumNotches ( 0 )
        )
        Brake_Train ( 0 1 0.05 0.20
                NumNotches ( 11
                    Notch ( 0.0  0 TrainBrakesControllerReleaseStart )
                    Notch ( 0.2  0 TrainBrakesControllerNeutralhandleOffStart )
                    Notch ( 0.25 1 TrainBrakesControllerGraduatedSelfLapLimitedHoldingStart )
                    Notch ( 0.30 0 Dummy )
                    Notch ( 0.40 0 Dummy )
                    Notch ( 0.50 0 Dummy )
                    Notch ( 0.60 0 Dummy )
                    Notch ( 0.70 0 Dummy )
                    Notch ( 0.80 0 Dummy )
                    Notch ( 0.95 0 Dummy )
                    Notch ( 1.0 1 TrainBrakesControllerEmergencyStart )
                )
        )
        Brake_Engine ( 0 1 0.125 0 
            NumNotches ( 1
                  Notch( 0  1 Dummy )
              )
        )
        Brake_Dynamic ( 0 1 0.0125 0 
            NumNotches ( 0 )
        )
        Combined_Control( 0 1 0.5 0.5 throttle dynamic )




Any pointers would be useful .., Thanks ... And Be Safe ... !!

#593 User is offline   Csantucci 

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

Posted 18 April 2020 - 11:02 PM

Have you tried setting STYLE to SPRUNG?
Does your setting work on a 2D cab?

#594 User is offline   mrmosky 

  • Foreman Of Engines
  • Group: Posts: Contributing Member
  • Posts: 812
  • Joined: 02-October 16
  • Gender:Male
  • Location:Chasetown
  • Simulator:Openrails
  • Country:

Posted 19 April 2020 - 01:54 AM

View PostHamza97, on 18 April 2020 - 09:04 PM, said:



For animation I have Frame 0 for full throttle,
Frame 1 for slight throttle .,
Frame 2 for IDLE / 0
Frame 3 for slight braking ...,
Frame 4 for full braking ...




Hi Hamza,

Are you saying that you only have four animation steps in your model of this control? If that is true, then it will not be a smooth movement. I am using 16 animation steps on throttle controls.

Geoff

#595 User is offline   Hamza97 

  • Engineer
  • Group: Posts: Contributing Member
  • Posts: 606
  • Joined: 01-March 15
  • Gender:Male
  • Simulator:Open Rails
  • Country:

Posted 19 April 2020 - 03:17 AM

Quote

Have you tried setting STYLE to SPRUNG?


Would try it ....

Quote

Does your setting work on a 2D cab?


Have not made a 2D Cab .., only 3D ..

Quote

Are you saying that you only have four animation steps in your model of this control? If that is true, then it will not be a smooth movement. I am using 16 animation steps on throttle controls.


Yes 4 animation steps ...., I would try increasing the animation frames and see if it works ... :sign_thanks:

  • 57 Pages +
  • « First
  • 38
  • 39
  • 40
  • 41
  • 42
  • 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