Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
20 crawler(s) on-line.
 46 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 cironex:  59 mins ago
 matthey:  1 hr 10 mins ago
 DiscreetFX:  1 hr 34 mins ago
 Karlos:  1 hr 42 mins ago
 agami:  2 hrs 8 mins ago
 OlafS25:  2 hrs 11 mins ago
 pixie:  2 hrs 58 mins ago
 bhabbott:  2 hrs 58 mins ago
 Rob:  3 hrs ago
 MarcioD:  3 hrs 11 mins ago

software OS4   software OS4 : GL4ES: Round 2
   posted by kas1e on 3-Jul-2019 17:48:16 (8332 reads)
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 requirements are 100% necessary.
You can get them from latest Enhancer Software 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++...:



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.



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...:




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.




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


Friking shark update...:





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
    

STORYID: 8394
Related Links
· More about software OS4
· News by kas1e


Most read story about software OS4
Homebank 4.4 for AmiCygnix released

Last news about software OS4
Get 20-40% Off ZitaFTP Server (Limited Time Offer)
Printer Friendly Page  Send this Story to a Friend

Goto page ( 1 | 2 )

PosterThread
amigakit 
Re: GL4ES: Round 2
Posted on 3-Jul-2019 18:10:17
#1 ]
Amiga Kit
Joined: 28-Jun-2004
Posts: 2590
From: www.amigakit.com

@Kas1e

Thanks to you too for your excellent work!


_________________
Amiga Kit Amiga Store
Links: www.amigakit.com | New Products | A600GS

 Status: Offline
Profile     Report this post  
pavlor 
Re: GL4ES: Round 2
Posted on 3-Jul-2019 18:59:07
#2 ]
Elite Member
Joined: 10-Jul-2005
Posts: 9636
From: Unknown

Nice!

 Status: Offline
Profile     Report this post  
klx300r 
Re: GL4ES: Round 2
Posted on 4-Jul-2019 4:14:30
#3 ]
Elite Member
Joined: 4-Mar-2008
Posts: 3845
From: Toronto, Canada

love it! thanks to all involved


_________________
____________________________
c64-2sids, A1000, A1200T-060@50(finally working!),A4000-CSMKIII
! My Master Miggies- Amiga 1000 & AmigaOne X1000 !
mancave-ramblings
X1000 I BELIEVE

 Status: Offline
Profile     Report this post  
gregthecanuck 
Re: GL4ES: Round 2
Posted on 4-Jul-2019 8:11:46
#4 ]
Cult Member
Joined: 30-Dec-2003
Posts: 846
From: Vancouver, Canada

Wow this release is a big step forward. Nice job to everyone involved!

 Status: Offline
Profile     Report this post  
bennymee 
Re: GL4ES: Round 2
Posted on 4-Jul-2019 8:23:21
#5 ]
Cult Member
Joined: 19-Aug-2003
Posts: 697
From: Netherlands

Updated the Enhancer package, downloaded the games from os4depot, unpacking and running smooth without errors. That is the way we like it, excellent work, thank you all who are envolved.


The Minecraft clone AmiCraftNova is now also added on os4depot.net.

 Status: Offline
Profile     Report this post  
Skateman 
Re: GL4ES: Round 2
Posted on 4-Jul-2019 20:02:42
#6 ]
Regular Member
Joined: 2-Nov-2017
Posts: 160
From: Netherlands

Thanks so much, wonderfull!!

I have created a small video of my AmigaOne X5000 running Foobillard++

Keep up the good work.

https://youtu.be/Ae5Y1cJ7imE


_________________
AmigaOne X5000 -> 2GHz / 16GB RAM / Radeon R7 250 / M-Audio 5.1 -> AmigaOS 4.1 FE / Ubuntu Linux
Amiga 1200 -> Recapped / 68ec020 ACA 1221ec / CF HDD / RetroNET connected to the world

 Status: Offline
