Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
22 views
12 pages
CG Assign1
Computer Graphics assignments
Uploaded by
bhoyeakshay24
AI-enhanced title
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
Download
Save
Save CG ASSIGN1 For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
0 ratings
0% found this document useful (0 votes)
22 views
12 pages
CG Assign1
Computer Graphics assignments
Uploaded by
bhoyeakshay24
AI-enhanced title
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
Carousel Previous
Carousel Next
Download
Save
Save CG ASSIGN1 For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
Download
Save CG ASSIGN1 For Later
You are on page 1
/ 12
Search
Fullscreen
Ke} Jawahar Education Sock INSTITUTE OF TECHNOLOGY, MANAGEMENT & RESEARCH, NASHIK 2 Fa Tec: ao CG Ques bho Pa p@ AVE = mith Example a ion ithms oobich step along — the line to determine the pixel cahich shoulsl he — fi 5 am A h eo CDNAY @ Algo withon i vas E Mosing Ys_o “DDA Line Deracal Stepiic Accept ta eadpoint acon inpuk (%., So and Co ye : topos Calculate hanleontal & vextioal differen ker kero end paint Ax =\ar- %ol Ay=lsi- Sol ken Siz Based on diffe «in “ctep-2” identits | sub: f skeos to put pixelC\ DP Aux ayy : then me need more steps ino coordina kes | otherwise av Heed more steps in y coardinatiP Cardy) thes Jength = ahs (Asc) else length = abs CAy) ead iP Step=4t Calculating incwement ina ordinate and Sy=ca0.4 dinate. Ax _ % Anevement = dee (Float) lengtt, Sincere ment = AY Moat). Jeng th Go increment) 4 (AY increment) tep-6: Pur the pixels hy succeasPrll increment 4 cacudina ke and complete line draaving. Step= 7 fox Cit wee Crengts yaa) Aa 7 increment We Ye iy inorement. pukpixel Cory)gE Jawahar Education Society's, Ba JIT: INSTITUTE OF TECHNOLOGY, wise | MANAGEMENT & RESEARCH, NASHIK = Drom saline ith otortt i wis Ca,s\ using ddoo oth ms => Co y=etny alg Cayo) = CA 8) me Seo sf Bol = & = a7 mn Ky 4-\ 3 Tar los as] Anu=% yee a i | ci | et o> AY Np fy 42 [ver Aust ay| wv rer] 3 [234] 3)] 3 fe3ae] 4 [Sor ) fl oy ty yt A = oy +l sie = 2 = * ee jst AY i CaS a = 1+CmAny {a ee y i = 14 CoeT eae) rf Siar = eT Cny 7 a 5 OD iecigy = weit Av Dier = Sie Ay = he El\eTt O67 Mia = d Sigy = 234 BI och ay = eh Misty = Sia A =S+ = 2°34 40.47 ociay = 4% =eowonyS\Me Pine he terms 1 reselubion butler naPeesh cate ,color depth ,scam conser s ginel Resclution \- Tt is deine as no. of pointess per centimeter than can be plotted hoawontar ly ds schically Aspect ratio’ Tk is sakio of vertical paint ko horizontal points to produce £9, sob \eagth li es ie both dine Kon. on seqeen. Frame BulPer i Specal aren of mena : — ~ ghia’ soto aiea plaiescanly—— | es is _Koamn ac “Frame Rule, Kier be haa Yess, of ben Ou OF J “ display ac Vora! See eee eee eae LScon conversion \ The proce \ continasa qraphica abject a allecFian af Visoreake gixels is kno KOS sean “Canu ergy, OnJawahar Education INSTITUTE OF TECHNOLOGY, MANAGEMENT & RESEARCH, NASHIK 8G ee element. A‘\ Explain Rresenhawms civele ee Given the centre point crdinat’ (oo) : ond cadius os § senerake aX\ the point : to Rams civele = Sresenham:s circle deaming algovith way is Of cPicinal methad 2 danaidy O cinale ono mouker soveen using oalf i keg so_artlhmne bio hat makes i both Ofas and Maccurate : | This algorithm sxtswsiatn of Roresenbat 4 | Nine de Seain kas by colelabing the Sok 2 a : combn sls, . Vag on th on 4 : q dRoad tne vadius Cel of civels go. A = Qo" _ e agin oer : 4. do 2 y plot Coy) — - deadt 4 are - \ge $ = 7 d= Ata Ca-yVita _ | WP CA co) then 3 _ e =4-i mer aghile Corey) 5. Stop.Jawahar Education Society's, INSTITUTE OF TECHNOLOGY, MANAGEMENT & RESEARCH, NASHIK Fa Tre. Blaihak do sputasan by PENG 2 Describe OPENcl ox chi ecbuate colts Bice te Ain garaws Open Git COoen G yo Li ; = InterrPace CAPT) Lary cond eorina, Db, sD : compube so acaplhic OpenG\ Architecture * CPU The CPU Sends commande and doko ko GPU | Lo start the rendering proce lo. Display List: Staves a set of parecompils com nds that oy be reused spend say oe dering, t 3. Polynomial Eveiluats Gederate verbice crorkhe akon! Pune bons. ike ctiryes evbex Op x ker Opera ef. Lio Light ny tet 0 ; * Primitive “Accembly erkiceg inte - geomet t shapes Nike Emongle b 5, Raskerization + " Conve et ge sock rg) cslhopes like seiaregle s : Prag nents, = le. Texbime Memon yt _ tores textures that oill he applied tothe — — Erragenentdisplayed Fev Verbena pera, Primitive Assembly Polynomial | Ev atuator| Dis plev Rastemizction| [fer Fragme- List [operation TPixet Texture Memory, operation eee e”wwTtre aLe) INSTITUTE OF TECHNOLOGY, MANAGEMENT & RESEARCH, NASHIK Jawahar Education Society's co \ The ‘incide outside test is eae thad used Ls earmine coe theo & — goa phel to deb paint \' r 2 \onpacrka Pace tor Uke \naade ov outside o ¢ tygee his 1 oole Log A Wit = brs king Thexe av b ramsanl 4 uce method ts tect: ) even= odd me tha. pant » sanding oumbeor method \ Me thad 5 £ -O Cero mm point in gts bon In ony Aimagine A divectian pone on a @ Counk San times the Intersects the kb eal £ 6 poly gon [@ daa cection | The point ic inside the Q) Eves 2 intersections The point is outside Ane pi Lasgo Line oi Gind in g Number Methoal - \ do. method olhecteg hoa man > tisses the pal gon csind wed the paint? wiines Pram the paint to \s Verte n meee ene eee tools p Ne PU or vd the polud 43 Tt the t point is-inside the soinding tacks oil he pon-Ze vor @ Te the zero, Int is outside , the otading ortll be 3Potyaon Piling wm igblighting all the pixel Vic_inkide the Satloan Soaitls amy colon other th 9 backs ound (Qian. @ Bounda: \ mt This o reouasiy es method used te ill hy _cal Lng, the oven inside the boundary. Fo\leming | ole | F algo thmy- The—algamithm begin A sipaint inside the Poly gan The oer eI 0 -shecks ithe curvent pixels ls. reseck ieicle th voy ond hasn't heen Pied yet. & the “pixel meets the ombemia it: calared_ mith chases VV salen Qe recursive method Wwecks and Fils the ashy housing pines in ali Foun dines tions @] Advantages i= = Simple cba \oople ment Jor Wing Vere guhan poli qans Diva = pot efticle ox Loa palygons ith lang © ormple bousdarcy‘Jawahar Education Society's, BD 0 Tevezes.. | INSTEUTE OF TECHNOLOGY, “en | MANAGEMENT & RESEARCH, NASHIK AA Disces: bh Example sco Vine eget Scan We approaches ave soos an dd tease otewobiaece. lobe nce duis’ to ther recuse \we camputation we owl od eben ot visible span \nekead af vist Q individual pixels @llscan the Pill ols, sath cav-pute the — ab bs Vike oithis pacssoae pals pon ndars Peach scan line oithis—cocus cave, selP= inteuseckivs and paly go oath holes 2) lLAlgowiktees Set Ys bo amatle st 4 g caahiah these 4 emp ku steps anti) both _~ AET ach : yn ET boa AET shos z . . sith Yerax 5 sts'/ scan | Is ot Sy byt s.foq each edge in AET update Sea nate: 6. Sort all edge an x < @ || Advantage - Tt teks a to faster execut@rU ‘sible wi > petty da Visible Di advantage te OTe Mar omple: Uk wequice oll sclugan should be cent ta senders hefare deals tae 8) Comps Mond Pil, Edge Hil Peace fill @ Flood Fill s- 9 + Purpase © Fills o ati w seca of pixels Ua pecvied calf 2Thethool = Start: Pyaw dipixel and spread gut ta adiaceat pixeles pak match emignal cole + Wsdo.¢ : Commonly used in paink baslae Bi aneas enclosed by heundanis DEA Fills eg ov contaus ayy + Pures x Fills enclosed aveas define by | ne ieee g | edges ox housdanis | + Te thad t¢ Tdenttie od Pills the area bekareen | a ; / eis OPten usecl in eee or CAD systems ta Pile hase o they bound Say de Pinatlon |Jawahar Education Society's, INSTITUTE OF TECHNOLOGY, MANAGEMENT & RESEARCH, NASHIK Wein eg Ger Fence OM he eile) bc Boucdovses cet by the * Pence" ar lineg | * Usage: Useul Row Piling comple ha pes shee waulkiele houwddecies ta he consider
You might also like
CG Handwritten Notes For Btech Students (Computer Science)
PDF
No ratings yet
CG Handwritten Notes For Btech Students (Computer Science)
169 pages
CP Geo
PDF
No ratings yet
CP Geo
123 pages
CGR Practical (1-5)
PDF
No ratings yet
CGR Practical (1-5)
18 pages
CG Handwritten Notes For Btech Studentscomputer Science
PDF
No ratings yet
CG Handwritten Notes For Btech Studentscomputer Science
169 pages
CG 1 - Merged
PDF
No ratings yet
CG 1 - Merged
154 pages
DSA Notes
PDF
No ratings yet
DSA Notes
84 pages
Design and Analysis of Algorithms
PDF
No ratings yet
Design and Analysis of Algorithms
46 pages
كتاب اختصارات اوامر الكاد م هشام PDF
PDF
No ratings yet
كتاب اختصارات اوامر الكاد م هشام PDF
22 pages
Asymptote Tutorial
PDF
No ratings yet
Asymptote Tutorial
106 pages
CG QB-1
PDF
No ratings yet
CG QB-1
20 pages
CGM NK
PDF
No ratings yet
CGM NK
46 pages
Striver Graph
PDF
No ratings yet
Striver Graph
21 pages
CG Assignment-1
PDF
No ratings yet
CG Assignment-1
13 pages
ملخص أوامر اوتوكاد 1
PDF
No ratings yet
ملخص أوامر اوتوكاد 1
17 pages
Adobe Scan 08-Dec-2022
PDF
No ratings yet
Adobe Scan 08-Dec-2022
19 pages
1st Module 2nd Chapter OOP
PDF
No ratings yet
1st Module 2nd Chapter OOP
14 pages
Physical Design Part - 1
PDF
No ratings yet
Physical Design Part - 1
52 pages
Asymptote Tutorial
PDF
No ratings yet
Asymptote Tutorial
109 pages
CG
PDF
No ratings yet
CG
11 pages
Graph at Multi. Mati
PDF
No ratings yet
Graph at Multi. Mati
26 pages
CG Unit II
PDF
No ratings yet
CG Unit II
19 pages
DAA Unit 3 (Dynamic Programming)
PDF
No ratings yet
DAA Unit 3 (Dynamic Programming)
33 pages
Image Part Sanoj 2
PDF
No ratings yet
Image Part Sanoj 2
30 pages
ADA
PDF
No ratings yet
ADA
18 pages
DAA U1 Notes
PDF
No ratings yet
DAA U1 Notes
52 pages
Arvr 1
PDF
No ratings yet
Arvr 1
42 pages
Unit 2 Part 1
PDF
No ratings yet
Unit 2 Part 1
52 pages
Puter EngineeringSEM IVChoice Base T10015 Computer Graphics Q.P.CODE 21848 29 05 18
PDF
No ratings yet
Puter EngineeringSEM IVChoice Base T10015 Computer Graphics Q.P.CODE 21848 29 05 18
9 pages
CG and Oopm Practicals Write Up
PDF
No ratings yet
CG and Oopm Practicals Write Up
19 pages
Ai (Ut - 2)
PDF
No ratings yet
Ai (Ut - 2)
6 pages
CG Notes
PDF
No ratings yet
CG Notes
18 pages
Numerical Methods e Balaguruswamypdf PDF Free
PDF
No ratings yet
Numerical Methods e Balaguruswamypdf PDF Free
295 pages
Module 2 Complete Notes
PDF
No ratings yet
Module 2 Complete Notes
24 pages
CG Notes
PDF
No ratings yet
CG Notes
33 pages
Diploma 3 Modüle 2
PDF
No ratings yet
Diploma 3 Modüle 2
13 pages
Fundamentals of Ray Tracing
PDF
No ratings yet
Fundamentals of Ray Tracing
104 pages
Signal Image Processing For Image and Video Notes
PDF
No ratings yet
Signal Image Processing For Image and Video Notes
81 pages
Daa Unit 3 PDF
PDF
No ratings yet
Daa Unit 3 PDF
17 pages
Gttaphic Kemel Stem?: Gnaphic
PDF
No ratings yet
Gttaphic Kemel Stem?: Gnaphic
8 pages
CG Assignment Ravindra Yadav 32
PDF
No ratings yet
CG Assignment Ravindra Yadav 32
17 pages
CG Ut1
PDF
No ratings yet
CG Ut1
15 pages
DS Assignment
PDF
No ratings yet
DS Assignment
16 pages
Daa Assignment 2
PDF
No ratings yet
Daa Assignment 2
13 pages
CamScanner 05-01-2023 16.28
PDF
No ratings yet
CamScanner 05-01-2023 16.28
14 pages
Daa
PDF
No ratings yet
Daa
9 pages
DocScanner 30-Dec-2024 01-31 PM
PDF
No ratings yet
DocScanner 30-Dec-2024 01-31 PM
10 pages
CG Unit 3 Notes
PDF
No ratings yet
CG Unit 3 Notes
12 pages
CG Assignment 1 & 2
PDF
No ratings yet
CG Assignment 1 & 2
14 pages
Sol Mod 2
PDF
No ratings yet
Sol Mod 2
58 pages
AI (Unit2 3)
PDF
No ratings yet
AI (Unit2 3)
21 pages
" Mathematics and Technology ": A Course
PDF
No ratings yet
" Mathematics and Technology ": A Course
60 pages
Computer Graphics Insem Notes
PDF
No ratings yet
Computer Graphics Insem Notes
25 pages
Discrete Mathematics
PDF
No ratings yet
Discrete Mathematics
14 pages
CG - Assignment - 6
PDF
No ratings yet
CG - Assignment - 6
8 pages
CLRS Gist - Handwritten
PDF
No ratings yet
CLRS Gist - Handwritten
32 pages
Fundamentals of Ray Tracing: © 2013 by Don Cross. All Rights Reserved
PDF
No ratings yet
Fundamentals of Ray Tracing: © 2013 by Don Cross. All Rights Reserved
171 pages
CG Unit 2
PDF
No ratings yet
CG Unit 2
19 pages
Raj U1-Ai
PDF
No ratings yet
Raj U1-Ai
12 pages
CG Internal QP
PDF
No ratings yet
CG Internal QP
5 pages