The osgRecipes project includes different recipes written with OpenSceneGraph (OSG) and can help developers work with this famous 3D rendering engine, as well as other auxiliary libraries. The osgRecipes project itself is in the Public Domain, but some of its recipes may be under other licenses.
This project is also the source code repository of Rui Wang & Xuelei Qian's book OpenSceneGraph 3.0 Cookbook
, Packt Publishing, 2012. You may read more details or order this book at: http://www.packtpub.com/openscenegrap-3-for-advanced-3d-programming-using-api-cookbook/book
Use CMake (or cmake-gui) to build makefiles or solutions of the recipes
Run 'make' to build and install all recipes
Copy data files from both cookbook and integrations into the binary directory.
Have fun!
You may have to download and compile these third-party dependencies to test all the recipes:
This section will show you how to integrate OSG with different kinds of libraries and SDKs. These libraries can add extra functionalities like special effects, visual components and interaction methods to your OSG scene and greatly improve the performance of the applications. These libraries must be free for downloading and for non-commercial purpose of use. The license of the example code may vary according to the license of the third-party library if it does not fit the public domain.
The third-party libraries that can be embedded with OSG are listed here for downloading:
Any suggestions and contributions are welcomed all the time. :-)