About 27,500,000 results
Open links in new tab
  1. Translation of objects in computer graphics - GeeksforGeeks

    May 3, 2024 · In computer graphics, we have seen how to draw some basic figures like line and circles. In this post we will discuss on basics of an important operation in computer graphics as well as 2-D geometry, which is transformation .

  2. Creating animations using Transformations in OpenGL

    Sep 19, 2023 · There are 3 main transformations in Computer Graphics – Translation, Rotation and Scaling. All can be implemented using very simple mathematics. Translation: X = x + tx, tx is the amount of translation in x-axis Y = y + ty, ty is the amount of translation in y-axis Rotation: X = xcosA - ysinA, A is the angle of rotation.

  3. OpenGL program for simple Animation (Revolution) in C

    Oct 7, 2021 · Below is the simple animation made using OpenGL. To make a picture moving, we need to understand the working procedure of a function used to display i.e glClear (GL_COLOR_BUFFER_BIT). Its task is to clear screen with default value after a certain time (normally, after 1/30 sec or 1/60 sec).

  4. Computer Graphics Tutorial - Moving Circle - YouTube

    In this tutorial wee will learn to move a circle using Computer Graphics Computer graphics are pictures and movies created using computers - usually referring to image data created by a...

  5. How to move objects with Window's C++ Graphics (GDI+) library?

    Aug 24, 2013 · I'm trying to figure out how OnPaint is continually called (as to have moving objects), but it doesn't seem to be called more than once. How do I use the standard Windows C++ graphics library (i.e. GDI+, or another standard Windows API) to create a moving object?

  6. Graphics transformations - Computer Graphics - Computer

    The following interactive allows you to move the shape, then scale it, and move it back. Using Translation to Simplify Scaling The same problem comes up with rotation.

  7. Moving Figure Animation - Computer Graphics Primer

    We have seen how to make a simple object move across the screen, such as the bird, by constant plotting and replotting of the object. This is very trivial animation. True animation can be illustrated by simulating a moving figure such as a running bird, walking man, and so on.

  8. 3D Transformations of translation, scaling and rotation - BCA Labs

    In computer graphics, 3D transformations are fundamental operations that change the position, size, and orientation of objects in a three-dimensional space. These transformations play a crucial role in creating realistic and dynamic visual scenes.

  9. INTRODUCTION TO COMPUTER GRAPHICS Andries van Dam September 15, 1998 Transformation 2/62 Problem: How to move an object • We know how to move objects in real life • How can we move them on a computer? • Goal: move the house from “here” to “there” • Need: a way of quantifying “here” and “there” • Solution: a coordinate ...

  10. Figure 5-2 illustrates the application of a specified translation vector to move an object from one position to another. Similar methods are used to translate curved objects. To change the position of a circle or ellipse, we translate the centre coordinates and redraw the figure in the new location.