News:

Want to praise Simutrans?
Your feedback is important for us ;D.

Recent posts

#1
Social & Contests / Beta version - 0.84.19.0 (is i...
Last post by Yona-TYT - Yesterday at 12:58:20 PM
From X the user "Khaki Cap" sends me this relic.

QuoteGuess I've dug up another #Simutrans version on another archived DVD.

Beta version - 0.84.19.0

Haven't seen this specific one in Simutrans archives or in downloads overall

#2
Larger Projects / Re: A Simutrans Prettification...
Last post by Yona-TYT - September 15, 2024, 04:34:08 PM
Quote from: _Hajo_ on September 15, 2024, 03:17:25 PMThank you!

@Prissi, I've attached an example with different light colors and light textures for station and road lights. I'm still working on the configuration though, about 50% done.


I already posted it on X.  ;)
#3
Larger Projects / Re: A Simutrans Prettification...
Last post by _Hajo_ - September 15, 2024, 03:17:25 PM
Quote from: Yona-TYT on September 15, 2024, 12:28:17 PMWow they look amazing!

Thank you!

@Prissi, I've attached an example with different light colors and light textures for station and road lights. I'm still working on the configuration though, about 50% done.

#4
Larger Projects / Re: A Simutrans Prettification...
Last post by Yona-TYT - September 15, 2024, 12:28:17 PM
Quote from: _Hajo_ on September 14, 2024, 09:22:30 PMHere a combination of "lights inside" and "lights above". I think it can still be improved by better light textures and better placement. That will be part of the configuration though, once done.

Wow they look amazing!
#5
Larger Projects / Re: A Simutrans Prettification...
Last post by _Hajo_ - September 15, 2024, 09:29:29 AM
I don't know how OpenTTD works on a graphics level. OpenGL allows to tint a texture with any color, and the lights in the different screenshots have slightly different colors. The feature to have colored lights is already in the code.

What's missing is to configure the lights on a pak set level. I'm working on that. Each light will have a color which also defines the brightness and a texture which defines the falloff from center to the border of the light. Also offsets where exactly the light texture has to be displayed relative to the lit object.

Simutrans GL doesn't support player colors yet, I'd need to use more advanced OpenGL features for that. Some day I'll bring back support for player colors, right now I'm experimenting to find out what I can do with the already existing code.
#6
Larger Projects / Re: A Simutrans Prettification...
Last post by prissi - September 15, 2024, 12:06:02 AM
Lighting is a very nice new feature, especially if it can also come with color.

Do you go by the OpenTTD route, with an 8 bit player map and additionally a fullcolor light map ...
#7
Larger Projects / Re: A Simutrans Prettification...
Last post by _Hajo_ - September 14, 2024, 09:22:30 PM
Improvement sounds good. I've merged the new zoom code into the main branch and tried to fix the zoom center problem. I could achieve an improvement there too, but it's still not quite right.

Then I went back to the lights, tried to set up interfaces and data structures to allow each object on the map to have a light inside (if it has front and back image) and a light above. Still missing are the configuration files, there are still hard coded values in the program for the display tests. But I think with another day or two I should have set it up, so one can compile pak files with sets of lights and assign these lights to other objects. Still left to do, head and tail light effects for vehicles to illuminate the road. That needs quite some lights per vehicle (8 directions each), but I want to at least show a proof of concept some day soon.

Here a combination of "lights inside" and "lights above". I think it can still be improved by better light textures and better placement. That will be part of the configuration though, once done.
#8
Information & Announcements / 14 Sep 2024 Server Downtime
Last post by Isaac Eiland-Hall - September 14, 2024, 06:56:09 PM
A brief note that the switch in the rack at the datacenter went down. It took approximately four hours to restore service.
#9
Extension Requests / Re: [Idea] Secondary click to ...
Last post by prissi - September 13, 2024, 01:42:34 PM
But you could insert stops. Hmm.
#10
Larger Projects / Re: A Simutrans Prettification...
Last post by Yona-TYT - September 13, 2024, 12:37:17 PM
Yes, I have noticed an improvement.  8)