Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - EgonOlsen

Pages: 1 [2] 3 4 ... 796
16
Support / Re: Float Positioning Blit Images
« 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.

17
Support / Re: Billboarding Y-Axis fixed Sprite
« 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?

18
Support / Re: Asymmetrical Scaling
« 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.

19
Support / Re: Asymmetrical Scaling
« on: July 04, 2018, 10:24:33 am »
Not the transformed center, just the center.

20
Support / Re: Asymmetrical Scaling
« on: July 03, 2018, 06:25:03 pm »
Maybe because your calculations assume that the center is at the origin? I would try this: Take the vertex, translate it by the negated center, scale it and translate it back by the center.

21
Support / Re: Asymmetrical Scaling
« on: July 02, 2018, 07:44:16 pm »
Ok...so it works without that vertex manipulation but with it (to make the glower larger), it doesn't in some way. Is that the problem? I somehow lost track here...

22
Support / Re: Asymmetrical Scaling
« on: June 30, 2018, 04:38:59 pm »
I'm not sure, if I understand...if the glow is a child of the saber...then why doesn't it follow it properly?

23
Support / Re: Asymmetrical Scaling
« on: June 28, 2018, 11:25:45 pm »
What happens if you call clearRotation() and clearTranslation() on the glow object?

24
Support / Re: Asymmetrical Scaling
« on: June 28, 2018, 01:06:26 pm »
I really don't know then. In this screen shot, which object is the child of which?

25
Support / Re: Asymmetrical Scaling
« on: June 28, 2018, 09:10:12 am »
Soo...the bounding boxes are in the same location, the transformed center is...yet the visual outcome doesn't match!? I'm not sure what's wrong here. Have you tried to replace these objects by some primitives just to see if it's really not something with the objects themselves?

26
Support / Re: Asymmetrical Scaling
« on: June 27, 2018, 12:55:37 pm »
Maybe the location of the glow in object space is off? What are the bouding box values for the glow and the blade?

27
Support / Re: Asymmetrical Scaling
« on: June 26, 2018, 10:29:19 am »
Do you have a screen shot? Looking at the log output, it's pretty hard for me to imagine the actual problem.

28
Support / Re: Asymmetrical Scaling
« on: June 26, 2018, 09:04:23 am »
Looking at your code snippet again, I noticed that you set the glow's rotation matrix to the one of the object. I'm not sure if that's a good idea, because it sets the exact some instance. I might be better to make one the child of the other or do a cloneMatrix() on that rotation matrix before setting it. Maybe that helps.

29
Support / Re: Asymmetrical Scaling
« on: June 25, 2018, 08:38:12 am »
Have you checked which vealue you are actually getting from getTransformedcenter() before and after doing the additional translation. Something has to be there.

30
Support / Re: Asymmetrical Scaling
« on: June 24, 2018, 04:52:18 pm »
Maybe because the transformation as a whole is different (some additional rotation involved)? Try to offset the glow by a scaled version of the results from get?Axis() instead.

Pages: 1 [2] 3 4 ... 796