{"id":906,"date":"2010-10-14T00:20:03","date_gmt":"2010-10-13T23:20:03","guid":{"rendered":"\/blog\/?p=906"},"modified":"2010-10-14T00:20:03","modified_gmt":"2010-10-13T23:20:03","slug":"openbve-v1-2-8-and-increased-rendering-speed-cross-city-south-v2-0-update-and-openbve-performance-with-budget-versus-high-end-cpus-and-discrete-versus-on-board-graphics","status":"publish","type":"post","link":"https:\/\/railsimroutes.net\/blog\/openbve\/openbve-v1-2-8-and-increased-rendering-speed-cross-city-south-v2-0-update-and-openbve-performance-with-budget-versus-high-end-cpus-and-discrete-versus-on-board-graphics\/","title":{"rendered":"openBVE v1.2.8 and increased rendering speed, openBVE v1.2.9 development branch with cross-platform .NET plugin support, Cross-City South v2.0 update, and openBVE performance with budget versus high-end CPUs, and discrete versus on-board graphics"},"content":{"rendered":"<div style=\"background: rgb(65, 65, 65); background: linear-gradient(130deg, rgba(130, 130, 130, 0.8), rgba(40, 40, 40, 0.6)); border-top: 1px solid #808080; border-bottom: 1px solid #808080; padding-top: 4px; padding-bottom: 2px; margin-top: 10px;  margin-bottom: 20px;\">\n<div class=\"icon-indent-container\">\n<div class=\"icon-indent\" style=\"text-align: left;\"><img decoding=\"async\" src=\"\/interface\/themes\/clarity\/icons\/information_20.png\" style=\"position: relative; top: -3px;\" alt=\"Screenshot\" \/><\/div>\n<div class=\"icon-indent-content\"><strong>Updated:<\/strong> 16th October 2010 @ 22:50 UTC\n<\/div>\n<\/div>\n<\/div>\n<p><strong><span style=\"text-decoration: underline;\">openBVE v1.2.8 released, with significant rendering speed improvements<\/span><\/strong><\/p>\n<p><a href=\"http:\/\/openbve.trainsimcentral.co.uk\"><img decoding=\"async\" style=\"padding-right: 4px; vertical-align: middle; float: left; margin-top: 0px; margin-bottom: 0px;\" src=\"\/interface\/icons\/openbve_icon_30.png\" alt=\"openBVE Logo\" \/><\/a> <a href=\"http:\/\/openbve.trainsimcentral.co.uk\/\">openBVE v1.2.8<\/a> was released recently, which includes a reorganised renderer which can provide significantly higher framerates than the old renderer found in v1.2.7.4. This is achieved by rendering opaque faces (i.e. faces without alpha), using OpenGL display lists. There are two ways to enjoy the performance increase; if you currently have low framerates, then the boost could make routes more enjoyable, however if you already have high framerates, then you can increase the viewing distance significantly so that you can see much further away from the train, whilst maintaining similar framerates to those you are already used to seeing. You can visit the <a href=\"http:\/\/openbve.trainsimcentral.co.uk\/\">Official openBVE Homepage<\/a> for the download and to read the changelog, as well as read <a href=\"http:\/\/openbve.freeforums.org\/stable-version-1-2-8-has-been-released-t1737.html\">this thread<\/a> on the openBVE forum for more information.<\/p>\n<p>Here are some framerate and image quality comparisons which I conducted on my main development PC (Core 2 Quad Q9650 \/ GeForce GTX 260), showing some notable improvements:<\/p>\n<table style=\"width: 100%;\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td align=\"center\">On the left is openBVE v1.2.7.4, and on the right, the new v1.2.8:<\/p>\n<p><a class=\"imglink\" href=\"\/images\/hi-res\/genova_openbve_5.jpg\"><img decoding=\"async\" style=\"padding: 0px;\" title=\"Framerate comparison with Genova Brignole - Recco (openBVE v1.2.7.4)\" src=\"\/images\/thumbnails\/genova_openbve_5.jpg\" alt=\"Screenshot\" \/><\/a> <a class=\"imglink\" href=\"\/images\/hi-res\/genova_openbve_5a.jpg\"><img decoding=\"async\" style=\"padding: 0px;\" title=\"Framerate comparison with Genova Brignole - Recco (openBVE v1.2.8)\" src=\"\/images\/thumbnails\/genova_openbve_5a.jpg\" alt=\"Screenshot\" \/><\/a><br \/>\n<a class=\"imglink\" href=\"\/images\/hi-res\/openbve_chashinai_19.jpg\"><img decoding=\"async\" style=\"padding: 0px;\" title=\"Framerate comparison with Chashinai Railway (openBVE v1.2.7.4)\" src=\"\/images\/thumbnails\/openbve_chashinai_19.jpg\" alt=\"Screenshot\" \/><\/a> <a class=\"imglink\" href=\"\/images\/hi-res\/openbve_chashinai_19a.jpg\"><img decoding=\"async\" style=\"padding: 0px;\" title=\"Framerate comparison with Chashinai Railway (openBVE v1.2.8)\" src=\"\/images\/thumbnails\/openbve_chashinai_19a.jpg\" alt=\"Screenshot\" \/><\/a><br \/>\n<a class=\"imglink\" href=\"\/images\/hi-res\/firstbrnotrack_openbve_4.jpg\"><img decoding=\"async\" style=\"padding: 0px;\" title=\"Framerate comparison with First Brno Track (openBVE v1.2.7.4)\" src=\"\/images\/thumbnails\/firstbrnotrack_openbve_4.jpg\" alt=\"Screenshot\" \/><\/a> <a class=\"imglink\" href=\"\/images\/hi-res\/firstbrnotrack_openbve_4a.jpg\"><img decoding=\"async\" style=\"padding: 0px;\" title=\"Framerate comparison with First Brno Track (openBVE v1.2.8)\" src=\"\/images\/thumbnails\/firstbrnotrack_openbve_4a.jpg\" alt=\"Screenshot\" \/><\/a><br \/>\n<a class=\"imglink\" href=\"\/images\/hi-res\/wj-r_openbve_57.jpg\"><img decoding=\"async\" style=\"padding: 0px;\" title=\"Framerate comparison with Watford Junction to Rugby (openBVE v1.2.7.4)\" src=\"\/images\/thumbnails\/wj-r_openbve_57.jpg\" alt=\"Screenshot\" \/><\/a> <a class=\"imglink\" href=\"\/images\/hi-res\/wj-r_openbve_57a.jpg\"><img decoding=\"async\" style=\"padding: 0px;\" title=\"Framerate comparison with Watford Junction to Rugby (openBVE v1.2.8)\" src=\"\/images\/thumbnails\/wj-r_openbve_57a.jpg\" alt=\"Screenshot\" \/><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>openBVE&#8217;s default viewing distance is 600 metres, however, here are some screenshots showing what the upcoming Watford Junction to Rugby route looks like with an increased viewing distance of 2000m. This particularly benefits the straight sections of this route, allowing you to see more than one upcoming signal at the same time. Thanks to the new renderer, it&#8217; s possible to significantly increase the viewing distance, while still having very playable framerates on a good computer with reasonably detailed exterior car objects:<\/p>\n<table style=\"width: 100%;\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td align=\"center\"><a class=\"imglink\" href=\"\/images\/hi-res\/wj-r_openbve_58.jpg\"><img decoding=\"async\" style=\"padding: 0px;\" title=\"2000m viewing distance approaching Bourne End Junction, but still with good framerates, in openBVE v1.2.8\" src=\"\/images\/thumbnails\/wj-r_openbve_58.jpg\" alt=\"Screenshot\" \/><\/a> <a class=\"imglink\" href=\"\/images\/hi-res\/wj-r_openbve_59.jpg\"><img decoding=\"async\" style=\"padding: 0px;\" title=\"2000m viewing distance at Old Linslade (scenery not finished yet), but still with good framerates, in openBVE v1.2.8\" src=\"\/images\/thumbnails\/wj-r_openbve_59.jpg\" alt=\"Screenshot\" \/><\/a> <a class=\"imglink\" href=\"\/images\/hi-res\/wj-r_openbve_60.jpg\"><img decoding=\"async\" style=\"padding: 0px;\" title=\"2000m viewing distance at Bletchley (location not finished yet), but still with good framerates, in openBVE v1.2.8\" src=\"\/images\/thumbnails\/wj-r_openbve_60.jpg\" alt=\"Screenshot\" \/><\/a> <a class=\"imglink\" href=\"\/images\/hi-res\/wj-r_openbve_61.jpg\"><img decoding=\"async\" style=\"padding: 0px;\" title=\"2000m viewing distance approaching Milton Keynes Central, but still with good framerates, in openBVE v1.2.8\" src=\"\/images\/thumbnails\/wj-r_openbve_61.jpg\" alt=\"Screenshot\" \/><\/a> <a class=\"imglink\" href=\"\/images\/hi-res\/wj-r_openbve_62.jpg\"><img decoding=\"async\" style=\"padding: 0px;\" title=\"2000m viewing distance between Hanslope and Roade, but still with good framerates, in openBVE v1.2.8\" src=\"\/images\/thumbnails\/wj-r_openbve_62.jpg\" alt=\"Screenshot\" \/><\/a> <a class=\"imglink\" href=\"\/images\/hi-res\/wj-r_openbve_63.jpg\"><img decoding=\"async\" style=\"padding: 0px;\" title=\"2000m viewing distance between Hanslope and Roade, but still with good framerates, in openBVE v1.2.8\" src=\"\/images\/thumbnails\/wj-r_openbve_63.jpg\" alt=\"Screenshot\" \/><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Most people are reporting better performance with the new renderer, however if you notice any previously unseen stuttering with the new renderer and detailed routes, I&#8217;d really appreciate it if you could <a href=\"\/contact.php\">contact me<\/a> with some information about your computer&#8217;s specifications and the route being used, as it might be useful for me to know, when I draw up recommended system requirements and openBVE settings, particularly for the upcoming Watford Junction to Rugby project. Thanks.<\/p>\n<p><strong><span style=\"text-decoration: underline;\">openBVE v1.2.9 development branch released, enabling support for cross-platform .NET train plugins<\/span><\/strong><\/p>\n<p><a href=\"http:\/\/openbve.trainsimcentral.co.uk\"><img decoding=\"async\" style=\"padding-right: 4px; vertical-align: middle; float: left; margin-top: 0px; margin-bottom: 0px;\" src=\"\/interface\/icons\/openbve_icon_30.png\" alt=\"openBVE Logo\" \/><\/a> The latest version 1.2.9 development branch of <a href=\"http:\/\/openbve.trainsimcentral.co.uk\/\">openBVE<\/a>, includes support for .NET assemblies (plugins), which enables cross-platform plugin compatibility, just as with openBVE itself. With previous versions of openBVE, and of course BVE Trainsim, only Win32 C++ plugins were supported, which limited their use to the Microsoft Windows platform, leaving Linux and Mac users to rely on openBVE&#8217;s built-in safety systems only, with a great deal of functionality found in plugin enabled trains unavailable. With .NET assemblies, these can be written in a variety of languages which target the .NET framework, such as C# or Visual Basic .NET, and users of non-Windows operating systems can also enjoy enhanced train functionality once new .NET plugins start to appear.<\/p>\n<p>Anyone with at least some programming experience can visit the <a href=\"http:\/\/openbve.trainsimcentral.co.uk\/develop\/train_plugin_net.html\">.NET assembly train plugin<\/a> section on the official openBVE website, to download template projects to help you get started. If you&#8217;ve already developed a Win32 C++ plugin previously, you might prefer to look at the &#8220;<span class=\"emphasis-colour\">C# project files (for updating from Win32 plugins)<\/span>&#8221; download specifically. Anyone interested in making general comments can do so in <a href=\"http:\/\/openbve.freeforums.org\/development-version-1-2-9-has-been-released-t1738.html\">this thread<\/a> on the openBVE forum, while anyone wanting to help improve the design of the plugin API by making suggestions, can visit <a href=\"http:\/\/openbve.freeforums.org\/improvements-to-net-train-plugins-t1758.html\">this thread<\/a> instead.<\/p>\n<p>I&#8217;ve started writing a replacement .NET plugin for the class 323, although I&#8217;ll design it such that it could be used with other trains too. I&#8217;ll release the new .NET assembly and publish the source code when there&#8217;s something worth showing, unless someone else writes a plugin which is sufficiently good enough, before me.<\/p>\n<div style=\"background: rgb(65, 65, 65); background: linear-gradient(130deg, rgba(130, 130, 130, 0.8), rgba(40, 40, 40, 0.6)); border-top: 1px solid #808080; border-bottom: 1px solid #808080; margin-bottom: 20px;\">\n<div class=\"icon-indent-container\">\n<div class=\"icon-indent\" style=\"text-align: left;\"><img decoding=\"async\" src=\"\/interface\/themes\/clarity\/icons\/information_20.png\" alt=\"Screenshot\" \/><\/div>\n<div class=\"icon-indent-content\"><strong>Edit (16th October):<\/strong> I forgot to mention that some .NET assemblies are already available; the plugins for the 1000, 2000 and 9000 series trains used by the Chashinai Railway have been ported to C# by odakyufan, and you can <a href=\"http:\/\/odakyufan.uuuq.com\/chashinai\/index.html\">download them here<\/a> (at the bottom of the page). These might be helpful if you&#8217;d like to see some example source code and structure, although bear in mind that openBVE .NET plugin support is still experimental at this stage, so you may need to check for both openBVE and plugin updates in future.<\/p>\n<p>Of course, if you&#8217;re a more advanced non-Windows user and just want to enjoy driving trains, then you too can now experience some of the best in-cab system functionality available for openBVE. Here&#8217;s the openBVE v1.2.9.2 development release, with Chashinai Railway&#8217;s Misaki Line, and the 9000 series train with fully functional .NET plugin enabled safety systems, running in Ubuntu 10.04 32-bit Linux (itself running within a virtual machine under Windows 7 64-bit, in this case):<\/p>\n<\/div>\n<\/div>\n<table style=\"width: 100%;\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td align=\"center\"><a class=\"imglink\" href=\"\/images\/hi-res\/ubuntu_openbve_chashinai_01.jpg\"><img decoding=\"async\" style=\"padding: 0px; margin-top: 15px;\" title=\"openBVE v1.2.9.2 development release: Chashinai Railway Misaki Line, 9000 series train and fully functional .NET plugin and safety systems, running in Ubuntu 10.04 32-bit Linux\" src=\"\/images\/thumbnails\/ubuntu_openbve_chashinai_01.jpg\" alt=\"Screenshot\" \/><\/a><br \/>\nChashinai Railway Misaki Line, and 9000 series train<br \/>\nwith .NET plugin enabled safety systems, used<br \/>\nwith openBVE v1.2.9.2 in Linux<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p><strong><span style=\"text-decoration: underline;\">Birmingham Cross-City South v2.0 update<\/span><\/strong><\/p>\n<p><img decoding=\"async\" style=\"padding-right: 4px; vertical-align: middle; float: left; margin-top: 0px; margin-bottom: 0px;\" src=\"\/interface\/themes\/clarity\/icons\/rsr_icon_30.png\" alt=\"Railsimroutes Logo\" \/>If you&#8217;ve been keeping an eye on the news infobox at the top left of the blog (or my <a href=\"..\/projects.php\">Projects<\/a> page), you&#8217;ll have noticed that I&#8217;ve been continuing work on the pointwork along the Cross-City South route, and I&#8217;ve also been working on updating the pointwork on the approach to Birmingham New Street as well. All pointwork between Alvechurch and Five Ways is now finished, and ready for animation to be applied prior to release. The pointwork on the approach to Birmingham New Street is a rather difficult task though. At this location, there are single and double slips, switched diamond crossings and three-way points, all crammed into a rather small space, and all located on quite a sharp curve. There are also a variety of point machines, including electric, hydraulic clamp-lock, and Westinghouse electro-pneumatic types, as well as cast manganese steel and conventional frogs. I like to model these kinds of details, so I&#8217;ve spent quite some time working on this area &#8211; I&#8217;m not finished yet, but will be shortly. Cross-City South was originally designed with a 25 metre block length in mind, however the pointwork doesn&#8217;t fit neatly, so much of the pointwork is contained in two large set-piece objects instead. I always felt that this task was going to be the hardest part of the Cross-City South v2.0 upgrade, as it&#8217;s rather tedious and difficult (and indeed I was right), however for me, the route wouldn&#8217;t be complete without it, as I want Cross-City South v2.0 to be of the same standard as Watford Junction to Rugby, so I&#8217;ll endure the pain.<\/p>\n<p>Here&#8217;s a screenshot of one of the Birmingham New Street pointwork objects:<\/p>\n<table style=\"width: 100%;\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td align=\"center\"><a class=\"imglink\" href=\"\/images\/objectviewer_4.jpg\"><img decoding=\"async\" style=\"padding: 0px;\" title=\"One of the updated Bimringham New Street pointwork objects\" src=\"\/images\/thumbnails\/objectviewer_4.jpg\" alt=\"Screenshot\" \/><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>At first glance it doesn&#8217;t look like much, but on closer inspection, it&#8217;s actually rather detailed and intricate. This object features 4076 vertices, and loads 9 textures. Each rail is carefully texture mapped, to ensure that the Pandrol rail fasteners are as closely lined up with the underlying sleepers as possible, and that the inside of the railhead as depicted in the texture, matches the mapping on the object. Depending upon the location of a rail within the point assembly, different kinds of rail fasteners are depicted. If you examine the existing equivalent object in <a href=\"..\/bve_trainsim\/x-city_south.php\">Cross-City South v1.31<\/a>, you&#8217;ll notice that that old object is afflicted with z-fighting issues; I&#8217;ve taken special care to ensure that this doesn&#8217;t happen with the new version. In the case of the cast manganese steel frogs, these feature a combination of 3D geometry and use of a photographic texture of the prototype, to create the desired 3D effect:<\/p>\n<table style=\"width: 100%;\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td align=\"center\"><a class=\"imglink\" href=\"\/images\/objectviewer_5.jpg\"><img decoding=\"async\" style=\"padding: 0px;\" title=\"One of the updated Bimringham New Street pointwork objects\" src=\"\/images\/thumbnails\/objectviewer_5.jpg\" alt=\"Screenshot\" \/><\/a> <a class=\"imglink\" href=\"\/images\/objectviewer_6.jpg\"><img decoding=\"async\" style=\"padding: 0px;\" title=\"One of the updated Bimringham New Street pointwork objects\" src=\"\/images\/thumbnails\/objectviewer_6.jpg\" alt=\"Screenshot\" \/><\/a> <a class=\"imglink\" href=\"\/images\/objectviewer_7.jpg\"><img decoding=\"async\" style=\"padding: 0px;\" title=\"One of the updated Bimringham New Street pointwork objects\" src=\"\/images\/thumbnails\/objectviewer_7.jpg\" alt=\"Screenshot\" \/><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Each fishplate is also modelled in 3D, and these are also responsible for much of the vertex count, incidentally &#8211; this also means that they can be easily removed to create a lower detail object, however. Each point blade has a texture depicting baseplates beneath it, and where the tie bar assemblies will go, oil-stained ballast is featured. The object has also been designed in such a way, that animating any of the point blades is very easy to do in future. I&#8217;ll post a screenshot of the object within the route, once I&#8217;ve finished the second of these pointwork objects, improved the appearance of New Street station a bit, and finished some other things.<\/p>\n<p>Prior to starting on the New Street pointwork updates, I also spent some time working on the Kings Norton area. In the existing Cross-City South v1.31, I didn&#8217;t lay any track in the sidings to the west of the station, and instead, I included a simple texture depicting a pair of tracks on a flat surface to the right of the loop siding. Cross-City South v1.31 was designed for BVE Trainsim 2 and 4 with their cab-only view and lower resolution, of course, so there wasn&#8217;t much point in modelling the extra tracks. With openBVE, it&#8217;s well worth adding them, however:<\/p>\n<table style=\"width: 100%;\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td align=\"center\"><a class=\"imglink\" href=\"\/images\/hi-res\/xcs_v2_openbve_41.jpg\"><img decoding=\"async\" style=\"padding: 0px;\" title=\"Sidings between Northfield and Kings Norton\" src=\"\/images\/thumbnails\/xcs_v2_openbve_41.jpg\" alt=\"Screenshot\" \/><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Here are some screenshots of the updated pointwork and track geometry at Kings Norton (I&#8217;ll replace these points with the more recently installed concrete sleeper versions soon):<\/p>\n<table style=\"width: 100%;\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td align=\"center\"><a class=\"imglink\" href=\"\/images\/hi-res\/xcs_v2_openbve_42.jpg\"><img decoding=\"async\" style=\"padding: 0px;\" title=\"Updated track geometry and pointwork objects at Kings Norton, and enhanced scenery\" src=\"\/images\/thumbnails\/xcs_v2_openbve_42.jpg\" alt=\"Screenshot\" \/><\/a> <a class=\"imglink\" href=\"\/images\/hi-res\/xcs_v2_openbve_43.jpg\"><img decoding=\"async\" style=\"padding: 0px;\" title=\"Updated track geometry and pointwork objects at Kings Norton, and enhanced scenery\" src=\"\/images\/thumbnails\/xcs_v2_openbve_43.jpg\" alt=\"Screenshot\" \/><\/a> <a class=\"imglink\" href=\"\/images\/hi-res\/xcs_v2_openbve_44.jpg\"><img decoding=\"async\" style=\"padding: 0px;\" title=\"Updated track geometry and pointwork objects at Kings Norton, and enhanced scenery\" src=\"\/images\/thumbnails\/xcs_v2_openbve_44.jpg\" alt=\"Screenshot\" \/><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>You might have noticed that scenery has been improved a little in those previous three screenshots; I&#8217;m currrently adding the embankment\/tree alpha shadow technique I developed for Watford Junction to Rugby, throughout the Cross-City South route as well. Here are a few more screenshots showing the latest scenery enhancements I&#8217;ve been working on, as well as little things like extended length sleepers beneath electric point machines, and disused trackbeds:<\/p>\n<table style=\"width: 100%;\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td align=\"center\"><a class=\"imglink\" href=\"\/images\/hi-res\/xcs_v2_openbve_45.jpg\"><img decoding=\"async\" style=\"padding: 0px;\" title=\"Enhanced scenery on Cross-City South v2.0 between Redditch and Alvechurch - note the shadows and dappled lighting effect\" src=\"\/images\/thumbnails\/xcs_v2_openbve_45.jpg\" alt=\"Screenshot\" \/><\/a> <a class=\"imglink\" href=\"\/images\/hi-res\/xcs_v2_openbve_46.jpg\"><img decoding=\"async\" style=\"padding: 0px;\" title=\"Enhanced scenery on Cross-City South v2.0 approaching Barnt Green - note the shadows and dappled lighting effect, and extended length sleepers underneath the electric point machine\" src=\"\/images\/thumbnails\/xcs_v2_openbve_46.jpg\" alt=\"Screenshot\" \/><\/a> <a class=\"imglink\" href=\"\/images\/hi-res\/xcs_v2_openbve_47.jpg\"><img decoding=\"async\" style=\"padding: 0px;\" title=\"Enhanced scenery on Cross-City South v2.0 after Barnt Green - note the lifted trackbed on the right\" src=\"\/images\/thumbnails\/xcs_v2_openbve_47.jpg\" alt=\"Screenshot\" \/><\/a> <a class=\"imglink\" href=\"\/images\/hi-res\/xcs_v2_openbve_48.jpg\"><img decoding=\"async\" style=\"padding: 0px;\" title=\"Enhanced scenery on Cross-City South v2.0 after Barnt Green - note the lifted trackbed on the right\" src=\"\/images\/thumbnails\/xcs_v2_openbve_48.jpg\" alt=\"Screenshot\" \/><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a id=\"integrated-graphics\"><\/a><br \/>\n<strong><span style=\"text-decoration: underline;\">Budget versus high-end CPUs, discrete graphics cards versus on-board graphics, and openBVE\/Watford Junction to Rugby performance<\/span><\/strong><\/p>\n<p><img decoding=\"async\" style=\"padding-right: 4px; vertical-align: middle; float: left; margin-top: 0px; margin-bottom: 0px;\" src=\"\/interface\/themes\/clarity\/icons\/information_30.png\" alt=\"Information Icon\" \/>Sometimes I see people talking about poor framerates or image quality in 3D games which they use, such as openBVE, or others. Upon finding out about the system specifications in use, the cause of the low performance, in the case of Windows 7 and Vista, is often due to inferior graphics drivers being used (i.e. those bundled with Windows by default or obtained via Windows Update, rather than from the graphics card manufacturer). However, the other frequent cause of unsatisfactory performance, is a slow graphics card, and sometimes, a slow CPU.<\/p>\n<p>Personally, I&#8217;ve used less-than-stellar graphics cards in my desktop PCs for use with openBVE, but being a geek, I&#8217;ve never used on-board graphics solutions (integrated on the motherboard) in a desktop PC before, as I&#8217;ve always dismissed them as not being up to much. It occurred to me that perhaps I was being too hasty in writing integrated graphics off, as I&#8217;ve never actually tried to play games on such a solution in a desktop PC myself. The same goes for budget CPUs, such as those in Intel&#8217;s Celeron or AMD&#8217;s Sempron lines &#8211; I&#8217;ve never been interested in them as I&#8217;ve always viewed them as merely cut-down versions of &#8220;real&#8221; fully-featured CPUs, such as those in Intel&#8217;s Pentium and Core product lines, or AMD&#8217;s Athlon and Phenom lines.<\/p>\n<p>So, I thought I&#8217;d test openBVE on a contemporary budget PC to find out what it was capable of, with the cheapest of Intel&#8217;s newer CPUs that I could find &#8211; a socket LGA 775 based Celeron E3300 with the Wolfdale-3M core (the same core used in Core 2 E7xxx and Pentium Dual Core E5\/6xxx processors), which runs at 2.5 GHz with 1MB of Level 2 cache. This CPU is combined with the cheapest of all graphics solutions &#8211; on-board graphics integrated onto the motherboard &#8211; in the form of Intel&#8217;s &#8220;Graphics Media Accelerator&#8221; X4500, which is a part of the G41 Express &#8220;Eaglelake&#8221; chipset. I was also curious to find something out &#8211; if a choice has to be made between a better CPU or a better graphics card, which is the best to go for where openBVE is concerned?<\/p>\n<p>I ran the hardware in a few configurations, and tested openBVE&#8217;s performance with my upcoming Watford Junction to Rugby route. Here are the results, and in all cases, the best image quality that each graphics solution is capable of was selected, and in all except the last test (number 4), the following constants apply:<\/p>\n<p><strong><span class=\"emphasis-colour\">CPU:<\/span><\/strong> Intel Celeron E3300 @ 2.5 GHz<br \/>\n<strong><span class=\"emphasis-colour\">RAM:<\/span><\/strong> 2 GB PC-6400 DDR2 SDRAM (dual-channel configuration)<br \/>\n<strong><span class=\"emphasis-colour\">Operating System:<\/span><\/strong> Windows XP Home Edition (32-bit)<br \/>\n<strong><span class=\"emphasis-colour\">openBVE version:<\/span><\/strong> 1.2.8 (Sharp transparency, 1920&#215;1200 fullscreen, 600m viewing distance)<\/p>\n<p>Two locations were used for measuring framerates: <a href=\"\/images\/hi-res\/wj-r_openbve_51.jpg\">Watford Junction<\/a>, and <a href=\"\/images\/hi-res\/wj-r_openbve_37.jpg\">Bourne End Junction<\/a>.<\/p>\n<p><strong>Test setup 1:<\/strong><\/p>\n<p><strong><span class=\"emphasis-colour\">Graphics:<\/span><\/strong> Intel GMA X4500 (G41 Express Chipset, 128MB shared video memory) [Antialisasing: n\/a, Anisotropic Filtering: 2x]<\/p>\n<table class=\"gridtable\" style=\"width: 200px; text-align: center; margin-left: 20px;\">\n<tbody>\n<tr>\n<td class=\"gridtable-title\" style=\"width: 200px; text-align: left;\"><span style=\"white-space: nowrap;\">Framerates (fps)<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table class=\"gridtable2\" style=\"width: 200px; text-align: center; margin-left: 20px;\">\n<tbody>\n<tr>\n<td class=\"gridtable\" style=\"width: 150px; text-align: left;\">Watford Junction<\/td>\n<td class=\"gridtable\" style=\"width: 50px; text-align: left;\">12<\/td>\n<\/tr>\n<tr>\n<td class=\"gridtable\" style=\"width: 150px; text-align: left;\">Bourne End Junction<\/td>\n<td class=\"gridtable\" style=\"width: 50px; text-align: left;\">9<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>Test setup 2:<\/strong><\/p>\n<p><strong><span class=\"emphasis-colour\">Graphics:<\/span><\/strong> AMD\/ATI Radeon HD 2600 Pro (256MB DDR2) [Antialisasing: 8x, Anisotropic Filtering: 16x]<\/p>\n<table class=\"gridtable\" style=\"width: 200px; text-align: center; margin-left: 20px;\">\n<tbody>\n<tr>\n<td class=\"gridtable-title\" style=\"width: 200px; text-align: left;\"><span style=\"white-space: nowrap;\">Framerates (fps)<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table class=\"gridtable2\" style=\"width: 200px; text-align: center; margin-left: 20px;\">\n<tbody>\n<tr>\n<td class=\"gridtable\" style=\"width: 150px; text-align: left;\">Watford Junction<\/td>\n<td class=\"gridtable\" style=\"width: 50px; text-align: left;\">34<\/td>\n<\/tr>\n<tr>\n<td class=\"gridtable\" style=\"width: 150px; text-align: left;\">Bourne End Junction<\/td>\n<td class=\"gridtable\" style=\"width: 50px; text-align: left;\">24<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>Test setup 3:<\/strong><\/p>\n<p><strong><span class=\"emphasis-colour\">Graphics:<\/span><\/strong> NVIDIA GeForce GTX 260 (896 MB GDDR3) [Antialisasing: 16xQ, Anisotropic Filtering: 16x]<\/p>\n<table class=\"gridtable\" style=\"width: 200px; text-align: center; margin-left: 20px;\">\n<tbody>\n<tr>\n<td class=\"gridtable-title\" style=\"width: 200px; text-align: left;\"><span style=\"white-space: nowrap;\">Framerates (fps)<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table class=\"gridtable2\" style=\"width: 200px; text-align: center; margin-left: 20px;\">\n<tbody>\n<tr>\n<td class=\"gridtable\" style=\"width: 150px; text-align: left;\">Watford Junction<\/td>\n<td class=\"gridtable\" style=\"width: 50px; text-align: left;\">118<\/td>\n<\/tr>\n<tr>\n<td class=\"gridtable\" style=\"width: 150px; text-align: left;\">Bourne End Junction<\/td>\n<td class=\"gridtable\" style=\"width: 50px; text-align: left;\">101<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>Test setup 4:<\/strong><\/p>\n<p>Lastly for comparison purposes, here&#8217;s what we get when the GeForce GTX 260 is paired with a faster and more powerful quad-core CPU:<\/p>\n<p><strong><span class=\"emphasis-colour\">CPU:<\/span><\/strong> Intel Core 2 Quad Q9650 @ 3 GHz<br \/>\n<strong><span class=\"emphasis-colour\">Graphics:<\/span><\/strong> NVIDIA GeForce GTX 260 (896 MB GDDR3) [Antialisasing: 16xQ, Anisotropic Filtering: 16x]<br \/>\n<strong><span class=\"emphasis-colour\">RAM:<\/span><\/strong> 4 GB PC-6400 DDR2 SDRAM (dual-channel configuration)<\/p>\n<table class=\"gridtable\" style=\"width: 200px; text-align: center; margin-left: 20px;\">\n<tbody>\n<tr>\n<td class=\"gridtable-title\" style=\"width: 200px; text-align: left;\"><span style=\"white-space: nowrap;\">Framerates (fps)<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table class=\"gridtable2\" style=\"width: 200px; text-align: center; margin-left: 20px;\">\n<tbody>\n<tr>\n<td class=\"gridtable\" style=\"width: 150px; text-align: left;\">Watford Junction<\/td>\n<td class=\"gridtable\" style=\"width: 50px; text-align: left;\">179<\/td>\n<\/tr>\n<tr>\n<td class=\"gridtable\" style=\"width: 150px; text-align: left;\">Bourne End Junction<\/td>\n<td class=\"gridtable\" style=\"width: 50px; text-align: left;\">160<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>From these results, we can see that the budget Celeron E3300 is actually a rather nice CPU (which isn&#8217;t too surprising I suppose, given the architecture in use), and more than good enough for highly detailed routes such as Watford Junction to Rugby when paired with a decent graphics card. By comparing the two GeForce GTX 260 results, we can see that the speed of the CPU matters, however performance is also very clearly determined by the graphics hardware, and I would say that it&#8217;s the more important factor when it comes to openBVE performance. While I didn&#8217;t test the Core 2 Quad CPU with Intel&#8217;s GMA X4500 integrated graphics, I think it&#8217;s highly unlikely that framerates would have been much higher with this combination (overclocking the Celeron E3300 from 2.5GHz to 2.92GHz, made a difference of only around 1 fps when the integrated GMA X4500 was used). Intel&#8217;s on-board graphics is simply too slow, and the image quality is a bit poorer too, as there is no antialiasing, and the anistropic filtering level is rather limited (compare this <a title=\"Intel GMA X4500 best image quality\" href=\"\/images\/hi-res\/wj-r_openbve_gma-x4500_1.jpg\">screenshot<\/a> using Intel&#8217;s GMA X4500, and a <a title=\"NVIDIA GeForce GTX 260 best image quality\" href=\"\/images\/hi-res\/wj-r_openbve_gtx260_1.jpg\">screenshot<\/a> using the GeForce GTX 260). Intel&#8217;s driver control panel claims to support 16x anisotropic filtering, although openBVE\/OpenGL reports that 2x is the maximum supported. The framerates don&#8217;t tell the entire story either though, as the much faster GeForce GTX 260 graphics card also gives more fluid and stutter-free performance than the budget Radeon HD 2600 Pro does. This is especially true when large textures, animated objects and higher levels of antialiasing and anisotropic filtering are used, as well.<\/p>\n<p>So, if anyone is thinking of upgrading their computer soon and would like to run something like Watford Junction to Rugby, and money is tight, then my advice would be to bias your budget in favour of getting the best graphics card possible, while trying to keep some balance between the CPU and GPU in terms of what each is capable of. For the energy conscious amongst you, also bear in mind that newer generation graphics hardware tends to be more power efficient for a given level of performance. While quad core CPUs are nice to have, dual core CPUs are just fine, too. Indeed, running openBVE on only two of the four cores of the C2Q Q9650 CPU, by setting the affinity for the OpenBve.exe process accordingly, makes only a small difference to performance. Running openBVE on only a single core, even at 3 GHz, does result in performance being halved though, therefore I can&#8217;t recommend a single core CPU any more, when dual core CPUs are so common now. Of course, if you can live without the rich graphics or geometrical complexity of the latest openBVE routes, and only want to run less demanding examples, or those previously designed for BVE Trainsim, then even the cheapest contemporary hardware including on-board graphics, may suit your needs just fine where openBVE is concerned, if you don&#8217;t mind losing a little image quality and have realistic expectations.<br \/>\nFor example: <span style=\"white-space: nowrap;\">[ <a title=\"openBVE v1.2.8 and the Uchibo Line - Intel GMA X4500 best image quality\" href=\"\/images\/hi-res\/uchibo_openbve_gma-x4500_1.jpg\">Uchibo &#8211; Intel GMA X4500<\/a> | <a title=\"openBVE v1.2.8 and Cross-City South v1.31 - Intel GMA X4500 best image quality\" href=\"\/images\/hi-res\/xcs_v1_openbve_gma-x4500_1.jpg\">X-City South v1.31 &#8211; Intel GMA X4500<\/a> | <a title=\"openBVE v1.2.8 and the Saijou Line - Intel GMA X4500 best image quality\" href=\"\/images\/hi-res\/saijou_openbve_gma-x4500_1.jpg\">Saijou Line &#8211; Intel GMA X4500<\/a> ]<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Updated: 16th October 2010 @ 22:50 UTC openBVE v1.2.8 released, with significant rendering speed improvements openBVE v1.2.8 was released recently, which includes a reorganised renderer which can provide significantly higher framerates than the old renderer found in v1.2.7.4. This is achieved by rendering opaque faces (i.e. faces without alpha), using OpenGL display lists. There are [&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":[7,8,10,11,13,14,15,17,18,21],"class_list":["post-906","post","type-post","status-publish","format-standard","hentry","category-openbve","tag-artwork","tag-cross-city-south","tag-hardware","tag-openbve","tag-openbve-community","tag-operating-systems","tag-screenshots","tag-software","tag-trackwork","tag-watford-jn-to-rugby"],"_links":{"self":[{"href":"https:\/\/railsimroutes.net\/blog\/wp-json\/wp\/v2\/posts\/906","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=906"}],"version-history":[{"count":0,"href":"https:\/\/railsimroutes.net\/blog\/wp-json\/wp\/v2\/posts\/906\/revisions"}],"wp:attachment":[{"href":"https:\/\/railsimroutes.net\/blog\/wp-json\/wp\/v2\/media?parent=906"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/railsimroutes.net\/blog\/wp-json\/wp\/v2\/categories?post=906"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/railsimroutes.net\/blog\/wp-json\/wp\/v2\/tags?post=906"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}