尝试使用 isgl3d 渲染球体。问题是只有 75% 的球体正在被渲染。
这是代码:
[self.camera setPosition:iv3(0, 3, 7)];
_container = [self.scene createNode];
Isgl3dTextureMaterial * ballMaterial = [Isgl3dTextureMaterial materialWithTextureFile:@"balltext.jpg" shininess:0.7 precision:Isgl3dTexturePrecisionLow repeatX:YES repeatY:YES];
_sphere = [Isgl3dSphere meshWithGeometry:1 longs:40 lats:40];
node = [ _container createNodeWithMesh:_sphere andMaterial:ballMaterial];
[self.scene addChild:node];