Amiga.org

Amiga News and Community Announcements => Amiga News and Community Announcements => Topic started by: noXLar on October 15, 2014, 09:12:19 PM

Title: New Wazp3D Driver - Beta56
Post by: noXLar on October 15, 2014, 09:12:19 PM
DESCRIPTION Wazp3D  : Alain THELLIER - Paris - FRANCE Wazp3D is a library intended to be compatible with the famous Warp3D.library (AmigaOS 68020-40 or OS4-PPC or Aros or Morphos ) ----------------------------------------------------------------------------- If you enjoyed Wazp3D send me a postcard at: Thellier. 43 Rue Ordener. 75018 PARIS. FRANCE -----------------------------------------------------------------------------    
New Wazp3D Driver - Beta56 - 15 Oct 14                                                                                   LICENSE  GNU General Public License (GNU GPL)   MOST IMPORTANT FEATURES  o Compatible with the famous Warp3D.library for AmigaOS  o Inside Aros & WinUAE & Morphos can also render in hardware     o StormMesa & MiniGL compatibility  o The 97 functions from the latest Warp3D.library v5 are presents :-)  o Sources included (...so Wazp3D has been ported to AROS)  o Can be software only (=slow) : no need to have 3D hardware  o Work in UAE so can serve to compile/test your 3D softwares inside UAE  o Wazp3D can lie and pretend to have a "perfect hardware driver"  so the 3D-softwares will not fail due to a lacking feature.  o Full Documentation, faq and grabs at http://thellier.free.fr/Wazp3D.htm  o Unlike QuarkTex you can run multiple Warp3D applications concurrently  o Built-in debugger                                                      o Demo-program http://aminet.net/dev/src/Cow3D.lha to use with Wazp3D                                              

http://www.os4depot.net/?function=showfile&file=library/graphics/wazp3d.lha
Title: Re: New Wazp3D Driver - Beta56
Post by: jj on October 16, 2014, 10:52:42 AM
so does this give 100% warp3d compatibility on all listed OS ?   Does it work on all hardware , take it if a card not supported reverts to software ?
Title: Re: New Wazp3D Driver - Beta56
Post by: wawrzon on October 16, 2014, 02:17:23 PM
wazp3d doesnt take advantage of hardware acceleration, except for special cases (winuae) and therefore doesnt need to fall back to software, because it runs in software. therefore it should be rather indipendant on what hardware it runs on.
Title: Re: New Wazp3D Driver - Beta56
Post by: BSzili on October 16, 2014, 02:48:35 PM
Quote from: JJ;775115
so does this give 100% warp3d compatibility on all listed OS ?   Does it work on all hardware , take it if a card not supported reverts to software ?
The title of the topic is a bit misleading, since Wazp3D is not really a driver, but an implementation of the Warp3D API. It can use many different backends, like OpenGL on AROS / MorphOS / WinUAE, HW compositing on AmigaOS4, and it has its own software rasterizer too, which should work everywhere.
Title: Re: New Wazp3D Driver - Beta56
Post by: jj on October 16, 2014, 03:24:47 PM
That is pretty cool,  guess gives decent speeds on a top end g4 powerpook ?
Title: Re: New Wazp3D Driver - Beta56
Post by: BSzili on October 16, 2014, 04:24:55 PM
It should, but on MOS it only works with 68k software, which limits its usability.
Title: Re: New Wazp3D Driver - Beta56
Post by: esc on October 16, 2014, 06:11:43 PM
Ah, that's unfortunate, I was really hoping to be able to run my amiga ppc games with warp3d (heretic, shogo, wipeout, etc) directly from my g5/radeon9800xt
Title: Re: New Wazp3D Driver - Beta56
Post by: BSzili on October 16, 2014, 07:44:44 PM
The problem is that WarpOS uses a different ABI than MorphOS (PowerOpen vs SysV). I added the necessary glue based on this rtgmaster replacement library (http://aminet.net/package/driver/video/rtgmaster_mos), but it still crashes. I was told that this is trivial stuff, so if you can convince a MorphOS developer to look at it, it can be probably fixed in no time.
Title: Re: New Wazp3D Driver - Beta56
Post by: jj on October 16, 2014, 08:54:11 PM
Quote from: esc;775135
Ah, that's unfortunate, I was really hoping to be able to run my amiga ppc games with warp3d (heretic, shogo, wipeout, etc) directly from my g5/radeon9800xt


I thought MorphOS has warp3d support but not for our GPUs I think.  I know the mac mini will play warp3D games and I assume that is ppc warp3D Games ?
Title: Re: New Wazp3D Driver - Beta56
Post by: esc on October 16, 2014, 09:38:19 PM
Quote from: BSzili;775143
The problem is that WarpOS uses a different ABI than MorphOS (PowerOpen vs SysV). I added the necessary glue based on this rtgmaster replacement library (http://aminet.net/package/driver/video/rtgmaster_mos), but it still crashes. I was told that this is trivial stuff, so if you can convince a MorphOS developer to look at it, it can be probably fixed in no time.


I'll try. :) I'm hesitant to ask MOS devs for much due to how much I've been (or seen other people be) chastised in the past. They're a great bunch that do awesome stuff, but I feel pretty intimidated about raising the ire of...well, let's say some of them.

Quote from: JJ;775144
I thought MorphOS has warp3d support but not for our GPUs I think.  I know the mac mini will play warp3D games and I assume that is ppc warp3D Games ?


Yeah, the r300 gpu doesn't have W3D compatibility because the devs don't find it worthwhile to support only a very small fraction of legacy Amiga software. I get it, it's very pragmatic, but it still sucks for me.
Title: Re: New Wazp3D Driver - Beta56
Post by: jj on October 16, 2014, 10:04:57 PM
and for me, my powerbook has the same gpu :(
Title: Re: New Wazp3D Driver - Beta56
Post by: woof on October 17, 2014, 08:06:38 PM
@JJ
Hi
If you dont know Wazp3D at all have a look here
 http://thellier.free.fr/Wazp3D.htm
and here
 http://www.youtube.com/user/wazp3d

On Morphos :
Wazp3D got soft & hard rendering (based on hard TinyGL)
1) Old 68k OS3 progs works
2) New ppc OS4 progs dont works because OS4emu dont support Warp3D v5 (the OS4 one used for MiniGL progs) . Some rare ppc demos based on OS3 sources may works
3) WOS ppc progs (WipeOut !!!) dont works at all because we didnt know how to do a WOS .library

