Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Colored Cube Wii U: Difference between revisions

From GameBrew
(Created page with "{{Infobox WiiU Homebrews |title=Colored Cube |image=coloredcube.png |description=A GX2 example in C. |author=Dimok |lastupdated=2016/03/15 |format=elf |type=Demos |version=2016 |license=Mixed |download=https://dlhb.gamebrew.org/wiiuhomebrews/coloredcube.zip |website=https://gbatemp.net/threads/colored-cube-gx2-example.419090/ |source=https://gbatemp.net/threads/colored-cube-gx2-example.419090/ |donation= }} <!--bin: release post--> <!--date:...")
 
No edit summary
Line 16: Line 16:
<!--bin: release post-->   
<!--bin: release post-->   
<!--date: release post-->   
<!--date: release post-->   
This Wii U homebrew showcases a rotating colored cube made from triangle primitives, demonstrating the use of the WiiU GX2 engine. Written in C, it uses GLM for math functions and allows easy integration with equivalent C math libraries.
A demo homebrew written in C that showcases a rotating colored cube made from triangle primitives, demonstrating the use of the WiiU GX2 engine. It uses GLM library as the math library for matrix/vector calculations.
    
    
This GX2 example was adapted from an [http://www.opengl-tutorial.org/beginners-tutorials/tutorial-4-a-colored-cube/ OpenGL tutorial], with enhancements including:   
The GX2 example was adapted from an [http://www.opengl-tutorial.org/beginners-tutorials/tutorial-4-a-colored-cube/ OpenGL tutorial], with enhancements including:   
* Added automatic cube rotation (initially).   
* Added automatic cube rotation (initially).   
* Added gamepad D-PAD controls to rotate the cube manually.   
* Added gamepad D-PAD controls to rotate the cube manually.   

Revision as of 06:28, 18 Mayıs 2024

Colored Cube
Coloredcube.png
General
AuthorDimok
TypeDemos
Version2016
LicenseMixed
Last Updated2016/03/15
Links
Download
Website
Source

A demo homebrew written in C that showcases a rotating colored cube made from triangle primitives, demonstrating the use of the WiiU GX2 engine. It uses GLM library as the math library for matrix/vector calculations.

The GX2 example was adapted from an OpenGL tutorial, with enhancements including:

  • Added automatic cube rotation (initially).
  • Added gamepad D-PAD controls to rotate the cube manually.
  • Changed aspect ratio to 16:9 instead of 4:3.

The GLSL shader code and other aspects remain the same as the original example.

Controls

D-Pad - Rotate the cube

Home - Quit the app

Compatibility

The application is compatible with HBL v1.1.

External links

Advertising: