OpenSceneGraph
OpenSceneGraph copied to clipboard
OpenSceneGraph git repository
Possible solution: #1031
Here are a few points to summarize my assumptions and understanding of the code. * When VAOs are used, VBOs are used (if supported) regardless off the usingVertexBufferObjects setting. This...
I have observed the issue using OpenSceneGraph 3.6.5. I have set up scene where I render a Text object after a Geometry object. The Text object is set up to...
osgPlugins/zip/unzip.cpp includes a function "FileExists" in the global namespace which is a very common function name. When linking this in static-lib mode on linux, it conflicts with gdal which has...
When I use osgUtil::Optimizer, with option `osgUtil::Optimizer::FLATTEN_STATIC_TRANSFORMS` on this [file.zip](https://github.com/openscenegraph/OpenSceneGraph/files/5807787/file.zip), I get an infinite loop at https://github.com/openscenegraph/OpenSceneGraph/blob/40bddd8d9532620dc704adce0d2fb0c854d62d0f/src/osgUtil/Optimizer.cpp#L255 I use OpenSceneGraph 3.6.5. Here is the dot version of the same file....
# a typo Hi Robert, I found a typo in file https://github.com/openscenegraph/OpenSceneGraph/blob/master/include/osgTerrain/GeometryPool#L117, in line 117 and line 118.I think you mean to write *sy* rather than *sx*. # a question...
Vertex Shader: ``` cpp "uniform mat4 transform;" "uniform vec2 uv_offset;" "uniform vec2 uv_scale;" "uniform bool octant_mask[8];" "attribute vec3 position;" "attribute float octant;" "attribute vec2 texcoords;" "varying vec2 v_texcoords;" "void main()...
Texture2DArray fails to regenerate after a releaseGLObjects/dirtyTextureObject (possible solution)
If you use a `Texture2DArray`, and call `releaseGLObjects()` on it (which calls `dirtyTextureObject`), the texture fails to recompile properly from that point forward. I believe the problem is here: https://github.com/openscenegraph/OpenSceneGraph/blob/master/src/osg/Texture2DArray.cpp#L403...
There is a mistake when set the LOWER_LEFT point。Should be “XYCoord t(x / tw, y / th);” ``` void Widget::setTexCoordRegion(point_type x, point_type y, point_type w, point_type h) { osg::Image* image...
If OSG 3.6 is configured by cmake with single-config cmake generator (such as "NMake Makefiles"), then binaries are compiled to unexpected locations (build\src\libraryName\libraryName.dll), instead of expected build\bin directory. Same applies...