Rotating the cube by euler engles, carries the other axes together. Flávio San Flávio Posts: 24 Threads: 8 Joined: Nov 2015   30 Nov 2015, 16:18 (This post was last modified: 24 Mar 2017, 16:59 by Flávio San.) I wrote the code to finish my Cube program. The idea from last week was to make the cube spin transition from one direction to another without the cube lose alignment with the camera. I had to rewrite the whole program because of the rotation Delta novelty, then using the Spacebar you can change by 4 types of rotation. The only problem that still remains is in the rotation Delta, but I do not think it has solution. In my program, the rotational method, "Delta & Merge" the cube make the transition from one direction to another, merging (it turns both axis X and Y at same tick), but what happens is that the cube finish the transition "Delta & Merge" not perfectly aligned to the camera. I do not know exactly what happens, only that using the rotation with absolute angles "Not Delta & Merge" the cube is always aligned to the camera, despite the previus problem of the axis. Finally this is it! I go to another project now, and it was a pleasure to receive your help! My Cube program is attached. Best Regards! (30 Nov 2015, 12:09)Ketschak Wrote: Hi Flávio, It looks like you would carry the axis but in fact it is the order of transformations that is the important ... ... Best regard, Ketschak Attached Files   v4.zip (Size: 2.83 KB / Downloads: 1)   v4_cube_studies.zip (Size: 3.08 KB / Downloads: 0) ✠ nnDnn ✠ The peace of Christ! ✠ nnDnn ✠ « Next Oldest | Next Newest »

 Messages In This Thread Rotating the cube by euler engles, carries the other axes together. - by Flávio San - 23 Nov 2015, 6:04 RE: Rotating the cube axis and not changing the cube angle - by Ketschak - 23 Nov 2015, 8:39 RE: Rotating the cube axis and not changing the cube angle - by Ketschak - 23 Nov 2015, 12:26 RE: Rotating the cube axis and not changing the cube angle - by Flávio San - 23 Nov 2015, 17:46 RE: Rotating the cube axis and not changing the cube angle - by Flávio San - 23 Nov 2015, 18:41 RE: Rotating the cube axis and not changing the cube angle - by Ketschak - 23 Nov 2015, 19:33 RE: Rotating the cube axis and not changing the cube angle - by Flávio San - 23 Nov 2015, 20:01 RE: Rotating the cube axis and not changing the cube angle - by Flávio San - 23 Nov 2015, 20:41 RE: Rotating the cube axis and not changing the cube angle - by Ketschak - 23 Nov 2015, 21:30 RE: Rotating the cube axis and not changing the cube angle - by Flávio San - 23 Nov 2015, 21:37 RE: Rotating the cube axis and not changing the cube angle - by Flávio San - 24 Nov 2015, 1:18 RE: Rotating the cube axis and not changing the cube angle - by Ketschak - 25 Nov 2015, 15:34 RE: Rotating the cube axis and not changing the cube angle - by Flávio San - 25 Nov 2015, 16:32 RE: Rotating the cube axis and not changing the cube angle - by Ketschak - 25 Nov 2015, 19:17 RE: Rotating the cube axis and not changing the cube angle - by Flávio San - 25 Nov 2015, 19:36 RE: Rotating the cube axis and not changing the cube angle - by Ketschak - 25 Nov 2015, 20:48 RE: Rotating the cube axis and not changing the cube angle - by Flávio San - 25 Nov 2015, 23:19 RE: Rotating the cube axis and not changing the cube angle - by Flávio San - 27 Nov 2015, 17:28 RE: Rotating the cube axis and not changing the cube angle - by Ketschak - 30 Nov 2015, 12:09 RE: Rotating the cube axis and not changing the cube angle - by Flávio San - 30 Nov 2015, 16:18

Forum Jump:

Copyright © 2011-2018 Spraylight GmbH.