Alain Thellier
Title: Re: New Wazp3D Driver - Beta56
Post by: BSzili on October 21, 2014, 02:24:12 PM
Quote from: esc;775146
I'll try. :) I'm hesitant to ask MOS devs for much due to how much I've been (or seen other people be) chastised in the past. They're a great bunch that do awesome stuff, but I feel pretty intimidated about raising the ire of...well, let's say some of them.
I have good news, you don't have to walk into the lion's den. If you already did, then I hope you have survived.
Since the issue has been brought up again, and I had some idle time, I went ahead and fixed the problem myself. Being the bungler I am, I tried to mimic the interface of the MorphOS version of rtgmaster.library, which is compatible with WarpOS programs. This was a bad idea, because it has a mixed interface having both 68k and WOS functions, where Warp3D has two separate libs for this purpose (Warp3d.library and Warp3D_ppc.library). To keep the long story short, I now have Wipeout 2097 running with Wazp3D on MorphOS. I've sent my changes to Alain, the rest is up to him.
Title: Re: New Wazp3D Driver - Beta56
Post by: HammerD on October 21, 2014, 05:06:02 PM
Does this work on AmigaOS 4.1 Classic running on WinUAE?
Title: Re: New Wazp3D Driver - Beta56
Post by: esc on October 22, 2014, 11:00:37 PM
Quote from: BSzili;775361
I have good news, you don't have to walk into the lion's den. If you already did, then I hope you have survived.
Since the issue has been brought up again, and I had some idle time, I went ahead and fixed the problem myself. Being the bungler I am, I tried to mimic the interface of the MorphOS version of rtgmaster.library, which is compatible with WarpOS programs. This was a bad idea, because it has a mixed interface having both 68k and WOS functions, where Warp3D has two separate libs for this purpose (Warp3d.library and Warp3D_ppc.library). To keep the long story short, I now have Wipeout 2097 running with Wazp3D on MorphOS. I've sent my changes to Alain, the rest is up to him.


That's awesome news! Now I won't need to cripple my PMac G5 with an older gpu just to run w3d ppc games :) Thanks!!!
Title: Re: New Wazp3D Driver - Beta56
Post by: esc on October 24, 2014, 03:24:31 PM
Quote from: BSzili;775361
I have good news, you don't have to walk into the lion's den. If you already did, then I hope you have survived.
Since the issue has been brought up again, and I had some idle time, I went ahead and fixed the problem myself. Being the bungler I am, I tried to mimic the interface of the MorphOS version of rtgmaster.library, which is compatible with WarpOS programs. This was a bad idea, because it has a mixed interface having both 68k and WOS functions, where Warp3D has two separate libs for this purpose (Warp3d.library and Warp3D_ppc.library). To keep the long story short, I now have Wipeout 2097 running with Wazp3D on MorphOS. I've sent my changes to Alain, the rest is up to him.


So has Alain responded? I'm very excited about this :)
Title: Re: New Wazp3D Driver - Beta56
Post by: wawrzon on October 24, 2014, 03:40:41 PM
Quote from: esc;775568
So has Alain responded? I'm very excited about this :)


