Recent Posts

Pages: 1 ... 3 4 [5] 6 7 ... 10
41
Support / Re: Float Positioning Blit Images
« Last post by Jamiro on July 09, 2018, 11:58:33 pm »
Sure, no worries, take your time
42
Support / Re: Float Positioning Blit Images
« Last post by EgonOlsen on July 09, 2018, 11:52:46 pm »
Sorry, seems like I've forgot about it. I remember looking at it, but I can't remember the outcome. I'm on holidays ATM, but I'll look at it again once I'm back.
43
Support / Re: Float Positioning Blit Images
« Last post by Jamiro on July 09, 2018, 07:13:20 pm »
Hello, any news about this possibility to add a decimal coordinate system for blitting?

thanks
44
Bones / Re: getBindPose() is Late
« Last post by AGP on July 08, 2018, 11:39:19 pm »
My next best attempt was this (but it doesn't look quite right):

Code: [Select]
weapon.getRotationMatrix().interpolate(weapon.getRotationMatrix(), skeletonPose.getLocal(rightHandIndex), 1f);
weapon.getRotationMatrix().matMul(model.get(0).getWorldTransformation());
45
Support / Re: Billboarding Y-Axis fixed Sprite
« Last post by Jamiro on July 08, 2018, 06:31:26 pm »
In that case wont I stil have the tilting of the relative Y axix of the object? I don't understand much about matrices but can I just  set a value to a fixed zero or 1 to always make it steady on its relative Y axis?

and also, is there even a name for this? os some concept for this type of billboarding that I can look for?
46
Support / Re: Billboarding Y-Axis fixed Sprite
« Last post by EgonOlsen on July 08, 2018, 06:09:22 pm »
Maybe you can take the normal billboard matrix and apply a rotation around the object's x axis to that matrix in a second step?
47
Support / Billboarding Y-Axis fixed Sprite
« Last post by Jamiro on July 08, 2018, 03:56:57 pm »
Hello,

I know we can change the billboarding matrix of an object, I tried to play around with this but without success, so my question is:

How can I make a matrix to simulate a billboarding effect while keeping its vertical axis fixed, as the example bellow shows in the first case?



can anyone give me an example of what this matrix should be to have the desired effect?

Thanks
48
Bones / getBindPose() is Late
« Last post by AGP on July 07, 2018, 08:32:52 pm »
Can I forcefully update it in order to have an item keep up with my character's hand?
49
Support / Re: Asymmetrical Scaling
« Last post by EgonOlsen on July 05, 2018, 09:59:07 pm »
Not sure. I think it's created with the origin as the base line, not the center.
50
Support / Re: Asymmetrical Scaling
« Last post by AGP on July 05, 2018, 08:50:40 pm »
That works, thank you. But it begs the question: why would an Extended Primitives cylinder object space not be at the origin?
Pages: 1 ... 3 4 [5] 6 7 ... 10