Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
2D Viewing
#1

2D Viewing

[attachment=16004]
Clipping

Avoid Drawing Parts of Primitives Outside Window
Window defines part of scene being viewed
Must draw geometric primitives only inside window

Clipping to a Boundary

Do Inside Test for Each Point in Sequence,
Insert New Points When Cross Window Boundary, Remove Points Outside Window Boundary

Viewport Transformation

Transform 2D Geometric Primitives from Screen Coordinate System (Projection Coordinates) to Image Coordinate System (Device Coordinates)
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

Powered By MyBB, © 2002-2024 iAndrew & Melroy van den Berg.