Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk 3ds® Max® / MaxScript / how to using gw.polygon?
  RSS 2.0 ATOM  

how to using gw.polygon?
Rate this thread
 
25753
 
Permlink of this thread  
avatar
  • SITT
  • Posted: 18 April 2009 07:44 AM
  • Location: China
  • Total Posts: 194
  • Joined: 31 May 2008 06:54 PM

fn TestDrawPoly 
(
    
gw.setcolor  #fill green
    
gw.polygon  #([0,0,0], [0,100,0], [100,0,0]) #(red, blue, green) #([1.0,.5,0], [0.5,0.5,0], [0,0,0.5]) 
    
gw.enlargeUpdateRect #whole 
    
gw.updateScreen()
)
 
RegisterRedrawViewsCallback TestDrawPoly
UnRegisterRedrawViewsCallback TestDrawPoly

why, none display



i am Chinese, my English is very poor,thank you for talk
MSN:sitt#live.cn

Replies: 0