Jump to content

  • Log In with Google      Sign In   
  • Create Account






Various updates

Posted by Aardvajk, 30 January 2014 · 409 views

Various updates Working on a new character in the editor at the moment but still developing the editor as I go.

Most recent features include a Groups system that allows you to store and name groups of any selection (vertices, faces, joints) and reselect easily. I took the approach of using an autogenerated ID number and added a Group field to each item so I didn't have to modify existing group data when things were deleted. It also doesn't try to remove empty groups either, just renders the text grey italic when a group has nothing in it. A minor feature but quite useful.

I've also added a feature to Select all Unclosed Edges which is a bit badly named, but basically I was trying to import a model made in Charm into a game project I'm also working on that uses shadow volumes and the previous model was failing in the generateShadowVolume call because it had some edges that weren't shared by exactly two faces. This new feature in Charm selects the vertices that define any such edges, making it quite easy to check you have built a closed mesh.

Another minor addition is a Select Degenerate Faces option. I decided to not autoremove faces when they are made degenerate (most commonly by vertex snapping and welding) but leave them in place, but they of course you have no way to get hold of them. So now you can snap and weld away and when you're done you can just Select Degenerates and delete. I prefer leaving this stuff in the hands of the user really even though it creates extra steps. Eventually I'll have some kind of scripting and/or macro system so you can combine these operations into one if you wish.

The other thing I've done since last time is set up a system so that each joint can be optionally paired to another joint (this is autogenerated when you mirror a skeleton) then there is an option in Animation mode to Swap Joint Transforms. This is very handy for, for example, walk animations where you basically want to reverse the pose. You can now make a good walk animation by just setting up the first and middle frames, then duplicating the first into the correct places and swapping the transforms. Means you get an exact mirror when the legs are at opposite extremes of the animation as well, if you see what I mean.

It's lovely to have got to the point where this is now very usable, because whenever I find something tricky or repetitive I can just write a new feature to take care of it which is a big boost to my workflow. I'm learning a lot about how to make good low-poly models as I go as well. And having a basic game environment already set up to import the models into is good.

So now I need to get this or another basic model finished and rigged so I can start integrating animation into the game project I've started. Its just a room with some objects and basic GJK-based physics working for now along with stencil shadows. At the moment the player is a capsule but once I have a model to work with, I can start moving that forward as well.

Thanks for reading. If anyone wants to give this modeller a try, just let me know. Its not even in a beta state in terms of functionality yet but as long as you can live without texture support and import/export support (the two biggest missing features) its okay.




PARTNERS