Profile     Report this post  
Trixie 
Re: GL4ES: Round 2
Posted on 4-Jul-2019 21:26:41
#7 ]
Amiga Developer Team
Joined: 1-Sep-2003
Posts: 2090
From: Czech Republic

@kas1e

Thanks! Just spent two hours playing Foobillard


_________________
The Rear Window blog

AmigaOne X5000/020 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition

 Status: Offline
Profile     Report this post  
petrol 
Re: GL4ES: Round 2
Posted on 6-Jul-2019 16:39:27
#8 ]
Regular Member
Joined: 25-Jun-2004
Posts: 411
From: France

Hi Kas1e,

Thank you for these ports!

Unfortunally, on my X1000, Neverball hits 100% CPU time even in pause mode, and the game lags with pause every half second. FPS are around 20 only. I don't have this with Neverputt that runs smooth.
Same problem with Friking shark! When light effect appear on screen (fe: explosions) it displays like a slide show.

No problem so far with Foobillard+++ ;)

Regards,
Petrol.

 Status: Offline
Profile     Report this post  
kas1e 
Re: GL4ES: Round 2
Posted on 6-Jul-2019 17:32:32
#9 ]
Elite Member
Joined: 11-Jan-2004
Posts: 3551
From: Russia

@petrol
Fricking shark may have microfreezes when you first time play in it (that explain in readme). Try to play a bit with those freezes, and then restart level again to see if it fix it.

As for neverball dunno, didnt have that, fps there high.. Maybe gfx card related ? What one you use ?


_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites

 Status: Offline
Profile     Report this post  
petrol 
Re: GL4ES: Round 2
Posted on 6-Jul-2019 17:43:26
#10 ]
Regular Member
Joined: 25-Jun-2004
Posts: 411
From: France

I've got a Sapphire Radeon R9 280X tri-X

Regards,

 Status: Offline
Profile     Report this post  
kas1e 
Re: GL4ES: Round 2
Posted on 6-Jul-2019 18:15:42
#11 ]
Elite Member
Joined: 11-Jan-2004
Posts: 3551
From: Russia

@Petrol
Maybe something in your startup , or running in background which make it reacts like this ? As you can see on neverball's video i have no problems. Maybe some dockie cause that ? Like cpu-measuring one, or something ? Try to run it without anything else running.


_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites

 Status: Offline
Profile     Report this post  
petrol 
Re: GL4ES: Round 2
Posted on 6-Jul-2019 18:50:22
#12 ]
Regular Member
Joined: 25-Jun-2004
Posts: 411
From: France

Strange. I tried the neverball's miniGL version and this one is really playable, with arround 60fps on 1920*1080 screen.
I asked on french forum before posting here, and I wasn't the only one to get this results.
I'll have a look again tomorrow.

Regards,

 Status: Offline
Profile     Report this post  
petrol 
Re: GL4ES: Round 2
Posted on 6-Jul-2019 18:53:59
#13 ]
Regular Member
Joined: 25-Jun-2004
Posts: 411
From: France

Strange. I tried the neverball's miniGL version and this one is really playable, with arround 60fps on 1920*1080 screen.
I've also suspected amidock, and I tried to run neverball without amidock running, no change.
I asked on french forum before posting here, and I wasn't the only one to get this results.
I'll have a look again tomorrow.

Regards,

 Status: Offline
Profile     Report this post  
petrol 
Re: GL4ES: Round 2
Posted on 6-Jul-2019 18:55:12
#14 ]
Regular Member
Joined: 25-Jun-2004
Posts: 411
From: France

dbl post

 Status: Offline
Profile     Report this post  
kas1e 
Re: GL4ES: Round 2
Posted on 7-Jul-2019 6:13:04
#15 ]
Elite Member
Joined: 11-Jan-2004
Posts: 3551
From: Russia

