Interactive Graphical Techniques in Computer Graphics Last Updated : 10 Aug, 2020 Comments Improve Suggest changes Like Article Like Report To construct various images and graphics in interactive manner, there are different methods which are built into various graphics packages. These packages contains various options which help user to enter information of coordinate by using stroke devices or various locators. These coordinates helps in creating boundaries for various objects which user is going to drawn. Positioning Techniques : It very basic technique of graphical input. It is also known as locating. With the help of input device, user indicates position on the screen. To display object this position marks location. Example: input position can be used to insert symbol to specify endpoint of line. The process of positioning involves two steps, in first step user have to move cursor to desired spot on screen and in second step user inform computer by pressing key or button. The positioning is very often used in geometric modeling applications, where if user wants to define new element of model or to change position of already existing model. Positioning Constraints : Constraint is rule which is used by user to change value of coordinates to produce required alignment of displayed coordinates. There are 3 types of positioning constraints which are as follows : Figure - Types of Constraints Directional constraint - Directional constraint is used to straight line segment. It is basically used to create horizontal and vertical lines; without thinking about endpoint coordinates. The user specifies two endpoints. Usually program specify line drawn by user is more nearly horizontal or vertical and draws line parallel to axis which he wants to draw. The distance between two input points is length of line. Figure - Directional Constraint Modular constraint - This constraint uses grid of rectangular areas which is displayed o screen. Any input coordinate position is to be present on nearest intersection of two grid lines. This constraint is applicable to symbols as well as line endpoints. Figure - Modular Constraint In the above figure, it is shown that there is usage of grid lines to draw line. Cursor is shifted to nearest grid intersection point and user draw line between these grid points. Gravity Field - This constraint is useful where there is need to attach line or line in already existing picture. In this, picture does not lie on grid system. The name of this constraint is so because there is gravitational pull in between lines on screen. In this constraint, input position which is near line is converted to input position on line. In this, there is invisible area around each of line which has shape like of dumbbell or sausage which is as shown in the following figure: Gravity fields size is chosen not very large enough to aid positioning but small to reduce chances of overlapping with other lines. Rubber Band Method : This method is used to construct and position straight line segments. This method stretch line from starting position as movement of screen cursor. The user first selects position from one endpoint of line and then it moves cursor around, hen line is displayed from where user start cursor and position where cursor is placed now. Finally when user selects second endpoint on screen, then final line is displayed from starting endpoint to second endpoint on screen. The name is Elastic or Rubber Band Technique because of effect of elastic line which is stretched between first endpoint and cursor. In this method user will get idea about line which user is drawing before actually fixing that line. Figure - Rubber band line This method is also used to draw other geometric entities like arc and rectangles. The rectangle using this method is shown in the following figure: Figure - Rectangle using rubber band technique Inking : It is other technique used to create geometric patterns. In this method locator itself leaves trail of line segment as way pen leaves trail of ink. There is no need of pushing button for every line segment in required picture. In this method automatically new line is drawn when locator move towards sufficient distance which is as shown in the following figure: Figure - Inking Comment More infoAdvertise with us Next Article Interactive Graphical Techniques in Computer Graphics itskawal2000 Follow Improve Article Tags : Computer Graphics computer-graphics Similar Reads Beam Penetration Technique in Computer Graphics Pre-requisites: CRT, Refresh type output devices in Computer Graphics The cathode ray tube (CRT) monitor displays with the help of a combination of phosphorus, as phosphorus exists in multi-color. Beam penetration is a method for producing color displays with CRT. The beam penetration technique uses 2 min read Vector Graphics in Computer Graphics Vector graphics are a flexible and scalable way to create images using mathematical equations and geometric shapes, unlike pixel-based raster graphics. This method ensures that images maintain high quality and sharpness at any size, making them ideal for logos, illustrations, and other designs. In t 6 min read Graphics Software Standards in Computer Graphics Graphics software standards help to create and set a standard for the development of computer graphics, as there are mainly two categories or general classes of computer graphics: General programming packages and Special-purpose applications packages. IntroductionEach of these classes has its softwa 4 min read Interpolation Methods in Computer Graphics Interpolation is a method of constructing new data points within range of discrete set of known data points. The number of data points obtained by sampling or experimentation represents values of function for limited number of values of independent variable. The main task of Interpolation is to find 2 min read Pointing and Positioning Techniques in Computer Graphics Pointing and positioning techniques are essential aspects of computer graphics. They can be used to create realistic images, enhance the user experience, and control the overall look and feel of a digital product. Pointing and positioning techniques allow the user to interact with the environment an 6 min read Projections in Computer Graphics Representing an n-dimensional object into an n-1 dimension is known as projection. It is process of converting a 3D object into 2D object, we represent a 3D object on a 2D plane {(x,y,z)->(x,y)}. It is also defined as mapping or transforming of the object in projection plane or view plane. When g 5 min read Constant-Intensity Shading in Computer Graphics In computer graphics shading is referred to as the process of altering the color of an object in the 3D scene based on the surface angle to lights, its distance from the light, and the material properties. Constant intensity is also known as flat shading. This is the most simple and very fast method 2 min read Introduction to Computer Graphics The term 'Computer Graphics' was coined by Verne Hudson and William Fetter from Boeing who were pioneers in the field. Computer graphics is a dynamic and essential field within computing that involves the creation, manipulation, and rendering of visual content using computers.In today's digital era, 5 min read Gouraud Shading in Computer Graphics Gouraud shading is a method used in computer graphics to simulate the differing effect of light and color across the surface of an object. Intensity- interpolation is used to develop Gouraud shading. By intensity interpolation, the intensity of each and every pixel is calculated. Gouraud shading sha 3 min read Segments in Computer Graphics Introduction : Introduction segments are a fundamental concept in computer graphics, used to represent the basic building blocks of a graphical scene. They are commonly used in 2D graphics to represent lines or curves that connect two or more points. An introduction segment is defined by two endpoin 8 min read Like