Advertisement

vertices for rotation

Started by July 12, 2018 09:07 PM
13 comments, last by MannyMoe 6ย years, 6ย months ago

For the top, negate the y column values then swap the y and z columns. (90 deg clockwise rotation on x axis)

For the right, negate the x column values then swap the x and z columns. (90 deg counterclockwise rotation on y axis)

๐Ÿ™‚๐Ÿ™‚๐Ÿ™‚๐Ÿ™‚๐Ÿ™‚<โ†The tone posse, ready for action.

fleabay:

ย  I don't exactly understand what you mean. If it is not too much trouble

could you convert my original vertices so I could see the result? I could

plug them into my program and see if they worked. Thanks again!

Have a great day!

Advertisement

For the top face verts, (a, b, c) becomes (a, c, -b)

For example, your last vert ( -1.0, -0.5, 1.0 )๏ปฟย  becomes ( -1.0, 1.0, 0.5 ) for the top face.

The y value of -0.5 was negated to 0.5 and swapped with the z value.

It doesn't matter which order you do it in, you could also swap y and z columns and then negate the resulting z. (for the top verts)

๐Ÿ™‚๐Ÿ™‚๐Ÿ™‚๐Ÿ™‚๐Ÿ™‚<โ†The tone posse, ready for action.

fleabay:

ย  Thanks so much for the information! You were exactly right! Work like a charm!

I am so happy to have this fixed. I spent 4 days off and on just on the right side

vertices without any luck at all. Is there a quick fix for the left and bottom? I have

them fixed now. I copied the right side to the left side and changed the signs for

the X vertices, but still had to change some others to make it look right. I copied

the TOP vertices to the Bottom and changed the Y vertices, but still had to change

some others. Glad you were available to help me on this! Have a great day!

Thanks again!!!!!!!

This topic is closed to new replies.

Advertisement