? ORTHOWIRECUBE ● SmileBASIC Source

Sign In

Register
*Usernames are case-sensitive
Forgot my password

ORTHOWIRECUBE

Submitted
Updated
Author
UFO_Pilot
Public Key
X338YPA1
Min. Compat.
All
Version
1.0
Rating
2 votes
Description 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
Categories
Keywords
  • Graphics
  • Wireframe
  • 3D
  • Orthographic
  • Rotation
  • Scaling
  • Transform
1 Comment(s) Ptcguy Ptcguy First Week Joined in the very first week of SmileBASIC Source Website Minecraft Is Awesome! I love Minecraft! Express Yourself Beginner Programmer I'm just starting out! I'm still trying to grasp the basics. Programming Strength Cool!