Drawing 3D prisms/polygons (by pyro)
Posted: Wed Apr 09, 2008 3:30 am
Hey guys! I beleive I am the first GE user to have made a trimetric polygon/prism rendering system with GE! Once again I come to you with an other 3D system, in order to satisfy the 3D craze. All prisms are generated in "wireframe" and all commands must be typed in manually in the text box and then press ENTER key to activate/use them. This demo starts with a prebuilt pyramid revolving in space.
Here are all the commands that you can type in the prompt:
- "clear", clears all data.
- "c_red", wireframe color red.
- "c_green", wireframe color green.
- "c_blue", wireframe color blue.
- "c_yellow", wireframe color yellow.
- "c_cyan", wireframe color cyan.
- "c_magenta", wireframe color magenta.
-"axis_" + ("x","y", or "z") + ("+" or "-"), rotate object around the x,y, or z axes in either direction (+/-)
-"axis_stop" + (optionally "_x", "_y", or "_z"), stops all rotating of object (unless x, y, or z is specified)
-"demo_" + ("pyramid" or "cube" or "plane" or "octahedron"), builds a demo prism to rotate.
This demo was meant to demonstrate the code I developped, and hopefully help some people accomplis cool 3D effects if needed. I know the control prompt design is kinda sketchy and odd to use for most people, but I really didn't feel like designing a GUI for this project. Please do take a look at my codes, see how its made. Now that this is done, I'll try to think about another topic to demo about. Catch ya later guys!
Here are all the commands that you can type in the prompt:
- "clear", clears all data.
- "c_red", wireframe color red.
- "c_green", wireframe color green.
- "c_blue", wireframe color blue.
- "c_yellow", wireframe color yellow.
- "c_cyan", wireframe color cyan.
- "c_magenta", wireframe color magenta.
-"axis_" + ("x","y", or "z") + ("+" or "-"), rotate object around the x,y, or z axes in either direction (+/-)
-"axis_stop" + (optionally "_x", "_y", or "_z"), stops all rotating of object (unless x, y, or z is specified)
-"demo_" + ("pyramid" or "cube" or "plane" or "octahedron"), builds a demo prism to rotate.
This demo was meant to demonstrate the code I developped, and hopefully help some people accomplis cool 3D effects if needed. I know the control prompt design is kinda sketchy and odd to use for most people, but I really didn't feel like designing a GUI for this project. Please do take a look at my codes, see how its made. Now that this is done, I'll try to think about another topic to demo about. Catch ya later guys!