Computer Graphics Note
Computer Graphics Note
Computer Graphics Note
Graphics often combine text, illustration, and color. Graphic design may consist of the
deliberate selection, creation, or arrangement of typography alone, as in a brochure,
flier, poster, web site, or book without any other element.
Computer graphics are graphics created by computers and, more generally, the
representation and manipulation of pictorial data by a computer.
The term computer graphics includes almost everything on computers that is not text
or sound. Today nearly all computers use some graphics and users expect to control their
computer through icons and pictures rather than just by typing. The term
Computer Graphics has several meanings:
· the representation and manipulation of pictorial data by a computer
· the various technologies used to create and manipulate such pictorial data
· the images so produced, and
· the sub-field of computer science which studies methods for digitally
synthesizing and manipulating visual content.
There are two types of computer graphics: raster graphics, where each pixel is
separately defined (as in a digital photograph), and vector graphics, where
mathematical formulas are used to draw lines and shapes, which are then interpreted
at the viewer's end to produce the graphic. Using vectors results in infinitely sharp
graphics and often smaller files, but, when complex, vectors take time to render and
may have larger file sizes than a raster equivalent.
Today computers and computer-generated images touch many aspects of our daily
life. Computer imagery is found on television, in newspapers, in weather reports, and
during surgical procedures. A well-constructed graph can present complex statistics in
a form that is easier to understand and interpret. Such graphs are used to illustrate
papers, reports, theses, and other presentation material. A range of tools and facilities
are available to enable users to visualize their data, and computer graphics are used in
many disciplines.
Modern computer systems, dating from the 1980s and onwards, often use a graphical
user interface (GUI) to present data and information with symbols, icons and pictures,
rather than text. Graphics are one of the five key elements of multimedia technology.
2. Pixel
In the enlarged portion of the image individual pixels are rendered as squares and can
be easily seen.
In digital imaging, a pixel is the smallest piece of information in an image. Pixels are
normally arranged in a regular 2-dimensional grid, and are often represented using
dots or squares. Each pixel is a sample of an original image, where more samples
typically provide a more accurate representation of the original. The intensity of each
pixel is variable; in color systems, each pixel has typically three or four components
such as red, green, and blue, or cyan, magenta, yellow, and black.
3. Rendering
Rendering is the process of generating an image from a model, by means of computer
programs. The model is a description of three dimensional objects in a strictly defined
language or data structure. It would contain geometry, viewpoint, texture, lighting,
and shading information. The image is a digital image or raster graphics image. The
term may be by analogy with an "artist's rendering" of a scene. 'Rendering' is also
used to describe the process of calculating effects in a video editing file to produce
final video output.
4. 3D projection
Volume rendered CT scan of a forearm with different colour schemes for muscle, fat,
bone, and blood.
Usually these are acquired in a regular pattern (e.g., one slice every millimeter) and
usually have a regular number of image pixels in a regular pattern. This is an example
of a regular volumetric grid, with each volume element, or voxel represented by a
single value that is obtained by sampling the immediate area surrounding the voxel.
Drafting can be done in two dimensions ("2D") and three dimensions ("3D"). Drafting
is the integral communication of technical or engineering drawings and is the
industrial arts sub-discipline that underlies all that is involved in technical endeavors.
In representing complex, three-dimensional objects in two-dimensional drawings,
these objects have traditionally been represented by three projected views at right
angles.
Current CAD software packages range from 2D vector-based drafting systems to 3D
solid and surface modelers. Modern CAD packages can also frequently allow
rotations in three dimensions, allowing viewing of a designed object from any desired
angle, even from the inside looking out. Some CAD software is capable of dynamic
mathematic modeling, in which case it may be marketed as CADD — computeraided
design and drafting.
CAD is used in the design of tools and machinery used in the manufacture of
components, and in the drafting and design of all types of buildings, from small
residential types (houses) to the largest commercial and industrial structures (hospitals
and factories).
CAD is mainly used for detailed engineering of 3D models and/or 2D drawings of
physical components, but it is also used throughout the engineering process from
conceptual design and layout of products, through strength and dynamic analysis of
assemblies to definition of manufacturing methods of components.
CAD has become an especially important technology within the scope of computer aided
technologies, with benefits such as lower product development costs and a
greatly shortened design cycle. CAD enables designers to lay out and develop work
on screen, print it out and save it for future editing, saving time on their drawings.
CAD Hardware and OS technologies
Today most CAD computers are Windows based PCs. Some CAD systems also run
on one of the Unix operating systems and with Linux. Some CAD systems such as
QCad or NX provide multiplatform support including Windows, Linux, UNIX and
Mac OS X.
Generally no special basic memory is required with the exception of a high-end
OpenGL based Graphics card. However for complex product design, machines with
high speed (and possibly multiple) CPUs and large amounts of RAM are
recommended. CAD was an application that benefited from the installation of a
numeric coprocessor especially in early personal computers. The human-machine
interface is generally via a computer mouse but can also be via a pen and digitizing
graphics tablet. Manipulation of the view of the model on the screen is also
sometimes done with the use of a spacemouse/SpaceBall. Some systems also support
stereoscopic glasses for viewing the 3D model.
CorelDraw
There are many computer applications that you can use to drive a laser cutter. CorelDRAW is the
most versatile and mastery of it will allow you to achieve the outstanding results from your laser
system.
CorelDRAW is a very powerful professional vector graphics package usually sold with other
Corel products such as CorelTRACE and Corel PHOTO-PAINT. Some features will be familiar
to those provided in similar applications such as Adobe Illustrator. CorelDRAW supports
Windows shortcuts and is both configured with it's own additional shortcuts and can be
customised to have additional shortcuts added. It has a vast array of import and export filters to
allow you to work successfully with the majority of other applications you will encounter.
Another advantage to be gained from using CorelDRAW is that it can be used to great benefit for
a multitude of other tasks Teachers encounter in their day to day work.
CorelDraw (styled CorelDraw) is a vector graphics editor developed and marketed by Corel
Corporation of Ottawa, Canada. It is also the name of Corel's Graphics Suite, which bundles
CorelDraw with bitmap-image editor Corel Photo-Paint as well as other graphics-related
programs (see below). The latest version is designated X8 (equivalent to version 18) and
was released in March 2016. Corel Draw is designed to edit two-dimensional images such as
logos and posters.
Common features of Corel Draw packages
OBJECT: An element in a drawing such as an image, shape, line, text, curve, symbol, or layer.
DRAWING: The work you create in Corel Draw: for example, custom artwork, logos, posters,
and newsletters.
Vector graphic: An image generated from mathematical descriptions that determine the
position, length, and direction in which lines are drawn.
Bitmap: An image composed of grids of pixels or dots.
Docker: A window containing available commands and settings relevant to a specific tool or
task.
Flyout: A button that opens a group of related tools or menu items.
Artistic text: A type of text to which you can apply special effects, such as shadows.
Paragraph text: A type of text to which you can apply formatting options, and which can be
edited in large blocks.
Components of CorelDraw
Title bar
The title bar is the bar that displays the name of the CorelDraw file on which you are working
on. It is also used to reposition the CorelDraw window on the screen
The Rulers
Rulers serve as a positioning and sizing aid. The can be turned off optionally. In addition, one
can drag guidelines off the ruler to serve as drawing aids.
The scroll Bars
The scroll bars is used to move the page up and down. Horizontally and vertically.
Drawing window
That is the white large portion of the screen is the drawing window. The rectangle with a drop
shadow is the printable page.
Roll up windows
This is shown on the left, they are not always permanent in appearance in the interface but can
appear if needed. Roll up windows are nicely packed persistent dialog boxes that remains on the
screen as long as it is needed.
Status bar
Status bar shows the fill pattern, outline, location, movement and absolute coordinates of a
selected object. The status bar changes dynamically depending on the action being performed. It
can be customized to show different kinds of information.
Weld.
Draw a rectangle. Now draw a second rectangle that overlaps the first.
Apply a colour fill to the second rectangle.
With the second rectangle selected, click Weld and with the arrow cursor that appears click on
the first rectangle.
You will find the two rectangles have combined into a single object without a fill.
Try this again, this time selecting the first object and welding this to the second.
You will achieve the same shape but this time the new object has a fill.
Trim
Draw 2 rectangles as before. Select one and trim this to the other.
You will find that the target object has a piece missing where the source object overlapped.
Using the shaping tools automatically converts objects to curves
Aligning Objects
As you build your drawing you will find it necessary to arrange components so that they align
with other components. There is a variety of ways to do this and CorelDRAW has some quick
methods.
Select the objects you wish to align then go to the Arrange dropdown menu Align and Distribute
then select the method of alignment you need. Note the shortcuts listed to the right of the
options:
L aligns the objects to the left of their bounding box
R aligns the objects to the right of their bounding box
T aligns the objects to the top of their bounding box
B aligns the objects to the bottom of their bounding box
E aligns the objects to the to their centres Vertically
C aligns the objects to the to their centres Horizontally
P aligns the objects to the centre of the page
Remembering these shortcuts will speed up the production of your drawing. Just select the
objects and press the keyboard character corresponding to the alignment mode.
A few things to note:
All the components you select will be aligned in the same way and this may not be quite what
you intended. Imagine the example below for a simple keyring. The keyring shape has been
drawn, a hole for the ring has been drawn and you are ready to place the text to be engraved.
About Curves
A curve is a series of line segments, each line segment have a node at each end. Line segments
can be straight or curved and they need not be connected to each other within a single curve.
Curve objects can be modified in different ways to the other objects you create. Each simple
shape you draw using the tools in the toolbox can be modified in its own particular way.
Rectangles can have their corners radiused, ellipses can be converted to arcs or pies, polygons to
stars etc and text can be edited.
Converting any of these to curves loses that ability but gives you the ability to infinitely modify
the shape of the object.
Certain commands automatically convert objects to curves. An example is when using the
Shaping Docker tools. Converting to curves is a one-way street so make sure your object is
exactly as you want it to be before you do this. You will not be able to correct a spelling mistake
once you convert text to curves and the process of changing the radius on a rectangle is much
more complicated.
One of the great assets CorelDRAW has is the powerful curve editing capability. This is
provided by the Shape tool in the Toolbox (Not to be confused with the Shaping Docker tools).
Curve Editing
We have almost infinite ability to change the shape of the curves we create. The position and
type of nodes can be controlled, whether the line relating to the node is straight or curved,
whether adjoining nodes are connected, whether nodes exist at all.
Node editing is achieved with the Shape tool in the Toolbox. You can use this to select the curve
you are editing, pick up individual nodes and move them around, drag the line segment to change
its form, move the node control points to alter the form of line segments, add and remove nodes.
There are four node types: cusp, smooth, symmetrical, or line. Nodes can be changed from one
type to another.
Cusp nodes make the node's intersecting line take on the shape of a corner or point when you
adjust the position of the node's control points.
Smooth nodes make the node's intersecting line take on the shape of a curve. Each control point
can be shortened or lengthened independently, giving you smaller or larger angles to work with.
Symmetrical nodes make the node's intersecting line take on the shape of a curve as well as
intersect the node at exactly the same angle.
Line nodes let you shape objects by changing the shape of their segments. You can make a curve
segment straight or a straight segment curved.
The more nodes there are in a curve, the greater degree of control is possible with its shape
however beware of adding too many as this will increase the work your laser has to do and may
slow down its operation.
Nodes can be added by clicking on the point of the curve you wish to add the node then clicking
on the + icon on the Property Bar. They can be removed by selecting them and pressing delete,
clicking on the icon on the property bar or by double-clicking on the node.
Selecting a node and clicking on the Break Curve icon separates adjoining nodes. You can also
use the shape tool to click on a line segment then click on the Break Curve icon to break the
curve at that point.
If the path has 2 separations it is possible to break the curve apart using the Break Curve Apart
command in the Arrange dropdown menu. This will produce 2 separate curves.
Selecting 2 adjoining nodes and clicking on the Join 2 nodes icon connects them.
You do not have the ability to define an absolute position for nodes directly but you can get them
to snap to guidelines or to a grid to achieve this. You can also get their control points to snap to
guidelines.
Shortcuts
Many of you will be familiar with Windows shortcut keys. CorelDRAW supports all the usual
shortcuts and has a number of its own to speed up production. You can also assign your own
shortcuts to suit your particular working methods. The common shortcuts you are likely to find
useful with producing drawings for your laser cutter are listed below. As you become familiar
with the program you are likely to use it for other purposes. A comprehensive list of
CorelDRAW shortcuts can be found in Tools Customisation Commands Shortcut Keys View
All. You can save these to a comma separated text file or print them out.
Ctrl + Z Undo
Shift + Ctrl + Z Redo
Ctrl + C Copy
Ctrl + V Paste
Ctrl + X Cut
Ctrl + G Group
Ctrl + U Ungroup
Shift + PgDn To Back
Shift + PgUp To Front
B Align Bottom
E Horizontally aligns centres
C Verically aligns centre
L Aligns left
R Aligns right
P Aligns to centre of page
Ctrl + L Combine
Ctrl + K Break apart