Thread: .obj files?

  1. #1
    Registered User
    Join Date
    Sep 2002
    Posts
    34

    .obj files?

    ok so from what i have been seeing in other peoples programs .obj are things in the games like the enemy ships or the power ups or anything else you interact with. my question is where can i find a tutorial on how to make them and am i right in my assumption?
    Compiler: MSVC++ 6.0

  2. #2
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    They are object files. When you compile your code your cpp's and c's are made into object files which are then linked together to form an executable. If you have someone else's obj file you can add it to your project and call functions inside that obj file but you cannot see the actual code so you would need a header file or already know the defined functions. If you were going to do this however I would just make a static library (*.lib)

  3. #3
    Registered User Dcower's Avatar
    Join Date
    Aug 2002
    Posts
    8
    You mean 3D models...? If that's the case then I recommend that you check out Milkshape 3D for creating models or Turbo Squid for downloading some free ones.

    p.s.: Wavefront .OBJ files are a 3d model format created by Alias Wavefront for use in various 3d modeling programs such as Maya or Softimage(both created by Alias Wavefront)


    dillon

  4. #4
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    Shoot, I wasn't even thinking that was what he meant.
    "...the results are undefined, and we all know what "undefined" means: it means it works during development, it works during testing, and it blows up in your most important customers' faces." --Scott Meyers

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Error opening files in a different dir
    By Ozzie in forum C++ Programming
    Replies: 3
    Last Post: 10-09-2008, 06:55 AM
  2. Working with muliple source files
    By Swarvy in forum C++ Programming
    Replies: 1
    Last Post: 10-02-2008, 08:36 AM
  3. Multiple Cpp Files
    By w4ck0z in forum C++ Programming
    Replies: 5
    Last Post: 11-14-2005, 02:41 PM
  4. Folding@Home Cboard team?
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 398
    Last Post: 10-11-2005, 08:44 AM
  5. Batch file programming
    By year2038bug in forum Tech Board
    Replies: 10
    Last Post: 09-05-2005, 03:30 PM