flashk
627c3df093
Update ReaderWriterFBX.cpp
2018-10-04 09:22:14 +01:00
flashk
ab372b9ead
Update fbxRMesh.cpp
2018-10-04 09:21:58 +01:00
flashk
247eee2ca1
Update fbxReader.h
2018-10-04 09:21:41 +01:00
flashk
d4bbec4a0c
Fix hardware mipmap generation for cube maps
...
I was getting a black image when enabling hardware mipmap generation on cubemaps. I believe the problem is that the base Texture class is hard coding GL_TEXTURE_2D when enabling mipmap generation, instead of using the target type from the derived class.
2018-10-03 12:00:04 +01:00
Robert Osfield
114c818f2e
Removed unused static variables
2018-10-02 12:21:31 +01:00
Robert Osfield
1ee6d476f8
From Andy Skinner, Added ~GLExtensions to clear cached values for context ID
2018-10-02 11:28:34 +01:00
Konstantin S. Matveyev
e663330bdf
1px error in GUIEventAdapter, View, Viewer and CompositeViewer major fix
2018-09-21 13:30:39 +03:00
Robert Osfield
ca134dca2d
Standardized the glTexStorage*() calls to use osg::maximum(_numMipmapLevels,1) of rnumber of mipmaps to keep the usage consistent.
...
Fixed the erronous Texture2DArray glTexStorage call so that it used the _numMipmapLevels as above to resolve bug in allocation.
2018-09-12 17:45:49 +01:00
Robert Osfield
66246703bf
Warning fixes
2018-09-11 15:32:44 +01:00
OpenSceneGraph git repository
c2f0da31f2
Merge pull request #620 from LaurensVoerman/txt_SCREEN_COORDS
...
fix scale problem for osgText with characterSizeMode SCREEN_COORDS and _position set.
2018-09-11 11:29:36 +01:00
Robert Osfield
4ea833cc6b
Fixed build
2018-09-11 10:13:49 +01:00
Robert Osfield
8780347f2f
Cleaned up code
2018-09-11 09:05:16 +01:00
gwaldron
22e6f6038f
osgText: fixed thread-safety issues in Glyph and Font
2018-09-11 08:53:40 +01:00
Laurens Voerman
4dc6a6c4cd
fix scale problem for osgText with characterSizeMode SCREEN_COORDS and _position set.
2018-09-07 15:09:15 +02:00
Mathieu MARACHE
2e38e4751c
Added saving of inline Images without having the physical image file.
...
The can be read from and inlined image file
2018-09-07 14:05:50 +02:00
Robert Osfield
dfdb946d60
Merge branch 'OpenSceneGraph-3.6' of https://github.com/openscenegraph/OpenSceneGraph into OpenSceneGraph-3.6
2018-09-06 12:30:18 +01:00
Robert Osfield
d07fe93f34
Fixed memory leak with assignment of default value to ObjectSerializer
2018-09-06 11:53:35 +01:00
OpenSceneGraph git repository
05297f439c
Merge pull request #616 from eligovision/OpenSceneGraph-3.6_particles
...
ParticleSystem: Added support for GLES2 and upper (GL_QUADS -> GL_TRI…
2018-09-05 18:06:25 +01:00
Robert Osfield
34d58d447d
Fixed copy constructor
2018-09-05 18:01:33 +01:00
Konstantin S. Matveyev
637e1cc33b
ParticleSystem: Using of GL_TRIANGLES for GLES2 and upper; GL_QUADS otherwise
2018-09-05 19:00:29 +03:00
Alberto Luaces
69667a478f
Fix typo in the initial check of Image::scaleImage().
2018-09-05 13:38:09 +02:00
Konstantin S. Matveyev
f00b7180cb
ParticleSystem: Added support for GLES2 and upper (GL_QUADS -> GL_TRIANGLES)
2018-09-05 14:05:29 +03:00
Jason Beverage
6ae1139630
Protect the _programSet in Shader with a mutex.
...
This prevents thread safety issues when Shader objects are used in
multiple programs.
2018-09-05 09:34:54 +01:00
Robert Osfield
5f9c6a0170
Changed the ShapeDrawable::build() methpd so that it does run when the ShadpwDrawabe is a KdTree.
2018-09-04 15:26:30 +01:00
Robert Osfield
afe5644b9f
Added support for reading UTF-8 encoded of xml files
2018-09-04 12:42:31 +01:00
Robert Osfield
ae3133522d
Changed the logic for whether to call setUpThreading() in setThreadingModel() to make it possible to changed threadings even if the threading model starts of as SingleThreaded
2018-09-03 12:30:02 +01:00
Robert Osfield
006ca64f4b
Added reset of _stateset to prevent the releaseGLObjects calling release on th StateSet from the destructor
2018-09-03 09:37:36 +01:00
Robert Osfield
77fd07eaa9
Replaced the glSGetProcAddressARB code with the dlsym() usage as the NVidia driver looks to be returning non NULL pointers for invalid function names.
2018-08-28 12:01:35 +01:00
Robert Osfield
d18c498322
Enabled point sprite validty modes.
2018-08-22 11:13:11 +01:00
Robert Osfield
4f7f34a6b0
Merged fix for PointSprite modes validity checks from master.
2018-08-22 10:43:15 +01:00
plevy
dd9312ae35
Change GL_RGBA16F to GL_RGBA16F_ARB to fix Windows Build
...
Change GL_RGBA16F to GL_RGBA16F_ARB to fix Windows build.
2018-08-22 07:48:55 +01:00
Robert Osfield
250dcc5b6c
Replaced GL_RGBA32F with GL_RGBA32F_ARB to fix Windows build
2018-08-21 09:20:49 +01:00
mp3butcher
e043c3db33
complete TexStorage support
2018-08-20 05:11:43 +02:00
mp3butcher
587e65e674
add more extensions
2018-08-20 05:11:29 +02:00
mp3butcher
274b6894af
remove redondant variable and test
2018-08-19 22:46:10 +02:00
Robert Osfield
29e87780f5
Removed check as this is better outside of the function
2018-08-17 16:53:13 +01:00
Robert Osfield
58a51cbc41
Created a GLenum Texture::selectSizedInternalFormat(const osg::Image* image=0) const method to help clean up set up of glTexStorage.
...
Fixed typo.
2018-08-17 12:20:59 +01:00
Robert Osfield
7ae7a994b4
Merged changes to InternalPixelRelations sizedInternalFormats[] from master
2018-08-17 10:31:46 +01:00
Robert Osfield
3808b298d1
Fixed memory leak associated with VertexArrayStte objects not getting released on destruction of Geometry/Drawables.
2018-08-16 19:24:56 +01:00
Robert Osfield
ed13576d03
From Chris White, Cygwin build fix
2018-08-08 14:42:04 +01:00
OpenSceneGraph git repository
9ab5aafd02
Merge pull request #583 from emminizer/flt-registry-cache
...
OpenFlight: Replace internal caches with osgDB::ObjectCache use. Fix…
2018-07-31 16:58:41 +01:00
Daniel Emminizer
2e0e78144f
OpenFlight: Replace internal caches with osgDB::ObjectCache use. Fixes unbounded memory growth when using readNode(std::istream&, ...) method.
2018-07-31 11:45:33 -04:00
Robert Osfield
79bc4c3843
Fixed check against dataType changes
2018-07-27 17:34:30 +01:00
Daniel Emminizer
4d6c4a7f1f
FLT: Fix texture unit typo and code style from PR 568.
2018-07-09 06:34:41 -04:00
Robert Osfield
500d3947ef
Fixed isPointSpriteModeSupported assignment bug
2018-06-29 10:53:23 +01:00
Larry-Hu
c1dfc39706
Remove call to nonexistent member seekpos() of std::fpos in VS 2017 version 15.8 or later
2018-06-28 06:54:57 +01:00
Daniel Emminizer
33cb2e6f70
OpenFlight: Textures now correctly export in GLCORE mode.
2018-06-27 12:57:20 -04:00
Robert Osfield
27fc282bb5
Fixed relaseGLObjects() calls
2018-06-27 09:06:58 +01:00
Robert Osfield
9d897c2555
Merge branch 'OpenSceneGraph-3.6' of https://github.com/openscenegraph/OpenSceneGraph into OpenSceneGraph-3.6
2018-06-26 20:50:55 +01:00
Robert Osfield
cbcf7015bb
Replaced creation of a temporary Settings object on the heap with creation on the stack to improve performance
2018-06-26 20:46:49 +01:00