[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.c++

visualisation with freeglut, opengl

nvinhphu@gmail.com

10/13/2008 12:41:00 PM

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
2 Answers

Victor Bazarov

10/13/2008 12:52:00 PM

0

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

anon

10/13/2008 12:56:00 PM

0

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
http://www.google.com/search?hl=en&q=opengl+tutorial&btnG=Goo...
would give more then enough for some time