• Advertisement

Archived

This topic is now archived and is closed to further replies.

C++ code to read/write .OBJ models?

This topic is 5587 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Where might I find source code in C++ that can read/write LightWave .OBJ model files?

Share this post


Link to post
Share on other sites
Advertisement
Lightwave lws/lwo files
Wavefront (maya etc) obj files

I have some code to load lws/lwo and to save obj in the code at www.assimsoft.com

Share this post


Link to post
Share on other sites
Thank you for the responses.
They pointed to some web sites I was not aware of.
(And thanks to Robert Bateman, who e-mailed source code to me.)

Indeed, I was confused.

I use LightWave to manipulate 3D models, but the file format I want to read is Wavefront .OBJ.

Now that I knew what I was looking for,
I discovered that opengl.org''s GLUT contains a simple reader for .OBJ files in
progs/demos/smooth/glm.c

I will use that one, unless it proves inadequate,
as it has the least restrictive licensing terms.

-- Steve S.

Share this post


Link to post
Share on other sites

  • Advertisement