search
HomeWeb Front-endPS TutorialPhotoshop路径的运算顺序对路径组合的影响分析

Photoshop路径的运算顺序对路径组合的影响分析

Jun 01, 2016 pm 02:38 PM
areaCanInfluenceuscombinationpathOperationchooseorder

  上次课我们讲了Photoshop路径的运算模式(参考《用Photoshop路径当“超级积木”组合造型》),通过运算我们可以在一个形状上加上另一个形状,也可以让它们相减或者交叉运算,得到新的形状。本文中我们讲一讲Photoshop路径的运算顺序对路径组合结果的影响。 上次课我们讲了Photoshop路径的运算模式(参考《用Photoshop路径当“超级积木”组合造型》),通过运算我们可以在一个形状上加上另一个形状,也可以让它们相减或者交叉运算,得到新的形状。本文中我们讲一讲Photoshop路径的运算顺序对路径组合结果的影响。
  先给朋友们出个小小的题目:朋友打斗地主,甲先出,手中有一张大鬼,一对7,一张3;乙后出,手中有两张2。问甲怎么出牌会胜。
  常打牌的朋友会说,一定是先出一张3,利用大鬼破拆对手的对2啦!
  是呀,这就是出牌顺序决定了胜负的一个小例子。同样的,我们可以将此思维运用在路径运算之中,使用相同的路径、相同的运算模式,而不同的运算顺序则得到不同的运算结果。
  图1是一只小熊头像的一部分,图1最左侧是参与运算的路径,图1中间是使用先加后减的顺序运算得到的结果,图1右侧是使用先减后加的顺序运算得到的结果。可以在耳朵部分看出它们的明显区别。
轻松缩、剪、改你的照片
图1
  我们首先将路径全都建立起来,并设置好它们各自的运算属性。为了明确各条路径,方便后面的讲解,我们为它们先编上号。
  两只耳朵都是由外圆和内圆组成,外圆我们称1号路径,两侧各有一条,将它们设置为“添加到路径区域”模式;内圆我们称2号路径,两侧各有一条,将它们设置为“从路径区域减去”模式;脑壳部分由两条圆形路径组成,外圆为3号路径,设置为“添加到路径区域”模式;内圆为4号路径,设置为“从路径区域减去”模式;下巴和脑壳相似,外圆为5号路径,设置为“添加到路径区域”模式;内圆为6号路径,设置为“从路径区域减去”模式。
  设置完之后,如图2所示,它和我们要的结果相差甚大。想做成什么样子,要看我们运算的顺序了。
轻松缩、剪、改你的照片
图2
  高手加油站:使用路径选择工具选择多条路径的技巧
  按着Shift键,依次单击各条路径,可以多选几条路径;使用路径选择工具框选,可以将框选时经过的路径全部选择;选择多条路径,按着Shift键单击已被选择的某条路径,可以将它取消选择。
  我们使用先加后减的顺序试验一下,我们使用路径选择工具选择1、3、5号路径,它们构成了整个图像的外形,单击属性栏上的“组合”按钮,可以看到,形状图层立即就变成了图1中间的样式。然后再用路径选择工具框选所有路径,再次进行组合,就将所有的路径合成为一条路径。
  我们再使用先减后加的顺序试验一下,按着Shift键,将1、2号路径选择,将它们组合。此时耳朵成为一条整体路径。然后选择它,按Shift键单击3、5号路径,再次组合,最后框选所有路径整体组合,就可以做出图1中右侧图的效果。
  为什么会出现这些差异呢?这是因为先加后减的过程中,我们先把外形组合在一起,然后统一剪掉内部区域,形成耳朵与头部相连的效果。而在先减后加的过程中,我们先将耳朵内部区域剪掉,后来再加上头部时,一部分被剪掉的区域又被加了回来,所以得到不同的运算结果。

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Beyond Editing: Photoshop's Creative CapabilitiesBeyond Editing: Photoshop's Creative CapabilitiesMay 03, 2025 am 12:12 AM

Adobe Photoshop goes beyond simple editing and becomes a creative tool for artists and designers. 1) It provides a wealth of tools such as brushes, stamp tools, blend modes and layer styles, supporting adjustments from basic images to complex digital paintings and 3D designs. 2) These tools implement functions through pixel-level operations, allowing users to create unique visual effects.

Photoshop: Exploring Pricing Models and OptionsPhotoshop: Exploring Pricing Models and OptionsMay 02, 2025 am 12:12 AM

Photoshop offers two pricing models: single purchase and subscription service. 1. Single purchase: Pay $699 in one lump sum, permanent use, but no updates and cloud services. 2. Subscription service: $20.99 per month or $239.88 per year, and the latest version and cloud services are available. 3. Enterprise plan: $33.99 per user per month, including team management and additional cloud storage. 4. Educational Offer: Students and teachers are $19.99 per month, including multiple CreativeCloud applications.

Photoshop: Mastering Layers and CompositionPhotoshop: Mastering Layers and CompositionMay 01, 2025 am 12:05 AM

The method to create a new layer in Photoshop is: 1. Click the "New Layer" button at the bottom of the layer panel; 2. Use the shortcut keys Ctrl Shift N (Windows) or Command Shift N (Mac). The layers are like transparent sheets on canvas, allowing design elements to be managed separately, non-destructive editing and experimenting, and improving design levels.

Photoshop Applications: From Photo Editing to Digital ArtPhotoshop Applications: From Photo Editing to Digital ArtApr 30, 2025 am 12:10 AM

Photoshop is widely used in the fields of image processing and digital art, and is suitable for photo editing and digital art creation. 1. Photo editing: Adjust brightness and contrast Use the "Brightness/Contrast" tool. 2. Digital art: Use brush tools to create paintings. 3. Basic usage: Use the "Red Eye Tool" to remove red eyes. 4. Advanced usage: Use layers and masks for image synthesis. 5. Debug: Recover the lost layers by checking the layer panel. 6. Performance optimization: Adjust memory usage to improve running speed.

Photoshop's Core Function: Image Editing and ManipulationPhotoshop's Core Function: Image Editing and ManipulationApr 29, 2025 am 12:17 AM

Photoshop's core functions are image editing and operation, including adjusting the color, brightness, contrast of images, applying filter effects, cropping and adjusting image size, performing image synthesis, etc. 1. Adjust brightness and contrast: Open the image, select the "Adjust" option in the "Image" menu, select "Brightness/Contrast", and adjust the slider. 2. Use the color level adjustment layer and layer mask: Click the "Create a new fill or adjust layer" button, select "Scale", adjust the color level, add a layer mask, and use the brush tool to control the adjustment effect.

Photoshop: The Power of Raster Graphics EditingPhotoshop: The Power of Raster Graphics EditingApr 28, 2025 am 12:13 AM

Photoshop is a powerful tool for handling raster graphics, and its core functions include layers and masks, filters and adjustments. 1. Layers and masks allow independent editing and non-destructive modifications. 2. Filters and adjustments can quickly change the appearance of the image, but they should be used with caution to avoid affecting the image quality. By mastering these functions and advanced skills, you can greatly improve your image editing and creative abilities.

Photoshop: A Versatile Tool for Image ManipulationPhotoshop: A Versatile Tool for Image ManipulationApr 27, 2025 am 12:13 AM

Photoshop is so powerful in the field of image processing because of its versatility and intuitive operating interface. 1) It can handle various tasks from basic adjustment to complex synthesis, such as adjusting brightness and contrast. 2) Working based on layers and masks allows non-destructive editing. 3) Examples of usage include adjusting color balance and creating layer masks. 4) Common errors such as excessive editing can be avoided through the History panel. 5) Performance optimization suggestions include the use of smart objects and shortcut keys.

Photoshop Trials and Alternatives: Exploring Free AccessPhotoshop Trials and Alternatives: Exploring Free AccessApr 26, 2025 am 12:23 AM

Photoshop offers a free 7-day trial period. To maximize the use of the trial period, 1) sign up for multiple Adobe accounts, 2) use the student or education version, and 3) subscribe to Adobe CreativeCloud. Free alternatives include: 1) GIMP, 2) Photopea, 3) Krita, these software can meet daily image editing needs.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),