https://github.com/roscibely/computer-graphics
Computer Graphics: Scene processing and texturing 🟤
https://github.com/roscibely/computer-graphics
c computer-graphics graphics linear-algebra opengl texture
Last synced: 7 months ago
JSON representation
Computer Graphics: Scene processing and texturing 🟤
- Host: GitHub
- URL: https://github.com/roscibely/computer-graphics
- Owner: roscibely
- License: gpl-3.0
- Created: 2017-05-04T15:11:22.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-09-03T23:49:23.000Z (about 5 years ago)
- Last Synced: 2025-01-21T21:47:13.830Z (9 months ago)
- Topics: c, computer-graphics, graphics, linear-algebra, opengl, texture
- Language: C
- Homepage:
- Size: 2.31 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Computer Graphics: Scene processing and texturing 🛸 🌌
Linear algebra has wide application in the field of engineering and computer science. Here is described the graphic process of texturing objects. You will need:
[OpenGL](https://www.opengl.org/) and GLUT Utility Toolkit
The idea is to apply the texture and altimetry of the planet Mars 🟤 (available at [here](http://planetpixelemporium.com/mars.html) ) in a sphere. For this, knowledge of linear algebra is needed, specifically transformations and geometry.
I. Texture
II. Altimetry

III. Modeling

The sphere radius can be written as a function of the circle radius formed by a section R, and the distance between the plane of the section and the center of the sphere R-h,

2D radius coordinates are given by,

IV. Final result
[Result](https://www.youtube.com/watch?v=VKxlAa5HHTw)