Ebiten: Port DOOM as experimental

Created on 22 Jun 2019  路  11Comments  路  Source: hajimehoshi/ebiten

https://github.com/chocolate-doom/chocolate-doom

Note that the license would be GPL.

help-wanted

Most helpful comment

Here are some links to some information about DOOM and its renderer;

All 11 comments

Here are some links to some information about DOOM and its renderer;

As DOOM requires 3D polygons, DOOM might not be a good example to port to Ebiten :thinking:

As DOOM requires 3D polygons, DOOM might not be a good example to port to Ebiten thinking

Is that true? I am fairly sure classic DOOM actually predates 3D acceleration in video cards. I believe it was all done in software.

Well, 3D rendering without hardware can be possible, but this works only with ReplacePixels in Ebiten. I'm not sure this would be a good example of Ebiten.

Perhaps a Wolfenstein 3D-style raycaster would be better?

In Ebiten, the raycaster result would be rendered via ReplacePixels.

@darkerbit Maybe something along the lines of this little experiment I did a while back:

Ebiten port compiled to WebAssembly: https://peter.tilde.team/ebiten-gfx-raycaster/

Source code is available as a gist and is a port of a raycaster experiment I did for the Pixel package.

https://github.com/hajimehoshi/ebiten/issues/411 Homography transformation might help to implement DOOM. (Originally, the original DOOM used similar technique to draw sprites, but is that correct?)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

silbinarywolf picture silbinarywolf  路  4Comments

ilyar picture ilyar  路  3Comments

hajimehoshi picture hajimehoshi  路  7Comments

hajimehoshi picture hajimehoshi  路  3Comments

QiProject picture QiProject  路  4Comments