Image programming in actionscript3 games (serialization 40)

Source: Internet
Author: User
2.3.2 rough cutting of Photoshop beam Style Vs shoddy flash Beam Filter


Next we will first list the parameters that do not correspond to one by one.


Photoshop: style, method, depth & direction, softening, shadow height, (contour line)


Flash: intensity, distance, type, (empty)


I am wondering why the parameters of the flash Beam Filter are the same as those of projection.


The parameters in the brackets are excluded for the time being. We have not edited the contour lines. By default, linear graphs are used. For the time being, the contour lines are regarded as not affected, and hollowing is almost irrelevant to the filter effect and can also be excluded.


The style of Photoshop is displayed as an inner slope and is operated by users in the form of a drop-down box, which is the closest to the Type drop-down box in flash. Let's open these two boxes to see the remaining options. (Figure 2.56, figure 2.57)

 

Figure 2.56 slope style of Photoshop
 

Figure 2.57 Angle Type of Flash


Everyone has internal and external options, and the things to be done are basically the same. Photoshop has three more styles than flash, and the effect is also more delicate, Which is incomparable to flash simple filters. However, due to space limitations, we will not post them. Flash has a "all" more than Photoshop. In fact, it is only the sum of internal and external slopes, rather than a brand new style. It is suspected to count here.


But at least we can see that the content in the inner slope is the same as that in the inner side, but the flash side is rough. Because after switching to the outside, the relief effect also ran outside the text outline, and previously appeared inside.


Figure 2.58 and figure 2.59 show the exterior slopes of Photoshop and Flash respectively.


Figure 2.58 Photoshop exterior slope style

Figure 2.59 exterior slope style of Flash


If you have also tested this effect, we will continue to explore other attributes.


The method cannot find the corresponding items in flash, so it is difficult to find the corresponding quality? We may wish to set the quality to high. (Fig. 2.60)

Figure 2.60 high-quality angle of Flash


As you can see, the edge is slightly blurred (if you cannot see the obvious effect, try to increase the value). This is the so-called "smooth" in flash "? Let's take a look at the Photoshop method options.


Figure 2.61 shows the effects of three Photoshop method options from top to bottom (smooth, clear, and soft ).
 
 

Figure 2.61 set different method parameters for Photoshop Slopes


No matter which method is used, its quality is first-class. what is different is the degree of clarity of relief. Readers can increase the size of parameters to appreciate the delicate beauty of Photoshop.


In contrast, the angle of the flash is relatively virtual, and the processing method of the edge is similar to that of the projection method. In the end, this conjecture was confirmed by the flash help file. The so-called quality also refers to the number of Fuzzy Operations.


The practice of Photoshop is quite different, which can be learned from the help of Photoshop. The Help File describes the three modes as follows:


Smooth: blur the edge of a hybrid edge. It can be used for all types of hybrid edges, whether soft or clear. This technique does not retain detailed features of large sizes.


Clear carving: the use of distance measurement technology, mainly used to eliminate the hard edge of the Sawtooth shape (such as text. Its ability to retain detailed features is superior to "smooth" technology.


Gentle carving: although the modified distance measurement technology is not as accurate as "clearly carved", it is more useful for a wide range of miscellaneous edges. It retains features better than "Smoothing" technology.


From the perspective of text, only smooth and Flash are similar, that is to say, flash only does one thing here, and it is not professional enough. Because flash is not as smooth as PhotoShop after being blurred with high quality, and it also has a bit of projection fuzzy taste, I really doubt whether the angle and relief will be the same set of things (I will explore this issue in the next chapter ).


It is not difficult to understand the direction of Photoshop, that is, to specify whether the relief effect is convex or concave. After you change the top to bottom, the shadow and high-light area will be flipped.


This option is not pursued for the time being.

 


 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.