http://stonehearth.net/2014/01/21/desktop-tuesday-making-your-own-models-with-qubicle-constructor/
Love this Desktop Tuesday, I hope that people wonāt be hating on the stonehearth version of qubicle not beeing capable of animating models.
Somebody should write something that allows you to build stuff in Minecraft and then export it as qb. Thatās a graphics program I could use, I suppose.
Linking this game to Minecraft in as many ways as possible can only help! Someone do this now.
I dont think that would work to well also if people need to animate theirs always blender
Nice, so we will see the production-chain for the weaver in the game (based on the sheep). I think I am most curious how the updated API will work out⦠which should also come, even if it is not mentioned here, right?
I would take the elusive ālikeā as relative confirmation.
If it doesnāt, weāll just make our own. With gambling and attractive ladies.
edit: hmmā¦
Wild-life: sheep, rabbits, and more
As I donāt have most forms of internet monies, I would love if when Stonehearth has its own steam page, that qubicle is a DLC to purchase as the stonehearth form, so people who play stonehearth could more easily get it.
@claymanr
Minddesk is trying to get qubicle on steam. [quote=āGhost, post:2, topic:5047, full:trueā]
Love this Desktop Tuesday, I hope that people wonāt be hating on the stonehearth version of qubicle not beeing capable of animating models.
[/quote]
Technically you can animate models. Just not the āeasyā way (not that blender way is easy ). You can change the numbers in the json files that contain the positions of model-parts at certain times.
For example I changed the rotating doors into sliding doors by changing just numbers.
"type": "animation",
"frames": [
{
"root": {
"pos": [0,0,0],
"rot": [1.0,0.0,0.0,0.0]
},
"frame": {
"pos": [0,-5.5,0],
"rot": [1.0,0.0,0.0,0.0]
},
"rightDoor": {
"pos": [-16,0,10],
"rot": [1.0,0.0,0.0,0.0]
},
"leftDoor": {
"pos": [16,0,10],
"rot": [1.0,0.0,0.0,0.0]
}
},
{
"root": {
"pos": [0,0,0],
"rot": [1.0,0.0,0.0,0.0]
},
"frame": {
"pos": [0,-5.5,0],
"rot": [1.0,0.0,0.0,0.0]
},
"rightDoor": {
"pos": [-16,0,10],
"rot": [0.999922,0.0,0.0,0.0124735]
},
"leftDoor": {
"pos": [16,0,10],
"rot": [0.999923,0.0,0.0,-0.0123897]
into:
{
"type": "animation",
"frames": [
{
"root": {
"pos": [0,0,0],
"rot": [1.0,0.0,0.0,0.0]
},
"frame": {
"pos": [0,-5.5,0],
"rot": [1.0,0.0,0.0,0.0]
},
"rightDoor": {
"pos": [-16,0,10],
"rot": [1.0,0.0,0.0,0.0]
},
"leftDoor": {
"pos": [16,0,10],
"rot": [1.0,0.0,0.0,0.0]
}
},
{
"root": {
"pos": [0,0,0],
"rot": [1.0,0.0,0.0,0.0]
},
"frame": {
"pos": [0,-5.5,0],
"rot": [1.0,0.0,0.0,0.0]
},
"rightDoor": {
"pos": [-17,0,10],
"rot": [1.0,0.0,0.0,0.0]
},
"leftDoor": {
"pos": [17,0,10],
"rot": [1.0,0.0,0.0,0.0]
With a lot more frames following
So rotation stays 1 and position changes from 16 all the way to 32 over the course of the frames.
You can do the same for a human for example. It is just a lot harder as you need some good visual imagination.
sweet. And I hope that post-release radiant either gets a cheaper version of a good animating software to sell for stonehearth use, or make their own that only animates stonehearth qubicle models
Would be a waste of time in my eyes as Blender is free, available and works perfectly fine with Stonehearth (if you use this Add-On):
@Miturion manually editing the animation files is quite hardcore . Try to do it next with an animation of the human model
.
Yes, it is pretty hardcore, but not that hard for simple animations.
Animating a human from scratch is ultra hardcore.
But changing them a bit is not that difficult. For example make their head bounce more or swing arms less. Or you can copy existing animation frames and copy them over.
Hm⦠are you assuming or have you already tried it? Because from what I understand the rotation is stored as Quaternion, which is not that easy to ācalculateā⦠at least for people like me .
@Miturion Hahah well guess you can do everything with a ābitā of coding!
P.s. canāt wait for the update either!
I did not do rotations yet, only position. But yes it is not easy to calculate. But trial and error is possible.
oo with the help of this:
http://www.onlineconversion.com/quaternions.htm
a quaternion is a complex number with w as the real part and x, y, z as imaginary parts.
If a quaternion represents a rotation then w = cos(theta / 2), where theta is the rotation angle around the axis of the quaternion.
The axis v(v1, v2, v3) of a rotation is encoded in a quaternion: x = v1 * sin (theta / 2), y = v2 * sin (theta / 2), z = v3 * sin (theta / 2).
If w is 1 then the quaternion defines 0 rotation angle around an undefined axis v = (0,0,0).
If w is 0 the quaternion defines a half circle rotation since theta then could be +/- pi.
If w is -1 the quaternion defines +/-2pi rotation angle around an undefined axis v = (0,0,0).
A quater circle rotation around a single axis causes w to be +/- 0.5 and x/y/z to be +/- 0.5.
Congratulations. You successfully distracted me from what I was supposed to be doing by conning me into learning about quaternions. At least Iām pretty sure I get how they work now, Iām still unsure as to how they get a point of reference for the rotation around the axis but thatās it. Easier than it looked once I figured out what it was representing, then it was just fairly basic stuff for the basics. Havenāt looked much into manipulation though but eh.
See, I am far to lazy to even try to understand them . The good thing is that tools like Blender do offer you a function to translate the rotation into Quaternions⦠so this or that way, no need to know the details for me.
I quite like maths myself, the gifted thing probably helps. I can still get confused by advanced things though, like the quaternions. The cyclic non-commutative hyper dimensional imaginary multiplication threw me for a little bit, still donāt get the point of it though as I havenāt found where itās applied. Probably in transforming them somewhere.
Isnāt jargon fun? You actually get to use a phrase like cyclic non-commutative hyper dimensional imaginary multiplication and not have it be completely meaningless, overly wordy and disheartening for sure but at least itās still technically correct.