visualisation with freeglut, opengl

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • nvinhphu@gmail.com

    visualisation with freeglut, opengl

    Hello everyone,

    I am writing a simulation program in C++. The data includes a set of
    spheres packing in a 3D box. So, I have the coordinates and the radius
    of the spheres.

    My question is how to visualize them (as colored solid spheres) using
    a easy-to-use C++ library? I've heard of freeglut, opengl but could
    not find any concrete tutorial to get me on the topic.

    I would deeply appreciate your help. Concrete help with illustrated
    code segment is more than great.

    For the moment, I do not need realtime visualization. I just need to
    do: given a set of particles, visualize them so see what they look
    like.

    Many thanks.

    Vinh Phu
  • Victor Bazarov

    #2
    Re: visualisation with freeglut, opengl

    nvinhphu@gmail. com wrote:
    I am writing a simulation program in C++. The data includes a set of
    spheres packing in a 3D box. So, I have the coordinates and the radius
    of the spheres.
    >
    My question is how to visualize them (as colored solid spheres) using
    a easy-to-use C++ library? I've heard of freeglut, opengl but could
    not find any concrete tutorial to get me on the topic.
    >
    I would deeply appreciate your help. Concrete help with illustrated
    code segment is more than great.
    >
    For the moment, I do not need realtime visualization. I just need to
    do: given a set of particles, visualize them so see what they look
    like.
    I don't think that the fact that your program is written in C++ and that
    you want to use a library with C++ (or C) bindings justifies posting
    here. Please consider 'comp.graphics. *' hierarchy. OpenGL is there
    somewhere, BTW.

    V
    --
    Please remove capital 'A's when replying by e-mail
    I do not respond to top-posted replies, please don't ask

    Comment

    • anon

      #3
      Re: visualisation with freeglut, opengl

      Victor Bazarov wrote:
      nvinhphu@gmail. com wrote:
      >I am writing a simulation program in C++. The data includes a set of
      >spheres packing in a 3D box. So, I have the coordinates and the radius
      >of the spheres.
      >>
      >My question is how to visualize them (as colored solid spheres) using
      >a easy-to-use C++ library? I've heard of freeglut, opengl but could
      >not find any concrete tutorial to get me on the topic.
      >>
      >I would deeply appreciate your help. Concrete help with illustrated
      >code segment is more than great.
      >>
      >For the moment, I do not need realtime visualization. I just need to
      >do: given a set of particles, visualize them so see what they look
      >like.
      >
      I don't think that the fact that your program is written in C++ and that
      you want to use a library with C++ (or C) bindings justifies posting
      here. Please consider 'comp.graphics. *' hierarchy. OpenGL is there
      somewhere, BTW.
      Not only that, but

      would give more then enough for some time

      Comment

      Working...