Recent Posts

Pages: 1 ... 6 7 [8] 9 10
71
Support / Re: Asymmetrical Scaling
« Last post by AGP on June 28, 2018, 10:05:23 am »
The original object, blade (obj in the Glow class) is an ExtendedPrimitive. Glow itself is a copy of blade (new Object3D(obj, false)).
72
Support / Re: Asymmetrical Scaling
« Last post by EgonOlsen 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?
73
Support / Re: Asymmetrical Scaling
« Last post by AGP on June 27, 2018, 07:04:58 pm »
It would've been crazy if they weren't in the same place.

Quote
******Blade Bounds:
0.18368883, 0.22368883
-1.0867921, -0.08679211
0.9159291, 0.95592904
******

******Glow Bounds:
0.18368883, 0.22368883
-1.0867921, -0.08679211
0.9159291, 0.95592904
******
74
Support / Re: Asymmetrical Scaling
« Last post by EgonOlsen 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?
75
Support / Re: Asymmetrical Scaling
« Last post by AGP on June 27, 2018, 04:25:34 am »
Have a look at this. The further ahead I move Luke, the further up the glow goes. I've tried, unsuccessfully, rotating getTransformedCenter() of the blade, but it's still wrong.

https://www.dropbox.com/s/ouy2edwxaaxuyfr/TheFurtherAheadTheFurtherUp.webm?dl=0
77
Support / Re: Asymmetrical Scaling
« Last post by EgonOlsen 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.
78
Support / Re: Asymmetrical Scaling
« Last post by AGP on June 26, 2018, 09:21:29 am »
No, that was my failed attempt to solve the problem. It doesn't work with or without it.
79
Support / Re: Asymmetrical Scaling
« Last post by EgonOlsen 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.
80
Support / Re: Asymmetrical Scaling
« Last post by AGP on June 25, 2018, 08:32:46 pm »
This is what I get:

Quote
Glow before build(): (0.20492004,0.06320784,0.28592888)
Glow after build(): (0.20492004,0.06320784,0.28592888)
Glow after translation: (0.31077987,0.6419327,1.6769919) blade: (0.31077987,0.6419327,1.6769919)
Pages: 1 ... 6 7 [8] 9 10