Setting Up the Graphic Elements and Camera

As done for all our programs, we’ll need to set the resolution and the buffer. Even though we set the resolution for earlier in the function, we need to set it for the rest of the program. To do this, we’ll enter the following code:

EndIf
Wend
End Function
;Setting the graphics for the program
      Graphics3D 1024,768
      SetBuffer BackBuffer()
; Creating the camera
      camera=CreateCamera()
; Creating a light
      light=CreateLight()

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

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