Skip to main content

Computer Graphics & Animation /BCA TU

Computer Graphics

It is a visual representation of anything on stone, paper or canvass to inform, to illustrate or to entertain. Graphics can be simple 2D scene including point, line, circle, polygons or can be complex 3D scenes.


 It is started by Ivan Sutherland in 1970.
  It is a field of computer science that deals with all aspects of producing graphics using a computer.
  It is a process of creation, manipulation, and storage of graphical object using specialized S/W, and H/W tools. 
 A graphical object can be a simple 2D scene including point, line, circle, polygons or can be complex 3D animations. 
 Computer graphics can also be defined as : Data Structure + Graphics Algorithms + Graphical Languages = CG.

 Data Structure: 

 It is used to store graphical object attributes such as color, coordinates, depth etc. o It can be simple array, tree, or octree or quad tree

Graphics Algorithm 

 Methods to generate and manipulate graphical object. 
 The most commonly used algorithms are Line Drawing Algorithms, Circle Drawing Algorithm, Filling Algorithms, Clipping Algorithms, Visible Surface Detection Algorithms, Illumination Models etc
.  Graphics Languages: o Any higher level programming languages such as C, C++, Java, or specific programming packages such as OpenGL, Adobe etc can be used. 

Comments

Popular posts from this blog

JAVA DATABASE CONNECTIVITY

Java DataBase Connectivity JDBC stands for Java Database Connectivity. JDBC is a Java API to connect and execute the query with the database. It is a part of JavaSE (Java Standard Edition). JDBC API uses JDBC drivers to connect with the database. There are four types of JDBC drivers: o JDBC-ODBC Bridge Driver, o Native Driver, o Network Protocol Driver, and o Thin Driver We can use JDBC API to access tabular data stored in any relational database. By the help of JDBC API, we can save, update, delete and fetch data from the database. It is like Open Database Connectivity (ODBC) provided by Microsoft.                                         fig: JDBC  We can use JDBC API to handle database using Java program and can perform the following activities: 1. Connect to the database 2. Execute queries and update statements to the database 3. Retrieve the result received from th...

Linked List in data structure

Introduction to List and Linked Lists • List is a term used to refer to a linear collection of data items. A List can be implemented either by using arrays or linked lists. • Usually, a large block of memory is occupied by an array which may not be in use and it is difficult to increase the size of an array. • Another way of storing a list is to have each element in a list contain a field called a link or pointer, which contains the address of the next element in the list. • The successive elements in the list need not occupy adjacent space in memory. This type of data structure is called a linked list. Linked List • It is the most commonly used data structure used to store similar type of data in memory. • The elements of a linked list are not stored in adjacent memory locations as in arrays. • It is a linear collection of data elements, called nodes, where the linear order is implemented by means of pointers. Linked List • In a linear or single-linked list, a node is con...