0% found this document useful (0 votes)
18 views

CG Assignment-1

Uploaded by

Rohit Maity
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
18 views

CG Assignment-1

Uploaded by

Rohit Maity
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 13
—_ A\ssigmmend -ol what 15 Computer Crap, —Covapukes Graphics Compal graphics is on ant of rowing pictures, lines, chats , Hc. Using Computes with the help of Prgramwing . Compa graphics image is made up of pumlyey & pinels Papp cabions te 9 Gaophs and _ chai ics) Explain the Ppplications of ao early Oppication — fe, Computer Graphics is the display & Simple dase Sraphs Susually ploted on a character piindes a. Graphs and charts ave Commonly used te Suamanize finchonat, shabiskicat , mathemadical , ehgineer ing data fey yee Search arts | Wianagerial Summaries and othey ‘rep a] types of publi cation s 3. Computer - Aid Design. % Ah wager use of Computer graphics is in design Processes particularly ” Poe engineering and architectural Systems and economic + Tt is wed in automobile, Aivonatts , spacecrabt , Computers, home applian cer 2 Virtual Reliby Enviroment * Dnimoton in virtual scdlity enuiwy ments doe ofen Mit ds tranny heavy a4pipment Operators ov to Analyze the eRRechiveness Cabin Configurations ard Cone! placements, a oF various 4), Data Visualizations : ¥ Producing graphical and medical data Application — af as aepresemlakons fer" scientific , engineen'ng stats and Praues i$ —ancther Fairy hey Computer graphis , whith in gneeally efor eg ty Sem vival zahio n & THE Collechion of data Contain Nigh - order tomers Scalay yalues, , vecksrs’ or 9). Education and Tratning : wv. Computer generated ynodel of Physicals Prnamoal polihical , Social , Ceono mie & other Systeme O78 @echten ‘Used as Cducationa! Qids 0) Computer A Yo the pictne ‘is Uasually painted —elechoni call tablet Wing stylus, which can Stokes 1 brush uidllhs on a Zraphire Simulate different bry h ahd colors 9. Evy dainmend * Television Production , motion pictures and wudinely Q Compiey graphics Wethods 9 Inrage processing : & the modihaton 61 inter Pretation of Sach as photsgraphs ad Music wae video 5 exishing prcturer TV Scans called * f+ iy used in Computed X-vay tomegra phy (C7) , emission tomography (PET) and Computed axial (can, Position tomo gre mage Pro “ising “ 9 Graphical Vier Tater frees " ye Rtmmon ei fo ayrlications seftwase fo provide graphical User Duden face (Gur) x» A majer compenent of graphical jnlerfaco is q witndng mange teak allows a user do aisplay multiple, velongulay Seten areas (Called dhiploy Windeves @ with need d'agam explain the basic design And sporation FE cathede” Ray Hube , . eke eon oath Coils syton i‘ TRG: Base design of a mmagnehic - defleckion CRT » A beam of — ehechons , enniHed by an Clectnon gen, pauses through focusing and de fection Systems. thet GM the beam foward Specified pasihons ov the phosphor - Coated cureen ‘ * The fequemay ok whith a pickve is vedrawn ” J. the screen yy yefenved = to ar the Fresh rate raking, \ Glament Corb! Acederating Cid _. Avwde oo + Gy: Opeah'on, of an — elechon gun with .ady acceleroh ng anode. belween randem Scan and rerck, @ explain the difference Scan dois ? Raster Scam & Th ss a print plotting dice: ¥ Th sweeps in a particule oder. yw. Tk ws well suited fer nkalist'e dijlay of Scene Containing shading and Colov partes . eo Tt wowed fey photos . we 14 is less expansive than Rondomr sean Syke y. Refresh vate {$ Go ft % Frame Per Cecond Rendowm scan ¥. It iwa line Grau iw dona. % TA drouss any order tne image fn we Tt is used fr tne drawing aplication and cannot dhiplay ABrealistic Shaded ¢ coves w Tt bused fy text, Voges, letter h ead we TH ts Coliey than Raster Scam syste ¥ Reheh rae is fawe second 30 60 per Device Comdinades * Ywes 2we) > Ove 7 Yee iA) using & Progaumnrnd 7g package To generat Q picture Dihet need to gi the gyeomehic desription EF tre kvouwn as comtinacts, a are gin im Some | hypeieolic) Fey met oye thet art to be displayed volues for ¢ »-Canvkts5 an sade ‘ carter adie sacl ave ws Gamsduching and * diphying. COoxdinadt — © Explain’ DA ne Drawing Algsithry And Drao a tine fom (9,5) + C66) to xeshize He Mne % The DDA js a Sean- conversion ine dep algen tom based on caleulating either osy qo bys / + A line is sampled at unit indervals sn One @Cobded, and | He Coaresg on ding inbeges value nearest the Lye 1 \ path dre’ deleomined — form the ether Comdinde x» TDA atgoithon has yr cases So i fom eqpioon, He M=Cyeyy ~ Yu) | Gen 3x) Case j+- 4p We}, 2 increment in unit tntervals then, wa = Gar Ye) [ @eu- ae) We den Je Mea Her —> case a. f wari, inGrement — in unit indewals then, we (Yo “Sk) Qn ~4x) Gye) = ! De = OUm)+ % —>@ Case 3:- ‘p mel both 2 and Y inGement in unit ntenal Bee Yer —@ Ley = ko (ima) 6. —- @ with necessary gdeps explain Bresenhams Line drawing algentym 7 y. Tape the two Vine — endpvints endpoiert in (ae ye) | ». Ga the Colm fev and stae the (ope frame biter possilisn (20,92) 5 & Calestade Het Constomts ay, Ay, aay and Bay- py and obtain the Stacking value fer the decision parameter as ‘ Po= aty- Ax a #. Ak eadh tk along as followin 9 est af pkxo , the line + lading at K=0,, perform The next point to plot Genny and: pktl= PkA a Dy othewie . the next point 4 glet iS Getats yer) and pktr= pea Q4y- Fabx, Repent slot Ar] moe fimo. nok: TE jwj>l-o Thon Poa Ar- Ay amd TP pk. Dabileute infamation fer an objet include parameters ” Specifying dan ef danspanenty of the objet and ike surface aetlechvity and techne chowackey istics. %. Comdina® value fer each © verex in the objet axe skokd in the vertex faule. fe €\ gs YU Seber Ye ey Es ya ¥ ey ba] Vertex table , Edge Table Gun face = Fates Table. oth a) _ mm Ei Wy Vee 42, Ya.t, UE), €,e£ Oven H = Ea: Vaivs tenes hs a E Sap Zz. Ba: Valve, * Se Var te yy) , ee Eq Va. vy vs 46 Ip. 2y Crs Va vg Ec vy,v, | @, Llurhete how to identify . Concave péligens. > TenkRcation _atgosthon 1 x Tdentify ing a Contae poly eC of ood i Suceesive pairs of aes Catoul ating Crroci= products d. Therefor , if some Corogy product yidd a partie ake aud Some fregate value, ye hae’ a Concae polygon Grxta), >© E2xEDy>o (Exx Eu) >o (xed), 70 G XE), > 0 ex Ede 20 Tdemkification _algevitnm _a 4 Look at the poygone vertex pesitions elated the @ledem extension [ine of any edge TL some vertex ave one side & the eension lime and come vertices aye on- Ho other sik, Ye paygen iS Contare, © Explain the method af Splitting — Concave: polygons . we i), “Vector method D. Rotational method D Vectss _Method '. ¥. Fist need to form the adge vectrs ¥ Given two consecutive Verkx Positions, Ve and Vetw we define abe edge Vettey lothsery them as Ex= Vet > Ve, * Calafate He Gos produc of Suceasie Udge vettns in oder arund the polygon Perimeter a. Retotional method \- +. prcacding Counter clecewse annum d the Polygon edges we ghitt the posite sf the polygon so that each vedi Vy in fun is ot 8H coordina evigine . w We otek He plygon about = Ha gin Wa clockwise dive, So Mat tha next veer Vea Bon 4 axis we Th khe folowing vender, Vag , Yrbelow the + Qais «the Pelayo, TS Concave D, vow will you identity innit and erbnis agion of Prygen ? , : ». Tao Commonly used algenithmns . Dd, odd-Even ale and . 2), The nenzerp winding ~ numleer rule, ). RLvide -oudside Testes. &. Alo called: the odd paP parity me oy He exon —odd wile, * Dow O \ine fom Gay positon PotD dadewr Point vudsde he Covrdinnte exter af — @acleed payline. » Then ve Count tho nung of Ve ~ semen Gessing —altng ais line 2 NM _windivig - Nunley whe | ¥. his Costs He numer af Himes that the founda «f On obgct “winds” arund @ porticalon point in the | CounkrClockotse divection emed as winding Humbe, B We Line we Shove ww} Mot PAS Hg wy ord print Coodinades edd -Gn Rule Nenzera | winding -Numler vale.

You might also like