0% found this document useful (0 votes)
29 views36 pages

CG Numerical

computer graphics numericals

Uploaded by

purnabkhadka
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)
29 views36 pages

CG Numerical

computer graphics numericals

Uploaded by

purnabkhadka
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/ 36
Te tro x 406 gh ___——_ 3393.00 be ant ng Size sf video fee ieee 3 sh a the help of dep fe drmag with Wh emefer eyefiene freee then regained 2 yy ee Feffen x 8 =} res etmanscl_in Yyitee eS rer [oe ee eo Bin olae 2 oni fae (Give) 2 fine of wides » a00xe8 | 7 = f iaeeaial =O; 008 Fee = 3 Bapect Ean ee ally =3410F 1659 EGR rmdec eyetemn ie fou dip i eto neh” cerern wait 9 5, | Pele per inch i Z eet eal sank thet we | ote eter 6 bide td 3 pins in herizentel mais “firma —huffee, hes mosh t ind finale In verhead °° da we naed for_fon tf ahed they beromt equal: [ pees, — == : Z = Numerical: ESET TE i jh 0. @ “How ame finns Sal ee stg Ee eatin ete Tserere sesh jedi doce et | —“Keselution = (fetee3 # Gen tea) ot vefeuuh 2 reader s feos t T By wt htston af tesonaate: ead 9 ea ‘Scanned with CamScanner | ay repose Tee gereca a} = onde of 61 Famers per second? tohat ir dhe f 2 Fme per pice! tq anth system? fad fer eae by de rerladion eystem —— eviatin = fet 428 ef ded @3) Find dhe eapec! ee fs SO Bepect eae. width > SoTeRD see Fa_emt_cecend fox econple feep fee [ sopader ea Repel die = Gee ate Beas toe fra ple = Ye. pers ¢ 3 pivels hes. b Ba eth ef tne a verted direction, I necol to’ cennend (anB: for £280 91034 reyelubie. 4 plead Bevie 4 ecipedl Res epiatea 10g RecsluHies = (Rite) 3 (oexsee0) ore 400 # Jooo _ - : Tote) no-ef picel iq one sec > 32 dor, = Aupect rafia = fo ae | ; 4 Recent tim a pimel = ap sysdemn: with lati I sd posed Hi @ fie i ee ‘Scanned with CamsScanner [ioe peels pre inch fe seme as fe dpi) Cpantee resshation ie emprensed in 1 Cor “Das Date pe abet) hee) Te an ef nes ef bth es erro seh oer aae Frome buf = resslabion peal depth 7 = or Swoxige x32 22_| Baler and Bonde system evehitectare Ease tie at a Tk jad = aelttine/, , = 306) Fed asa PT mans E cal TT ieegs du fe a 224 ee Tteb, AD. % pme “pen it ts Rome buffers rates tion pire lap sid EL toe 122. ts I f = aiesg2g0 Lib Dijiey Destiny = ey I t fp bated pened —ayetem (ev en de Ph pirel) [Finns requiead jp 2 Bee t Maier Oy arr. 3 | Symp file Fe esha pee inch. Hack devi : : pe > DEE om ae) pied — | | = ‘Scanned with CamsScanner ___Lepent tithe dy oc dy Hint [Numericod. ot Dean cheaight line froma (20110) fe GOs?) using NDA Qaorithn, 7 getithon, as tl Pied we woe ea fa lin thet fete oy sncting paint } Dapae tte) Bord =O Sines fra] <4, we pevfoun samglin ng Une direction, Saws repent, 9 Pinedo tm (ren ten)? etd, Ye tm) RS Sins Me Sey Round off velue of Ye) 1 2) tog NI 2 ae J) 12 2 yey 12 4 a4 12213 as 14 “4 6 2 1468 1S 7 24 wee 16 a 38 164-1 4 V5 Jat 2 ae Io ‘ 18 38 | “ en ioiaenvecon | vel letted Be in reph Scanned with Camscanner Sp Thee HF joggin * the Te “DdA, A Ye won Neadaonge. PID cenpate flepe 2 24-39 aheng adinetien. Se urtape vepeap dy r Hong he § fy 7 2)+— ‘Scanned with CamsScanner ss | somes = | Ex PN epatives slope line. _—— = 4d — 2 Shere, Wace fe be Ts 7 Tmeon fe wpanke by ST Ay —_L_ UTE Inereosd boy’ needs op be T Ve ty wadig or r deeeeoued em] Me yy (roend eff valu) ne 2 5 1) eae Tg mn 1 6 _@ Digitee dhe at: line heting end pein} 1) yee a ve awe us i! . Wty 2 3 Tei Te msgadiody tt St Toe i 2 eTepe Unt a = Te tae oe 3 irs SSC wond off the : MB dacrening Tae deci! vale ~ v ©) t6ay ae 1 Veuae thie Co ud 1 7 + joy ib is 4 sat te ut - < ul) iter yy peleh im _compa on He ae “7 Sipe yi eC on Ty a" ul veqy ed vel aa | an ve ae 4 at 1 reed 2 ete at 2: — mee ie) eee ~ - T Binee [om [7l, we perform Ting al — —— i Seaieicgs tal oeelet T a fin ir an = he he - - B mW ey — & ‘Scanned with CamScanner see gape —taping nny he divcets = oy FL ot = ¥ Se_lrwend off) hs i - 13k 1 ine “ Key aise 1s 1s 366 ve : ez te yet 7 ae 19-6 @ 1 ae Dye Tae eagmend fem UOua) & : 1 feoue i a : Or peek otis the ep a eee Z - { et [ en 4 — f tee “] 2 te Hi as 23ers I iy gives hea itn @asy de Creat) ‘Scanned with CamsScanner Pdausslve bili slghtgn, inibiadll y fez 2ey- ay (subshhde beyomn, : and om By aad = Note: If oy if vey we discard The sign Forma for Numedtal Im] eI Pos 2Oy- oy Tf. 40 Cun Yu) Pen = Pet Boy Ace( Neth, yt) Mex = hp + Bay 2p > Levent de time, Ql Digitine {he line egeusd reso) Gere) fol” ] now = (ede) = Cate) PT dys ay gece Cant) Ta ENaTer (rey) je 8) Fray sae, as ‘Scanned with CamsScanner tp eh ee Pr be 4 ee (fen nag " bee 2dy dm cdG-s0e6 kK pe yceeaeiee dees is R624 tf 3628 — 4 2 ao yn matching “Ae 2 22 22 ya cary 1 ts Wy 1g 8 = 4 10 age Php chat Py. 255 a 6 16 5 to_tokewkote fy) a 24 « 7 Toe ee ee & 144 29 repre hee) 4 ile eg ent ged _ Stars te te i forma te _codeataty =| Cit ts better bk shoo AY . ‘he computation part iof Pps Pat tay fer=- pg) mae Pa] Plot ths value of Mes Uppy Thy ‘Scanned with CamsScanner 23/0% veg —@:, Digiree the line segment €2g10) to roa aa ls —___— dys Ya-Yy 2 2ocpesso __s¥gn =e ‘Scanned with CamsScanner 4 : ; eli?? ore te 2 16 1816 ID ie 1g bo ft & ‘Scanned with CamsScanner Cue ps tf [oolzt - Juz _28%-sy Sse baat Per = Ar 2oq- 204 7 lee (MY, rh) = Peti = Pes soy 2am e @. Digitine dhe dine _sayment U 0.32) te (20,24) fol” g (nye) = (1012) - Ouryiy 20012) : uy - (ee24) . ms Y27ys 2 212 212 71 Ane MD 2ordo dys yey, = MicdD SID ady-24 »2dn = 20 Ddyeed y 2 4 Pe Ldyndy z 2q-1B-3 @ _ Repent Ay tina. ie 12 Hiner. Cby da) ‘Scanned with CamsScanner cone miiianns, [Tnocna. leigh Ble pep FP 4 es 1 i - C : ie 34 | 2 1t 20 1 LL { 8 ua 2) : r | 3 =4 iguana : 18, 16 1g 5. 2 . Jot tt 1 Lo 24 | TT] $A S4aqsteTts N epee oir te foge W near teks Tee tyne Scanned with Camscanner ~“ MR Rw er 7 Po eta if o2( Om + a Peppa a Dy aL Mee nt o-a) Pes a 24 coy, Repeat (m ¥) aed pb Digitie saa tsiPh roading vee (mys gu) - Pox fev 2 po Gey : BO) e On go) HOF is Pre. Myer Ye py 2p 24. - 0 =4 1 g 16 Pos -F i <4 2 & 4 Lo Pu 4 tye at 2 i 3 GM Pas agen ey 2 -¢ 4 q g 4 Pyedabes -ty2~ 4 a ic é to Jt Myr -648H = 5 2 & 5 1210 Pes 2eJoey 122 & + 3 =p Pen gaiar tient ince NZ ine 6%E | we stop dha iteration here = Nake: Pont forget PTT (UY alzory | ‘Scanned with CamsScanner coe, ) \ owe: ft | To dows crete 2 (40) G7) a £ « (my) (o-t) (y.-4) @-) 6- (4a) (5-0) (ry) (0,8) bye) Ct) a Ea) (m9) en) Ch) et) Oy Cymy (ao) (Su) (aay (78) 94) tas (ayy G8) 8) ea) 8) a) (Yen) (4,0 )om tba) Uy) 2 ta ESE yen) 00) egy 93) pay) CO Scanned with CamScanner Ql) Digihze the Sol) eier | eet Mey.) = O (Or) = (0.5) 2 bed awe CaF Peers Yay Mee Yorgy =41 1 5 2 Lo 2 2 = 4 Jo Prerdban ey 4 3 4 ‘ £ Dy Htbtieds 3 4 3 Tinee AWS be WAY, we step Reve ‘Scanned with CamsScanner ES) (4-4) a pases Sms (se) te) 8 Crt)" Gay a9) ea ee . wp _Sinu vatur of he 2, E22 a T > ° 7 7 a7 < t ompe chytt Yer Th, <8) - Ob yak) = (OFZ, 63). (08) (yen) C60) Cry) (249) 8") a Ne iow, we I For Us) fol 5) : (rim useye (30) (mo yar) 2 (4,8) For (5,4) fora) - | Gahyte) = (57) Prk yk) 2 (6,6) 7 re pe ‘Scanned with CamsScanner (a0 san fet - a : dew t wt —tachcolewlated _pivet orition (my | te aptad path end oh eo ( satiate —vadaags rtd t 2 PRY 1 dhe wm reripn 2 unbhif t Ei) x Bey - Qi digitize on Upse with trys @ Ay Sol aiven, rod | (Myo). (Or) (0,8) Now, 2 i Decicion parame) er. 4 Tr c Pb he We Npe be . & | WG 2 Ore etl eee = 4 [x 2-32 | me ere Lap evra 0 ts Go q 768 ler \-224 (2,6) 144 Bed Ty ~44 (Bb) 216 248. Dot ‘ 36g & r ‘Scanned with CamsScanner as Yer Men ot 05,5) 360 2 (ha) Serge 0 ee inna Wl ae Tee peak te tay (ee) 3) VeiHad dictmade ‘ Scanned with Camscanner { H I t | $ v oe I 3 5 | > y | Ol yrs 4gey 4 | 34 ffl Scan-line polygon fill Algocith, | \ ep \ Mq-ekec —> for by | ‘ 8 s\ Tip Bi PG > Pook et Doe te u | i. | =| For econ lige 11 wwe count he paint ef inderpectiba [ar foice whereas fv Line LD We counte | yhs pent of indectertinn only once ‘Scanned with CamsScanner Cpe) toy Tage yon 3f cor ordined es repre ented as reo vector, then T : (Rp) | = pT. pT Deve for clockwise direction. ( N agative ro tation), | | hag 0 Me reorg parsing now | ats veos(p-0) | Src pte + rsing sin B fi = esin( gb) = V¥tingeof= card sind | mts meee + yin [ Fn Wemayeneous ys Yyeoed— msinf fl Co-ordinate. om) cup sind olf] Now, ylfe | sind cab olfy | 1 pied. p — ft oo aff pepe | cin ‘Scanned with CamsScanner ale to bal of iss origin sine ie. S(Suvyon): (ogo i € y. er | oy inate Ps § (Sosy )-P 7 Posinte the BORG y 15” cleckueire about origin and seale It 7p 02.3) obeomt origin L y, [ Pl 2 Petation by 5" (clock vaire) AChas) TshegeT: Scaling Gy (2,3) i s(23) 7 Gene) + 7 Trio, nut Best) | ua oise 7 Net shansformafion = 5 (2,4) -P(¥45) I 200 |fewtr sara] | = fo 2 0 |[-ehar cms dl Scanned with Camscanner ft oe [spe ve oy a0 —f 1 paca of] 0 wwe] 7 tee tf fer *] FE: = op xe} Spat reseeeal rd 1 o z ia] | oJ aed 4 et eR = T 4 = = ‘Scanned with CamsScanner a: Sale fe doable 563,39 a nyhict Eres meas) be Since Bes re s[e nay 0] [ead on oe be et racers ope i te T [2 ol a ae i 7 T Teo tt oe 5 3) ae ; LC vi ho 1 = - pe fee a - oer z I a ‘Scanned with CamsScanner a = sd pant eeigin tee TL, 7 Se mae) = Te xTsxTaxTsaTex Th co] 2 aT SAY TASB t eT outs) = Ble) Le (ste-12) ar Ee ; ze 9 Tsk ene Pernt gyre | te7e ST oe © 4 r ad Be _ I T = TCSiad> 509.3) x (5,2) B(45 JO ste seek Tap )=ygein i re = Me MB Yel tacert) t Toespj= eo) fies t j Tferafepe se |xfo re — feet bee tt lee RF aoe iel CuO abont Goto) £ ca as ine shout - ) a t 7 — - te sTT2 oo Dette to fe 1 = _ _| oo 3} te o ti 1 co93 t ~ SASL I y= x 0 "UA * ‘Scanned with CamsScanner ban ae a o J ‘ti: feeralats fired point fa mg Thm fr) feo Aewre14. 09 Te Rates aimmat snigin_ice BOD t “638 TE, trenslatian of fixed paint beT Ong.) Net transfrocakonT): Ts To *Th TU, ede BEPI ¥ To) ‘Scanned with CamsScanner My PPh wither mer gacie Lf side dhe ™ To ey[? yvft-fe 2 elly td oo Mitesh GQ. Find ihe tvenefermation matrix for veflecto aheut the i dine yom 4 Zorgen M1: Polafe reflection ani bygg 7] in ACW fe R(45*)A cw. Z 7 Be flecfin bee yoaxic he Pf Tz: Re bock in (wi ‘es PA45) Cw). Scanned with Camscanner [+ Freines enone o ‘Scanned with CamsScanner Gi Peflect chouk the Une mea. yf sh SoU. TH Tl-a,0) He fr: " La | ts: 16,6) 4/0) Z T —! < 01 enn obi 2 t Jeu ail [-2 n8in 0 zfe 1 of*fo? [x | Choo eOrc - Tyo «] fa of = t sfosl off Fhomes: 6 . $8 st ioe t ; Ja 6 20 J ! rns eom tala | be @. ‘Scanned with CamScanner — Sa ee A Translate (0,+h) fe thin ' ive. Tl 0,-b : = aN. TW: Refit ahoul mn-axis 3. Tromelate je erigine) place ie. Tloby” Ne frats fematictDa Te BT RTL [neo a ee - sf{o 1 blxfo 1 o|fo 1 -b CC eC oo 1d T Loo] ho 07 D [ot bef ao ts Lo 7 a) dD L Oo -t 2b 0 id Find the Tranrformaton matrix hy reflash about the Unt Yeoh. os Met ers Scanned with Camscanner 2)-Re 2 ok Net draetfornationT) a Textaxhats xi TT) x BOD) ROW fy x PLODOD Te re? cao 0] [ole 0] [oo no =] * Teo bie owolx| ot ofapime eure oot er) bee bee Lato — : : — a : : dpm iad 4 vet 1 - he Te 0] len me *] Y] 0 © | [wa tao caw Lu ra et s]e UUs Tene evo @ |x fy 1-6 |rfae cup bee Lava’ Love’ - 4 wet oot olf +, rome = “ene a 3 x bewd (isa aay f Teme Se | Vater oS eat ‘Scanned with CamScanner ? GO) Peficet abe wt _objast hy ersuming_es_if the [abc Ta etl eT [the lagere are caued fo slide ever ewh | Tother =1 (TEE Shearing Slang Seesie ca sake ths fe ehtariny eonstant Shae JT} ‘Scanned with CamsScanner -10) Foe TERI: SESS, 54) [The value - Feasts Youre. beg e OO “ealtulntng the ies ben's f eth a Jomn = Yeo | of (uy) in the viewp I Fone Saree + Sy) TS .-10) z % [Sg 0 vos (Seo 8 & va 2 Taxfo as fle ee fe anger mr we Sines — Meo main, T | cas oe ae to 1 = Yon n = E ge{n |e. o¢ ofxfo t aemal 3 i oe 5 e 1] Too ti gt 2: Tos oO =2 t yw Waste Tha Picasa: bon] eo pe]e| eet. 6 [Trow=]e t Yuan |e fo & efx 1 oy IT eo oo 4 I fo. @ po kl fei a | T i! Tos» ¢]'- = pare a tee Te < Determine thi saindsia tp viewport o i : rn drantfumatan forthe faliewing alention ‘of —wsindaud, ord vieopart 1 { ‘ ah | Viewing pinata t ~ Wind Wieapek 1 Lome bef tmer Gide) Tea, Sonali ated Wea 7 15 28) Cad, I [ e eoesttnate-ase a ce aay cea ~ ES ‘Scanned with CamsScanner Whee Ws Tomin OM, eat ) arisen? Fe Tiga ] Sa ested TE pata) (ps2 ra Then. Guten Sea ee fax aan. elena dee 2 Pid Hy [ ss — an Bepien cede off: e001. Logical aan of ALP Te 0000 CST ew hii, hen ‘Scanned with CamsScanner | bend corner corner (20,40) ~ re 400,10) ~ctip_tne | QO) hen Sutherland line clip ping Une Uist Bn a ae tower Leff 11.0)_and Upper right hom Logical AnD [felis Or i) both 5 ee ey [Hg ion 2, the ! | bsvtpint is_0000 - i = 0000, lippin Since vesutp = 0000, we need clipping. Ehooce tie end point of the line ie. Pa(foy) Se, the Ine Pf ip broken down info de Pa H Now finding ‘inf evcee Pion point Py) Slope of tine Ppa ts a eae me} 46 ‘Scanned with CamsScanner ms jae pe peeelcat r nara any ane TO OV ats toy ” 3 tao ge SL ak heey ae van ; . +20 " Z © FRO ytony dy 20 Sip bey Et a a ‘ je fea] Ov = aay EG gE, Dndeccection polnd is | 80 50 a | “Nous, tegen ede af Beene a i Then Logical AnD of B® Pr ic odo i Hen co ee attepjed . mala ~~ ee 20,575) Fig. Plier Clinica ‘Scanned with CamsScanner

You might also like