porting ModelObject ke d3d9