I want to show my 3-d data with 3-d color
graph based on Mesa-3.7.
But I am newcomer, and I don’t know how to do
it. I need your help on :
1)where are there are this kind of codes that
can be downloaded freely?
2)Or tell me some shortcut to do it? thanks.
My data form as follows:
x y z function value
1 1 1 30
2 1 1 24
… … …
100 1 1 22
1 2 1 66
2 2 1 44
Sorry, but I do not see where your problem is. You have a point in space and a value that you can interpret as a color (if I get this right). If your problem is how to actually use this information to visualize your data in OpenGL I would recommend to take a look here: http://nehe.gamedev.net/
I want to visualize a the 3-d cub with the given color for each points as 3-d color graph
. I hope it can be rotated along each axis. Thanks.
What you’re looking for is 3D Textures. It is available as an extension on a wide range of platforms (it is now a core feature since OpenGL 1.2 IIRC).
ATI has a demo on this : http://www.ati.com/developer/sdk/RadeonSDK/Html/Samples/OpenGL/RadeonVolVis.html
Hi, is it under linux with source code ? thanks.