Results 1 to 2 of 2

Thread: Reading OBJ files in an OpenGL program

  1. #1
    Alan W
    Guest

    Reading OBJ files in an OpenGL program

    Lately I have been drawing models in 3D studio max and Poser and then exporting them to obj files. I want to write a program that reads an obj file and draws the vertices within the file in your scene. (not during runtime)

    I know this can be done because I have seen it on Nate Robin's tuturial programs, but when I tried to use the header he used, my compiler gave me errors when trying to create the program's object file; it said it couldn't resolve certain declared symbols in the header. This is probably because I don't have the library for it.

    If anyone knows of a header file, or something that can read obj files and then draw them in an OpenGL program (not during runtime), I would be very grateful if you emailed me at cppking@home.com

    Or, if someone has the library to glm header by Nate Robins, and he doesn't mind other people using it, also, please e - mail me...thanks!

  2. #2
    Junior Member Newbie
    Join Date
    Apr 2000
    Location
    San Francisco, CA, USA
    Posts
    22

    Re: Reading OBJ files in an OpenGL program

    Why dont you just make your own library in vc++? Shouldnt that solve your problem? Usually #include should work, but sometimes it doesnt. I used GLM before with the same result. I made my own library and it worked.

Similar Threads

  1. READING TEXT FILES WITH OPENGL
    By zadeh79 in forum OpenGL: Basic Coding
    Replies: 6
    Last Post: 02-25-2007, 11:53 PM
  2. Reading dotXSI files into OpenGL?
    By BigShooter in forum OpenGL: Advanced Coding
    Replies: 6
    Last Post: 08-02-2003, 09:56 AM
  3. Reading dotXSI files into OpenGL?
    By BigShooter in forum OpenGL: Advanced Coding
    Replies: 0
    Last Post: 08-01-2003, 01:08 PM
  4. Reading .wrl files in OpenGL
    By harikishan7 in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 04-09-2003, 04:28 PM
  5. How to Load 3ds files to OpenGL program???
    By in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 09-24-2001, 08:14 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean