Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
52 user(s) are online (3 user(s) are browsing News)

Members: 0
Guests: 52

more...

Headlines


Recent Replied Topics
Topic Replies Last Post  
AmigaOS4 Who is getting the A1222 Plus? [1][2][3] 49 (5029) geennaam Today 17:05
AmigaOS4 x1000 documentation and other x1000 related questions [1][2] ... [5][6][7][8] 146 (16310) sailor Today 15:53
AmigaOS4 Debuging NallePuh... [1][2][3][4] 78 (7536) LiveForIt Today 11:20
Amiga Emulation What the fastest possible x64 emulation way of OS4 today ? [1][2] ... [66][67][68][69] 1366 (85186) spotUP Today 8:58
AmigaOS4 wb2filer v0.6 [1][2][3] 45 (2274) Rigo Today 3:40
AmigaOS4 AAA News 19 (1323) AmigaOldskooler Yesterday 14:15
AmigaOS4 AmigaOne X5000 PCIe Slot Questions 4 (230) AmigaSociety 2023/12/7 20:30
Competitions 2023 - December - Rick Dangerous 14 (436) AmigaOldskooler 2023/12/6 20:47
AmigaOS4 SDL2 [1][2] ... [66][67][68][69] 1369 (488678) MickJT 2023/12/6 12:31
AmigaOS4 X5000 MCU Debug Cable 6 (325) tekmage 2023/12/5 18:08
Amiga General Forum AmigaOS 4 Monthly Roundup - November 2023 11 (463) Antique 2023/12/4 20:33
AmigaOS4 AmiDVD 1.53 window message 5 (339) McFly 2023/12/4 11:14
Amiga Classic Att: A4000 and Cyberstorm MKIII users 2 (2058) Boing-ball 2023/12/3 19:11
AmigaOS4 AmigaOne X5K Video Tests - from HD7750 to RX580 9 (449) mbrantley 2023/12/3 16:11
AmigaOS4 Atari 2600 Emulator Stella 0 (106) yogi32 2023/12/3 14:25
[ Free for all]  [ Too Hot To Handle]  [ Classifieds]       [View all Topics]  [View all Forums]  [Forum Settings]
Software News : GL4ES: Round 2
Posted by kas1e on 2019/7/3 20:44:21 (2143 reads) News by the same author
Software News

Today there is few more releases which builded with usage of GL4ES wrapper which mean to give us OpenGL1.x , 2.x and some of 3.x over ogles2.library and warp3dnova.



Introduction...:

For make those games works you need as necessary minimum ogles2.library v2.8 , and warp3dnova.library v1.65. Those requerements are 100% necessary.
You can get them from latest Enhacer update v1.5, or via from Updater. If you will have anything lower than requested, you will have bugs, crushes and errors.
So before making any bugreport later, be sure that you have those versions at minimum. And if you sure, then anyway recheck again that you have it installed :)

Of course it is understandable that you also should have modern gfx card, with latest radeonHD drivers.

Everything is compiled via gcc 8.2.0, latest SDL2 with necessary fixes to make it rendered through ogles2.library and GL4ES.

At this time there is 2 new titles and one update, all of them can be downloaded from os4depot. At moment they all in upload query. All the videos and screenshots below taken from my x5k/aos4fe.


Foobillard++...:

Resized Image

That one are complex OpenGL game that uses cascaded display list, line stipple, TexGen and co. Previously we have some old MiniGL port of pure Foobillard (not ++), which is slow and buggy.
New ++ version also can be build over MiniGL with some small changes, but its so slow even on x5k that it not worth of try. See the FPS numbers in 1024x768 on my x5k.

minigl 2.21: ~10fps
ogles2 2.8: ~60fps

Port based on the latest, v3.42beta, stable source release and original code of the game was quite buggy, so it take some time to fix those bugs (thanks to Georg & Daniel).
I also had to rewrite SDL1 to SDL2 and fix some endian issues. There is full list of changes of v1 release:

