Use photoshop to make both ends of the smooth connection background diagram

zhaozj2021-02-08  218

Home:

http://www.maxss.net

Email:

MAXSS.NET@163.com

In developing some small games, many times you need to constantly scroll a background diagram to achieve exercise effects (such as the lane in the car or the sky background in the airplane game). However, when the background is in the middle of the end, there will be uncomidized filtration problems, of course, there is basically no such problem for the pixel level background. Suppose now has a blue sky white cloud sky background diagram, how can the image can be smooth transition up or left or left? The following describes how to use Photoshop to process the background diagram to solve this problem.

In Photoshop, create a 200 x 200-size image file in Photoshop, set the foreground and background colors to blue and white, then use Filters -> Clouds "effect to simulate the effect of blue sky white clouds. The effect is as shown in Figure -1:

(figure 1)

Suppose we need to achieve a smooth transition between the lower ends of the background. First, you must create an image file as the image size, then copy the middle and lower ends of Figure -1 into the new image file with the "Rectangular Outlet Machine Tool", and transform the upper and lower partial image position, finally merge All layers in the new image file. as shown in picture 2.

A reference line is then pulled out to the intersection of the upper lower end in Figure-2, which can distinguish the original intersection position after completing the smoothing process, and press the Ctrl H hidden reference line after fixing the reference line.

It is now dealing with their intersection to make it smoothing. This requires artificial handling. The main tools are "imitation stamp" and "fuzzy tools", and the processing skills are to copy similar image regions in the intersection of the stamp, and the smoothing effect is increased with fuzzy tools. The effect of -2 is shown in Figure -3:

(figure 2)

(image 3)

At this time, press the Ctrl H to display the reference line again, reword the two parts of the image back to the original position of Figure -1 with the "Rectangular Selection Frame Tool" so that the comparison can be achieved when using the program looped Satisfactory smooth transition effect, finally output the finished product into JPG or BMP format. Similar methods can also be implemented in a similar method.

For how to implement loop display background maps to implement a loop, another article: "

Realize background smooth loop scrolling in BCB.

Below is the process of processing two backgrounds before and after comparing:

(Before processing)

(After processing)

转载请注明原文地址:https://www.9cbs.com/read-2182.html

New Post(0)