Relative Content

Tag Archive for graphics3dxlibimage-rotationrotational-matrices

How do I make a 3D representation of a 2D matrix with a z value on each element

I am working on the 42 school project FdF that is a computer graphics related project that uses an API for the Xlib named minilibx (linked below if you want to check out) and need to make a 3D representation of a map given as an input. The map is given as a 2D matrix and each value is its height.
After we manage to update the scale of our map, center it on the created window and display the result of our projection in isometric view we can implement some other features like adding rotation.

How to make a 3D representation of a 2D matrix with a z value on each element

I am working on the 42 school project FdF that is a computer graphics related project that uses an API for the Xlib named minilibx (linked below if you want to check out) and need to make a 3D representation of a map given as an input. The map is given as a 2D matrix and each value is its height.
After we manage to update the scale of our map, center it on the created window and display the result of our projection in isometric view we can implement some other features like adding rotation.