The International Simutrans Forum

 

Author Topic: New Way Graphics  (Read 32610 times)

0 Members and 1 Guest are viewing this topic.

Offline kierongreen

  • Dev Team, Coder/patcher
  • Moderator
  • *
  • Posts: 2269
New Way Graphics
« on: July 14, 2012, 08:08:16 PM »
As part of ongoing work on double height's I'm gradually redoing graphics where necessary. Sometimes this is just to add half height images, sometimes to correct rendering errors. Some of the blend renders have had to be slightly pixel edited as usual to make the pngs. Completed work so far, zips containing source blends and pngs, including snow images where needed (links valid for 60 days) - these should be suitable to put into the main distribution:
Canal - http://simutrans-germany.com/files/upload/canal.zip -
Wooden Sleeper Steel Rail (including rail-snow which is used elsewhere) - http://simutrans-germany.com/files/upload/rail.zip
Road/Tram electrification - http://simutrans-germany.com/files/upload/road-electric.zip
Tram Track - http://simutrans-germany.com/files/upload/tram.zip
Powerlines - http://simutrans-germany.com/files/upload/powerlines.zip

Although these pngs include the half height images they are compatible with existing dat files. I've not posted my modified dats as they won't be of general use yet (and if people want them they can get them from my other threads anyway). I'm gradually working through rest of ways, will post more here when they are done.
« Last Edit: February 10, 2013, 09:55:01 PM by The Hood »

Offline kierongreen

  • Dev Team, Coder/patcher
  • Moderator
  • *
  • Posts: 2269
Re: New Graphics
« Reply #1 on: July 17, 2012, 03:26:42 PM »
Added half height views for rivers, tube-tunnel-way and rail electrification (all 6 types). Includes helper blend files for rivers (although there was a fair bit of pixel editing needed after), tube tunnel and rail electrification were just pixel edits:
River - http://simutrans-germany.com/files/upload/river.zip
Rail electrification - http://simutrans-germany.com/files/upload/railelectric.zip
Tube tunnel way - http://simutrans-germany.com/files/upload/tube-tunnel-track.zip

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18502
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: New Graphics
« Reply #2 on: July 17, 2012, 11:50:35 PM »
Hmm - I'm thinking of adding different types of canals at some point. How easy would it be to modify canal .png/.blend files for your half height system?

Offline kierongreen

  • Dev Team, Coder/patcher
  • Moderator
  • *
  • Posts: 2269
Re: New Graphics
« Reply #3 on: July 18, 2012, 07:35:39 AM »
Look at the blend files to see the height required. It's similar to the halfway lock water height on the current slopes (but not quite).

If you're wanting to simulate ship canals then raised water is much better at this :p

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18502
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: New Graphics
« Reply #4 on: July 18, 2012, 08:37:02 AM »
Thank you. Actually, I'm more interested in simulating the various different widths of canals that existed in the 18th century (and the different sizes of boats to go on them) to give much more depth and interest to what might be called the "canal phase" (1750 - 1840s, but with some lingering to the late 19th century and beyond), although ship canals would be useful, too.

Offline kierongreen

  • Dev Team, Coder/patcher
  • Moderator
  • *
  • Posts: 2269
Re: New Graphics
« Reply #5 on: July 19, 2012, 05:06:12 PM »
All roads have had graphics revamped - with special attention to ensure that they tile seamlessly, on level, round corners, over junctions and up slopes, both double and half height. While the new textures are similar to old ones bridges, crossings and tunnels will also need updating as a result of this.

Helper blends (there is much pixel editing though), textures and rendered pngs included in zip. Also there is a generic snow picture which can be overlayed ontop of any road to keep things consistent (it's black and white, in the GIMP set black to alpha on this picture then copy and paste it over summer pictures to get instant winter ones).

Again I've not included dats for the half height versions, but all images will be compatible with existing dats (you just won't see the half height images in game of course!).

