{"id":16,"date":"2008-12-23T22:00:54","date_gmt":"2008-12-23T22:00:54","guid":{"rendered":"\/progress73465\/?p=16"},"modified":"2008-12-23T22:00:54","modified_gmt":"2008-12-23T22:00:54","slug":"superelevation-flashing-aspects-animated-points-and-station-signs","status":"publish","type":"post","link":"https:\/\/railsimroutes.net\/blog\/openbve\/superelevation-flashing-aspects-animated-points-and-station-signs\/","title":{"rendered":"Superelevation, Flashing Aspects, Animated Points, and Station Signs"},"content":{"rendered":"<p>I&#8217;ve been continuing with some more cosmetic updates for <span class=\"emphasis_colour\">Cross-City South v1.4<\/span>, and I&#8217;m in the process of adding superelevated track, transition curves and lead-in\/lead-out track objects to enable smooth changes from level to canted track. With <a href=\"\/watfordjn-rugby\/index.html\">\u00bb Watford Junction to Rugby \u00ab<\/a>, which already includes superelevated track objects and lead in\/out objects, I&#8217;d adopted a system where curved track objects with 35mm, 70mm and 125mm cants were modelled, with a set of lead-in\/out transition objects going from 0-35mm, 35-70mm and 70-125mm at varying curve radii, which enabled a nice, gradual increase or decrease in cant within a curve. These lead in\/out objects are placed not as .Rail objects, but as .FreeObjects, and are used in conjunction with one of several invisible null rails which each have a different run sound, such that I don&#8217;t need to add too many new railtypes to cover all the possible combinations of run sound and required canted transition curve objects. This technique still results in quite a number of FreeObjects however.<\/p>\n<p>While looking at the <a href=\"http:\/\/ec207.style.coocan.jp\/sn_p_test\/index.htm\" target=\"_blank\" rel=\"noopener\">\u00bb ATS-Sn\/P Test Route \u00ab<\/a>, I was impressed by the appearance of the superelevated track and transition curves, which I felt were better than my attempts, and while looking at how the author achieved such a good result, I was pleasantly surprised to find that the technique used is actually more straightforward and efficient than that which I&#8217;d adopted, with just a simple pair of straight, left\/right lead-in and lead-out objects used. I&#8217;ve trialled this on the Cross-City South, and I&#8217;m pleased with the results on the sharper curves, although for larger radius, higher speed curves, I&#8217;ll retain graduated 0-70mm and 70-125mm canted transition curve objects:<\/p>\n<p><a class=\"imglink\" href=\"\/images\/xcs_14_openbve_4.jpg\"><img decoding=\"async\" style=\"padding-right: 0px; padding-left: 0px; padding-bottom: 0px; padding-top: 0px\" title=\"openBVE screenshot (Cross-City South v1.4 WIP)\" src=\"\/images\/thumbnails\/xcs_14_openbve_4.jpg\" alt=\"openBVE screenshot (Cross-City South v1.4 WIP)\" \/><\/a> <a class=\"imglink\" href=\"\/images\/xcs_14_openbve_5.jpg\"><img decoding=\"async\" style=\"padding-right: 0px; padding-left: 0px; padding-bottom: 0px; padding-top: 0px\" title=\"openBVE screenshot (Cross-City South v1.4 WIP)\" src=\"\/images\/thumbnails\/xcs_14_openbve_5.jpg\" alt=\"openBVE screenshot (Cross-City South v1.4 WIP)\" \/><\/a><br \/>\n<em>&#8211; Please note that the grass and terrain textures are only temporary<\/em><\/p>\n<p>I&#8217;ve also been experimenting with the signalling functionality recently introduced into openBVE&#8217;s <a href=\"http:\/\/openbve.trainsimcentral.co.uk\/develop\/object_animated.html\" target=\"_blank\" rel=\"noopener\">\u00bb animated object format \u00ab<\/a>. I&#8217;ve now implemented <strong>flashing aspects<\/strong> which are used on the approaches to the 60 mph and 70 mph crossovers between the fast and slow lines on the WCML&#8217;s New Ledburn and Hanslope Junctions, respectively. I&#8217;ve also incorporated <span class=\"emphasis_colour_bold\">lens hoods<\/span> which become illuminated according to the aspect displayed by these new signal objects, and these look better than the standard flat bitmaps usually used to represent signal aspects in BVE.<\/p>\n<p>Jason Morgan, one of the people we can thank for introducing BVE to Western railsim users several years ago, asked me whether or not it would be possible to have animated points linked to a signal, such that the blades moved to the correct position prior to the signal clearing, for example, while the player&#8217;s train is waiting in a passing loop before being cleared to rejoin the main line. Indeed this is possible, either by making the point blade position depend upon the state of a section, or by making the animation functions conditional, for example, by basing them upon the distance from the set of points to the player&#8217;s train. When basing the point blade position upon a section state, this can be done simply with the aid of a .Pretrain command, such that the point blades move as the signal changes from red. However, by using a .Section 0;2;3;4;5 command (UK routes with 4 aspect signals usually use .Section 0;2;3;4), and a specially modified animated signal object which displays an aspect sequence of Red &gt; Red &gt; Yellow &gt; Double Yellow &gt; Green, the point blades can move prior to the signal aspect appearing to change from red, which looks more prototypical. This is only suitable when the player arrives at the signal while it&#8217;s associated section state is still 0 (red), however.<\/p>\n<p>As part of the experiment, I created some fully animated point objects, which include moving point blades, stretcher bars, backdrive assemblies, linkages and levers. <a href=\"http:\/\/openbve.trainsimcentral.co.uk\" target=\"_blank\" rel=\"noopener\">\u00bb openBVE&#8217;s \u00ab<\/a> rotation damping functions also enable a rather nice motion of the point blades, which looks quite realistic. Both conventional and High Performance Switch System (HPSS) points are modelled.<\/p>\n<p><strong>Important note:<\/strong> Currently, trains in openBVE follow a single path throughout a route as with BVE Trainsim (based on Rail 0), with this one path coded in the route file which cannot be changed en-route. Therefore, these points are <span class=\"emphasis_colour_bold\">cosmetic<\/span> only!<\/p>\n<p><img decoding=\"async\" style=\"padding-right: 5px; float: left;\" title=\"openBVE \/ Watford Junction to Rugby video - please use the YouTube links to the right\" src=\"\/images\/thumbnails\/wj-r_anim_1.png\" alt=\"Download openBVE \/ Watford Junction to Rugby video - please use the YouTube links to the right\" \/><span style=\"white-space: nowrap\"><strong>Video:<\/strong> Demonstration of working 3D bulb and LED signals, flashing apects, and animated pointwork<\/span><\/p>\n<p><strong>Note:<\/strong> this video is now included as part of a compilation on YouTube.<\/p>\n<p>\u00ab <a href=\"https:\/\/www.youtube.com\/watch?v=QtITwxTWLyM&amp;fmt=18\">[YouTube &#8220;High Quality&#8221; version]<\/a> | <a href=\"https:\/\/www.youtube.com\/watch?v=QtITwxTWLyM&amp;fmt=22\">[YouTube &#8220;High Definition&#8221; version]<\/a><\/p>\n<table style=\"width: 100%;\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td align=\"center\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Stephen Cross has also kindly created a set of station sign textures for use in <span class=\"emphasis_colour\">Cross-City South v1.4<\/span>, so I&#8217;ll be creating a new set of objects allowing the actual station names to be displayed on signs at each station on the route:<\/p>\n<p><a class=\"imglink\" href=\"\/images\/xcs_14_openbve_6.jpg\"><img decoding=\"async\" style=\"padding-right: 0px; padding-left: 0px; padding-bottom: 0px; padding-top: 0px\" title=\"openBVE screenshot (Cross-City South v1.4 WIP)\" src=\"\/images\/thumbnails\/xcs_14_openbve_6.jpg\" alt=\"openBVE screenshot (Cross-City South v1.4 WIP)\" \/><\/a><\/p>\n<p>I&#8217;ll also create some new lampost objects for the stations, as the existing ones look, well lets be honest, terrible. <img decoding=\"async\" style=\"vertical-align: text-top\" src=\"\/interface\/themes\/modern\/smilies\/icon_smile.gif\" alt=\"Emoticon Smile\" \/> If I have time, I&#8217;ll update the route to include London Midland textures as well, although this isn&#8217;t a priority for me at the moment.<\/p>\n<p>Finally, I&#8217;d like to wish visitors to Rail Sim Routes UK a very Happy Christmas! <img decoding=\"async\" style=\"vertical-align: text-top\" src=\"\/interface\/themes\/modern\/smilies\/icon_smile.gif\" alt=\"Emoticon Smile\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been continuing with some more cosmetic updates for Cross-City South v1.4, and I&#8217;m in the process of adding superelevated track, transition curves and lead-in\/lead-out track objects to enable smooth changes from level to canted track. With \u00bb Watford Junction to Rugby \u00ab, which already includes superelevated track objects and lead in\/out objects, I&#8217;d adopted [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[6,8,11,15,18,20,21],"class_list":["post-16","post","type-post","status-publish","format-standard","hentry","category-openbve","tag-animated-objects","tag-cross-city-south","tag-openbve","tag-screenshots","tag-trackwork","tag-videos","tag-watford-jn-to-rugby"],"_links":{"self":[{"href":"https:\/\/railsimroutes.net\/blog\/wp-json\/wp\/v2\/posts\/16","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/railsimroutes.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/railsimroutes.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/railsimroutes.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/railsimroutes.net\/blog\/wp-json\/wp\/v2\/comments?post=16"}],"version-history":[{"count":0,"href":"https:\/\/railsimroutes.net\/blog\/wp-json\/wp\/v2\/posts\/16\/revisions"}],"wp:attachment":[{"href":"https:\/\/railsimroutes.net\/blog\/wp-json\/wp\/v2\/media?parent=16"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/railsimroutes.net\/blog\/wp-json\/wp\/v2\/categories?post=16"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/railsimroutes.net\/blog\/wp-json\/wp\/v2\/tags?post=16"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}