UNDERSTANDING THE BASICS OF COMPUTER GRAPHICS

UNDERSTANDING THE BASICS OF COMPUTER GRAPHICS



{These are the basics of computer graphics}

Graphics Primitive !!

  • Points: The simplest unit in graphics, typically represented by coordinates in a 2D or 3D space.
  • Lines: Defined by two endpoints. They are fundamental in drawing shapes and paths.
  • Shapes: More complex forms like triangles, squares, and circles. They can be filled or outlined.
  • Polygons: Shapes with three or more sides. They are used to represent complex objects.

Rendering !!

  • Rasterization: The process of converting vector graphics (shapes) into pixels on a screen. This is what most computer graphics systems use.
  • Ray Tracing: A technique for generating images by tracing rays of light as they interact with objects. It's known for producing high-quality, realistic images but is computationally intensive.

Color Models !!

  • RGB: Stands for Red, Green, and Blue. It's the color model used in most screens and digital images.
  • CMYK: Stands for Cyan, Magenta, Yellow, and Key (black). It’s commonly used in color printing.
  • HSV/HSB: Stands for Hue, Saturation, and Value/Brightness. It's often used in image editing tools for selecting colors.

Coordinate Systems !!

  • 2D Coordinates: X and Y axes define the position on a flat plane.
  • 3D Coordinates: X, Y, and Z axes define positions in three-dimensional space.
  • World Coordinates: Define the position and orientation of objects within a 3D scene.
  • Screen Coordinates: Define positions relative to the screen or viewport.

Transformation !!

  • Translation: Moving an object from one location to another.
  • Rotation: Turning an object around a point or axis.
  • Scaling: Changing the size of an object.
  • Shearing: Distorting an object in a way that slants its shape.

Lighting and Shading !!

  • Lighting: Determines how light interacts with objects. Key types include ambient, diffuse, and specular lighting.
  • Shading: Techniques used to give objects a realistic appearance by simulating how light interacts with surfaces. Common methods include flat shading, Gouraud shading, and Phong shading.

Textures !!

  • Texture Mapping: Applying an image (texture) to a 3D model’s surface to give it detail.
  • UV Mapping: A technique to map a 2D image to a 3D model’s surface coordinates.

Framebuffers !!

  • Framebuffer: A memory buffer containing color, depth, and stencil information for rendering images.
  • Double Buffering: A technique to avoid flickering by using two framebuffers: one for displaying the current image and one for drawing the next.

APIs and Libraries !!

  • OpenGL: A popular graphics library for rendering 2D and 3D graphics.
  • DirectX: A set of APIs developed by Microsoft for handling multimedia tasks, including graphics rendering.
  • Vulkan: A low-level graphics API offering more control over GPU operations for high-performance applications.

Animation !!

  • Keyframing: Defining specific frames (keyframes) and letting the system interpolate between them.
  • Rigging: Creating a skeleton for 3D models to enable movement and animation.
  • Motion Capture: Using sensors to record real-world movements and apply them to digital models.

Comments