Guide: "From a picture to an animation"

Welcome @Gubgub45, I am not a coder and am just interested at the moment in everything which can help me creating mods for Stonehearth, i.e. Lua, JavaScript, Qubicle and Animations. I am not writing own games and if I would want to, probably would use an engine like Unity (as my coding skills are at least rusted).

I would be astonished if you are able to simply load a .qmo-file in C#. Qubicle is using a proprietary file format and did not disclose its details, so where should C# know from, what to do with the file? The easiest way might be to export your model into someonething more common like an .obj-file and look for a guide on how to access .obj-files in C#.

Someone who might be a better fit for deeper discussions on this topic is @FinKone. Maybe drop him a PM or leave a short message in the thread related to his game.

Sorry that I am not able to help you too much with this.

Thanks voxel_pirate. I like the hobby game that he has produced, not going to lie it is pretty smooth considering it is a hobby project. I will ask him if he could give some advice or pointers.

And yeah, my main problem was trying to get the qubicle files to work through my game for a majority of the time. After a while I just sort of gave up (which Iā€™m not proud of, donā€™t get me wrong). The internet could not help me with that, which is why I turned to the forums and youā€™re name popped up quite a lot!

I may need to watch your videos a little more at length, or more closely because I think my problem with the .fbx files is rigging the models up properly and then when imported through the game world, they appear distorted and are either missing major pieces, or facing different ways from when they are first animated.

Do you mind me talking to you here or there and asking for advice on rigging or animations?

Feel free to ask any question you might have. There are some other people in this forum, who might also help you with that. .

Itā€™s good to know other ways to make animations. I see a big advantage with the method shown in your last video, and it is that is way simpler and fast. And it lets you see the model clean.

The method with armature is slow, as you said, and I donā€™t like to see the bones when I want to check the pose (even without x-ray, sometimes there is a tail of a bone standing out somewhere). Also I donā€™t like the way the fingers bend, with the deformation =/
Sometimes Iā€™d want to separate more the arm from the body, and with the constraints it gets difficult.

But, at least, with this method, I can create a pose library, and thatā€™s the best advantage, as I can create and save poses there, and later load them into keyframes, modifying only the body parts I want, so I can even combine some poses.

So Iā€™m going to go for that method unless I make something very simple.

1 Like

@Relyss I do not know yet which way I prefer, to be honest. I agree that rigging takes a bit. However, things like the deformation of fingers, etc. can be easily overcome also with this method (just split it into two matrices as I did with the model in Video 5). Also it is possible to turn off the bones, so you do not see them anymore.

What I like on the rigging-method is that you can create some constraints for bones, i.e. allow the shoulder to only move along the Z-axis. With some work, you can create a skeleton which reflects the movement-limitations a real body has and once this work is done, the animation-process could be much easier.

At the moment I think that rigging makes sense especially for complex projects, where you want to include a lot of (longer) animations. For shorter animations (or if you have some different sizes of models where each would require an own skeleton), probably the second approach would be more productive. Somehow I also have the feeling that the second approach might be more suitable for people who have already some experience, as I find it more difficult to move the body parts to the place I would like them to be.

1 Like

@voxel_pirate This is probably my favorite thread in the forums, thanks so much for putting this together! I had used the free edition of Qubicle but I was utterly discouraged about animation, Iā€™ve never had luck with it before in Blender.

This tutorial really closes the gap of animation that I had trouble with. Iā€™m now pretty confident that I can create something in Qubicle and animate it up and (having just finished those Twitch TV streams on modding) eventually implant it into the game. I think I can actually accomplish this. Upgraded to home edition yesterday!

2 Likes

Good to hear how people are finding the guide, Iā€™m sure @voxel_pirate will be happy for the compliments!

I think Iā€™ll go and pin this, as it does seem very helpful!

Of course @Geoffers747 ā€¦ thatā€™s the nicest comment someone can make at all, as it is exactly why I have put those videos together. So looking forward to see your creations @Roughshod and thanks :wink:.

P.S.: Need to negotiate a sales plan with Tim if this happens more often :smiling_imp:.

P.P.S.: Just added also an Agenda to the initial post, to make it more readable (forgot it somehow so far).

1 Like

So now I have watched the anitmating video I can say its very good. Saves me a lot of trial and error pains for sure.

Just want to say Voxel_Pirate, that this is a really good thread and you for this resource to inspiring modders and qubeaddicts

2 Likes

I donā€™t know if this has been asked already as I have not gone through the whole thread or if I missed this in one of your videos but I canā€™t seem to render the animation in color even if the alt z mode is turned on.

Do you use the ā€œBlender Renderā€ or another one (you can chose between different ones in Blender)? Are your objects white like without textures or just very pale?

I use Blender Render but went back and tried all options still no color and white like without textures after rendering

Do you have a lamp in place, like a ā€œSunā€ or ā€œSpotā€? Thatā€™s my most common error, as in this case the result of your render will turn out black or white.

Yep I have a sun in place

What a pity :wink:. And I guess the sun is lighten your object as you want it (you can adjust the sun-rays via the ā€œRā€-key).

If you take a look on the ā€œMaterialā€-settings, select the ā€œsurfaceā€-tab and set ā€œdiffuseā€ to 1 and ā€œspecularā€ to 0ā€¦ does this help?

Ah thanks voxel_pirate changing the material settings like you said worked

1 Like

I am having the same problem with renders not having colour or being too bright though I cant find the material settings you mentioned anywhere could you point me in the right direction as to where this is, as it will most likely solve the problem for me to.

@The_M Sure. Just load your object and select it while you are in ā€œObject Modeā€. Now you should see an additional setting on the right side called ā€œMaterialā€ (which is not visible if you do not select an object). E.g. in the following screen I have selected the head and you can see the settings on the right side of the screenshot:

2 Likes

Iā€™ve checked and all of my settings are the exact same as yours at first I thought this might be an issue with the lighting but without a light source its still the same and with one its even worse. Here is an example of what I get when I try to render.

This is actually the best I have managed to get so far by editing almost all the settings that seem to make a difference.