Understanding Positions
From FFC & FPP Wiki
Understanding Positions in Flashificator and Flash Panorama Player
| |||
|
1 - Introduction to Hotspots - Spot and Box The Hotspots plugin has five types of objects: global, pano, spot, box and external. These objects can load external images (jpg, png and gif). They can also load external Flash movies, external Flash applications and even streaming audio and video content. These objects allow for a high degree of customization as to how you present your panorama while offering to your website visitor ways to interact with that presentation. The two types that are used most frequently are the spot object and the box object. In Flashificator's Hotspots tab, these two types are quickly distinguished by their icons; a little dot or a little box, along the bottom of the display for each hotspot's named settings tab. Clicking on the icon will allow you to quickly change from one to the other. The spot object is attached to your panorama at a single point known as an alignment point and will not distort while you turn your panorama for viewing. Alternatively, the spot object can be fixed to the window so that it's static and doesn't move at all while your panorama turns, making this type the hotspot of choice for navigational controls, border trimmings, thumbnails and other means afforded to your website visitor and their interaction. The box object, with many of the same parameters as the spot object including the ability to be made static, also allows you to load external images and movies while it is attached to the warped surface of the panorama at a single point, but the box object can be distorted into the virtual 3D space (sphere, cylinder or any face of the cube). The external images can be rotated, scaled and otherwise transformed to make them appear to fit in the perspective of the scene of your revolving panorama. Additional parameters even allow for adjusting transparency (alpha), hue, tint, saturation, contrast, brightness, blur and sharpness. Both objects allow various blending modes (like in Photoshop and GIMP) through many available parameter settings. And both objects allow for precise placement using two separate schemes. |
If you are interested in digging deeper into Hotspots history, in 2006, Denis V. Chumakov put together a tutorial, gives further examples here and appears to be the first emergence of this invention. | ||
|
| |||
|
| |||
|
| |||
|
4 - Understanding Zero Without knowing where zero is - for any measurement - such quantities have little meaning. If we're going to be measuring the positions of things, we need to understand from where to start our measurement:
The above illustration shows two grids - both represent nine possible locations on the hotspot and panorama window. Their style; one with dots, the other with squares really makes no difference. What does make a difference, and significantly, is whether their use is in regard to the align parameter or the salign parameter. Both parameters use disparate numeric values when defining the relative position; one for the hotspot, the other the panorama window. For example, both schemes define the center as Center, Middle (CM). Likewise, they'd both define the lower left corner as Left, Bottom (LB), but the numeric value for each would be -0.5:-0.5 (align) and 0:0 (salign) in the first case and in the second instance, would be 0:-1 (align) and -0.5:0.5 (salign). The align x and y parameters relate to the hotspot. They define the alignment point on the hotspot; for example, the center of the hot spot (-0.5:-0.5) The slaign x and y parameters relate to the panorama window and the static parameter. The panorama window is the bounding limits in which your panorama is displayed; typically one of the following: 1) the full extent of the computer monitor when displayed full screen, 2) the full extent of the browser window to whatever size and configuration that it has been resized or 3) when your panorama is displayed within a frame on the html page. One note of caution if you're using Flashificator v2.0694 or earlier: The graphical representations for the Alignment points are in error. As shown in the illustration below, the little white dot is in the exact opposite location as defined in each instance where x and y are not equal. Post Note Update As of FFC release v2.075 the box alignment issue has been fixed - more on the discussion here. | |||
|
The green dots in the two examples above show the possible alignment points for two hotspots with the example on the left being amongst a field of adjacent images that will be abutting to form the navigational controls (static). The example hotspot on the right will be used as a distorted image on a cube face. In both instances, we'll use the center of the hotspot as the hotspot alignment point. | |||
| |||
|
| |||












