Saturday 2 March 2013

Cubes... Coloured Cubes!

Using the lovely OpenGL in C++ allows me to create this nice cube. I've made it using variables determining the amount of vertices, polygons and colours which are read from a file. I've also determined the camera position in the world space by using the controls WASD, and constantly updated the view to be able to actually see the view change!
All exciting stuffs, for me anyways so here's a nice lovely picture :)
(Camera co-ordinates in pink, X pos Y pos and Z pos)



I'm now working on how I can get this cube to render using triangles instead of quads :)

No comments:

Post a Comment