PDA

View Full Version : Need Help With Fill Animation



jsGL
01-31-2006, 08:59 AM
Hi All,

I need to create a graphical representation of a small system that is made up of a 3D cylindrical tank (with a hemispherical top and bottom) and some 3D pipes with various bend angles. I'd like to show cut-aways of these objects that can do the following:

1) Based on changing data of the C++ application, the tank would be shown as filling/emptying.

2) Show 3D flow through the pipes also based on changing data.

I've modeled these simple shapes in Truespace and ran an opengl converter on them, but the resulting code yields huge vertex arrays and I'm not sure how you would use/modify this code to support this kind of animation. Does anyone have any suggestions or examples that they could provide on how to do this?

Thanks

JS