{"id":60464,"library":"osg","title":"OpenSceneGraph","description":"The OpenSceneGraph is an open source high performance 3D graphics toolkit.","status":"active","version":"3.6.5","language":"cpp","source_language":null,"source_url":null,"tags":["3d","graphics","scene-graph","rendering","osg"],"install":[{"cmd":"vcpkg install osg","lang":"bash","label":"vcpkg"},{"cmd":"# CMakeLists.txt\nfind_package(osg CONFIG REQUIRED)\ntarget_link_libraries(main PRIVATE OpenSceneGraph::osg)","lang":"cmake","label":"CMake"}],"dependencies":[],"imports":[{"symbol":"osg/Node","correct":"#include <osg/Node>"}],"quickstart":{"code":"#include <osg/Node>\n#include <osgViewer/Viewer>\n\nint main() {\n    osgViewer::Viewer viewer;\n    viewer.setSceneData(new osg::Node());\n    viewer.run();\n    return 0;\n}","lang":"cpp","description":"Creates a basic OSG viewer with an empty scene"},"warnings":[{"fix":"Use the appropriate CMake targets like OpenSceneGraph::osgDB, OpenSceneGraph::osgViewer.","message":"OpenSceneGraph has many optional plugins; ensure you link against the required ones (e.g., osgDB for file I/O).","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"search_vec":"'3d':10,13 'graph':17 'graphic':11,14 'high':8 'open':6 'openscenegraph':1,3 'osg':19 'perform':9 'render':18 'scene':16 'scene-graph':15 'sourc':7 'toolkit':12","created_at":"2026-06-16T19:32:01.498234+00:00","updated_at":"2026-06-16T19:32:01.498234+00:00","problems":[],"ecosystem":"vcpkg","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}