NOTE: This article is 3 years or older so its information may no longer be relevant. Read on at your own discretion! Comments for this article have automatically been locked, refer to the FAQ
for more details.
I remembered I had this Aquarium code on my disk somewhere, so thought I'd post it. This is a simple Aquarium application written in C++ for one of my Uni courses, it uses OpenGL for the rendering and requires the GLUT
The code demonstrates how a very simple scene graph is put together, the code covers the following aspects of OpenGL:
- Rendering modes (wireframe/polygon)
- Display Lists
Each of the rendered objects can be translated, rotated and scaled, there are no special nodes in the graph for this, each object is distinct.
The source code can be found here: glaqua.zip [69.67 Kb] (2954 downloads)
Hope you found this post useful...
...so please read on! I love writing articles that provide beneficial information,
tips and examples to my readers. All information on my blog is provided free of
charge and I encourage you to share it as you wish. There is a small favour I ask in return however -
engage in comments below, provide feedback, and if you see mistakes let me know.
If you want to show additional support and help me pay for web hosting and
domain name registration,
donations, no matter how small, are always welcome!
Use of any information contained in this blog post/article is subject to this disclaimer
Other posts you may like...