TinyGL: FBO, Shaders and futur improvements
  • MDW
  • Order of the Butterfly
    Order of the Butterfly
    MDW
    Posts: 453 from 2003/7/26
    From: Wroclaw/Poland
    Great news!

    TinyGL soon will be able to do more than I can. I have to learn features which I couldn't to use in: StormMESA, MiniGL and current TinyGL. :) :)

    Good to know that new TinyGL will improve also old/current projects (which use fixed pipeline). Two big projects which I currently create use fixed pipeline. I am not going to migrate it to OpenGL with shaders. But next... probably yes...

    Thank you for your work and sharing the progress.

    [ Edited by MDW 28.07.2022 - 20:36 ]
  • »28.07.22 - 19:35
    Profile Visit Website
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    Flash
    Posts: 105 from 2019/11/1
    Great news!
    What will be the impact of new implementation on a macmini or a pegasos 2 with an ati 9350?
  • »29.07.22 - 15:12
    Profile Visit Website
  • MorphOS Developer
    bigfoot
    Posts: 508 from 2003/4/11
    Quote:

    Flash wrote:
    Great news!
    What will be the impact of new implementation on a macmini or a pegasos 2 with an ati 9350?


    I assume you mean a Radeon 9250, in which case that more or less equals what is in a Mac Mini, both using the RV280 chip, which belongs in the R200 family of Radeon chips.

    Most of the changes in this first update will mostly affect new applications and games being ported to or created for MorphOS. The vastly improved SDK means it'll be easier for software developers to port software over to MorphOS, and the OpenGL API improvements and driver bug fixes means that that software is more likely to run and work correctly in the first place.

    For existing MorphOS software, Doom 3 is what stands to benefit the most from these changes, I believe. However Doom 3 (and SDL) will need updates to take advantage of these changes.

    The newly implemented ARB programs will only be supported on R300 and R400 in the first update. R500 and R200 support - up to what the hardware can handle - will come in a later update.

    For R200 specifically, support for cube maps has been implemented, which allows software that uses cube maps to work correctly. This probably won't directly affect much existing software, but again it makes more new software possible.
    I rarely log in to MorphZone which means that I often miss private messages sent on here. If you wish to contact me, please email me at [username]@asgaard.morphos-team.net, where [username] is my username here on MorphZone.
  • »29.07.22 - 15:30
    Profile Visit Website
  • MorphOS Developer
    bigfoot
    Posts: 508 from 2003/4/11
    OK, it's finally happening! The first beta version of the TinyGL update is here!

    TinyGL update 2022-08-05 download link.

    Please make sure you read the included readme. If you run into an problems with or have any questions about the update, feel free to reply to this thread (or email me directly).

    I'll update the website to include a link to the update later. Just wanted to finally get this update out for everyone to try out!
    I rarely log in to MorphZone which means that I often miss private messages sent on here. If you wish to contact me, please email me at [username]@asgaard.morphos-team.net, where [username] is my username here on MorphZone.
  • »05.08.22 - 15:30
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Stevo
    Posts: 888 from 2004/1/24
    From: #AmigaZeux
    Groovy! :-D
    ---
    http://www.iki.fi/sintonen/logs/its_only_football.txt
  • »05.08.22 - 15:45
    Profile
  • Butterfly
    Butterfly
    waldiamiga
    Posts: 91 from 2007/7/25
    From: Krakow, Poland
    Good news! Thx Bigfoot.

    MorphOS.pl
    PowerBook G4 1.67GHz|2GB DDR2|ATI Radeon 9700M 128MB|SSD 80GB|TFT 17"|MorphOS 3.1x
    Core i7 Notebook|WinUAE 3.x/AmigaOS4.1x & Icaros Desktop 2.x & QEmu 6.x.x
  • »05.08.22 - 18:03
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    tolkien
    Posts: 502 from 2013/5/29
    Fantastic news!!! Downloading now. Thanks Bigfoot!
    MorphOS: PowerMac G5 - PowerBook G4 - MacMini.
    Classic: Amiga 1200/060 - A500 PiStorm
  • »05.08.22 - 18:39
    Profile
  • IKE
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    IKE
    Posts: 146 from 2009/11/7
    From: Southern CA
    Awesome! I'll be testing with Doom 3 RoE tonight!
    IKE

    MacMini G4 1.5Ghz/PowerBook G4 1.67Ghz/PowerMac G5 2.0Ghz DP 7,2 Radeon 9650/256MB

    Join the conversation @ r/morphos
  • »05.08.22 - 19:48
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    NewSense
    Posts: 1476 from 2012/11/10
    From: Manchester, UK/GB
    @ bigfoot - Super efficient completion of stage 1 of the bounty - which is awe inspiring really. :-o
    MacMini 1.5GHz,64MB VRAM, PowerBooks A1138/9 (Model 5,8/9),PowerMac G5 2.3GHz(DP), iMac A1145 2.1GHz 20", all with MorphOS v3.18+,Airport,Bluetooth,A1016 Keyboard,T-RB22 Mouse,DVD-RW-DL,MiniMax,Firewire/USB2 & MacOSX 10.4/5
  • »06.08.22 - 02:32
    Profile
  • Butterfly
    Butterfly
    Posts: 91 from 2020/12/24
    No luck with Doom3 for Macmini: It freezes the whole machine as soon a new game is loaded.

    If you have an old saved level it fails depending on where you're at with the same symptoms.

    I've compiled it with the new SDK and even compiled the new SDL2 library from github.

    SDK Examples recompiled seem to be ok (of course not the Bump2 program for my system).
  • »06.08.22 - 07:46
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    beworld
    Posts: 592 from 2010/2/10
    From: FRANCE
    @sdl2

    I work on SDL2 for this beta "tinygl", use tglEnableNewExtensions(0) if tinygl version 53 detect.
    I create specific branch into repository (warning not sur if working 100%):
    https://github.com/BeWorld2018/SDL/commit/a9a191d59006c61c0505e6fb98a4ef29b1b79b94

    Dont hesites if you see somthing wrong into that :-)


    @doom3

    bigfoot say : "But Doom 3 won't work right at least, there's still more things I need to add/fix for it."
    IMac G5 2.1,PowerBook G4 1.5,MacMini 1.5, PowerMac G5 2.7 died !!!
    My MOS ports
  • »06.08.22 - 08:20
    Profile Visit Website
  • Butterfly
    Butterfly
    Posts: 91 from 2020/12/24
    @doom3 Oh well, it needs more Cowbell. No problem. :)

    Vacation time for me for some days.
  • »06.08.22 - 08:59
    Profile
  • MorphOS Developer
    bigfoot
    Posts: 508 from 2003/4/11
    Quote:

    Cowcat wrote:
    No luck with Doom3 for Macmini: It freezes the whole machine as soon a new game is loaded


    Thanks for the report. I hadn't tested Doom 3 on R200, but I'll do that and fix whatever is causing the crash :)
    I rarely log in to MorphZone which means that I often miss private messages sent on here. If you wish to contact me, please email me at [username]@asgaard.morphos-team.net, where [username] is my username here on MorphZone.
  • »06.08.22 - 09:50
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Cool_amigaN
    Posts: 746 from 2011/11/30
    Tested and several textures are still missing on custom Q3 maps such as in OSPDM3. Is this due the driver or the OSP version that we have? My system has a Radeon 9800 AGP (flashed).
    Amiga gaming Tribute: Watch, rate, comment :)
  • »06.08.22 - 10:09
    Profile Visit Website
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    Flash
    Posts: 105 from 2019/11/1
    Great news; thanks!
  • »06.08.22 - 10:22
    Profile Visit Website
  • MorphOS Developer
    bigfoot
    Posts: 508 from 2003/4/11
    Quote:

    Cool_amigaN wrote:
    Tested and several textures are still missing on custom Q3 maps such as in OSPDM3. Is this due the driver or the OSP version that we have? My system has a Radeon 9800 AGP (flashed).


    If you can provide me with the map in question, plus instructions on how to use it, as well as how to get to a part of the map that shows the problem, preferably with a screenshot so I know what to look for, then I'll check it out and fix it.
    I rarely log in to MorphZone which means that I often miss private messages sent on here. If you wish to contact me, please email me at [username]@asgaard.morphos-team.net, where [username] is my username here on MorphZone.
  • »06.08.22 - 10:36
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Cool_amigaN
    Posts: 746 from 2011/11/30
    Hey Mark :) Well, you need Quake 3 Arena + OSP mod (both were your ports if I recall correctly? Cant find the link for the mod atm) and then download OSPDM2 (run quake 3, load mod, select skirmish, choose tournament and pick OSPDM2 map). The end result, looks like this. The same is happening with OSPDM3, as the image shows here (it even misses the custom (?) cursor of the map). Also, apart from OSP mod, same texture problem is happening with standard custom Q3 maps, such as the famous Short Circuit, see here (probably the worst case).

    These are some examples, I have other custom maps which are failing too but I assume it should be the same root cause.

    Edit: just realised that screenshotjpeg command works *facepalm*, well I hope photos do the same work :P

    [ Edited by Cool_amigaN 06.08.2022 - 15:35 ]
    Amiga gaming Tribute: Watch, rate, comment :)
  • »06.08.22 - 13:15
    Profile Visit Website
  • MorphOS Developer
    bigfoot
    Posts: 508 from 2003/4/11
    I think your screenshots are a bit out of order :) The screenshot that's supposed to be OSPDM3 seems to be from Short Circuit. Nonetheless, having quickly tried it on R200 (which is what I have set up for testing right now), I see that it's very likely using texture coord generation, which is probably why it look wrong on R300. Texture coord generation is one of the things that'll get fixed when project 1 of this bounty is done :)
    I rarely log in to MorphZone which means that I often miss private messages sent on here. If you wish to contact me, please email me at [username]@asgaard.morphos-team.net, where [username] is my username here on MorphZone.
  • »06.08.22 - 14:38
    Profile Visit Website
  • MorphOS Developer
    bigfoot
    Posts: 508 from 2003/4/11
    Quote:

    Papiosaur wrote:
    @bigfoot : i have no pictures with OpenBOR games with new TinyGL drivers, work with old drivers. Any ideas please ?


    What graphics card are you testing on?
    I rarely log in to MorphZone which means that I often miss private messages sent on here. If you wish to contact me, please email me at [username]@asgaard.morphos-team.net, where [username] is my username here on MorphZone.
  • »06.08.22 - 15:03
    Profile Visit Website
  • MorphOS Developer
    bigfoot
    Posts: 508 from 2003/4/11
    Quote:

    bigfoot wrote:
    I think your screenshots are a bit out of order :) The screenshot that's supposed to be OSPDM3 seems to be from Short Circuit. Nonetheless, having quickly tried it on R200 (which is what I have set up for testing right now), I see that it's very likely using texture coord generation, which is probably why it look wrong on R300. Texture coord generation is one of the things that'll get fixed when project 1 of this bounty is done :)


    Actually, I tried this on R300 too now, and it works there as well. Can I get you to try Short Circuit with a clean Quake 3 installation, just to make sure it's not due to some other mod/texture pack/whatever you've got installed?
    I rarely log in to MorphZone which means that I often miss private messages sent on here. If you wish to contact me, please email me at [username]@asgaard.morphos-team.net, where [username] is my username here on MorphZone.
  • »06.08.22 - 15:27
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Papiosaur
    Posts: 2046 from 2003/4/10
    From: France
    Quote:

    bigfoot a écrit :
    Quote:

    Papiosaur wrote:
    @bigfoot : i have no pictures with OpenBOR games with new TinyGL drivers, work with old drivers. Any ideas please ?


    What graphics card are you testing on?


    X1950
  • »06.08.22 - 16:13
    Profile Visit Website
  • MorphOS Developer
    bigfoot
    Posts: 508 from 2003/4/11
    Quote:

    Papiosaur wrote:
    Quote:

    bigfoot a écrit :
    Quote:

    Papiosaur wrote:
    @bigfoot : i have no pictures with OpenBOR games with new TinyGL drivers, work with old drivers. Any ideas please ?


    What graphics card are you testing on?


    X1950


    Thank you :) Found the problem, it'll be fixed for the next beta release.
    I rarely log in to MorphZone which means that I often miss private messages sent on here. If you wish to contact me, please email me at [username]@asgaard.morphos-team.net, where [username] is my username here on MorphZone.
  • »06.08.22 - 16:29
    Profile Visit Website