Elvas Tower: Multiple preset viewpoints for 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.
  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Multiple preset viewpoints for 3D cabs Rate Topic: -----

#1 User is offline   Csantucci 

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

Posted 16 June 2022 - 07:33 AM

This feature has been requested here https://trello.com/c...nts-for-3d-cabs . As the feature is easy to implement, following the analogous feature already available for passenger view, i've started working on this.
So, here is an example of a block defining a front cab, a rear cab and two alternate views for the front cab
	ORTS3DCab(
		ORTS3DCabFile ( Falcon3dcab.s )
		ORTS3DCabHeadPos ( -0.7 3.2 8.35 )
		RotationLimit ( 10 90 90 )
		StartDirection ( 13 0 0 )
			)
	ORTS3DCab(
		ORTS3DCabFile ( Falcon3dcab.s )
		ORTS3DCabHeadPos ( 0.7 3.2 -8.35 )
		RotationLimit ( 10 90 90 )
		StartDirection ( 13 180 0 )
			)
	ORTSAlternate3DCabViewPoints
			 (
	ORTSAlternate3DCabViewPoint(
		ORTS3DCabFile ( Falcon3dcab.s )
		ORTS3DCabHeadPos ( 0.7 3.2 8.35 )
		RotationLimit ( 10 90 90 )
		StartDirection ( 13 0 0 )
			)
		ORTSAlternate3DCabViewPoint(
		ORTS3DCabFile ( Falcon3dcab.s )
		ORTS3DCabHeadPos ( -0.7 3.2 8.35 )
		RotationLimit ( 10 90 90 )
		StartDirection ( 13 30 0 )
			)
			)

I've used mrmosky's Brush Falcon, downloadable from UKTrainsim, to test.

To switch among the various viewpoints, Ctrl+Shift+1 must be pressed.
If there aren't further defined viewpoints except the main one, pressing Ctrl+Shift+1 will switch to the opposite side of the cab (from left to right or from right to left), similarly to what occurs with passenger views. Note that in the above example you will enter the rear cab the first time you press Ctrl+Shift+1 .
I assume a Trello card is enough for this feature, so I don't foresee to register a blueprint.

#2 User is offline   Csantucci 

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

Posted 16 June 2022 - 08:11 AM

The feature is now available in ORNYMG 126. I foresee to port it also to the official OR versions, if the Trello card will be approved.

#3 User is offline   superheatedsteam 

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

Posted 16 June 2022 - 03:56 PM

Thank you Carlos, fantastic addition.

For 3D cab creators this will also make testing very much easier.

Cheers,

Marek.

#4 User is offline   Eldorado.Railroad 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 982
  • Joined: 31-May 10
  • Gender:Male
  • Country:

Posted 16 June 2022 - 04:08 PM

 Csantucci, on 16 June 2022 - 08:11 AM, said:

The feature is now available in ORNYMG 126. I foresee to port it also to the official OR versions, if the Trello card will be approved.


Carlo,
Last time I checked, passenger view does not enable dynamic shadows for the engine/wagon/object it was setup for. Are dynamic shadows enabled in this new 3D cab view setup? Also, I do not know why dynamic shadows are not enabled in passenger view, but they are in 3D cab view. I hope that the same kind of multiple 3D views can be made available for passenger view, with dynamic shadows enabled.
thanks,Steve


#5 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 17 September 2022 - 07:16 AM

Thank You Carlo,


But there is a small problem. The key combination Ctrl+Shift+1 is used on trains that have Cruise Control to change speed.

Is there anything that can be done to fix this? Thank you...

#6 User is offline   Csantucci 

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

Posted 17 September 2022 - 12:24 PM

Yeah, you're right. I'll see what to do. I never used that Cruise Control command, so I didn't notice it.

#7 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 18 September 2022 - 06:40 PM

 Csantucci, on 17 September 2022 - 12:24 PM, said:

Yeah, you're right. I'll see what to do. I never used that Cruise Control command, so I didn't notice it.


Thank you for your work, Carlo. I am sure something can be done.

#8 User is offline   Csantucci 

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

Posted 27 September 2022 - 01:11 AM

I will remove the keyboard commands to set the CC speed, except for speed = 0. Of course keyboard commands to increase and decrease set speed will remain.

#9 User is offline   Csantucci 

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

Posted 18 August 2023 - 12:06 AM

The feature is now available also in Unstable release U2023.08.17-1941.

#10 User is offline   cjakeman 

  • Vice President
  • PipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 2,867
  • Joined: 03-May 11
  • Gender:Male
  • Location:Peterborough, UK
  • Simulator:Open Rails
  • Country:

Posted 28 August 2023 - 05:08 AM

 Csantucci, on 16 June 2022 - 08:11 AM, said:

The feature is now available in ORNYMG 126. I foresee to port it also to the official OR versions, if the Trello card will be approved.

Hi Carlo,

Thanks for this.The card is now approved, so any dev is free now to review this PR and then approve and merge it.

  • 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