Overview Features Coding ApolloOS Performance Forum Downloads Products Order Contact

Welcome to the Apollo Forum

This forum is for people interested in the APOLLO CPU.
Please read the forum usage manual.
Please visit our Apollo-Discord Server for support.



All TopicsNewsPerformanceGamesDemosApolloVampireAROSWorkbenchATARIReleases
The team will post updates and news about our project here

Maggie 3D Updates

Gunnar von Boehn
(Apollo Team Member)
Posts 6223
07 Dec 2023 07:27


Lately we are working a lot on 3D games, in both fantasy and science fiction area. During these 3D game developments we have added a few more features to Maggie 3D unit and we have also increase performance significantly.
 

Maggie 3D now support 3 different pixel output formats:
  - 16bit RGB (R5/G6/B5)
  - 24bit RGB (R8/G8/B8)
  - 32bit ARGB (A8/R8/G8/B8)

Maggie 3D unit now support the following Hardware Z-Buffer modes.
  - not use Z Buffer
  - use Z-Buffer and update it
  - use Z-buffer and not update it
 

Maggie 3D has really impressive performance now.
With this high performance Maggie3D enables you to play this new 3D space game draft to run in 24bit screenmode with 100 FPS.

 
 
 


Thellier Alain

Posts 141
07 Dec 2023 08:13


Nice
It will enhance compatibility for existing game and apps that use MiniGL/Warp3D in RGB 24 bits




Nick Fellows

Posts 177
07 Dec 2023 12:50


Possibilities ....
EXTERNAL LINK


Gilles Dridi

Posts 52
07 Dec 2023 19:42


Nice

What a Christmas gift !

Keep going on.
[Quake already ? @100FPS ?]


Steffen Häuser

Posts 44
08 Dec 2023 08:12


Gunnar von Boehn wrote:

  Lately we are working a lot on 3D games, in both fantasy and science fiction area. During these 3D game developments we have added a few more features to Maggie 3D unit and we have also increase performance significantly.
 

 
  Sounds great! Especially the texture formats. The ones I need for H2 are in there ;-) Is this in hardware or software conversion ?
 
 
Thellier Alain wrote:

  It will enhance compatibility for existing game and apps that use MiniGL/Warp3D in RGB 24 bits
 

 
  Speaking of it - how is it going with the Driver ? I hope all fine ?
 
  I hope to get test values of H2 on a "68k + 3D HW" setup still today, which should show in which rough region of speed a Vampire version will be, even if different hardware (I hope). Want to test current version on Vampire as soon as Wazp3D Driver is far enough to make sense for such a test too, thanks for your work already (both Gunnar/Apollo-Team and Alain) ;-) Had some issues with the 3DHW test system on which I worked yesterday. But once drivers are ready I can test on real Vampire.
 
  The changes as to Z Buffer are great, is EXTERNAL LINK also supported ?
   
  Thanks!
 
  Steffen
 
 


Gunnar von Boehn
(Apollo Team Member)
Posts 6223
08 Dec 2023 10:18


Steffen Häuser wrote:

 
Gunnar von Boehn wrote:

    Lately we are working a lot on 3D games, in both fantasy and science fiction area. During these 3D game developments we have added a few more features to Maggie 3D unit and we have also increase performance significantly.
   

   
    Sounds great! Especially the texture formats. The ones I need for H2 are in there ;-) Is this in hardware or software conversion ?
 
 
 
yes, hardware feature.
generally, when I speak about Maggie3D I normally always speak about hardware options.
 
As you know Maggie3D has a "Control-Register",
which allows you to select different modes and option for your blit.
 
As for example:
  - select bilinear filtering
  - select 32bit /24bit /16bit pixel output format
  - select HW-ZBuffer usage



Thellier Alain

Posts 141
08 Dec 2023 12:15


