Skip to content

ryancollingwood/PyPanDOOM

Repository files navigation

PyPanDOOM

Export DOOM levels from WAD to .obj, then convert to .egg to view in the Panda3d engine.

To export levels to .obj and textures to PNG python export_level.py -o "export/" wad/DOOM2.wad or to export your own level based off of another wad (order matters!) python export_level.py -o "export/" "wad/DOOM2.wd,wad/TEST.wad"

To convert .obj level to .egg for Panda3d python obj2egg.py export/map01.obj

To fly around in MAP01 python map_viewer.py map01

Code lifted and hacked to death from:

TODO

Cleanup

export_level.py

  • Refactor and Document changes
  • Mostly around transparency and tile stamps

obj2egg.py

  • Refactor and Document changes
  • Collision mask hard-coded values :(

map_viewer.py

  • Make collision toggleable

Later

  • Some geometry wierdness in exporting to fix
  • Export and apply Lighting
  • Thing(s), player spawn point a priority

Releases

No releases published

Packages

No packages published