Rabu, 10 November 2010

32. Node Mengedit: Dasar-dasar

Saya yakin Anda tahu bahwa Anda dapat dengan mudah menggambar garis, kurva, elips, lingkaran, bujur sangkar, persegi panjang, bintang, poligon dan banyak lagi dengan CorelDRAW ®, tapi bagaimana dengan bentuk lain? What if, for example, you wanted to draw a heart? Bagaimana jika, misalnya, Anda ingin menarik hati? How would you go about doing so? Bagaimana Anda pergi tentang melakukan hal itu? CorelDRAW doesn't provide a “heart-shape” drawing tool. CorelDRAW tidak menyediakan sebuah "hati-bentuk" gambar alat. The only option is to roll up your sleeves and do some node editing. Satu-satunya pilihan adalah untuk menyingsingkan lengan baju Anda dan melakukan editing node.
Nodes are the foundation of any drawing program. Node merupakan dasar dari setiap program gambar. Every line, even a simple straight line or curve, contains nodes. Setiap baris, bahkan garis lurus sederhana atau kurva, berisi node. Figure 1 shows a diagonal line with a node at each end. Gambar 1 menunjukkan garis diagonal dengan node pada akhir masing-masing.


Figure 1 – A straight line with a node at each end Gambar 1 - Sebuah garis lurus dengan node pada setiap akhir

