stuartcaunt / isgl3d

iOS Scene Graph Library: a 3D framework for the iPhone, iPad and iPod touch
http://isgl3d.com
Other
108 stars 46 forks source link

Renderer chokes on high vertex count scenes #7

Closed DavidYKay closed 12 years ago

DavidYKay commented 12 years ago

I've encountered what appears to be a bug in the renderer.

By creating an Icosphere in blender and subdividing the surfaces, I've found that somewhere between 21,000 and 21,600 faces, the sphere fails to render properly. I don't know the proper term for the problem, but it seems that some vertices don't make it into the mesh, and so the triangles now render between the wrong vertices.

Here's an image of the problem. This is using Isgl3dPODImporter to import the POD model.

Likewise if I create a sphere in code, using Isgl3dSphere I get a similar result: image.

I'm a 3D noob, so let me know if I'm missing something.

Thanks!

HolgerW1 commented 12 years ago

How do you import your blender model, via POD file? If so, did you check if PVRShaman is able to load and render your POD file properly?

DavidYKay commented 12 years ago

Yep. Importing via POD.

Will throw it into PVRShaman and update you.

Thanks!

DavidYKay commented 12 years ago

So far, it seems that iSGL3D mirrors the behavior of PVRShaman!

Closing. Will re-open if I find this is not actually the case.