@Petrol
That sound strange. I mean, for me (and as i see for many others) new neverball faster in 2 times than minigl one. Seems something different between our setups. Maybe you have some debug version of some driver which throw output to serial which make it slower ? Like, debug version of warp3dnova, or radeonhd, or so ? Can you check if anything throws on serial ?

Also, check my neverball video: is it not like this for you, right ? Can you make your video so i can see how it visually (and neverball and friking shark)


_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites

 Status: Offline
Profile     Report this post  
kas1e 
Re: GL4ES: Round 2
Posted on 7-Jul-2019 6:16:40
#16 ]
Elite Member
Joined: 11-Jan-2004
Posts: 3551
From: Russia

@Petrol
That sound strange. I mean, for me (and as i see for many others) new neverball faster in 2 times than minigl one. Seems something different between our setups. Maybe you have some debug version of some driver which throw output to serial which make it slower ? Like, debug version of warp3dnova, or radeonhd, or so ? Can you check if anything throws on serial ?

Also, check my neverball video: is it not like this for you, right ? Can you make your video so i can see how it visually (and neverball and friking shark)

Or maybe you simply mix minigl version and new one ?

Or maybe you have installed Huno's egl wrapper which may have impact on ? (If so, try to delete from envarc all LIBGL* files, from both places, temp one and permanent one, reboot, check that envarc didnt have LIBGL* files and then try)


_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites

 Status: Offline
Profile     Report this post  
kas1e 
Re: GL4ES: Round 2
Posted on 7-Jul-2019 6:25:01
#17 ]
Elite Member
Joined: 11-Jan-2004
Posts: 3551
From: Russia

@Petrol
That sound strange. I mean, for me (and as i see for many others) new neverball faster in 2 times than minigl one. Seems something different between our setups. Maybe you have some debug version of some driver which throw output to serial which make it slower ? Like, debug version of warp3dnova, or radeonhd, or so ? Can you check if anything throws on serial ?

Also, check my neverball video: is it not like this for you, right ? Can you make your video so i can see how it visually (and neverball and friking shark)

Or maybe you simply mix minigl version and new one ? Because how you can have 60fps with minigl version, if i have ony about 30 in first level on my x5k. Try to delete everything and install only last, gl4es one.

Or maybe you have installed Huno's egl wrapper which may have impact on ? (If so, try to delete from envarc all LIBGL* files, from both places, temp one and permanent one, reboot, check that envarc didnt have LIBGL* files and then try)


_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites

 Status: Offline
Profile     Report this post  
kas1e 
Re: GL4ES: Round 2
Posted on 7-Jul-2019 6:26:30
#18 ]
Elite Member
Joined: 11-Jan-2004
Posts: 3551
From: Russia

Blah again that bug with editing of posts. Once you edit post it create new one instead of editing previous.

@petrol
Read plz last one and skip first 2


_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites

 Status: Offline
Profile     Report this post  
petrol 
Re: GL4ES: Round 2
Posted on 7-Jul-2019 7:59:32
#19 ]
Regular Member
Joined: 25-Jun-2004
Posts: 411
From: France

Hi,

You're right for the minigl version, I've got arround 35fps with it, I wasn't at home when I wrote it and I was convinced it was 60 as it was pretty fluid, my appologies.

I deleted all the envarc libgl entries.

I did one more test, running it from ram. And the game ran better (~55fps).

I made a small video of it running from the hard drive, on a non beta partition.
https://www.youtube.com/watch?v=BID-JLnhR80

Regards,

 Status: Offline
Profile     Report this post  
kas1e 
Re: GL4ES: Round 2
Posted on 7-Jul-2019 8:24:58
#20 ]
Elite Member
Joined: 11-Jan-2004
Posts: 3551
From: Russia

@Petrol
Yes, something weird happens on video for sure. From ram: it work as on my video, or still those strange pauses hapoens too just less offten ?


_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites

 Status: Offline
Profile     Report this post  

Goto page ( 1 | 2 )

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle