Skip to content

Conversation

@c08oprkiua
Copy link
Collaborator

This is a mesh/scene importer for the editor (not a driver) that uses the popular Assimp library as a backend. I'm mostly opening this now to get eyes on it, it's still actively WIP.

Current features:

  • (Some) options for configuring optimization flags for assimp
  • Can properly open/read files, does not save them (not implemented)
  • Links libassimp off of the user's installation; assimp must be installed.

Things to do:

  • Add file saving. Assimp would probably import things as scenes by default, with certain formats like obj being simple enough to simplify into singular mesh files. Also on that note...
  • More options, including:
    • Embed textures or save them as separate files in the output dir
    • Embed materials or save them as separate files in the output dir
  • Make sure the engine can compile properly without libassimp installed on the computer.

Possibly nice to have:

  • Before and after previews of the file being imported, to assess the effects of different option combinations before importing. This might be complicated to do, and on top of that, unoptimized meshes could potentially cause a huge performance hit on the menu, so this may be something that would be optional?
  • Using assimp to likewise export engine scenes/meshes to different formats.
  • Static-compiling assimp with the engine. This one is a tricky one, because SCons is not a build system supported by Assimp directly, so building it with the engine is going to be very tedious/tricky at best and imo is basically out of the question due to the ratio of task complexity vs. results. But it would be nice to have, since that would mean the user doesn't have to have it installed ahead of time.

@c08oprkiua
Copy link
Collaborator Author

Come to think of it, linking it may still be simpler for users because compiling assimp in itself has several dependencies.

@c08oprkiua
Copy link
Collaborator Author

This branch also seems to have somehow gotten mixed up with my texture viewer branch... Oops.

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