assignments office hours graded work
play

Assignments Office Hours Graded Work CPSC 314 Computer Graphics - PowerPoint PPT Presentation

University of British Columbia Assignments Office Hours Graded Work CPSC 314 Computer Graphics project extra TA office hours in lab 005 for P4/H4 still have some marked work not picked up, Jan-Apr 2010 P4 due today 5pm (plus


  1. University of British Columbia Assignments Office Hours Graded Work CPSC 314 Computer Graphics • project • extra TA office hours in lab 005 for P4/H4 • still have some marked work not picked up, Jan-Apr 2010 • P4 due today 5pm (plus grace/late days) come grab it! • Wed 4/14 2-4, 5-7 (Shailen) • project 4 demo signup sheet, for last time • Thu 4/15 3-5 (Kai) • homeworks, midterms Tamara Munzner • I will scan and post so you can check your time • Fri 4/16 11-4 (Garrett) • you must contact me by Fri to schedule if you weren't in class to • some extra handouts in lab sign up • my office hours for rest of term • or print out yourself, everything posted on • otherwise 2% huntdown penalty • Fri 4/16 4pm • email me in advance if you need to change web site Nonspatial/Information Visualization II • by appointment - send me email to book • otherwise 2% noshow penalty • homework • (I'm out of town 4/24-4/27, right after exam) • H4 solutions released Friday • don't forget to check ugrad account for Week 13, Wed Apr 14 • homeworks not accepted after Thu 5pm grading updates • again: if you hand in late, do include time/date at top • find out what you got • H4 will be graded before exam http://www.ugrad.cs.ubc.ca/~cs314/Vjan2010 • stay tuned, I'll announce on discussion group when they're ready • also cross-check our records against yours to pick up 2 3 4 Final Exam Final Emphasis Exam Prep Grading Reminder • Apr 23 8:30-11:30am, location DMP 310 • covers entire course • advanced rendering • another sample final just posted • Original grading scheme for course • clipping • includes material from • across the hall • from Jan 2007 • 20% midterm and 25% final midterm • hidden surfaces • exam will be 2.5 hrs • homeworks are good practice • New grading scheme for course • blending • transformations • extra 30 min in case of fire alarms, etc • viewing • textures • especially old homeworks from when I taught • 12% midterm and 33% final • closed book • more than half of exam • procedural the course • one page notes, 8.5"x11", handwritten will be on material not approaches • Your course grade will automatically be the • both sides allowed, fine to reuse one side from covered in midterm • picking midterm max of new and old schemes. • color • collision • antialiasing • calculator is a good idea • rasterization • lighting/shading • modern hardware • IDs out and face up • curves • bags/coats in front - phones off! • visualization 5 6 7 8 week9.day3, slide 8 week6.day1, slide 29.5 week6.day1, slide 30 week6.day1, slide 31 Correction: Premultiplying Colors Clarification: Midpoint Check Clarification: Making It Incremental Clarification/Correction: Integer Only • specify opacity with alpha channel: (r,g,b, α ) • f(x,y) = (y 0 - y 1 ) x + (x 1 - x 0 ) y + x 0 y 1+ x 1 y 0 • d: midpoint. build off previous computation • avoid dealing with non-integer values by doubling both sides • α =1: opaque, α =.5: translucent, α =0: transparent • implicit equation: on line when f(x,y) = 0 • if we stayed at same level, midpoint above line (d<0) • from f(x,y) = 0 to 2f(x,y) = 0 • above line when f(x,y) < 0 • A over B • new midpoint check to set up is f(x+1, y) = f(x,y) + (y 0 -y 1 ) • f(x,y) = (y 0 - y 1 ) x + (x 1 - x 0 ) y + x 0 y 1+ x 1 y 0 • C = α A + (1- α ) B • below line when f(x,y) > 0 • if we moved up one level, midpoint below line (d>0) y=y0 • check midpoint against line y=y0 2 d = 2*(y0-y1)(x0+1) + • new midpoint check set up is f(x+1, y+1) = f(x,y) + (y 0 - y 1 ) + (x 1 - x 0 ) • but what if B is also partially transparent ? d = f(x0+1, y0+.5) (x1-x0)(2*y0+1) + • C = α A + (1- α ) β B = β B + α A + β B - α β B • midpoint to check is at x+1, y+.5 2*x0y1 - 2*x1y0 for (x=x0; x <= x1; x++) • γ = β + (1- β ) α = β + α – αβ • if f(x+1, y+5) < 0 then midpoint is below line { for (x=x0; x <= x1; x++) { midpoint above: bottom pixel • 3 multiplies, different equations for alpha vs. RGB y=y0 draw(x,y); draw(x,y); d = f(x0+1, y0+.5) y=y0 • premultiplying by alpha if (d<0) then { if (d<0) then { for (x=x0; x <= x1; x++) { for (x=x0; x <= x1; x++) { • C’ = γ C, B’ = β B, A’ = α A draw(x,y); y = y + 1; y = y + 1; draw(x,y); if (d<0) then { d = d + (x1 - x0) + d = d + 2(x1 - x0) + • C’ = B’ + A’ - α B’ if (f(x+1, y+.5) < 0) then { y = y + 1; (y0 - y1) 2(y0 - y1) midpoint below: top pixel • γ = β + α – αβ d = d + (x1 - x0) + (y0 - y1) y = y + 1; } else { } else { • 1 multiply to find C, same equations for alpha and RGB } else { } d = d + (y0 - y1) d = d + 2(y0 - y1) d = d + (y0 - y1) } } 9 10 11 12 } Evaluations - Right Now Review: Direct Volume Rendering Review: Visual Encoding Review: Channel Ranking By Data Type marks: geometric primitives • official TA evaluations points lines areas attributes • still on paper, not online yet • unofficial course evaluations - my custom form Classify position • attributes • much more specific questions than the official ones • parameters size • I do not look at these until after official ones returned, long control mark after grades are out appearance Shade • if you missed class, blanks will be in extra handouts container grey level • separable in lab, can turn in anonymously to the front desk on 2 nd floor channels • your feedback helps me improve the course in later years texture flowing from Interpolate retina to brain color • please also fill out official teaching surveys for instructor (me!) at the CoursEval website orientation https://eval.olt.ubc.ca/science Composite shape [Mackinlay, Automating the Design of Graphical Presentations of Relational Information, ACM 13 14 Semiology of Graphics. Jacques Bertin, Gauthier-Villars 1967, EHESS 1998 15 16 TOG 5:2, 1986]

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend