News:

Do you need help?
Simutrans Wiki Manual can help you to play and extend Simutrans. In 9 languages.

Simutrans 32-bit graphics — work in progress and open for review

Started by victor_18993, September 05, 2026, 06:37:54 AM

Previous topic - Next topic

0 Members and 7 Guests are viewing this topic.

victor_18993

Thanks a lot as always for testing it and sharing your feedback. Sorry I've been away due to work. As for the XR32 Project, I think the time has come to start integrating it so we can test it and evolve it better from trunk, as it would make it easier for all of us to make changes and do testing.
En la vida todo son vivencias y cada una de ellas nos hace mas grandes,¿Como de grande eres tu? :)

makie

Quote from: victor_18993 on November 28, 2026, 01:28:47 PMI think the time has come to start integrating it so we can test it and evolve it better from trunk, as it would make it easier for all of us to make changes and do testing.
Agreed

I'm very satisfied with the current state. I think the solution is very successful. It works flawlessly. Good work.

Only one thing:

The new features are only visible when starting with "SIMUTRANS_XR32=1". Could this parameter perhaps also be included in the simuconf.tab of the package? Or could XR32 be automatically activated when it encounters XR32 packages?
------------------
[de]
Zustimmung!

Ich bin sehr zufrieden mit dem derzeitigen Stand. Ich finde die Lösung sehr gelungen. Es funktioniert problemlos. Gute Arbeit.

Einzig:
Die neuen Sachen sieht man nur wenn man mit "SIMUTRANS_XR32=1" startet. Könnte man diesen Parameter vielleicht auch in der simuconf.tab des Paks mitgeben? Oder dass XR32 automatisch aktiv wird wenn es auf XR32 Paks stoßt?

prissi

We have a renderer which can be changed at runtime  (simgraph16 simgraph0, and it was thought of an simgrpah16opengl). So in principle, it could be done at runtime ... but there are some routines which assume something about the size of PIXVAL, like the minimap and the ground blending. The latter would need to become part of the renderer, while the minimap could stay 555 and transformed at runtime. Or the routines manipulating the minimap need to go via gfx too.

makie

Quote from: prissi on Yesterday at 11:25:19 AMWe have a renderer which can be changed at runtime  (simgraph16 simgraph0, and it was thought of an simgrpah16opengl). So in principle, it could be done at runtime ... but .....
I don't see any need for a change during runtime.

Only when loading a Pak, it should be activatable by parameter in the simuconf.tab of the Pak. That should be easy to build in.

prissi

I need to review the code of the 32bit patch. But usually, the renderer is already loaded when the pak selector is shown, because that obviously relies on pak files displaying. So it order to have a pakset specific renderer, it needed to be able to be changed.

Also, the idea was that if OpenGL hardware was there, to use the hardware renderer or else the software renderer.