The State of OpenGL on AmigaOS

Le nostre news in homepage

Moderatore: Newser

The State of OpenGL on AmigaOS

Messaggioda samo79 » mar apr 05, 2011 1:49 pm

Immagine
Hans-Jörg Frieden ha appena rilasciato un aggiornamento sul blog di Hyperion-Entertainment relativo all'attuale stato di sviluppo del 3D su AmigaOS4




Since a while now I have been working on OpenGL on AmigaOS. Progress has been slow so far - there have been a good number of fundamental issues to be cleared up. For starters, let me summarize the goals:

* Provide a hardware-accelerated OpenGL for applications, games, and the operating system.
* Provide a driver interface with maximum flexibility. We do not want to count exclusively on Gallium3D as a basis for drivers, although it will be a fundamental one.
* Provide a low-level API that does not depend on high-level constructs like Windows or Screens. While it should be possible to render to these, it should not depend on any of them.
* Be able to upgrade to the latest OpenGL version, depending on driver support.
* Support multi-threading and multiple CPU's.

Let's look at these goals. We want to provide a hardware-accelerated OpenGL that can be readily used by applications and games alike. We would also like the operating system to be able to take advantage of this. Workbench should be able to draw its stuff with OpenGL hardware-acceleration, and even Intuition should be able to use it. There is no point in restricting such an important part to a mere application/game interface. It has to become an integral part of the system.

The internal driver interface is designed to be usable with or without Gallium3D. Obviously, the focus of our work will be Gallium-based, but what if there is a graphics card that does not support the required level of shader support to be able to work with Gallium? For this purpose, opengl.library (the central hub of the OpenGL system on AmigaOS) is able to load and operate drivers that only provide a minimal set of internal functions plus the required entry points for OpenGL. That way, it is possible to use a Mesa based driver, or even a completely custom driver, for hardware that is not supported by Gallium3D.

Our interface is intentionally very low-level. There are two major reasons for this. At first, developers will likely never encounter or use the low-level interface directly. They'll more likely use a high-level API like EGL or SDL or even GLUT instead. Which doesn't mean that the low-level API is clumsy or awkward to use. It is merely building on very low-level blocks - for example, it only renders into bitmaps and nothing else. Of course, bitmaps are at the base of all AmigaOS graphics and GUI constructs. To render to a screen, one can supply two bitmaps for ScreenBuffer-type double buffering. For a window, there's the classic solution of using the graphics card blitter to copy the image into the window after rendering, or, on compositing enabled screens, to render directly into the window's own bitmap. In any case, being low-level means that the API is future proof for any changes that might come to Intuition or Reaction.

Obviously, we want to be able to update drivers individually. The version of OpenGL support, as well as any extensions, will greatly depend on the driver. Most drivers support OpenGL 2.1 right now, including GLSL support. The exact possibilities depend on the hardware as well (a Radeon R100 will never support GLSL). The flexible driver interface will make sure, however, that individual drivers can be updated without having to update either the applications using OpenGL, nor opengl.library itself.

Finally, multi-threading and multi-CPU support is an important factor. If you are aiming at making a system an integral part of the OS, then support for multithreaded operation is as much a requirement as support of multiple CPU's


Fonte: http://blog.hyperion-entertainment.biz/
Immagine

Moderatore sezioni Amiga/AmigaOne su
TGMOnline

WHEN IT'S DONE Immagine

Le mele a volte possono essere devastate dal colpo feroce di una tempesta, ma il tenero fascio del sole potrà sempre far sviluppare dei nuovi frutti

Sam440ep Flex 800 Mhz - 1 GB DDR Ram - Radeon 9250 - AmigaOS 4.1
AmigaOne XE G3 800 Mhz - 640 MB Ram - Radeon 9200 SE - AmigaOS 4.1
Avatar utente
samo79

Staff
 
Messaggi: 14962
Iscritto il: ven gen 10, 2003 5:09 am
Località: Perugia

Re: The State of OpenGL on AmigaOS

Messaggioda NubeCheCorre » mar apr 05, 2011 2:01 pm

Forse forse, hanno capito che ogni tanto devono farsi sentire?? :felice:

bene così, buon lavoro ai Friedens :felice:
Avatar utente
NubeCheCorre

Leggenda
 
