Results 1 to 3 of 3

Thread: help with objects?

  1. #1
    Junior Member Newbie
    Join Date
    Aug 2002

    help with objects?

    Hi, i'm trying to make a model viewer using C++ and I want to use Objects. I'm so used to C I'm having a hard time figuring out how to organize my project. Right now I just have two objects, a model object and a camera object. All I really want this program to do is load up a model (3DS) , display it, and let the user rotate it, and zoom in and out. Am I missing anything else?
    Is it ok to have the camera and model seperated like this? I figure I'll need some helper classes too, like some vertex class, and maybe some kind of linked list, maybe the STL? Can any one help?

  2. #2
    Senior Member Regular Contributor
    Join Date
    Aug 2001

    Re: help with objects?

    Sounds a fine design for something like this.
    Vertex helper classes are useful, as are other mathematics stuff (matrices etc.) seperating camera and model classes I see no problem with.


  3. #3

    Re: help with objects?

    There is some free source at available here which does what you're looking for.

    It's written in Visual C++ using MFC for Windows, but may help demonstrate object handling, 3DS loading, etc.

Similar Threads

  1. depth buffer: far objects bleed through closer objects
    By geohoffman49431 in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 06-15-2004, 10:47 AM
  2. Replies: 4
    Last Post: 12-30-2003, 10:49 AM
  3. GLslang: no reuse of shader objects in other program objects?
    By Ostsol in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 12-29-2003, 11:22 PM
  4. Can nurbs objects and curves be used as b-spline objects?
    By BigShooter in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 11-04-2003, 09:42 AM
  5. Replies: 2
    Last Post: 05-24-2002, 06:21 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