is this what you are looking for:
http://moobunny.dreamhosters.com/cgi/mbmessage.pl/amiga/252624.shtml
??
Title: Re: New Wazp3D Driver - Beta56
Post by: BSzili on October 24, 2014, 06:09:11 PM
Quote from: esc;775568
So has Alain responded? I'm very excited about this :)
Not directly to me, but you can find some discussion about this topic:
https://translate.google.com/translate?sl=auto&tl=en&js=y&prev=_t&hl=hu&ie=UTF-8&u=http%3A%2F%2Fwww.meta-morphos.fr%2Fviewtopic.php%3Ftopic%3D1415%26forum%3D52%26start%3D20%26order%3DASC&edit-text= (https://translate.google.com/translate?sl=auto&tl=en&js=y&prev=_t&hl=hu&ie=UTF-8&u=http%3A%2F%2Fwww.meta-morphos.fr%2Fviewtopic.php%3Ftopic%3D1415%26forum%3D52%26start%3D20%26order%3DASC&edit-text=)
https://translate.google.com/translate?sl=auto&tl=en&js=y&prev=_t&hl=hu&ie=UTF-8&u=http%3A%2F%2Fwww.amigaimpact.org%2Fforums%2Ftopic%2Fwazp3d-et-tinygl-se-rabibochent%2F&edit-text=
Title: Re: New Wazp3D Driver - Beta56
Post by: woof on October 24, 2014, 06:26:51 PM
Hello
(sorry for using this oooold login name)

You are right : Wazp3D 56 (not the 55.1 from last week) will appear on Aminet soon

This version
Allow hardware rendering for morphos/warpos progs : mainly WipeOut2097 (yeeeess) and the demos from "Encore"
Dont forget that is Szilárd Biró that made possible this Morphos version to appear
(me I just added TinyGL support on this version)
His page is here , the "donate" is right down so THINK TO HIM
http://bszili.morphos.me/

This version also include the VoxelNoid minor fix already present in recent Wazp3D 55.1
No change on other Wazp3D versions (68k,WinUAE,Aros)

Alain Thellier - Wazp3D
Title: Re: New Wazp3D Driver - Beta56
Post by: lionstorm on October 24, 2014, 10:19:32 PM
so this should work with AOS4.1 on classic with BVisionPPC gfx card, right ? in current state there is no 3D driver for permedia2...
Title: Re: New Wazp3D Driver - Beta56
Post by: woof on October 24, 2014, 10:54:16 PM
No this is only a morphos version that use existing morphos' tinygl not an os4 permedia2 driver...
Title: Re: New Wazp3D Driver - Beta56
Post by: woof on October 25, 2014, 08:23:51 AM
Wazp3D for morphos/wipeout2097 is on Aminet now
Title: Re: New Wazp3D Driver - Beta56
Post by: woof on October 25, 2014, 09:19:57 AM
see grab here
http://www.amigaimpact.org/forums/topic/wazp3d-et-tinygl-se-rabibochent/#post-220173
Title: Re: New Wazp3D Driver - Beta56
Post by: jj on October 25, 2014, 12:30:51 PM
when I try to run  the prefs get a no rave3D driver message. What am i doing wrong ?

I have copied the libs over and renamed as docs said.   there was no existing warp3d library to rename
Title: Re: New Wazp3D Driver - Beta56
Post by: BSzili on October 25, 2014, 01:03:06 PM
Unlike Goa, Wazp3D doesn't use Rave3D, so if you get that message, then you definitely still have Warp3D#?.library in MOSSYS:Libs.
Title: Re: New Wazp3D Driver - Beta56
Post by: jj on October 25, 2014, 01:07:55 PM
bingo was looking just in libs, still getting used  to morphos

thanks :)
Title: Re: New Wazp3D Driver - Beta56
Post by: esc on October 26, 2014, 03:41:48 AM
Works a treat! There are some transparency issues in wipeout with the default morphos config file for wazp3d. Also fullscreen flickers like crazy. But I'm sure I can mess with the settings to find a "happy place." Also, shogo doesn't get past the initial start screen. But I'm sure that's another problem entirely. Thanks!!!
Title: Re: New Wazp3D Driver - Beta56
Post by: BSzili on October 26, 2014, 06:32:45 AM
Be sure to share your cfg if you find the sweet spot. As for Shogo, I could never get past the menu even in MorphOS 2.x.

edit: Regarding the fullscreen flashing, I've found the problem and I'll try to cook up a solution. For the time being only use the windowed mode.
Title: Re: New Wazp3D Driver - Beta56
Post by: woof on October 26, 2014, 09:15:10 AM
see here

http://www.amigaimpact.org/forums/topic/wazp3d-et-tinygl-se-rabibochent/page/2/

Alain Thellier
Title: Re: New Wazp3D Driver - Beta56
Post by: BSzili on October 26, 2014, 09:41:32 AM
It looks like we independently came to the same conclusion :) I've sent you a mail with a possible solution.
Title: Re: New Wazp3D Driver - Beta56
Post by: woof on October 29, 2014, 01:48:12 PM
@Wazp3D on Morphos users
Please note that "perspective texturing" is not supported
It is because TinyGL dont support glTexCoordPointer(4, GL_FLOAT, 4*4,V);
So cant use s,t,r,q coordinates needed for "perspective texturing" in screen-space
I can do nothing about that....

Also some demos and progs WANTS a (say) 640x480 screen else fails ... but PowerBook G4 only have a much bigger fixed resolution screen .... so allways fail ...
Badly written old 3d progs :-/



Alain Thellier - Wazp3D

PS: Dont say "but OpenGl progs got perspective texturing on Morphos" : yes but specified in 3d-space not in screen-space like WaRp3D do ...