-- added SDL2 support via --enable-sdl2. This port builds over SDL2.
-- gl4es is used for OpenGL (so ogles2/warp3dnova)
-- amigaos4 pathes, stack cookie
-- builded with gcc 8.2.0 and enabled LTO.
-- added big-endian changes in place where loading of ball_ball.raw happens and it expected to be in LE format
-- when you choice in menu "manual", "game_history" or "touranment_history" Odyssey is used, but you can change it to any browser you need (or by changing config file, or by changing ViewOptions/Browser in menu).
-- running of external commands (such as browser) done via aos4's IDOS->SystemTags() in Async mode (thanks to Salas00 for code which works when run game and from shell and from wb icon)
-- original game's code bug: in billard3d.c/load_config() forgotten fclose(), because of which save_config() on exit didn't works
-- original game's code bug: in sound_stuff.c/strsound() there was some typo from author strcpy(s,&s[strlen(s)-4]) , while should be strcpy(s,&s1[strlen(s1)-4]), which cause heavy memory issues in end (c) Daytona
-- original game's code bug: parent_entry in the menu_new() wasn't initialized, which cause crashes later in some situation in the menu_choose(); visually it just crashes when you choice some of menus (c) Georg
-- original game's code bug: when blitting menu entries, sometime blitting happens outside of left bounds and thus trashing memory and cause heap corruption, which in end lead to crash on free(textdata) later (c) Georg
-- original game's code bug: initially checking on minimum screenmode was wrong and thus skip some modes which can fits.

Resized Image

Youtube video, full HD 1920x1080: https://youtu.be/hQVabA_ReoQ

Actual code with all the AmigaOS4 and other changes listed below can be found at https://github.com/kas1e/FoobillardPlusPlus

If you find any bug , plz report it on the same page there: https://github.com/kas1e/FoobillardPlusPlus/issues/new


Neverball/Neverputt 1.6.0...:

Resized Image


Previously we have some older 1.5.4 version of neverball games compiled over minigl, but it's quite dated and as usuall for minigl : slow. The new version use SDL2, latest PhysFS, and
compiled over gl4es (so ogles2/warp3dnova) , which give us quite boost in the speed in compare with 1.5.4 version. Have a look at those FPS numbers (be sure you have ogles2 2.8 and w3dnova 1.65):


minigl neverball 1.5.4 level1 1024x768: 27 FPS
gl4es neverball 1.6.0 level1 1024x768: 75 FPS

minigl neverputt 1.5.4 level1 1024x768: 60 FPS
gl4es neverputt 1.6.0 level1 1024x768: 285 FPS

The minigl version of 1.6.0 probabaly possible only after some code changes (and maybe in MiniGL itself as well): at least from brief tests when i tried to compile 1.6.0 version for minigl,
it just crashed in some minigl functions, so it can be that minigl no more fits in.


Resized Image

Youtube, full HD 1920x1080: https://youtu.be/TSug2SePrSs


Friking shark update...:


Resized Image


Friking shark was released before, but some bugs since then was fixed as well as some new functionality added:

-- fixed iconification support
-- enabled FPS counter code (press "f4" in game), ogles2.library 2.8 minimum or you will have crashes.
-- rebuilt with enabled LTO
-- by default start in window mode (to swith back to fullscreen change in Resources/Scripts/GameGUI.cfg , fullscreen=0 to fullscreen=1)


Youtube, full HD 1920x1080: https://youtu.be/eA9txj_P38I

Final notes

Thanks to Daniel for OpenGL ES2 and all his help with everything : http://www.goldencode.de/
Thanks to Hans for Warp3DNova and all his help with everything : https://keasigmadelta.com/
Thanks to AEON who actually pay developers (yes, unusual in amiga world) , so we have OpenGL ES2 and Warp3DNova.
Thanks to ptitSeb for GL4ES and all his help with everything : https://github.com/ptitSeb/gl4es/
Thanks to Capehill (and others) for actual SDL2 port and all his help with everything : https://github.com/AmigaPorts/SDL


