cse 681 introduction to 3d graphics. cse 681 computer graphics is “the creation and manipulation...
TRANSCRIPT
![Page 1: CSE 681 Introduction to 3D Graphics. CSE 681 Computer graphics is “the creation and manipulation of graphics images by means of computer.” (Marc Berger,](https://reader036.vdocument.in/reader036/viewer/2022071705/56649f505503460f94c729f8/html5/thumbnails/1.jpg)
CSE 681
Introduction to 3D Graphics
![Page 2: CSE 681 Introduction to 3D Graphics. CSE 681 Computer graphics is “the creation and manipulation of graphics images by means of computer.” (Marc Berger,](https://reader036.vdocument.in/reader036/viewer/2022071705/56649f505503460f94c729f8/html5/thumbnails/2.jpg)
CSE 681
Computer graphics is “the creation and manipulation of graphics images by means of
computer.” (Marc Berger, 1986.)
Computer Graphics
Animation
Solid Modeling Scientific
Visualization
Real-timeRenderingRendering
Vector Graphics Raster Graphics
681-782
694A,682?
784Coming soon…
…
781
![Page 3: CSE 681 Introduction to 3D Graphics. CSE 681 Computer graphics is “the creation and manipulation of graphics images by means of computer.” (Marc Berger,](https://reader036.vdocument.in/reader036/viewer/2022071705/56649f505503460f94c729f8/html5/thumbnails/3.jpg)
CSE 681
Vector GraphicsDraw a picture line by line.
Drawbacks:
• Not solid imagery (wireframe).
• Vector hardware continually redraws all objects.
Advantages:
• Straight lines.
• Hardward supports high resolution
![Page 4: CSE 681 Introduction to 3D Graphics. CSE 681 Computer graphics is “the creation and manipulation of graphics images by means of computer.” (Marc Berger,](https://reader036.vdocument.in/reader036/viewer/2022071705/56649f505503460f94c729f8/html5/thumbnails/4.jpg)
CSE 681
Raster Graphics
n x m grid of pixels
Problems:• Needs a frame buffer• Convert objects to pixels• Aliasing: Screen resolution may be
much less than object resolution.
Advantages:• Based on TV technology• Lends itself to shaded imagery
![Page 5: CSE 681 Introduction to 3D Graphics. CSE 681 Computer graphics is “the creation and manipulation of graphics images by means of computer.” (Marc Berger,](https://reader036.vdocument.in/reader036/viewer/2022071705/56649f505503460f94c729f8/html5/thumbnails/5.jpg)
CSE 681
2D v. 3D
SCREEN
Viewport
Window
x
y
![Page 6: CSE 681 Introduction to 3D Graphics. CSE 681 Computer graphics is “the creation and manipulation of graphics images by means of computer.” (Marc Berger,](https://reader036.vdocument.in/reader036/viewer/2022071705/56649f505503460f94c729f8/html5/thumbnails/6.jpg)
CSE 681
3D Graphics
3D Graphics
Rendering
Vector Graphics Raster Graphics
Scan Conversion Ray Tracing
Modeling Animating
![Page 7: CSE 681 Introduction to 3D Graphics. CSE 681 Computer graphics is “the creation and manipulation of graphics images by means of computer.” (Marc Berger,](https://reader036.vdocument.in/reader036/viewer/2022071705/56649f505503460f94c729f8/html5/thumbnails/7.jpg)
CSE 681
Scan Conversion• Transform 3d object into 2d object (object-based)• “Scan” 3d object, converting it into pixels.
• Fast;• Commonly used;• Industry standard – OpenGL;• Hardware support (OpenGL).
Image plane
![Page 8: CSE 681 Introduction to 3D Graphics. CSE 681 Computer graphics is “the creation and manipulation of graphics images by means of computer.” (Marc Berger,](https://reader036.vdocument.in/reader036/viewer/2022071705/56649f505503460f94c729f8/html5/thumbnails/8.jpg)
CSE 681
Ray Tracing• Shoot a ray through each pixel (pixel-based)
• Find first object intersected by ray.
Image plane
Eye
• Slow;
• Not commonly used;
• No hardware support.
![Page 9: CSE 681 Introduction to 3D Graphics. CSE 681 Computer graphics is “the creation and manipulation of graphics images by means of computer.” (Marc Berger,](https://reader036.vdocument.in/reader036/viewer/2022071705/56649f505503460f94c729f8/html5/thumbnails/9.jpg)
CSE 681
Scan Conversion v. Ray TracingScan Conversion
(CSE 581, 781, …)
• Fast;
• Commonly used;
• Industry standard (OpenGL);
• Hardware support.
Ray Tracing(CSE 681)
• Models optics (better);
• Photorealistic rendering;
• Special effects;
• Better for understanding rendering/lighting.
![Page 10: CSE 681 Introduction to 3D Graphics. CSE 681 Computer graphics is “the creation and manipulation of graphics images by means of computer.” (Marc Berger,](https://reader036.vdocument.in/reader036/viewer/2022071705/56649f505503460f94c729f8/html5/thumbnails/10.jpg)
CSE 681
Creating a Scene
• Translate & rotate objects.
• Linear algebra. (Prerequisite: Math 568 or 571.)