Shapes drawn with the Rectangle, Ellipse, Polygon, Spiral and Grid tools contain nodes, too. Bentuk digambar dengan Rectangle, Ellipse, Polygon, Spiral dan alat Grid berisi node, juga. These nodes, though, behave a little differently than nodes in curves. Simpul tersebut, meskipun, berperilaku sedikit berbeda dari node dalam kurva. To create various shapes by editing nodes you really need to start with a curve. Untuk membuat berbagai bentuk oleh node pengeditan, Anda benar-benar perlu untuk memulai dengan kurva. Fortunately, you can create a curve from any object you create with the various shape tools. Untungnya, Anda dapat membuat kurva dari setiap objek yang Anda buat dengan alat berbagai bentuk. The exceptions would be a spiral (which is already a curve) and a grid (which can't be converted to anything else). Pengecualian akan menjadi spiral (yang sudah kurva a) dan grid (yang tidak dapat dikonversi ke hal lain).

Between the nodes are what is known as segments. Antara node adalah apa yang dikenal sebagai segmen. Segments can be either lines (straight segments) or curves (curved segments). Segmen dapat berupa garis (segmen lurus) atau kurva (segmen melengkung). Each type can be converted into the other type if need be. Setiap tipe dapat dikonversi ke dalam tipe lainnya jika perlu.

There are several different types of nodes and the type of node determines how the associated segments will be shaped and how they will react as you push and pull at the control handles. Ada beberapa jenis node dan jenis node menentukan bagaimana segmen terkait akan dibentuk dan bagaimana mereka akan bereaksi ketika Anda mendorong dan menarik di kontrol menangani. The control handles are similar to nodes and they are stationed at the end of control lines that are drawn through each node. kontrol menangani mirip dengan node dan mereka ditempatkan pada akhir saluran kontrol yang diambil melalui setiap node. Normally you won't see the control lines or the control handles; they only become visible when you click on a line, or shape, or select a node with the Shape tool. Biasanya Anda tidak akan melihat saluran kontrol atau mengendalikan menangani, mereka hanya menjadi terlihat bila anda klik pada garis, atau bentuk, atau pilih node dengan Shape tool.

This isn't true in all cases, though. Ini tidak benar dalam semua kasus, meskipun. For example, if you draw a straight line with the Freehand tool as I did to create figure 1, and select one of the nodes with the Shape tool you won't see any control line or control handles. Misalnya, jika Anda menggambar garis lurus dengan alat Freehand seperti yang saya lakukan untuk membuat angka 1, lalu pilih salah satu node dengan Shape tool Anda tidak akan melihat garis kontrol atau kontrol menangani.

On the other hand, if you draw a curved line with the Freehand tool (or convert the line to a curve) and then click one end of that line with the Freehand tool, you'll see the control line and the control handles (see figure 2). Di sisi lain, jika Anda menggambar garis melengkung dengan alat Freehand (atau mengubah garis ke kurva) dan kemudian klik salah satu ujung yang sesuai dengan alat Freehand, Anda akan melihat garis kontrol dan mengendalikan menangani (lihat gambar 2).



Figure 2 – A curved line with the control line and control handles visible Gambar 2 - Sebuah garis melengkung dengan garis kontrol dan kontrol menangani terlihat

Note that the control lines are one-sided at the ends of the curve (with only one control handle) and that the node in the middle of the line has a two-sided control line with control handles at each end. Perhatikan bahwa saluran kontrol adalah satu-sisi pada ujung kurva (dengan hanya satu kontrol menangani) dan bahwa node di tengah-tengah garis memiliki garis kontrol dua sisi dengan kontrol menangani pada akhir masing-masing.

Clicking and dragging a node with the Shape tool will change the position of the node as well as changing the shape of the curve. Mengklik dan menyeret sebuah node dengan Shape tool akan mengubah posisi node serta mengubah bentuk kurva. Clicking and dragging a control handle will change the shape of the curve without moving the associated node. Mengklik dan menyeret kontrol menangani akan mengubah bentuk kurva tanpa bergerak node terkait.

If you haven't already, fire up CorelDRAW and draw a curve with the Freehand tool. Jika Anda belum melakukannya, jalankan CorelDRAW dan menggambar kurva dengan tool Freehand. After drawing the curve, select the Shape tool and play around with the nodes. Setelah menggambar kurva, pilih alat Bentuk dan bermain-main dengan node. Move the nodes around and then try dragging the control handles. Pindahkan node sekitar dan kemudian mencoba menyeret kontrol menangani. You can move the control handles inwards and outwards from the node they're connected to as well as moving them around the node. Anda dapat memindahkan mengontrol menangani ke dalam dan keluar dari node terhubung ke mereka serta memindahkan mereka sekitar node. Moving a control handle inward as you move it around will decrease the curved-ness of the curve while moving it outwards will accentuate the curve. Memindahkan kontrol menangani batin saat Anda bergerak di sekitar akan menurunkan ness-melengkung kurva sementara memindahkannya ke luar akan menonjolkan kurva.

Note that you can move a selected node using the Arrow keys. Perhatikan bahwa Anda dapat memindahkan node dipilih menggunakan tombol panah. You can't move a control handle in this manner, though. Anda tidak dapat memindahkan mengontrol menangani dengan cara ini, walaupun.

Different Types of Nodes Berbeda Jenis Nodes
Earlier, I mentioned that there are different types of nodes. Sebelumnya, saya menyebutkan bahwa ada berbagai jenis node. These are Cusp, Smooth and Symmetrical. Ini adalah bonggol, Smooth dan simetris.

A symmetrical node has control handles that move in unison. Sebuah node simetris memiliki kontrol menangani yang bergerak serempak. The control lines on each side of a symmetrical node are always the same length. saluran kontrol ini pada setiap sisi node simetris selalu sama panjang. As you move one control handle toward the node, the other handle will move inward as well. Ketika Anda memindahkan satu kontrol menangani terhadap node, yang lain akan bergerak ke dalam menangani juga. This is equally true if you move one of the control handles away from the node. Hal ini sama berlaku jika Anda memindahkan satu kontrol menangani menjauh dari node. If you move one control handle of a symmetrical node upward, the other handle will move downward and vice-versa. Jika Anda memindahkan satu kontrol gagang node simetris ke atas, yang lain menangani akan berpindah ke bawah dan sebaliknya.

All of the above causes the curve that runs through a symmetrical node to be, well… symmetrical. Semua hal di atas menyebabkan kurva yang mengalir melalui sebuah node simetris menjadi, baik ... simetris. That is, the curve will be similar on both sides of the node (see figure 3). Artinya, kurva akan sama di kedua sisi dari node (lihat gambar 3).



Figure 3 – A curved line with a symmetrical node Gambar 3 - Sebuah garis melengkung dengan node simetris

A smooth node also has a straight control line that runs through it. Sebuah node halus juga memiliki garis kontrol lurus yang berjalan melewatinya. This control line also has two control handles. Baris ini kontrol juga memiliki dua kontrol menangani. However, unlike the symmetrical node, the sides of the control line can be of different lengths. Namun, tidak seperti simpul simetris, sisi dari garis kontrol dapat menjadi panjang yang berbeda. Consequently, the curve, while smooth, will not necessarily be symmetrical (see figure 4). Akibatnya, kurva, sedangkan yang halus, belum tentu simetris (lihat gambar 4).



Figure 4 – A curved line with a smooth node Gambar 4 - Sebuah garis melengkung dengan node halus

Cusp nodes are quite interesting. node bonggol yang cukup menarik. Not only can the control lines be of different lengths, the control handles at each end can move in different directions totally independent from each other. Tidak hanya bisa baris kendali menjadi panjang yang berbeda, mengontrol menangani pada akhir masing-masing dapat bergerak ke arah yang berbeda benar-benar independen satu sama lain. This allows the curve to bend sharply at a cusp node (see figure 5). Hal ini memungkinkan kurva untuk tikungan tajam di sebuah node cusp (lihat gambar 5).



Figure 5 – A curved line with a cusp node Gambar 5 - Sebuah garis melengkung dengan node puncak gigi

The cusp node is just the thing we need to create a heart shape from a curve. Simpul cusp adalah hal yang kita perlu untuk membuat bentuk hati dari kurva.

Drawing the Heart Shape Menggambar Bentuk Hati
To get started with drawing your heart, open a new file in CorelDRAW and, using the Ellipse tool draw a vertical ellipse (see figure 6). Untuk memulai dengan gambar hati Anda, buka file baru di CorelDRAW dan, dengan menggunakan alat Ellipse menggambar elips vertikal (lihat gambar 6).



Figure 6 – Start with a vertical ellipse Gambar 6 - Mulailah dengan sebuah elips vertikal

Choose Arrange, Convert to Curves (CTRL + Q). Pilih Atur, Convert to Curves (CTRL + Q). Optionally, click the Convert to Curves icon on the Property Bar. Opsional, klik Convert to Curves ikon pada Property Bar.

Doing so will convert the ellipse into a curve and enable you to select and edit the nodes. Melakukan hal ini akan mengkonversi ke dalam kurva elips dan memungkinkan Anda untuk memilih dan mengedit node.

Select the Shape tool, then click and drag a rectangle that encompasses the nodes at the top and bottom of the ellipse. Pilih Shape tool, kemudian klik dan drag sebuah persegi panjang yang meliputi node di bagian atas dan bawah elips.

Press the Down Arrow key ten times. Tekan tombol Panah Bawah sepuluh kali kunci. You'll notice that the two nodes move downward. Anda akan melihat bahwa dua node bergerak ke bawah. You'll also notice that this changes the shape of your ellipse; in fact, it may start to resemble a shield. Anda juga akan melihat bahwa ini berubah bentuk elips Anda, bahkan, mungkin mulai menyerupai perisai.

Click and drag a rectangle around the leftmost node. Klik dan tarik kotak di sekitar node paling kiri. Press the Left Arrow key six times. Tekan tombol Panah Kiri enam kali.

Click and drag a rectangle around the rightmost node. Klik dan tarik kotak di sekitar node paling kanan. Press the Right Arrow key six times. Tekan tombol Panah Kanan enam kali.

You should start to see the beginnings of a heart shape (see figure 7). Anda harus mulai melihat awal dari bentuk hati (lihat gambar 7).



Figure 7 – Starting to take shape Gambar 7 - Mulai untuk mengambil bentuk

Right-click the topmost node and choose Cusp from the Property Bar. Klik kanan dan pilih node paling atas cusp dari Property Bar.

Press the Down Arrow key six times. Tekan tombol Panah Bawah enam kali.

Click and drag the right control node straight up so that the curve on the right of your shape rounds upward to form the top right curve of the heart. Klik dan tarik titik kontrol tepat lurus sehingga kurva di sebelah kanan putaran bentuk Anda ke atas untuk membentuk kurva kanan atas jantung. Do the same with the left and you should have something that resembles figure 8. Lakukan hal yang sama dengan kiri dan Anda harus memiliki sesuatu yang mirip angka 8.



Figure 8 – Almost there Gambar 8 - Hampir ada

Note how changing the node to a cusp enables you to have that sharp point where the top halves of the heart meet. Perhatikan bagaimana perubahan node untuk bonggol yang memungkinkan Anda untuk memiliki titik yang tajam di mana bagian atas jantung bertemu.

Right-click the bottom node and choose Cusp from the menu. Klik kanan dan pilih node bawah cusp dari menu.

Click and drag the right control handle up toward the control handle of the rightmost node. Klik dan tarik kontrol yang tepat menangani ke arah kontrol pegangan dari node paling kanan.

Do the same with the left control handle, dragging it toward the control handle of the left node. Lakukan hal yang sama dengan kontrol kiri menangani, menyeret ke arah kontrol pegangan node kiri.

You should end up with a (nearly) perfect heart shape (see figure 9). Anda harus berakhir dengan bentuk hati (hampir) sempurna (lihat gambar 9).



Figure 9 – Final node editing Gambar 9 - mengedit node Final

In figure 10, you can see my final shape. Dalam gambar 10, Anda dapat melihat bentuk akhir saya. I moved the left and right nodes outward a little more and filled the shape with red. Aku pindah node kiri dan kanan luar bentuk sedikit lebih dan mengisi dengan warna merah.



Figure 10 – Final heart shape created by node editing an ellipse Gambar 10 - Final berbentuk hati yang dibuat dengan mengedit node elips

There's a lot more you can do by editing nodes. Ada lebih banyak yang dapat Anda lakukan dengan node editing. I encourage you to play around and see what you can come up with. Saya mendorong Anda untuk bermain-main dan melihat apa yang Anda bisa datang dengan.

T. Michael Clark's numerous best-selling books on computer imaging and design programs have been translated into over a dozen languages. Michael Clark T. berbagai laris buku tentang pencitraan komputer dan program-program desain telah diterjemahkan ke dalam lebih dari selusin bahasa. Michael, who also teaches Web design and computer graphics courses at the college level, immensely enjoys his work as a full-time author. Michael, yang juga mengajar desain web dan grafis kursus komputer di tingkat perguruan tinggi, sangat menikmati pekerjaannya sebagai penulis penuh-waktu.

Tidak ada komentar:

Posting Komentar