Commit Graph

15759 Commits

Author SHA1 Message Date
Robert Osfield
4e6e0f53be Changed glDrawBuffer/glReadBuffer calls to use the new State::glDrawBuffers/glReadBuffers helper functions to enable lazy state updating to avoid unneccessary GL calls 2018-03-07 17:49:40 +00:00
Robert Osfield
4dac60540a Changed the default values of _drawBuffer and _readBuffer to make sure that the lazy state updating in State.glDrawBuffers(GLenum)/glReadBuffers(Glenum) doesn't ever ignore the first call. 2018-03-07 17:44:48 +00:00
Robert Osfield
178cba7cf0 Fixed build error 2018-03-07 16:45:58 +00:00
Robert Osfield
98cdeac9f6 Added missing Camera::setDrawBuffer/setReadBuffer() 2018-03-06 16:54:57 +00:00
Robert Osfield
f8eabd38ba Added missing Camera::setDrawBuffer() & setReadBuffer() 2018-03-06 16:42:11 +00:00
Robert Osfield
731065a32e Added missing setDrawBufer/setReadBuffer calls 2018-03-06 16:23:20 +00:00
Robert Osfield
98a7772fa7 Merge branch 'master' into shader_pipeline 2018-03-06 10:24:26 +00:00
Robert Osfield
b03e76bdb9 Renamed numBytesPerPixel to numBytesPerComponent to be clearer 2018-03-06 09:58:31 +00:00
Robert Osfield
64341cfb72 Added State::glDrawBuffer/glReadBuffer() method to implement lazy state updating for glDrawBuffer and glReadBuffer 2018-03-06 09:49:02 +00:00
OpenSceneGraph git repository
ee3235e7e0
Merge pull request #491 from mmassing/readerwritergdal_fix_reading_of_multichannel_multibyte_images
ReaderWriterGDAL: fix stride when reading multi-channel images with…
2018-03-06 09:33:30 +00:00
OpenSceneGraph git repository
5b80ee91c6
Merge pull request #492 from emminizer/stateattribute-typo
Minor typo fix on osg::StateAttribute
2018-03-06 09:25:49 +00:00
Daniel Emminizer
28544a4e29 Minor typo fix on osg::StateAttribute 2018-03-05 10:26:54 -05:00
Manuel Massing
b4cf315d6f - ReaderWriterGDAL: fix stride when reading multi-channel images with more than 1 byte per pixel 2018-03-05 15:48:24 +01:00
Robert Osfield
1b8567e11e Added deprecated comments for ShaderComposer 2018-03-05 14:39:07 +00:00
Robert Osfield
5c4a5515de Merge branch 'master' into shader_pipeline 2018-03-02 10:38:41 +00:00
OpenSceneGraph git repository
31d78b7bb3
Merge pull request #490 from torokati44/master
osgDB: Fix handling of return value of loadLibrary in Registry.
2018-03-02 09:43:24 +00:00
TÖRÖK Attila
b7c429a72a osgDB: Fix handling of return value of loadLibrary in Registry.
"Unable to load ..." was printed if the library could be loaded,
and it wasn't if not.
2018-03-02 00:13:43 +01:00
Robert Osfield
eb7dd6767f Merge branch 'master' into shader_pipeline 2018-02-28 14:10:56 +00:00
OpenSceneGraph git repository
eafab0fc35
Merge pull request #488 from LaurensVoerman/submit_array_ext
remove _EXT from GL_MAX_ARRAY_TEXTURE_LAYERS_EXT
2018-02-28 14:10:15 +00:00
Laurens Voerman
c81317b5b0 remove _EXT from GL_MAX_ARRAY_TEXTURE_LAYERS_EXT and GL_TEXTURE_BINDING_2D_ARRAY_EXT 2018-02-28 14:11:41 +01:00
Robert Osfield
8ed00f77dd Merge branch 'master' into shader_pipeline 2018-02-28 10:31:30 +00:00
Robert Osfield
be723811c8 Added GUIEventHandler to allow one to write out models with event callbacks 2018-02-28 10:30:47 +00:00
Robert Osfield
1ae954f5c3 Merge branch 'master' into shader_pipeline 2018-02-28 09:11:29 +00:00
Robert Osfield
99bcd95756 Replaced GL_TEXTURE_2D_ARRAY_EXT with GL_TEXTURE_2D_ARRAY 2018-02-28 08:50:48 +00:00
Robert Osfield
3dec244d5b Changed GL enum to fix Windows build issue 2018-02-28 08:02:39 +00:00
Robert Osfield
2a56e2dda1 Changed GL enum to fix Windows build issue 2018-02-28 08:00:40 +00:00
Robert Osfield
d2939da39f Merge branch 'master' into shader_pipeline 2018-02-27 19:10:26 +00:00
Robert Osfield
6a4609c28f Fixed precision issue with filling in the last element of the TransferFunction1D's osg::Image. 2018-02-27 19:09:18 +00:00
Robert Osfield
140633adc1 Merge branch 'master' into shader_pipeline 2018-02-27 18:16:08 +00:00
Robert Osfield
7b6eedbdf4 Restructured the way that applyTexParameters() is applied to address issues with Intel drivers not handling mipmap generations unless the tex parameters are reapplied on new upload of data. 2018-02-27 17:35:13 +00:00
Robert Osfield
fc128db510 Merge branch 'master' into shader_pipeline 2018-02-23 09:58:16 +00:00
Robert Osfield
39881b5576 Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph 2018-02-23 09:57:19 +00:00
Robert Osfield
2b13166c8d Cleaned up the applying of the glDrawBuffers() 2018-02-23 09:55:00 +00:00
OpenSceneGraph git repository
ebf0e8f435
Merge pull request #485 from eligovision/OpenSceneGraph_gles
GLExtensions fix: No PBO on GLES2 by default
2018-02-23 08:28:59 +00:00
Konstantin S. Matveyev
e3df1e954d GLExtensions fix: No PBO on GLES2 by default 2018-02-22 16:43:14 +03:00
Robert Osfield
a421b5eeac Merge branch 'master' into shader_pipeline 2018-02-22 08:47:46 +00:00
OpenSceneGraph git repository
ffc8e54cdc
Merge pull request #484 from LaurensVoerman/submit_inventor_dllexport
Remove OSG_EXPORT from deprecated_osg::Geometry in inventor plugin.
2018-02-22 08:15:46 +00:00
Laurens Voerman
819fb2b14c Remove OSG_EXPORT from deprecated_osg::Geometry in inventor plugin. 2018-02-21 13:38:42 +01:00
Robert Osfield
351e8e3fe1 Merge branch 'master' into shader_pipeline 2018-02-19 11:23:29 +00:00
OpenSceneGraph git repository
56baa7bf04
Merge pull request #479 from LaurensVoerman/submit_vc14WarnC4800_v2
move Get/SetScalarvalue out of ValueObject and provide specialization…
2018-02-19 10:14:36 +00:00
Robert Osfield
f5021e8bc0 Added ADD_DEFINITIONS(-D_WINSOCK_DEPRECATED_NO_WARNINGS) to quieten warning 2018-02-19 10:07:14 +00:00
OpenSceneGraph git repository
2378b41e9f
Merge pull request #482 from hwiesmann/master
Addition of comments for ClusterCullingCallback
2018-02-19 08:39:42 +00:00
OpenSceneGraph git repository
c52ae4f99f
Changed the doxygen control characters and clarifications 2018-02-19 08:39:23 +00:00
OpenSceneGraph git repository
7200b21203
Merge pull request #483 from filnet/fix_log_messages
Fix log messages
2018-02-19 08:35:00 +00:00
Philippe Renon
4a025cafb4 renderstage: fix spelling in log message 2018-02-18 18:39:47 +01:00
Philippe Renon
b4a2114fd4 singlewindow: minor log output fix
log message made it look like it originated from View::setUpViewOnSingleScreen
2018-02-18 18:39:47 +01:00
Hartwig Wiesmann
f01383c02a Addition of comments for ClusterCullingCallback 2018-02-18 08:49:41 +03:00
OpenSceneGraph git repository
21539466fd
Merge pull request #480 from hwiesmann/master
Addition of radius parameter for ClusterCullingCallback's constructor
2018-02-16 19:56:32 +00:00
Hartwig
73a36679df Addition of radius parameter for ClusterCullingCallback's constructor
The radius parameter is already present in ClusterCullingCallback's set method but has been forgotten in the constructor.
2018-02-15 21:10:59 +01:00
Laurens Voerman
b79d680580 move Get/SetScalarvalue out of ValueObject and provide specialization for GetScalarValue<bool> fixing MSVC waring C4800 2018-02-15 14:59:24 +01:00