OpenSceneGraph
OpenSceneGraph copied to clipboard
OpenSceneGraph git repository
I wanted to compile+link the example osgemscripten (Emscripten version 3.1.25). I compiled successfully (after some minor modifications) the whole OpenSceneGraph (current master) repository, however I did not manage to link...
the code as follow: ``` void CameraManipulator::computeHomePosition(const osg::Camera *camera, bool useBoundingBox) { .......... if (camera->getProjectionMatrixAsFrustum(left,right,bottom,top,zNear,zFar)) { **double vertical2 = fabs(right - left) / zNear / 2.; double horizontal2 = fabs(top...
Today, I was debugging osgGA::AnimationPathManipulator on my laptop, in AnimationPathManipulator::handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIActionAdapter& us),when I Press the p key, the ea.getKey() return 229;but on Desktop computer,when I Press the p key,...
When generateAndAssignTextureObject() returns a re-used texture object with _allocated set to true, and `texStorageSizedInternalFormat != 0`, Texture2DArray calls glTexImage3D with this texture object bound. This is an error because in...
Currently, `isSizedInternalFormat()` will never report a depth texture format as being a sized internal format. This PR proposes making `isSizedInternalFormat()` reporting the relevant depth formats as being sized internal formats.
As-is, a multisampled multiview fbo will be unable to resolve if the user calls RenderStage::setFrameBufferObject or RenderStage::setMultisampleResolveFramebufferObject because the resolve layers will resolve between the old pair of framebuffers. This...
Hello, I am using osg 3.6.5. I intended to load a mesh and highlight it (by changing its color). I managed to do it with code below; ``` // load...
bug description: https://groups.google.com/forum/#!topic/osg-users/aCV2lkg8enw https://gitlab.com/OpenMW/openmw/issues/4773 quick fix https://github.com/openscenegraph/OpenSceneGraph/pull/934
We've been seeing crashes when an osgText with decoration is set to non-empty text string, then subsequently set to an empty string. It appears that the _decorationPrimitives contains references to...
> commit 2e4ae2ea94595995c1fc56860051410b0c0be605 # miss link png in osgDB and bzip2 in freetype osgPlugins The CMakeLists.txt in `osgDB` miss `png` lib,and in `osgPlugins/freetype` miss `bzip2` lib. Use cmake generate vc...