Earth by Anonymous Coder20th Feb 2005 12:51
|
---|
Summary Creates a sphere and textures it with an image. Description Attachment of a very short documentation. Code ` This code was downloaded from The Game Creators ` It is reproduced here with full permission ` http://www.thegamecreators.com global camera_x#=0.0 global camera_y#=0.0 global camera_z#=0.0 Object_Start=1 Object_End=10 Color_Backdrop_Value=rgb(0,0,0) Width=800 Height=600 Depth=32 SET DISPLAY MODE Width, Height, Depth sync on : sync rate 60 set text size 10 autocam off backdrop on COLOR BACKDROP Color_Backdrop_Value hide mouse Object_Number=1 Size=15 Image_Number=2 Rows=100 Columns=100 load image "earth2.jpg",Image_Number position camera 0,7,-20 point camera 0,0,0 MAKE OBJECT SPHERE Object_Number, Size, Rows, Columns TEXTURE OBJECT Object_Number, Image_Number make light 1 do YROTATE OBJECT Object_Number, YAngle# YAngle#=YAngle#-0.5 fastsync loop end delete object 1 flush video memory |