Messaggi: 10624
Iscritto il: dom set 21, 2003 9:21 pm
Località: San remo

Re: The State of OpenGL on AmigaOS

Messaggioda Varthall » mar apr 05, 2011 2:23 pm

Da come descrivono le cose, c'e' veramente un bel po' di lavoro da fare, fa piacere leggere che il lavoro procede comunque (l'immagine prototipo di GLGears).
Avatar utente
Varthall

Maestro
 
Messaggi: 599
Iscritto il: lun lug 11, 2005 4:38 pm

Re: The State of OpenGL on AmigaOS

Messaggioda Lecta » mar apr 05, 2011 2:45 pm

NubeCheCorre ha scritto:Forse forse, hanno capito che ogni tanto devono farsi sentire?? :felice:

bene così, buon lavoro ai Friedens :felice:


Chissà, forse a furia di scrivere mail chilometriche qualcuno ha finalmente capito il messaggio... :ahah:
Avatar utente
Lecta

Eroe
 
Messaggi: 1145
Iscritto il: dom giu 08, 2003 3:55 pm
Località: Reggio Emilia (o giù di lì)

Re: The State of OpenGL on AmigaOS

Messaggioda MacGyverPPC » mar apr 05, 2011 2:54 pm

Sarebbe cosa buona, facessero un canale YouTube che mostrasse le evoluzioni ogni tanto... giusto per tenere acceso l'interesse e dimostrare che non stanno con le mani in mano nei vari contesti.
E poi cosa c'è di meglio per condividere anche qualche consiglio tramite i commenti di chi magari può darle consiglio? Mettere un video del prototipo in YouTube avrebbe più visuale anche per chi OS4.1 lo conosce per sentito dire.
I video della SAM460 mi hanno stupito... e ogni tanto c'è qualcosa di nuovo che lascia vedere dei bei risultati e probabili novità per questo piccolo miracolo di ACube :felice: :
Qui la 460 lavora ottimamente in multitask,tra Audio/video e emulazione UAE pressochè perfetta http://www.youtube.com/watch?v=A3JbzW3l ... re=related :wow: :wow:
E io che già mi stupisco della piccola 440 che ha ancora da essere spremuta :rock:
P.S.
Tutti i video inerenti la nuova SAM460 http://www.youtube.com/results?search_query=sam460&aq=f
Avatar utente
MacGyverPPC

Leggenda
 
Messaggi: 10887
Iscritto il: sab set 22, 2007 4:51 pm
Località: Alessandria

Re: The State of OpenGL on AmigaOS

Messaggioda samo79 » mar apr 05, 2011 3:13 pm

Lecta ha scritto:Chissà, forse a furia di scrivere mail chilometriche qualcuno ha finalmente capito il messaggio... :ahah:


:ahah: bravo Stè fustigali per benino ! :ride:
Immagine

Moderatore sezioni Amiga/AmigaOne su
TGMOnline

WHEN IT'S DONE Immagine

Le mele a volte possono essere devastate dal colpo feroce di una tempesta, ma il tenero fascio del sole potrà sempre far sviluppare dei nuovi frutti

Sam440ep Flex 800 Mhz - 1 GB DDR Ram - Radeon 9250 - AmigaOS 4.1
AmigaOne XE G3 800 Mhz - 640 MB Ram - Radeon 9200 SE - AmigaOS 4.1
Avatar utente
samo79

Staff
 
Messaggi: 14962
Iscritto il: ven gen 10, 2003 5:09 am
Località: Perugia

Re: The State of OpenGL on AmigaOS

Messaggioda Alblino » mar apr 05, 2011 3:15 pm

Meno male che si fanno vivi adesso con la nuova Sam460 sembra che
Hyperion abbia notato le richieste da parte dei nuovi utenti.
Evidentemente la Sam460 vende bene per il mercato OS4 qui su
AmigaNews già in 4 se la sono portata a casa non male direi.
Ormai il Sata2 on board è supportato e stabile ora manca l'audio
e tutto il discorso 3D con Gallium.
Le USB 2.0 finalmente sembra che siano supportate azzo miracolo
si stà arrivando a sfruttare in giro di pochi mesi la nuova Sam460.
:happyboing:
Avatar utente
Alblino

Supremo
 
Messaggi: 2538
Iscritto il: lun gen 18, 2010 9:49 am
Località: .it

