CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2009
    Posts
    1

    file.obj and opengl

    Hello everyone!
    I have problem with
    import file. obj and save it informations in a data structure (using c++) and draw with opengl
    for exemple
    if we have
    this file
    http://people.sc.fsu.edu/~burkardt/data/obj/cube.obj
    it must with the program c++ and opengl be
    like this
    http://people.sc.fsu.edu/~burkardt/data/obj/cube.png

  2. #2
    Lindley is offline Elite Member Power Poster
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    10,895

    Re: file.obj and opengl

    Since obj files simply store polygons, it's pretty much just a file parsing problem. Taking the OpenGL step (at least the easiest way of doing it) after that is pretty trivial.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured