Thread: 3D Graphing Advice

  1. #1
    Registered User
    Join Date
    Nov 2006
    Posts
    224

    3D Graphing Advice

    Hi guys,

    Need some advice. I already have the code whereby I use numerical integration to tack the trajectory of particles.

    However, I wanted to be able to have a graphing interface whereby I could display the progress of the particle(s) in 3D. Or alternatively as a collection of graphs: xy, xz, and yz although I would prefer 3D. Currently I have a windows MFC gui.

    My preference is:
    1. Ease of implementation
    2. Speed of code
    3. Memory requirements

    Any ideas?

    thanks

  2. #2
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    *nullptr
    Posts
    2,657
    C++ probably isn't the optimal tool here (though you'll probably find some libraries).
    Try Matlab.

  3. #3
    - - - - - - - - oogabooga's Avatar
    Join Date
    Jan 2008
    Posts
    2,808
    I assume OpenGL is too low-level?
    The cost of software maintenance increases with the square of the programmer's creativity. - Robert D. Bliss

  4. #4
    Registered User
    Join Date
    Nov 2006
    Posts
    224
    Quote Originally Posted by oogabooga View Post
    I assume OpenGL is too low-level?
    Hi thanks.

    OpenGL is probably a bit too low level for me :-s

    matlab is good but would have a problem sharing it with those who dont have matlab themselves(?)

  5. #5
    Registered User rogster001's Avatar
    Join Date
    Aug 2006
    Location
    Liverpool UK
    Posts
    1,472
    i would say use OpenGL via FLTK then it is easy to get a context you can add controls to and also it has useful built in functions that can make things like labels in the gl window easier. I made a 3d price / value analysis model in this way, that was fixed data from files.
    Thought for the day:
    "Are you sure your sanity chip is fully screwed in sir?" (Kryten)
    FLTK: "The most fun you can have with your clothes on."

    Stroustrup:
    "If I had thought of it and had some marketing sense every computer and just about any gadget would have had a little 'C++ Inside' sticker on it'"

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Graphing data
    By waynex in forum C Programming
    Replies: 2
    Last Post: 01-14-2008, 09:33 AM
  2. Charts and Graphing
    By mdoland in forum C# Programming
    Replies: 1
    Last Post: 11-05-2007, 04:18 AM
  3. Graphing with MFC?
    By 99atlantic in forum C++ Programming
    Replies: 3
    Last Post: 04-25-2005, 11:08 AM
  4. graphing a parabola
    By boa_321 in forum C++ Programming
    Replies: 3
    Last Post: 02-07-2003, 01:29 AM
  5. 2d graphing
    By maxthecat in forum Windows Programming
    Replies: 1
    Last Post: 11-09-2002, 12:41 PM