## 3D Cubes technique

1 post
• Page

**1**of**1**### 3D Cubes technique

A few weeks ago, I have posted a demo introducing 3D cubes.

Today, here is something more efficient to calculate coordinates of the faces of a cube rotating in space.

It's based on a couple of Excel sheets to calculate each coordinate of the faces according to their initial position, to the output format and the zoom value.

This creation is based on the changes of the Pan X and Y coordinates while a cube is rotating in space. It takes in account the output format and the zoom value. The Excel file is freely downloadable on my server with this link.

http://jeeep.breizhbleu.com/download/Calcul_Cube-en.zip

Here are some explanations on how to use these sheets.

Faces positions sheet

It gives the values for keyframes 1 & 2 for each face of a cube, it gives also the order of the layers . Here, KF 1 has always value 0 for Pan X and Y.

According to output format (16:9, 4:3, 3:2, …) and zoom value (then according to the size of the cube) KF 2 has different values for Pan X and Y.

Cube sheet

This is where the cube rotates in the center of the screen

Choose the format, choose the zoom value, this will give the size of the cube.

First case : the cube is in the center of the screen (0 x 0).

D18 and D20 are Pan X and Y, KF 1.

N18 and N20 are Pan X and Y, KF 2.

D18 and D20 have the same value : 0 (center of ProShow screen)

In N18 and N20 we get the Pan X and Y values of KF 2 in order that the cube rotates in the center of the screen.

Second case : the cube is NOT in the center of the screen.

In D18 and D20 enter the Pan X and Y values. They will be the position of cube on the screen.

In N18 et N20 we get the Pan X and Y values of KF 2 in order that the cube rotates but NOT in the center of the screen.

Third case : the cube is in the center of the screen (0 x 0) but do not rotate at this point.

In ProShow enter the Pan X and Y values of KF 2. Faces CBA will follow the move from KF 1 to KF 2.

In E25 and L25 enter the Pan X and Y of KF 2 of previous faces (CBA if you are in EDB faces, or EDB if you are in FAD faces.

In E27 and L27 we get the values we have to enter in KF 1 of EDB, or FAD for KF 2.

If you want another move, enter values in KF 2.

If you want that the cube rotates on the spot, then in D18 and D20 enter Pan X and Y values of KF 1 and you will get in N18 and N20, Pan X and Y values of KF 2. This will make the cube rotates on the spot.

Do the same for the next faces according to the desired effect.

This seems a little complicated but 3D moves are complicated !! If you follow the computed results, you should have wonderful cubes rotating on the screen.

Do not forget that :

- all your images should be in a square format

- the moves must be in linear mode

- you may create several cubes on one slide by duplicating the layers where they are located then changing their Pan X or/and Y coordinates.

If you find some errors, don't hesitate to send me a mail or a PM

Have fun with 3D cubes.

Jean-Pierre

Today, here is something more efficient to calculate coordinates of the faces of a cube rotating in space.

It's based on a couple of Excel sheets to calculate each coordinate of the faces according to their initial position, to the output format and the zoom value.

This creation is based on the changes of the Pan X and Y coordinates while a cube is rotating in space. It takes in account the output format and the zoom value. The Excel file is freely downloadable on my server with this link.

http://jeeep.breizhbleu.com/download/Calcul_Cube-en.zip

Here are some explanations on how to use these sheets.

Faces positions sheet

It gives the values for keyframes 1 & 2 for each face of a cube, it gives also the order of the layers . Here, KF 1 has always value 0 for Pan X and Y.

According to output format (16:9, 4:3, 3:2, …) and zoom value (then according to the size of the cube) KF 2 has different values for Pan X and Y.

Cube sheet

This is where the cube rotates in the center of the screen

Choose the format, choose the zoom value, this will give the size of the cube.

First case : the cube is in the center of the screen (0 x 0).

D18 and D20 are Pan X and Y, KF 1.

N18 and N20 are Pan X and Y, KF 2.

D18 and D20 have the same value : 0 (center of ProShow screen)

In N18 and N20 we get the Pan X and Y values of KF 2 in order that the cube rotates in the center of the screen.

Second case : the cube is NOT in the center of the screen.

In D18 and D20 enter the Pan X and Y values. They will be the position of cube on the screen.

In N18 et N20 we get the Pan X and Y values of KF 2 in order that the cube rotates but NOT in the center of the screen.

Third case : the cube is in the center of the screen (0 x 0) but do not rotate at this point.

In ProShow enter the Pan X and Y values of KF 2. Faces CBA will follow the move from KF 1 to KF 2.

In E25 and L25 enter the Pan X and Y of KF 2 of previous faces (CBA if you are in EDB faces, or EDB if you are in FAD faces.

In E27 and L27 we get the values we have to enter in KF 1 of EDB, or FAD for KF 2.

If you want another move, enter values in KF 2.

If you want that the cube rotates on the spot, then in D18 and D20 enter Pan X and Y values of KF 1 and you will get in N18 and N20, Pan X and Y values of KF 2. This will make the cube rotates on the spot.

Do the same for the next faces according to the desired effect.

This seems a little complicated but 3D moves are complicated !! If you follow the computed results, you should have wonderful cubes rotating on the screen.

Do not forget that :

- all your images should be in a square format

- the moves must be in linear mode

- you may create several cubes on one slide by duplicating the layers where they are located then changing their Pan X or/and Y coordinates.

If you find some errors, don't hesitate to send me a mail or a PM

Have fun with 3D cubes.

Jean-Pierre

My website

Processor: Intel Quad core 2.33 Ghz - RAM: 4 Gb - Windows 7 64 bits - Video: Nvidia 9600GT 1 Gb- Camera : Canon 5D Mark II + 24-105 + 100-400 - Sharing : jean_pierre

Processor: Intel Quad core 2.33 Ghz - RAM: 4 Gb - Windows 7 64 bits - Video: Nvidia 9600GT 1 Gb- Camera : Canon 5D Mark II + 24-105 + 100-400 - Sharing : jean_pierre

1 post
• Page

**1**of**1**### Who is online

Users browsing this forum: No registered users and 1 guest