In some of my previous tutorials you have to see how I proceed to develop my montage themes. Some of you told me to have succeeded in reproducing these exercises, but have told me not to have fully understood the different stages.
Don't worry, it's just normal !
In this section we will detail the various basic functions of the programming language.
moving windows and groups in the screen . (in progress)
to run windows and window groups. (in progress)
choosing the displayed portion of a window. (in progress)
Shaping a window (in progress)
optimizing the source code of your montage theme when finished. (in progress)
These lessons were initially designed to help you to understand how to modify the parameters of "Keyframer" objects of my theme "template". To understand how to modify the structure of the theme "template", I invite you to read the lessons Guignol-film.fr which contents are not repeated here.
Downloading theme "template"
For our different exercises, I invite you to go back to my template file tutorial. Definitly, it's indeed much easier to start a montage theme program from a template that already exists, than trying to write one from a blank page.
Understanding the theme "template"
We'll go a bit more in detail into the structure of the theme "template" . As shown in figure beside, you may notice four main parts.
(1), it is the background part. The image is defined in Item No. 2. For flexibility, I set this object to be able to allow a choice of background image in a dropdown list. This list is defined in the object "Template" number 9.
The small key on the image beside (obtained using the analysis Tool available on guignol-film.fr that I invite you to visit and download ...) represents an action control object. These actions are defined in "Keyframer" objects. We will see how to use them in lesson number 2. Regarding the scene, I set the option to dynamically adjust the transparency. Again, we see how over the lessons.
(2), it is the first group of windows. This group has 6 windows numbered 110 to 160. This first group can be animated using a "Keyframer" object numbered 101. We will see below details about construction of each window.
As you note, the windows which contains the "drop zone 6" appears below the one containing the "drop zone 1". This trick allows to give the display priority to the drop zone drop zone 1 on 2, and so on.
(3), it is the second group of windows. They are numbered from 210 to 260. This second group also includes a "Keyframer" object to enable an overall animation control.
Unlike the first group, I programmed the objects starting from the one containing the drop zone 1, and ending with the drop zone 6. So, if these windows occupy the same location (X, Y, Z ), this will be the drop zone 6 which will be visible.
Finally, (4), we can see two text objects. Each of these is composed of a text and its shadow. These two objects are grouped in a set numbered 270 (and 280 for the second text), which can be animated using "Keyframer" number 271 (and 281 for the second text )
Focus on the structure of a window
Let's see how I organized each window of each the 2 groups.
First, each window has a "keyframer" object (numbered 165 for the 6th window of the 1st group) to control its visible part (cropping). I used this property in my tutorial creation of montage theme #146. We'll use more detail in a forthcoming lessons.
Then, the window can be animated by "Keyframer" object #164 to apply rotations in the 3 axes. The way I designed this theme "template", that object number #164 is reserved to rotate the window about its geometric center. To rotate the window around any other point, you must use the "keyframer" #161 as detailed below.
window is also influenced by "Keyframer" #290 . I programmed the theme "template" so that "Keyframer" #290 affects all the windows and text, to apply a transparency effect, for example to create an opening or ending transition.
Then you'll notice that the window is packaged in a container object (number 160). In this container object, I inserted the parameters "PivotX", "PivotY" and "PivotZ" which will control the center of rotation of an object.
This container object (number 160) is also controled by "Keyframer" number 161. This object can dynamically change the parameters of position, scale and rotation. So, to rotate a window around any point, define it using parameters "Pivot" in the container object, then apply rotations in this "Keyframer. It is of course possible to combine effects of rotations "Keyframer" numbers 161 and 164
Now you know everything about this theme "template", it's time to learn how to use it step by step !
Any comment about this page ?
Only registred users are allowed to post comments
You may also find interest into following tutorials ...