Elvas Tower: Station clocks - Elvas Tower

Jump to content

  • 9 Pages +
  • 1
  • 2
  • 3
  • 4
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Station clocks Creating clocks to synchronize with simulation Rate Topic: -----

#11 User is offline   Goku 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,785
  • Joined: 12-December 13
  • Gender:Male
  • Simulator:my own
  • Country:

Posted 15 December 2016 - 12:07 PM

OpenBVE formats are primitive and only advantage of them is that you can create content, like animations, using text editor.
But don't think it is real "advantage".

#12 User is offline   Lindsayts 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,849
  • Joined: 25-November 11
  • Gender:Male
  • Country:

Posted 15 December 2016 - 12:41 PM

View Postcjakeman, on 15 December 2016 - 11:23 AM, said:

Do you where I can find details of this?

Thanks,



The Attachment below contains the Docs for the Animated and the CSV file formats also the source code for AnimatedObjectParser.cs

This is from an older version of openBVE

Attached File  openBVE_Animated.zip (594.66K)
Number of downloads: 502

There are two main OpenBVE sites.......

http://openbve-project.net/

and

https://sites.google...openbvesim/home

I cannot at this stage find the complete docs on the web, the above are stated to be out of date, but the seem to match the source code. I found it easy to read both the Docs and the code and I believe show great promise.OpenBVE states any of there code can be reused as long as it is made clear the reused code is NO LONGER part of openBVE.

Lindsay

#13 User is offline   Lindsayts 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,849
  • Joined: 25-November 11
  • Gender:Male
  • Country:

Posted 15 December 2016 - 12:46 PM

Post Script, I do use the openBVE animated format in my own work I have though completely rewriten the parser as the existing code in no way matched the renderer I use.

Lindsay

#14 User is offline   Lindsayts 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,849
  • Joined: 25-November 11
  • Gender:Male
  • Country:

Posted 16 December 2016 - 12:38 AM

opnBVE's source code 1.4.3 conatains no licence documentation the website though does say..........................

"All openBVE Content released fall under the Creative Commons Attribution, Non-Profit, Share-Alike 3.0 Unported license"

Sadly the openbve website that carried the docs including the Forking doc is no longer with us.

Lindsay

#15 User is offline   jonas 

  • Engineer
  • Group: Status: Contributing Member
  • Posts: 548
  • Joined: 04-April 14
  • Gender:Male
  • Simulator:MSTS & OR
  • Country:

Posted 16 December 2016 - 07:11 AM

View PostNF1-800, on 13 December 2016 - 04:04 PM, said:

...creating clocks for stations/platforms that synchronize with the actual time in the simulation. ...


A great idea I think! A standard is conceivable, which treats a shape as analogue clock with special names of the subobjects (similar to the subobject name "TRACKPIECE" at turntables). For example:

Attached Image: AniClock01.jpg

So no animation in the shape would be necessary, only the pivots have to be centrally aligned. No further files are needed in OR. The subobject names itself would declare a shape as a analoge clock.

#16 User is offline   jonas 

  • Engineer
  • Group: Status: Contributing Member
  • Posts: 548
  • Joined: 04-April 14
  • Gender:Male
  • Simulator:MSTS & OR
  • Country:

Posted 16 December 2016 - 07:19 AM

....of course additional code is needed in OR to identify and "move" the clock hands... :-)

#17 User is offline   cjakeman 

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

Posted 16 December 2016 - 09:56 AM

View PostLindsayts, on 15 December 2016 - 12:41 PM, said:

The Attachment below contains the Docs for the Animated and the CSV file formats also the source code for AnimatedObjectParser.cs

Many thanks, Lindsay.

#18 User is offline   Lindsayts 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,849
  • Joined: 25-November 11
  • Gender:Male
  • Country:

Posted 16 December 2016 - 11:37 AM

View Postjonas, on 16 December 2016 - 07:19 AM, said:

....of course additional code is needed in OR to identify and "move" the clock hands... :-)



The code provided does exactly that amongst other things, from the Docs............................

The ANIMATED object format is a container format allowing you to reference other objects and to apply animation to them. It also allows to just group other objects (including other ANIMATED objects) without animating them.

Animation is performed via the following primitives:

● State changes - basically allowing to switch between different objects at any time

● Translation - moving objects in three independent directions

● Rotation - rotating objects around three independent axes

● Texture shifts - allowing to shift the texture coordinates of objects in two independent directions


Lindsay

#19 User is offline   Lindsayts 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,849
  • Joined: 25-November 11
  • Gender:Male
  • Country:

Posted 16 December 2016 - 12:04 PM

View PostGoku, on 15 December 2016 - 12:07 PM, said:

OpenBVE formats are primitive and only advantage of them is that you can create content, like animations, using text editor.
But don't think it is real "advantage".


It would be great to have an object format with built in animation, some one though would then have to write a program that could create such a shape format. Even at the moment we cannot get anyone to write an exporter for S files from Blender, so the creation of such a program to create S files will be VERY VERY unlikely. Can you not see the advantage to be able create animations (or anything else for that matter) from just using a text editor. While the OpenBVE Animation is primitive it is after all a "primitive" ie a basic function for use throughout a route for any object.

There are two parts for rendering an object on the screen, the actual rendering itself, the second part, or should we say the first part is the actual creation of the object itself. There would be little point in having an object format the is easy and quick to render but cannot be built by anyone as the is no tools to do it.

Bye the way you are doing an amazing job with your route editor, I am VERY impressed.

Ahhhhhhhhhhhhhhhh, very good, The Cat Empire is current playing 'Steal the light" in the background.............................

Lindsay

#20 User is offline   longiron 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 3,179
  • Joined: 25-July 08
  • Gender:Male
  • Location:Manasquan, NJ
  • Simulator:Open Rails, MSTS editors
  • Country:

Posted 16 December 2016 - 12:37 PM

View PostLindsayts, on 16 December 2016 - 12:04 PM, said:

Even at the moment we cannot get anyone to write an exporter for S files from Blender


Not true. A blender exporter for MSTS s. File has been around for almost a year
http://www.elvastowe...rt-plugin-v-34/
chris

  • 9 Pages +
  • 1
  • 2
  • 3
  • 4
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users