Re: The State of OpenGL on AmigaOS

Messaggioda NubeCheCorre » mar apr 05, 2011 4:17 pm

MacGyverPPC ha scritto:Sarebbe cosa buona, facessero un canale YouTube che mostrasse le evoluzioni ogni tanto... giusto per tenere acceso l'interesse e dimostrare che non stanno con le mani in mano nei vari contesti.
E poi cosa c'è di meglio per condividere anche qualche consiglio tramite i commenti di chi magari può darle consiglio? Mettere un video del prototipo in YouTube avrebbe più visuale anche per chi OS4.1 lo conosce per sentito dire.
I video della SAM460 mi hanno stupito... e ogni tanto c'è qualcosa di nuovo che lascia vedere dei bei risultati e probabili novità per questo piccolo miracolo di ACube :felice: :
Qui la 460 lavora ottimamente in multitask,tra Audio/video e emulazione UAE pressochè perfetta http://www.youtube.com/watch?v=A3JbzW3l ... re=related :wow: :wow:
E io che già mi stupisco della piccola 440 che ha ancora da essere spremuta :rock:
P.S.
Tutti i video inerenti la nuova SAM460 http://www.youtube.com/results?search_query=sam460&aq=f


Adesso non esageriamo! i video sono eccessivi, é già tanto (fidati) che abbiano capito che postare é cosa buona e giusta!!! :felice:

@Lecta

:ahah:
Avatar utente
NubeCheCorre

Leggenda
 
Messaggi: 10624
Iscritto il: dom set 21, 2003 9:21 pm
Località: San remo

Re: The State of OpenGL on AmigaOS

Messaggioda samo79 » mar apr 05, 2011 4:23 pm

Cma ad una mia domanda su un incremento delle prestazione 3D Rogue mi ha risposto cosi:

The point of the whole exercise is exactly that:

- Get more speed by being able to use Shaders, hardware accelerated Transform/Clipping/Lighting, and improved transport mechanisms provided by the hardware.
- Get a full OpenGL implementation as opposed to an incomplete MiniGL
- Get access to the new features like GL Shader Language.
- Get access to the latest hardware that can be supported.

Having said that, Gallium3D does not support anything below R300 (which means that 9xxx and 7xxx cards are not supported by it), which is the reason why we opted for a driver architecture that allows for non-Gallium3D drivers. The initial version will probably lack support for these cards, but we'll be looking into that problem ASAP - this might take the form of a generic Warp3D driver, or trying to adapt the old DRI drivers.

Right now, this is not the focus though. The focus is on finalizing the infrastructure and the first software-only AMGL driver. We're looking at the end of this or the next week for that.


:felice:
Immagine

Moderatore sezioni Amiga/AmigaOne su
TGMOnline

WHEN IT'S DONE Immagine

Le mele a volte possono essere devastate dal colpo feroce di una tempesta, ma il tenero fascio del sole potrà sempre far sviluppare dei nuovi frutti

Sam440ep Flex 800 Mhz - 1 GB DDR Ram - Radeon 9250 - AmigaOS 4.1
AmigaOne XE G3 800 Mhz - 640 MB Ram - Radeon 9200 SE - AmigaOS 4.1
Avatar utente
samo79

Staff
 
Messaggi: 14962
Iscritto il: ven gen 10, 2003 5:09 am
Località: Perugia

Re: The State of OpenGL on AmigaOS

Messaggioda NubeCheCorre » mar apr 05, 2011 4:28 pm

Praticamente dove arriva Gallium useranno Gallium e dove non ci arriva per "limiti" di driver, useranno warp3d o cmq un qualcosa di analogo..

Beh, la cosa positiva é che ci lavorano e che hanno capito che warp3d sa da rifà! :felice:

Anche qui, dopo kilometri di mail forse l'hanno capita..
Avatar utente
NubeCheCorre

Leggenda
 
Messaggi: 10624
Iscritto il: dom set 21, 2003 9:21 pm
Località: San remo

Re: The State of OpenGL on AmigaOS

Messaggioda Lecta » mar apr 05, 2011 4:30 pm

samo79 ha scritto:
Lecta ha scritto:Chissà, forse a furia di scrivere mail chilometriche qualcuno ha finalmente capito il messaggio... :ahah:


:ahah: bravo Stè fustigali per benino ! :ride:


Non è solo merito mio... anzi!

vediamo se riusciamo a convincerli anche per altre cose...
Avatar utente
Lecta

Eroe
 
Messaggi: 1145
Iscritto il: dom giu 08, 2003 3:55 pm
Località: Reggio Emilia (o giù di lì)

Re: The State of OpenGL on AmigaOS

Messaggioda MacGyverPPC » mar apr 05, 2011 4:37 pm

Questi movimenti ci volevano... finalmente una svegliata come cercavo di dire recentemente... battere i tamburi serve :rock: alla faccia dei misscredenti :ahah: :scherza: :frusta: :happyboing:
Avatar utente
MacGyverPPC

Leggenda
 
Messaggi: 10887
Iscritto il: sab set 22, 2007 4:51 pm
Località: Alessandria

Re: The State of OpenGL on AmigaOS

Messaggioda samo79 » mar apr 05, 2011 4:52 pm

Lecta ha scritto:Non è solo merito mio... anzi!

vediamo se riusciamo a convincerli anche per altre cose...


:annu:
Immagine

Moderatore sezioni Amiga/AmigaOne su
TGMOnline

WHEN IT'S DONE Immagine

Le mele a volte possono essere devastate dal colpo feroce di una tempesta, ma il tenero fascio del sole potrà sempre far sviluppare dei nuovi frutti

Sam440ep Flex 800 Mhz - 1 GB DDR Ram - Radeon 9250 - AmigaOS 4.1
AmigaOne XE G3 800 Mhz - 640 MB Ram - Radeon 9200 SE - AmigaOS 4.1
Avatar utente
samo79

Staff
 
Messaggi: 14962
Iscritto il: ven gen 10, 2003 5:09 am
Località: Perugia

Re: The State of OpenGL on AmigaOS

Messaggioda Varthall » mar apr 05, 2011 5:55 pm

NubeCheCorre ha scritto:Praticamente dove arriva Gallium useranno Gallium e dove non ci arriva per "limiti" di driver, useranno warp3d o cmq un qualcosa di analogo..

Beh, la cosa positiva é che ci lavorano e che hanno capito che warp3d sa da rifà! :felice:

Anche qui, dopo kilometri di mail forse l'hanno capita..

Mi ricordo che l'idea di rimpiazzare Warp3D e MiniGL ce l'avevano gia' da quando e' uscita la prima prerelease di OS4.0, quindi si parla di 7 anni fa circa. Basta guardare i titoli di coda di Zero, la prima demo per AmigaOne uscita nel 2004, dove gli Universe ringraziano la Hyperion per Os4 e continuano con un "Now waiting for Nova!". Nova era il progetto di una nuova API (diversa da OpenGL) per il 3D che doveva rimpiazzare Warp3D. Da quel che so, il progetto era poi stato abbandonato causa mancanza di risorse, si e' poi passati al progetto del porting di Mesa. I motivi per i ritardi di questo porting sono probabilmente dovuti allo sviluppo di OS4 stesso ed alla difficolta' di implementare una nuova API 3D (per farlo bisogna riscrivere i driver per le schede 3D e creare una nuova API al posto di Picasso96, sono componenti che dipendono l'uno dall'altro). Il primo passo e' stato fatto con i nuovi driver Radeon, adesso a quanto sembra tocca al 3D.
Avatar utente
Varthall

Maestro
 
Messaggi: 599
Iscritto il: lun lug 11, 2005 4:38 pm

Re: The State of OpenGL on AmigaOS

Messaggioda Mabo81 » mar apr 05, 2011 6:03 pm

Lecta ha scritto:
NubeCheCorre ha scritto:Forse forse, hanno capito che ogni tanto devono farsi sentire?? :felice:

bene così, buon lavoro ai Friedens :felice:


Chissà, forse a furia di scrivere mail chilometriche qualcuno ha finalmente capito il messaggio... :ahah:


:mah: :wow:
Avatar utente
Mabo81

Eroe
 
Messaggi: 1872
Iscritto il: mar gen 19, 2010 2:19 pm
Località: SYS:Prefs/

Prossimo

Torna a News e rumors

Chi c’è in linea

Visitano il forum: Google [Bot] e 9 ospiti