We try to write a little example for learning purposes, which will show how coders can use z-buffer + latest w3d fucntions like w3d_DrawElemets in warp3d programms. We already write such example (that is just rotated Cow, with many triangles, high detailed, etc), which use z-buffer and w3d_drawelements fucntions. But the problem is: That 68k binary works fine on:
1. amiga classic (Mediator 3000T/4000T and Voodoo4 under AmigaOS 3.9)
2. morphos2.x on peg2 with Radeon9250
3. winuae with wazp3d
In other words it works everythere, but on amigaos4 (with the same Radeon9250 as for Morphos), it give us black window, and nothing more. I tryed to recompile it as aos4 native, but still, we have black window. I.e. everything looks like works. We can see FPS count, "esc" handler works too, but just visibly on the window we see nothing. Just black screen. Like some warp3d mode set, or not set. Of course i can claim yourself for not knowing something, but if it works on all the other oses, and different warp3d realisation, so, the question is still here: why it just give us black window on aos4/radeon9250/peg2 ?
There is aos4 source (for make it works native). Any help are wellcome. Personaly i hope that Hanz or maybe Rogue can have a look at it (source pretty small and very understanable). Compilation line are trivial:
Quote:
gcc cow3d.c -lamiga -lauto -O3 -o cow3d
Thanks for.
Edited by kas1e on 2010/3/26 15:48:25