开发者

load Wavefront Object in iphone with OpenGl?

I have to load a wavefront created Object in a iphone with the openGL. i had get this link for the Loading of Wavefront object开发者_运维技巧 in iphone sdk.

http://iphonedevelopment.blogspot.com/2008/12/start-of-wavefront-obj-file-loader.html

http://bill.dudney.net/roller/objc/entry/wavefront_obj_files_and_learning

I had used the sample code given in this link but the problem is that my object is not loaded.

Is there any limitation with the loading of big object in Iphone?

If you have link or solution than please help me over this problem .

Thanks


Well, the only correct answer is to tell you wavefront and openGL have nothing to do with eachother, They don't know about eachother, and you're providing the glue. So, you've either got a problem with your wavefront loading code, or you've got a problem on the opengl side.

Which doesn't really help you :)

First, I would recommend you check if everything on the gl side is working .Try to make a small object manually in code, maybe one triangle. Then try to make a big one.

If that is working, try the wavefront side. Make a single triangle. If that works, try and make the geometry complexer until it works.

Sorry, but your issue is way to fuzzy to give a good answer.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