CPT205 W5

This is the note of CPT205 Week5. This week is mainly about Viewing and Projection.

  • Concepts of viewing and projections
  • Types and advantages/disadvantages of projection
  • 3D viewing co-ordinate parameters
  • Orthogonal projection
  • Frustum perspective projection
  • OpenGL functions
  • Sample code
阅读更多

CPT205 W4

This is the note of CPT205 Week5 Transformation Pipeline and Geometric Transformations 转换管道和几何转换

  • Transformation pipeline 转换管道
  • Standard transformations
    • Translation 翻译
    • Rotation 旋转
    • Scaling 扩展
    • Reflection 反射
    • Shearing 剪切
  • Homogeneous co-ordinate transformation matrices 齐次坐标变换矩阵
  • Composite (arbitrary) transformation matrices from simple transformations 复合(任意)变换矩阵由简单变换
  • OpenGL functions for transformations 转换的OpenGL函数
阅读更多

CPT205 W3

This’s week we will discuss about Geometric Primitives. (几何图元)
Applications Packages Tools –> API Library –> Algorithms Techniques

  1. Graphics Primitives
    • Points
    • Lines
    • Polygons 多边形
  2. Line Algorithms
    • Digital Differential Analyser (DDA)
    • Bresenham Algorithm
    • Circles
    • Antialiasing 反锯齿
  3. Polygon Fill 多边形填充
  4. Graphics Primitives with OpenGL
    • glBegin(GL_POINTS); glBegin(GL_LINES)
    • glBegin(GL_POLYGON); glBEgin(GL_QUAD)
阅读更多

CPT205 W2

This’s the note of CPT205 W2.


The topics for this week:

  1. Computer representation of objects
  2. Cartesian co-ordinate system
  3. Points, lines and angles
  4. Trigonometry 三角函数
  5. Vectors (unit vector) and vector calculations (addition, subtraction, scaling, dot product, cross product) 矢量和矢量计算
  6. Matrices (dimension, transpose, square/symmetric/identity, inverse) and matrix calculations (addition, subtraction, multiplication) 矩阵和矩阵计算

因为矩阵的知识快忘光了,所以矩阵的部分写的比较多。

阅读更多

CPT205 W1

This is the note of CPT205(Computer Graphics).
包括了Lecture还有Lab的内容,是在预习笔记上增加了一些内容。


The lecture of this week is mainly discussing about Introduction: hardware and software.

阅读更多