Download link:
http://simutrans-germany.com/files/upload/roads.zip

Screenshots below - from left to right: dirt, macadam, cobblestone, city, tarmac, concrete and asphalt roads

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18502
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: New Graphics
« Reply #6 on: July 21, 2012, 04:46:16 PM »
I love the new roads - these are rather splendid! One small issue, however: the lightning symbol in the icon for DC Fourth Rail is the wrong colour: it is the same colour as the tracks rather than red.

Offline greenling

  • Lounger
  • *
  • Posts: 1728
  • Simutransarchology it my hobby!
  • Languages: DE,EN
Re: New Graphics
« Reply #7 on: July 21, 2012, 04:50:12 PM »
The new Roads are Cool!

Offline kierongreen

  • Dev Team, Coder/patcher
  • Moderator
  • *
  • Posts: 2269
Re: New Graphics
« Reply #8 on: July 22, 2012, 11:49:13 AM »
Quote
One small issue, however: the lightning symbol in the icon for DC Fourth Rail is the wrong colour: it is the same colour as the tracks rather than red.
Thanks for that - don't think I altered this so is it a fault in the original? All the sources are from github.

Offline The Hood

  • Moderator
  • *
  • Posts: 2889
  • pak128.Britain developer
Re: New Graphics
« Reply #9 on: August 23, 2012, 04:32:27 PM »
Thanks for these - let me know if you are short of any blends for way files and can't find them on github. You may also need my xcf gimp files for the bridges.

What's the status of half-heights and the main exe? I hope it makes it in. I think half height slopes would look much better for trains in particular.

PS Great to have new graphics from you - it's been a long time since a kierongreen addition to the pak, but very welcome! Just added to SVN.

Offline kierongreen

  • Dev Team, Coder/patcher
  • Moderator
  • *
  • Posts: 2269
Re: New Graphics
« Reply #10 on: August 26, 2012, 10:21:53 PM »
Bridges: xcf files would be handy you should have my email address somewhere :) I've got more plans for improving bridges in the code when I get a proper chance anyway so graphics might change again...

Half height: not in trunk at present. Unknown if/when it will be put in, I know prissi has been busy lately and there hasn't been many updates in general.

Maybe more graphics will get done in time, but I'm working long days at the moment so doesn't leave a lot of time for coding or painting.

Offline kierongreen

  • Dev Team, Coder/patcher
  • Moderator
  • *
  • Posts: 2269
Re: New Graphics
« Reply #11 on: October 19, 2012, 11:47:49 PM »
I've redone all rail types now apart from TGV - these can be downloaded here. This zip has images for Wrought Iron, Wrought Iron Improved, Wooden Sleeper Steel Rail, Wooden Sleeper Steel Rail Improved, Concrete Sleeper Steel Rail and Concrete Sleeper Steel Rail Improved (they all share the same snow images which has already been done, and is also included). The colours aren't a 100% match for original versions but they are extremely close (they should only differ by 1 or 2 for each 8bit colour value).

I've included new versions of the road and narrow gauge images I did a couple of months back - with special colours removed so they can be used at night!

Also included is railtracks.xcf - this is the rails from the Wooden Sleeper Steel Rail image with most of the ballast removed. This is used in combination with the rest of the Wooden Sleeper Steel Rail image to form the rest of the rail images with the following alterations (as used in GIMP, settings may not be the same for other image editing software):

wooden sleeper improved
brightness +34, contrast +17
(no separate ballast)

wrought
ballast: colourise - hue 100, sat 9, light -24
rail: brightness -95 contrast -5

wrought improved
ballast: colourise - hue 80, sat 9, light -18
rail: brightness -34 contrast 15

concrete
brightness 48,contrast 20
(no separate ballast)
 
concrete improved
ballast: colourise - hue 0, sat 5, light 33
rail: brightness 72,contrast 22

This leaves the only ways without double/half height suppose being Maglev and TGV (I think). If there are source blends for either (or preferably both) of these then I'd appreciate a copy :)

Offline The Hood

  • Moderator
  • *
  • Posts: 2889
  • pak128.Britain developer
Re: New Graphics
« Reply #12 on: October 20, 2012, 09:41:32 AM »
Excellent. I've not got the TGV as a blend, and AEO produced all of the maglev stuff in sketchup - I only have the images.

Offline ӔO

  • Devotees (Inactive)
  • *
  • Posts: 2345
  • Hopefully helpful
  • Languages: en, jp
Re: New Graphics
« Reply #13 on: October 20, 2012, 09:13:28 PM »
I'll attempt to make some blender editable files this week.

Offline The Hood

  • Moderator
  • *
  • Posts: 2889
  • pak128.Britain developer
Re: New Graphics
« Reply #14 on: November 05, 2012, 08:44:15 PM »
I've now added what's been done so far to SVN.

Offline ӔO

  • Devotees (Inactive)
  • *
  • Posts: 2345
  • Hopefully helpful
  • Languages: en, jp
Re: New Graphics
« Reply #15 on: November 16, 2012, 12:27:24 PM »
Here are the revised maglev tracks
Hopefully these are easy to edit, since they use many components.
I couldn't save the texture to the model properly, for some reason, so it's separate. Colours, hopefully are there, but if they're not, then I've also included the exact colours.

http://dl.dropbox.com/u/17111233/Maglev_revised_hh.rar

Offline kierongreen

  • Dev Team, Coder/patcher
  • Moderator
  • *
  • Posts: 2269
Re: New Graphics
« Reply #16 on: November 17, 2012, 11:07:47 PM »
Thank you very much for that, unfortunately the version of Blender included in Debian doesn't support .dae - I've tried a few alternatives so far but looks like compiling blender myself might be only option (and I don't feel like setting that all up right at the moment). If I get some time I'll try working on it but I have quite a few other things to do right now :(

Offline ӔO

  • Devotees (Inactive)
  • *
  • Posts: 2345
  • Hopefully helpful
  • Languages: en, jp
Re: New Graphics
« Reply #17 on: November 18, 2012, 07:16:17 AM »
what does it support? I run them through meshlab and can output it as 3ds, ply and a bunch of other formats.

Offline kierongreen

  • Dev Team, Coder/patcher
  • Moderator
  • *
  • Posts: 2269
Re: New Graphics
« Reply #18 on: November 18, 2012, 08:06:45 AM »
3ds and ply are both on the import list :)

Offline ӔO

  • Devotees (Inactive)
  • *
  • Posts: 2345
  • Hopefully helpful
  • Languages: en, jp
Re: New Graphics
« Reply #19 on: November 18, 2012, 08:31:32 AM »
Hopefully these will work.
http://dl.dropbox.com/u/17111233/Maglev_revised_hh_3dsply.rar


hmmm, not too hopeful with the preservation of components...

---

edit: intersection broken down into straight and diagonal extra files, just in case components have been obliterated.
« Last Edit: November 18, 2012, 08:54:40 AM by ӔO »

Offline kierongreen

  • Dev Team, Coder/patcher
  • Moderator
  • *
  • Posts: 2269
Re: New Graphics
« Reply #20 on: November 18, 2012, 10:13:07 AM »
Ok - geometry seems to import fine, the scale is way off for my default blender setup but can fix that relatively easily I think :)

Looking at filenames and quickly at geometry am I right in thinking that you have half height versions already in there?

Offline ӔO

  • Devotees (Inactive)
  • *
  • Posts: 2345
  • Hopefully helpful
  • Languages: en, jp
Re: New Graphics
« Reply #21 on: November 18, 2012, 10:31:42 AM »
yes, I have done the half height models already.

The only thing that would be required are assembling the various intersections by combining the straights and diagonals.