Some news:
      I have removed (butchered) the softd sources to remove software cpu rendering (as Vampire will not be fast enough for cpu rendering)
      I have merged it with the Maggie code I tested in Cow3D
     
      So now I have soft3D source (fork) that will render only on Maggie hardware: this part is done :-)
      I hope it will be fast enough but I dont know until it will finally run
     
      I added some features (vs Cow3D) like rendering points,lines
      Perhaps this afternoon I will try to compile it .... so begin to fix all the new bugs I just introduced :-/
      The Objective is still to have a working basic soft3d (Wazp3D driver) next week
 
  Implementing Mipmapping, Fog, all Zbuffer tests will be the next step but after Christmas (I mean there are already some code done but it will not be functionnal for next week)
     
      @Steffen
      The functions you talk about are implemented GL side so they are already inside StormMesa and MiniGL sources
     


Thellier Alain

Posts 141
10 Dec 2023 11:19


soft3d.library/Wazp3D.library with Maggie support is build :-)
Tomorrow I will start to test it on the Vampire and fix the bugs


Steffen Häuser

Posts 44
10 Dec 2023 14:00


thellier alain wrote:

soft3d.library/Wazp3D.library with Maggie support is build :-)
  Tomorrow I will start to test it on the Vampire and fix the bugs

Sounds great! Looking forward to what the results of your tests will be ;-)

Steffen


Thellier Alain

Posts 141
12 Dec 2023 16:38


First tests: Wazp3D start well, run several functions correctly without problems... but crash before drawing anything
 
  Seems that 3d points are trashed, I spended some time to inspect the new soft3d code (looks fine)  and I just realised right now that the problem is probably in the main Wazp3D sources not in the soft3d.c for Maggie
 
  I am using the latest Wazp3D 57 proto as sources
  This proto was made to render via Nova on OS4 and has never been compiled/tested on 68k/OS3
  Seems that the "hooks" that I used to read points fastly (optimized for copying current points format) are buggin some way
 
  I will need to investigate more....
 
Note: OS4 use WaRp3D V5, OS3 use V4 so having a Wazp3D that was working well on OS4 wasnt assuring it will run on OS3
 


Thellier Alain

Posts 141
16 Dec 2023 21:34


Good evening.
  Well I fixed a few bugs and I now have a Wazp3D for Maggie that displays something without crashing.
 
  This gave me a hard time because I really got "rusty" from not having programmed for several years: I lost the debugging reflexes :-/
 
  It's not finished yet because there are two remaining problems: the management of textures is buggy so I replaced the textures with the owl in dds of your example and above all some of the triangles are not displayed so I will have to create a small example of just a few triangles to track/step it all and find the problem


Steffen Häuser

Posts 44
17 Dec 2023 12:25


@Alain Thellier:

Thanks for the update!

Steffen


Thellier Alain

Posts 141
20 Dec 2023 11:09


OK those two bugs have been fixed
  So I have several programs that now work (more or less) with Wazp3D/Maggie *
  It remains other bugs: some tris are not fully drawn, some texture uv problems, small points are not textured, big points misses some pixels,etc...
 
  Sadly it seems very slow, I estimate that it can render 10000 tris secondes, so will be usefull only for very basic/simple 3d games
 
  So (after the bug fixes) it will need to be profiled to find out if it is the part that draw triangles (wazp3d, my part) or the part draw draw pixels (maggie) that is slow

(*) The most impressive is the classic GleXcess demo ... run but not really correct
 
 


Gunnar von Boehn
(Apollo Team Member)
Posts 6223
21 Dec 2023 09:53


Nice progress!!

Do you use a most recent core?
Maggie performance was several times increased over this year.



Thellier Alain

Posts 141
25 Dec 2023 12:52


Yes I just have updated yesterday

I have stability problem: old CF with old ApolloOS (from when I purchased the Vampire) dont seems to boot anymore with latest core

And the SanDisk CF with latest ApolloOS allways been unstable (certainly related to SanDisk CF...)

About Wazp3D : at some point GlExcess (the classic opengl demo) was almost working but then I introduced a bug that I am still unable to fix since a week...

posts 15