Skip to main content
gamedev.net
🔒 Locked

Opengl .obj

Started by MACnus 1 reply 450+ views
Original Post
MACnus
MACnus
Can someone give me a link or advice on how to load a .obj file into opengl in objective c /cocoa using mac os x?
ToohrVyk
ToohrVyk
.obj files must be linked into your project during the building process. Im afraid that''s not something you can do at runtime.

Use your favorite linker and just link it in.

If you really want to do it dynamically, look into dynamic libraries (don''t know much about these on OS X).
VolkerG
VolkerG
I think the OP is talking about Wavefront Object files, not the obj files beeing produced by a compiler.
The format description can be found here.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.