loading from a file (easy, noobie question)

This is a discussion on loading from a file (easy, noobie question) within the C++ Programming forums, part of the General Programming Boards category; hello all, I'm trying to write a program that loads numbers / strings from a file. It's for loading a ...

  1. #1
    Registered User
    Join Date
    Oct 2004
    Posts
    25

    loading from a file (easy, noobie question)

    hello all,

    I'm trying to write a program that loads numbers / strings from a file. It's for loading a 3D model, so contains a lot of numbers (for points) and tags (strings) saying what the numbers mean.

    What sorts of methods / libraries can I use to do this? My main problem is getting good enough string handling to read the file and work out what the tags mean, ignoring white space etc. It sounds very simple and simultaneously very difficult to me :S

  2. #2
    Registered User
    Join Date
    Apr 2008
    Posts
    890
    There are freely available 3D engines like Irrlicht 3D and Ogre 3D that support mesh loading. I've played around with Irrlicht and thought it was fairly straightforward to use, but I had some OpenGL experience prior so I wasn't completely new to 3D.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. A question about file streams.
    By Lawn Gnomusrex in forum C++ Programming
    Replies: 2
    Last Post: 11-07-2008, 06:05 AM
  2. Error when loading 3ds file
    By The Wazaa in forum C++ Programming
    Replies: 6
    Last Post: 01-24-2006, 08:27 AM
  3. Encryption program
    By zeiffelz in forum C Programming
    Replies: 1
    Last Post: 06-15-2005, 04:39 AM
  4. multiple file loading. so fruturated! help!
    By psychopath in forum Game Programming
    Replies: 5
    Last Post: 05-09-2005, 06:13 PM
  5. Replies: 3
    Last Post: 03-04-2005, 02:46 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21