-
Notifications
You must be signed in to change notification settings - Fork 29
Support exporting animation frames and scenery to OBJ with textures (ported to deprecated branch) #178
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
base: deprecate
Are you sure you want to change the base?
Conversation
Signed-off-by: Alexis Maiquez Murcia <almamu@almamu.com>
Added OBJ export to normal scenery entries Signed-off-by: Alexis Maiquez Murcia <almamu@almamu.com>
Signed-off-by: Alexis Maiquez Murcia <almamu@almamu.com>
Signed-off-by: Alexis Maiquez Murcia <almamu@almamu.com>
Signed-off-by: Alexis Maiquez Murcia <almamu@almamu.com>
Signed-off-by: Alexis Maiquez Murcia <almamu@almamu.com>
Signed-off-by: Alexis Maiquez Murcia <almamu@almamu.com>
Signed-off-by: Alexis Maiquez Murcia <almamu@almamu.com>
Signed-off-by: Alexis Maiquez Murcia <almamu@almamu.com>
Signed-off-by: Alexis Maiquez Murcia <almamu@almamu.com>
This enabled 3D software with scripting capabilities (like blender) to display textures properly Signed-off-by: Alexis Maiquez Murcia <almamu@almamu.com>
Frame export should keep filename length the same regardless of the amount of frames Added eid to texture export to prevent textures being overriden when they were indeed different Signed-off-by: Alexis Maiquez Murcia <almamu@almamu.com>
|
Why not also have option to export directly to a .blend or .fbx for import in Blender 3.6 LTS or above? For those who want to skip the .obj step and jump straight into the blender step. |
.obj is easier to work with and easier to understand (for example, making a plugin to take the CrashEdit export, import into Unity and use the animations right as they are from the export is trivial, without the need of complex operations or adjustments). Not to mention that regardless of where you export the model to, you'll need to do some manual processing on the model for it to look right. |
|
Firstly @Almamu this is really cool - I like that you've managed to fix up the camera controls in the preview too I couldn't find any working builds of this fork - there is a dropbox link but it seems to be restricted. If anyone else comes across this, this was how I built it locally (as someone with zero .NET knowledge). Assuming you already have the .NET SDK installed (v8+)
The debug build is a bit interesting, seems to have a couple of UI bugs, but that's probably something wrong with my setup. |
This PR adds the following featurers
Once the OBJ is exported it can be imported in any 3D software. Due to the OBJ format being a bit lacking, there's some minor adjustements that need to happen once imported into your 3D tool of choice. I'd recommend using blender and this script to get the best results possible:
The script will update all the materials in use and create the proper Color Attribute and color mixing required for everything to display properly.
Things left to consider this PR completed: