Wireframe

Every 3D object in your game is made up of triangles and polygons. If you want to see the triangle makeup of any object, you can go into wireframe mode (see Figure 5.18). This is best illustrated by creating a sphere and converting it to wireframe. The command you use for wireframe is simply WireFrame. Here is the code for creating a sphere and then converting it to wireframe:

Figure 5.18. You can see the polygon makeup of your objects by using the WireFrame command.


; This is the code for creating a sphere and making it wireframe
sphere=CreateSphere()
WireFrame sphere

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.225.234.24