Printer friendly page Send this story to a friend
The comments are owned by the author. We aren't responsible for their content.
Author Thread
mufa
Published: 2019/7/3 21:26  Updated: 2019/7/3 21:26
Not too shy to talk
Joined: 11/27/2006
From: Poland
Comments: 262
 Thanks
Good job, thank you. On my X1000 & R9 270 games work great. Unfortunately, no X5000 & Polaris. Maybe i need the W3DN_GCN.library update? (Unfortunately, A-Eon updated only W3DN_SI.library v1.65 and GCN remains in version 1.58).
amigakit
Published: 2019/7/3 22:59  Updated: 2019/7/3 22:59
Quite a regular
Joined: 12/04/2006
From: www.amigakit.com
Comments: 701
 W3DN_GCN.library
@mufa Please check Updater now. W3DN_GCN.library v1.65 is now available to all Enhancer Software Graphics Upgrade customers.
Hans
Published: 2019/7/4 9:38  Updated: 2019/7/4 9:38
Home away from home
Joined: 01/26/2007
From: New Zealand
Comments: 2624
 Re: GL4ES: Round 2
Nice fps boost for these games vs MiniGL.

Hans
benny
Published: 2019/7/4 10:57  Updated: 2019/7/4 10:57
Just popping in
Joined: 12/08/2006
From: Netherlands
Comments: 125
 Re: GL4ES: Round 2
Great, running without problems!

On Neverball/Neverputt anti-aliasing is not implented, that is in the Amiga driver or in the port ?
mufa
Published: 2019/7/4 13:39  Updated: 2019/7/4 13:39
Not too shy to talk
Joined: 11/27/2006
From: Poland
Comments: 262
 Re: W3DN_GCN.library
@amigakit
Thanks for the upgrade. Now games are working well on Polaris
kas1e
Published: 2019/7/5 10:20  Updated: 2019/7/5 10:21
Home away from home
Joined: 09/11/2007
From: Russia
Comments: 8890
 Antialiasing
@benny
Its not our drivers or our port, its just
antialiasing not implemented in gl4es itself. That what ptitseb (author of gl4ez) says about:

Yes, you are right, it's not implemented in the GLES2 backend (only on the GLES1.1 backend, so useless for you). I may implement it one day, but basically, I have to alter the auto-generated shaders to implement it, so I'm not sure I'll bother with that one day (unless I do SSAA, wich is pretty easy to implement, but that's not an optimal method at all).
328gts
Published: 2019/7/7 23:40  Updated: 2019/7/7 23:40
Home away from home
Joined: 07/07/2009
From: Man Cave, Canada
Comments: 2980
 !
awesome to see more games use Warp3D Nova/ GLES2 so thanks to all involved! any chance our SuperTuxKart on OS4depot could be updated with Warp3dNova ?
General
Site sponsors
Advertise Here

Site statistics
Registered members
  1655
Logged in last:
  24 hours, 65
  7 days, 131
  30 days, 180

Top Posters
1 kas1e
kas1e 8890
2 Raziel
Raziel 5250
3 LiveForIt
LiveForIt 3728
4 samo79
samo79 3709
5 ChrisH
ChrisH 3581
6 Chris
Chris 3350
7 orgin
orgin 3255
8 328gts
328gts 2980
9 Hans
Hans 2624
10 Antique
Antique 2602

New Members
Olle
Olle 11/19/2023
Boing-ball
Boing-ball 11/16/2023
JohanAntwerpen
JohanAntwerpen 11/05/2023
amigarulez
amigarulez 11/03/2023
dthem
dthem 11/01/2023
amifan
amifan 10/25/2023
misha
misha 10/24/2023
dispiter
dispiter 10/18/2023
RadziN
RadziN 10/17/2023
nyteshade
nyteshade 10/16/2023


Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project