Welcome, Guest. Please login or register.

Author Topic: Remake of Amiga Breathless for PC / Modern GPUs  (Read 12795 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline MagicSN1

Re: Remake of Amiga Breathless for PC / Modern GPUs
« on: August 15, 2024, 02:56:21 PM »
Hi!

If you want to port it to other platforms ("including AmigaOS 4") then Vulkan is a really bad choice for your framework.

Vulkan is done in a way that it cannot really be ported to Big-Endian platforms and a port of a Vulkan-Game would be really massive work (Endian-ness is really problematic here).

Why don't you use GLES ? GLES exists on both PC and AmigaOS 4, and you don't have the problems with porting on non-Little-Endian-platforms. Large parts of the code could probably
just be recompiled in case of GLES.

Best regards,
Steffen Haeuser
 
The following users thanked this post: davebraco

Offline MagicSN1

Re: Remake of Amiga Breathless for PC / Modern GPUs
« Reply #1 on: August 16, 2024, 09:35:03 AM »
Quote
Thanks for your answer. Having Vulkan in the framework is not a problem for the porting into other platforms. The framework has an abstraction layer for the component used for graphics rendering. Adding GLES is a matter of programming a single component. For other reasons, that component will be programmed also for supporting Direct3D in the future. There is already a variant for 2D graphics with Cairo libraries, probably I will implement another version for 3D graphics with software rendering too.

This sounds like a clever approach to me. Do you use Shaders ? If yes, be aware Vulkan and GLES use different shader languages.. GLES uses GLSL, while Vulkan uses SPIR-V.

On Amiga you basically have the following options for 3D:

- GLES (GL4ES): Available as a static linked library, available for OS4-capable systems with RadeonHD or RadeonRX graphics cards
- MiniGL: Available as a library, available for older systems (non RadeonHD/RX), cannot do Shaders, only oldstyle OpenGL, available for 68k and PPC systems
- Warp3D: Old 3D API, the basis for MiniGL, available for 68k and PPC, 68k version does not include all options
- Warp3DNova: GLES-oriented Amiga native API, requires RadeonHD/RX, basis for the Amiga GLES implementation

Best regards,
Steffen
 

Offline MagicSN1

Re: Remake of Amiga Breathless for PC / Modern GPUs
« Reply #2 on: August 17, 2024, 12:59:01 PM »
Impressive. You clearly know what you do.

Do you btw do this framework only for yourselves
or also provide it to others? I assume might
be interesting to others.

Thanks for the information!