DUGL and FreeDoom (Announce)
> Perhaps something simple at first?
You are right DUGL require at least a simple game.
> > We need a list of graphic functions needed by FreeDoom and
> > see if DUGL is able to provide them all.
> > By first look DUGL is missing :
> > - Perspective corrected texture mapping : solution is to split near/big
> > triangles into several triangles to reduce the bad effect.
> > - Texture wrapping : we have two solutions, make bigger textures with
> > replicated image, or again detect texture wrapping and split the
> triangle
> > into several triangles.
> > - VGA : not all VESA give access to low resolution graphic mode
> > (320x200..)
>
> Really? 
Here my reasons :
- Perspective corrected texture mapping :
Current algorithm of Perspective corrected are at best only 50% as fast as linear mapping.
This mean for example a bandwidth drop from 0.4GB/s to 0.2GB/s on my P4 D925.
If we take in account that inside a 3D Scene, only about 5-10% of triangles really require a perspective corrected mapping. I will choose the linear mapping, and split big/near triangles as said up.
- Texture wrapping :
It's a symbol of bad looking walls, terrain, water .. As the user can easily distinguish the repeated texture.
In fact when I started working on DUGL I got two choices : (1) supporting texture wrapping but only pow of 2 textures resolution (2) not supporting texture wrapping but any texture resolution. I choosed the second as it gives much more flexibility/speed for textured triangles (using a 640x480 screen directly as texture, optimized texture memory usage...)
- VGA :
Who want to play a game in 320x240 in 2009 ? Unless we make, as SONY PSP, a DPGS (DOS Portable Games Station) with a 320x240 LCD maybe powered by both FreeDOS and DUGL
Any way emulating low res mode isn't hard as we can emulate them easily with the fast DUGL texture mapping.
> Yes, I forgot about that, but actually the "original" (pre-1999
> re-release) of DOOM was non-commercial only, not GPL, and I think some
> rare projects (ZDoom???) still use that (for whatever reason).
I downloaded ZDoom sources and I will see what I can do. And yes it's license is non-profit as DUGL, then usable.
Complete thread:
- DUGL 1.15 + DUGL Plus 0.3 - FFK, 12.08.2009, 12:58 (Announce)
![Open in board view [Board]](img/board_d.gif)
![Open in mix view [Mix]](img/mix_d.gif)
- DUGL 1.15 + DUGL Plus 0.3 - Rugxulo, 12.08.2009, 17:30
- DUGL and FreeDoom - FFK, 13.08.2009, 14:37
- DUGL and FreeDoom - Rugxulo, 15.09.2009, 10:48
- DUGL and FreeDoom - FFK, 17.09.2009, 04:25
- DUGL and FreeDoom - Rugxulo, 15.09.2009, 10:48
- DUGL and FreeDoom - FFK, 13.08.2009, 14:37
- DUGL 1.15 + DUGL Plus 0.3 - Khusraw, 12.08.2009, 23:12
- DUGL 1.15 + DUGL Plus 0.3 - FFK, 13.08.2009, 15:16
- DUGL 1.15 + DUGL Plus 0.3 - Laaca, 14.08.2009, 13:45
- DUGL roadmap - FFK, 15.08.2009, 15:07
- DUGL roadmap - Laaca, 15.08.2009, 21:06
- DUGL Sound drivers - FFK, 15.09.2009, 00:58
- DUGL Sound drivers - RayeR, 23.10.2009, 17:50
- DUGL Sound drivers - Khusraw, 23.10.2009, 18:50
- TIFF | DUGL Sound drivers - DOS386, 24.10.2009, 03:31
- TIFF | DUGL Sound drivers - Khusraw, 24.10.2009, 09:41
- TIFF | DUGL Sound drivers - Rugxulo, 24.10.2009, 15:23
- TIFF | DUGL Sound drivers - Rugxulo, 24.10.2009, 15:18
- TIFF | DUGL Sound drivers - FFK, 24.10.2009, 19:22
- DUGL Sound drivers - DOS386, 30.10.2009, 06:45
- DUGL Sound drivers - Khusraw, 30.10.2009, 14:11
- DUGL Sound drivers - ecm, 30.10.2009, 14:25
- DUGL Sound drivers - FFK, 31.10.2009, 11:04
- DUGL Sound drivers - Khusraw, 30.10.2009, 14:11
- DUGL Sound drivers - DOS386, 30.10.2009, 06:45
- TIFF | DUGL Sound drivers - Khusraw, 24.10.2009, 09:41
- TIFF | DUGL Sound drivers - DOS386, 24.10.2009, 03:31
- DUGL Sound drivers - FFK, 24.10.2009, 14:01
- DUGL Sound drivers - Rugxulo, 24.10.2009, 15:22
- DUGL Sound drivers - FFK, 24.10.2009, 17:42
- DUGL Sound drivers - RayeR, 25.10.2009, 01:48
- DUGL Sound drivers - Rugxulo, 24.10.2009, 15:22
- DUGL Sound drivers - Khusraw, 23.10.2009, 18:50
- DUGL Sound drivers - RayeR, 23.10.2009, 17:50
- DUGL roadmap | TIFF vs PNG | emu10k1 - DOS386, 23.10.2009, 05:36
- DUGL roadmap | TIFF vs PNG | emu10k1 - Khusraw, 23.10.2009, 09:34
- DUGL roadmap | TIFF vs PNG | emu10k1 - Rugxulo, 23.10.2009, 09:51
- DUGL Sound drivers - FFK, 15.09.2009, 00:58
- DUGL roadmap - Laaca, 15.08.2009, 21:06
- DUGL roadmap - FFK, 15.08.2009, 15:07
- DUGL 1.15 + DUGL Plus 0.3 - Laaca, 14.08.2009, 13:45
- DUGL 1.15 + DUGL Plus 0.3 - FFK, 13.08.2009, 15:16
- DUGL 1.15 + DUGL Plus 0.3 update download link - FFK, 15.09.2009, 00:46
- DUGL 1.15 + DUGL Plus 0.3 - Rugxulo, 12.08.2009, 17:30
Mix view