473,320 Members | 1,695 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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
Oct 13 '08 #1
2 3156
nv******@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
Oct 13 '08 #2
Victor Bazarov wrote:
nv******@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...=Google+Search
would give more then enough for some time
Oct 13 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Rick Muller | last post by:
I have a problem that I would like to get some advice on from other Pythonistas. I currently manage a (soon to be) open source project for displaying molecular graphics for a variety of different...
15
by: oracle411 | last post by:
Hi I'm new to OpenGL, but have an OpenGL application written in CPP that I would like to display on a web browser. Was wondering how this could be done? Thank you very much
2
by: Michael Sgier | last post by:
Hi OpenGL in VC7. I get errors with the default include gl file. Which and where to get working OpenGL files? I also get errors with glfunctions in Kdevelop. Any help here? Thanks indeed....
3
by: john townsley | last post by:
Hi I want to do some OpenGl stuff with c++ on a winXP (home) machine. I have Borland c++ 5, MVS c++ 5 What C++ do you recommend (any others?)and where do you get the OpenGL stuff. thanks
10
by: Bad_Kid | last post by:
which is better for what?
4
by: tobfon | last post by:
I'm creating a scientific visualization application with rather high demands on performance. I've created a nice rendering engine for it in C++/OpenGL and a python interface to the rendering...
3
by: jg.campbell.ng | last post by:
I'm beginning learning Python and OpenGL in Python. Python fine. But difficulties with OpenGL; presumably with the installation of OpenGL. OS = Linux FC5. Python program gl_test.py: from...
9
by: Achim Domma | last post by:
Hi, I'm developing a GUI app in Python/C++ to visualize numerical results. Currently I'm using Python 2.4 with wx and PyOpenGLContext, but there are no windows binaries for Python 2.5 for quite...
3
by: Leon | last post by:
Hey, i am trying to develop a game, and I am using OpenGL and pthread. (on Ubuntu, so i also use the X library.) Now i have a problem. I have initialized OpenGL in the main thread, and i want to...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.