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

cleaned up mesh exporter #56

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

Conversation

pollend
Copy link
Member

@pollend pollend commented Jun 17, 2018

I just cleaned up the exporter. removed the extra imports and simplified how exports works. The old export will try to split up every vertex into it's own quad. This rework will keep a quad together when producing the final output. This also adds an importer to import a shape into blender.

The basic testing procedure would be to open one of the sample blender shapes and use the output shape with Terasology and ensure the geometry generates correctly when loading a world.

Steps

procedure 1

  • open a blender shape
  • save shape
  • replace an existing shape in terasology and verify that everything loads correctly

procedure 2

  • load in a shape into an empty blender file
  • save shape back out
  • verify that the world loads with the saved shape from blender.

@Cervator
Copy link
Member

Nicely done :-) At first I thought this was about the 3d model export @kartikey0303 has worked on most recently, but this is the other one for block shapes. That also does mean I have no idea how to test it. What object did you try it on?

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.

2 participants