LoginLogin
Nintendo shutting down 3DS + Wii U online services, see our post

ORTHOWIRECUBE

Root / Submissions / [.]

UFO_PilotCreated:
Download:X338YPA1
Version:1.0Size:
I upgraded my 2D wireframe square demo so it can render an orthographic wireframe cube instead of just a square. All I needed to do was add a z-coordinate for most of my lines in my code except for the GLINE routines and put in coordinate data for 6 faces of a cube. You can compare the code from this to the WIRESQUARE demo that I also have posted here. Extending the code to include a third dimension was pretty easy. Next, I hope to do a version that has perspective projection and a virtual parallax barrier so it's in stereoscopic 3D like Plane 2 Solid or 3DEngine.

Instructions:

Circle Pad to move cube. Directional Pad to rotate cube around on X-axis and Y-axis. L Shoulder and R Shoulder to rotate cube around on Z-axis. X to make cube bigger B to make cube smaller Y to exit program

Cool!