OpensourceModeling software compatible with OpenGL

Hi ,

I am trying to make simple objects in SolidWorks and 3dMax.
and trying to convert into .obj and then using it in OpenGl source code. while debugging it gives vector error 779.

Which means vector subscription out of range.

Can some experienced user guide me which software should I use to create a model and convert into .obj files for my project.

Any model format is compatible with OpenGL. OpenGL has nothing whatsoever to do with model formats, it operates on a much much lower level than that.

I suspect that it’s more likely that you have a bug in your loader.

You can use Blender if you want. It is free and open source and can export to many formats such as .obj
http://www.blender.org