CU3ER - Transition Template: <transitions>

XML location & structure

<cu3er> <settings> <transitions /> </settings> </cu3er>

Overview

3D Transitions represent the core feature of CU3ER. They are powerful, visually appealing yet very easy to set up. You can define your transition template and then override it with custom settings for each transition, if needed.

By modifying the set-up this way you don't have to define each property over and over again, CU3ER allows you to alter all you need and at the same time includes the default attributes automatically.

The "Transition template" configures common slide transition properties for the individual transitions.

Let's take a quick look at what attributes are available for this image:

  • num - number of slices each transition consists of

  • slicing - direction of cube slicing - horizontal or vertical

  • direction - transition direction / cubes rotation direction - left, right, up, down

  • shader - transition shading type - none, flat, phong

  • light_position - if "shader" is set other than "none", use this attribute to define "x, y & z" light position for shading

  • cube_color - during transition, some other cube faces (beside your slide faces) will most likely become visible for a short period of time and you can define their colour here

  • z_multiplier - "z" offset enables a jo-jo effect of the cubes on the "z axis" during transition

  • duration - time for each sliced cube transition

  • delay - time each sliced cube will wait before starting transition. Please, note, "delay" is a cumulative value, which means it increases gradually as all preceding delays are added to the delay of the cube already displayed.

As you can see, this node is the very essence of CU3ER. By combining the attribute values, almost an endless number of possibilities for creating a unique cubed transition can be reached.

Please, pay close attention to this node and make sure you understand each of the attributes, it's all you need master CU3ER.

Example:

<!-- Altering 3 attributes - rest of them will have default values --> <transitions num="3" slicing="vertical" direction="down" />

XML Reference

Attribute Default Type description
num 1 number number of slices each transition consists of
slicing horizontal string direction of cube slicing - horizontal or vertical
direction left string transition direction / cubes rotation direction - left, right, up, down
duration 0.5 number time (needed) for each sliced cube transition (in seconds)
delay 0.1 number time each cube will wait before starting transition (in seconds)
shader none string transition shading type - none, flat, phong
light_position 0, 0, -100 numbers use this attribute to define "x, y & z" light position for shading (works only if shader is not set to "none")
cube_color 0x333333 hex number cube faces color
z_multiplier 2 number bezierTrough effect over "z" axis during transition