Ok not alot of time to mess with bmax atm, but was wanting to try somthing.. why o why isnt this drawing the poly
Type trimodel
Field tri#[5]
Field groupname$
Field parent
End Type
Global trimodel_list:TList=New TList
t:trimodel=New trimodel
trimodel_list.AddLast t
t.tri[0]=0.0
t.tri[1]=0.0
t.tri[2]=100.0
t.tri[3]=100.0
t.tri[4]=0.0
t.tri[5]=100.0
t.groupname$="mypoly"
Graphics 640,480
While Not KeyHit(KEY_ESCAPE)
Cls
SetColor 255,255,255
DrawPoly t.tri
DrawText t.groupname$,20,20
Flip
Wend
Type trimodel
Field tri#[5]
Field groupname$
Field parent
End Type
Global trimodel_list:TList=New TList
t:trimodel=New trimodel
trimodel_list.AddLast t
t.tri[0]=0.0
t.tri[1]=0.0
t.tri[2]=100.0
t.tri[3]=100.0
t.tri[4]=0.0
t.tri[5]=100.0
t.groupname$="mypoly"
Graphics 640,480
While Not KeyHit(KEY_ESCAPE)
Cls
SetColor 255,255,255
DrawPoly t.tri
DrawText t.groupname$,20,20
Flip
Wend