Nice that you got 3D animation working. Is it possible to have custom shaders with the animated model? What format of animation did you use? As far as I know mixamo gives you FBX models and animations right?
Yes, in my old XNA engine, I have a custom shader for skinned mesh’s, they supported both skinned instancing and deferred lighting, and I intend to create the same thing within my new MG engine.
Mixamo you can donwload the FBX mesh (T model pose), FBX mesh with skin. I am going to set up my processor so that I can have it extract just the animation data from the fbx, I can then build a set of animation clips that can be put into a blend tree.
The animation code is based on the old XNA Skinned mesh example, so I guess it’s keyframe animation.
I am hoping to do my post on the engine components, cameras and material system this weekend, got the post all written up, just needs me to spell check it and record the video bit showing off what we can now do with the engine
Recorded and posted my 6 tutorial post on writing a game engine withe MonoGame. This is probably the biggest post so far with a short video showing the final render.
Hope you find it useful.
Still not perfect, but I think I am getting animation blending working in my game engine written with MonoGame
Going from “Idle” to “Walking” then “Running” and back to “Idle”
As ever, the forum won’t let me post the gif, so here is a tweet I did with it in.
Now we have some framework in place in my engine, it’s time to look at 2D, once in place, we can look at UI. This image uses same 2 cameras in the 3D scene, but with basic 2D elements.
If your’e into game engine dev, check my Patreon page here
A bit of progress this lunch with the 2D elements of my engine written with MonoGame.
Left camera attached to the sprite, right camera is static. Ship and it’s text is rendered with the cameras screen space matrix, the info text is rendered with the cameras overlay matrix.
Alas, you will need to see the gif on my twitter feed to see it in action.
Sprite animation and render is well under way now, lost to tidy up yet for the MonoGame engine Patreon post, but getting there. Created a key frame system similar to the skinned mesh animator. Might add to the extended content pipeline to import sprite sheet animations. You could have multiple animation clips for multiple sprites too.
Have a look at the twitter post I did with a gif showing the animation.
Just opened up a Patreon tutorial post on a refraction shadre to the public, if you like it and find it useful, then feel free to become a patron to get more of this sort of thing
Check it out here.
Now working on the next engine post regarding the basics of SpriteBatch rendering.
Finally got around to posting the 7th post on my Engine written with MonoGame, this post covers the 2D basics I have created, 4 ways to render our sprites as well as sprite sheet keyframe animation.
Patrons can check it out here.
If your not a Patron yet, but would like to be, or you would like to support my development efforts, then you can sign up here.
Another Patreon post regarding the engien I am writing in MonoGame, this post coveres the audio manager.
Check it out here.