Offline kierongreen

  • Dev Team, Coder/patcher
  • Moderator
  • *
  • Posts: 2269
Re: New Graphics
« Reply #22 on: November 18, 2012, 11:26:02 AM »
Great :) Hopefully will get a chance to look at this again later when I'm home.

Offline The Hood

  • Moderator
  • *
  • Posts: 2889
  • pak128.Britain developer
Re: New Graphics
« Reply #23 on: November 18, 2012, 12:33:29 PM »
Excellent news that this is progressing. Unfortunately I think the TGV tracks blend file is permanently lost - I've never had a copy of it at least. They might need redrawing from scratch.

Offline The Hood

  • Moderator
  • *
  • Posts: 2889
  • pak128.Britain developer
Re: New Graphics
« Reply #24 on: December 08, 2012, 12:21:08 PM »
I'm looking to include jamespetts' cast iron and plateway graphics - I'm assuming these don't have half height images yet. Did you make the various tracks from a recolouring of the gimp files or some other method?

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18502
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: New Graphics
« Reply #25 on: December 08, 2012, 02:05:54 PM »
The plate ways, I think, somebody else drew. The fast iron tracks are just re-coloured in the Gimp from the plate ways.

Offline kierongreen

  • Dev Team, Coder/patcher
  • Moderator
  • *
  • Posts: 2269
Re: New Graphics
« Reply #26 on: December 08, 2012, 05:44:53 PM »
The standard rail tracks are recoloured in the GIMP yes (details given above).

Offline greenling

  • Lounger
  • *
  • Posts: 1728
  • Simutransarchology it my hobby!
  • Languages: DE,EN
Re: New Graphics
« Reply #27 on: December 08, 2012, 05:50:10 PM »
Super that the development from new graphics go forward.

Offline The Hood

  • Moderator
  • *
  • Posts: 2889
  • pak128.Britain developer
Re: New Graphics
« Reply #28 on: January 12, 2013, 12:01:47 PM »
I'm working on a replacement TGV track so we can add half heights and elevated ways (we had lost the blend file for the original). There are a few differences as I haven't re-engineered it perfectly. Here's a preview - any comments before I start using it more widely?


Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18502
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: New Graphics
« Reply #29 on: January 12, 2013, 01:21:21 PM »
Should there not be some visible sleepers, even on high speed track...? See here and here.

Offline The Hood

  • Moderator
  • *
  • Posts: 2889
  • pak128.Britain developer
Re: New Graphics
« Reply #30 on: January 13, 2013, 01:14:00 PM »
The existing graphics didn't have at all clear sleepers and indeed I missed them until I looked closely. How about this instead? I've raised the ballast in the centre so the ballast covers the middle of the sleepers to distinguish from existing tracks. Most pictures I've seen of TGV track seeem to have covered sleepers in the middle.


Offline kierongreen

  • Dev Team, Coder/patcher
  • Moderator
  • *
  • Posts: 2269
Re: New Graphics
« Reply #31 on: January 13, 2013, 01:25:58 PM »
Also sleeper spacing should be less - more sleepers per tile for more robust track.

Offline The Hood

  • Moderator
  • *
  • Posts: 2889
  • pak128.Britain developer
Re: New Graphics
« Reply #32 on: January 13, 2013, 01:28:15 PM »
As in sleepers closer together?

Offline greenling

  • Lounger
  • *
  • Posts: 1728
  • Simutransarchology it my hobby!
  • Languages: DE,EN
Re: New Graphics
« Reply #33 on: January 13, 2013, 01:29:46 PM »
Jamespetts
The Rails in those photo it the typ french highspeed rail.


The British rail buy those typ of rails from the French.

Offline The Hood

  • Moderator
  • *
  • Posts: 2889
  • pak128.Britain developer
Re: New Graphics
« Reply #34 on: January 13, 2013, 02:11:15 PM »
@kierongreen - this better?