Thread: 3D Scripting?
View Single Post
  #5  
Old 10-08-2007, 10:15 PM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
Basics well first, adjust your Server Config so .3ds, .dts, .ft files are downloadable. Make a model and save it in to one of those formats. Next just use basic showimg controls.

PHP Code:
//#CLIENTSIDE
function onCreated() 
{
  
  
switchtoOpenGL();

  
with findImg501)) {
    
shape "file.3ds";
    
x     this.x;
    
y     this.y;
  }

  
onTimeout();
}

function 
onTimeout() 
{

  if ( 
keydown1))
    
findImg501).rotation += 1;
  
  else if ( 
keydown3))
    
findImg501)).rotation -= 1;

  
setTimer0.05);

Invern basically helped me out with this so thank him not me.
__________________
Deep into the Darkness peering...
Reply With Quote