Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds wad2obj demo script #36

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ssteinbach
Copy link

  • Adds an updated (I think) wad2obj.py script to the demos directory
  • wad2obj originally written by @jminor for an older version of the omg library
  • This turns .wad files into .obj files. Its supposed to write .mtl files as well to get texture information over (and @jminor had posted screenshots on twitter showing it working years ago), but it seems as though on my test wad omg found no .flats
  • ...so this version has some extra guards that prevents trying to write textures when none are found

Screen Shot 2021-02-21 at 10 17 54 AM

Co-authored-by: Josh Minor [email protected]

- Geometry will now still be read and put into the .obj, but it seems
  that the texture reading stuff isn't working -- but in the core omg
  library.  Specifically the `.flats` field is missing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant