graphic standards

31
GRAPHIC STANDARDS KEVIN PEREIRA CIM05 MSRIT

Upload: kevin-pereira

Post on 20-Jul-2015

205 views

Category:

Engineering


2 download

TRANSCRIPT

Page 1: Graphic standards

GRAPHIC STANDARDS

KEVIN PEREIRACIM05

MSRIT

Page 2: Graphic standards

∗ Need of graphic standards∗ Types of graphic standards∗ GKS∗ Primitives in GKS∗ CORE∗ Exchange of modeling data∗ IGES∗ IGES part file case study

contents

MSRIT

Page 3: Graphic standards

∗ The need for portability of the geometric model among different hardware platforms.

∗ For the exchange of drawing database among software packages.

∗ Need for exchanging graphic data between different computer systems.

Need of graphic standards.

MSRIT

Page 4: Graphic standards

∗ GKS (Graphical Kernel System)

∗ PHIGS (Programmer's Hierarchical Interface for Graphics)

∗ CORE (ACM-SIGGRAPH)

∗ GKS-3D

∗ IGES (Initial Graphics Exchange Specification)

Types of graphic standards

MSRIT

Page 5: Graphic standards

∗ GKS stands for Graphical Kernel System

∗ The Graphical Kernel System (GKS) is accepted as an international standard for two-dimensional graphics.

∗ Designed to be portable across different programming languages, graphics devices and hardware.

GKS

MSRIT

Page 6: Graphic standards

∗ In GKS, pictures are considered to be constructed from a number of basic building blocks called primitives.

MSRIT

Page 7: Graphic standards

∗ polyline:. The GKS function for drawing line segments is called polyline.

POLYLINE(N, XPTS, YPTS)∗ The polyline function takes an array of X-Y coordinates

and draws line segments connecting them

Primitives in GKS

MSRIT

Page 8: Graphic standards

∗ POLY MARKER: which marks a sequence of points with the same symbol.

POLYMARKER(N, XPTS, YPTS)

MSRIT

Page 9: Graphic standards

∗ FILL AREA: which displays a specified area.FILL AREA(N, XPTS, YPTS)

∗ TEXT: which draws a string of characters.TEXT(X, Y, STRING)

An example of the text primitive is:TEXT(6, 3, 'A Character String')

MSRIT

Page 10: Graphic standards

Drawing duck using gks primitives

MSRIT

Page 11: Graphic standards

MSRIT

Page 12: Graphic standards

MSRIT

Page 13: Graphic standards

∗ the three-dimensional extension of GKS.

∗ allows the production of 3-D objects.

∗ handle 3D primitives, 3D input, and 3D viewing.

GKS 3D

MSRIT

Page 14: Graphic standards

∗ Polyline 3DCALL GPL3(N, PXA, PYA, PZA)

∗ Polymarker 3DCALL GPM3(N, PXA, PYA, PZA)

∗ Fill Area 3DCALL GFA3(N, PXA, PYA, PZA)

The Drawing Primitives

MSRIT

Page 15: Graphic standards

∗ The Graphics Standards Planning Committee (GSPC) proposed the CORE system in 1977.

∗ Core graphics had a number of problems at the level of program portability.

∗ From a technological point of view, the GSPC CORE has been eclipsed by the development in GKS.

CORE

MSRIT

Page 16: Graphic standards

Evolution of graphics

MSRIT

Page 17: Graphic standards

∗ Necessity to translate drawings created in one drafting package to another often arises.

∗ One method is to write direct translators from one software to another, which has to be produced by system developer.

EXCHANGE OF MODELING DATA

MSRIT

Page 18: Graphic standards

EXCHANGE OF MODELING DATA

MSRIT

∗ If we have three software packages we may require six translators among them.

∗ This will necessitate a large number of translators

Page 19: Graphic standards

∗ IGES - INITIAL GRAPHICS EXCHANGE SPECIFICATION

∗ IGES version 1.0 was released in 1980

∗ IGES converts the CAD model into neutral file.

∗ Conversion is done by preprocessors inbuilt in the software.

IGES

MSRIT

Page 20: Graphic standards

IGES

MSRIT

Page 21: Graphic standards

∗ START SECTION: Contains man readable prologue file.

∗ GLOBAL SECTION: Contains details about the product, organization, software, date etc.

∗ DIRECTORY ENTRY SECTION: Contains attribute information such as color , line type, etc.

SUBSECTIONS OF IGES FILE

MSRIT

Page 22: Graphic standards

∗ PARAMETER DATA SECTION: Contains data associated with entities.

∗ TERMINATE SECTION: This contains sub-totals of records present in each of the earlier sections.

MSRIT

Page 23: Graphic standards

Entities

MSRIT

Page 24: Graphic standards

IGES FILE

Contains only two POINT (Type 116), two CIRCULAR ARC (Type 100), and two LINE (Type 110) entities.

MSRIT

Page 25: Graphic standards

MSRIT

Page 26: Graphic standards

IGES part file case study

MSRIT

Page 27: Graphic standards

IGES OUTPUT OF WIRE FRAME MODEL

ENTITIESPOINTS-8LINES-12CIRCLES-2

MSRIT

Page 28: Graphic standards

MSRIT

Page 29: Graphic standards

MSRIT

Page 30: Graphic standards

1. CAD/CAM/CIM by P. Radhakrishnan, S. Subramanian and V. Raju.

2. CAD/CAM principles and application by P.N.RAO

3. GKS/GKS 3D at CERN http://wwwasdoc.web.cern.ch/wwwasdoc/WWW/gks/gksguide.html

4. Graphical Kernel System http://www.chiltoncomputing.org.uk/acd/literature/books/gks/p002.htm

references

MSRIT

Page 31: Graphic standards

MSRIT