OpenSceneGraph git repository
e819ea9c0e
Replaced tabs with spaces to fix indentation
2018-11-03 16:16:19 +00:00
flashk
15b9a493ed
Fix handling of alpha values in animated gifs
...
The gif loader was incorrectly setting pixels as transparent in certain animated gifs. It was ignoring the disposal method value in the extension block and always overwriting the alpha value in each frame. It is common for some animated gifs to set the disposal method so that the previous alpha value is retained. This patch modifies the loader to respect the disposal method flag.
2018-11-03 16:16:10 +00:00
flashk
452802b168
Update daeRMaterials.cpp
2018-10-22 09:17:37 +02:00
flashk
5a3f2e287c
Update daeReader.h
2018-10-22 09:17:37 +02:00
flashk
8af46a6e98
Update ReaderWriterDAE.cpp
2018-10-17 15:54:54 +01:00
flashk
56617a4bfb
Fix crash in Collada loader
...
The collada loader would crash when processing effects that didn't have a technique defined.
2018-10-12 07:38:59 +01:00
Boris Pek
7eaceb0baa
fix builds with case sensitive includes
...
Tested during cross-compilation for MS Windows using MinGW.
2018-10-10 18:26:43 +01:00
Robert Osfield
8feae585e1
Fixed buld
2018-10-10 13:10:55 +01:00
Antoine Lavenant
fa7843d520
fix apply once
2018-10-10 08:16:41 +01:00
flashk
d48a304569
Fix for HDR DDS images
...
The DDS loader was not applying the correct internal format for certain HDR images (e.g. float/half_float formats)
2018-10-04 09:22:57 +01:00
flashk
273dd046c2
Fix for GifImageStream::setReferenceTime
...
Setting the reference time greater than the duration of a gif would cause a crash. Also, the current reference time is not immediately updated when manually setting the reference time.
2018-10-04 09:22:26 +01:00
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
Robert Osfield
66246703bf
Warning fixes
2018-09-11 15:32:44 +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
Daniel Emminizer
4d6c4a7f1f
FLT: Fix texture unit typo and code style from PR 568.
2018-07-09 06:34:41 -04: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
OpenSceneGraph git repository
12db2f8011
Merge pull request #558 from LaurensVoerman/submit-ffmpeg3.2
...
resolve av sync failure with ffmpeg 3.2 and up
2018-06-19 11:50:38 +01:00
Laurens Voerman
e18a03abc3
resolve av sync failure with ffmpeg 3.2 and up
2018-06-19 10:47:23 +02:00
Daniel Emminizer
acf359777e
FLT: Missing optional attr files on textures no longer generates a console warning.
2018-06-14 07:33:08 -04:00
Robert Osfield
5fb1e9c120
Removed deprecated xine plugin to simplify licensing (xine plugin is GPL'd)
2018-05-31 15:11:19 +01:00
Robert Osfield
a86c6dc2c6
Quitened down unsupport compression output when passing in a file with a non rgb extension
2018-05-18 12:42:20 +01:00
Robert Osfield
312ce9ad05
Build fixes for OSG_USE_REF_PTR_IMPLICIT_OUTPUT set to OFF
2018-05-12 12:41:42 +01:00
Robert Osfield
05793cb104
Fixed typo
2018-05-10 16:59:56 +01:00
Robert Osfield
f49e1d32c9
Replaced std::auto_ptr<> usage as it's deprecated in C++11 and will be removed in C++17
2018-05-05 12:28:45 +01:00
Björn Blissing
645704dfd3
Check existence of path before reading image
...
When loading texture images inside the FBX plugin check that the path
exists before trying to read the image. This is done to avoid
unnecessary warnings inside the readRefImageFile function.
2018-05-03 16:13:24 +01:00
Alberto Luaces
02c310982e
Fix typos and spelling.
2018-04-23 11:03:37 +01:00
Robert Osfield
a082b57c3f
Removed usage of the osgUtil::TriStripVisitor is it generates osg::Geometry that perform very poorly when using VBO and VAO's vs GL DisplayLists.
...
With DisplayLists being deprecated in GL and VBO and VAO becoming standard it's best to standardize on using the osgUtil::MeshOptimizers instead of TripStrupVisitor
2018-04-20 11:44:44 +01:00
Robert Osfield
bf6db4eee7
Replaced the use of osgUtil::TriStripVisitor with ogUtil::MeshOptimizer usage to improve performance.
...
Fixed set setColorArray assignement to pass in the color binding
2018-04-19 19:36:19 +01:00
Ralf Habacker
d468cae86b
Remove duplicated and incorrect fetching of 'map_bump' attributes in obj plugin
...
Parsing the key 'map_bump' was processed in the block, where the attributes
for 'bump' are extracted and results into having parts of the key in the
extracted filename, generating an invalid filename.
The mentioned string compare could be removed without loosing any features,
because the key 'map_bump' is parsed correctly some lines below.
2018-04-05 08:46:33 +01:00
Andreas Ekstrand
e888e9621c
The attached code (from the 3.6 branch) adds a keepSeparatePoints option to the SHP plugin which makes it possible to avoid merging point features into multi-points, in case you e.g. need to keep separate point attributes.
...
It also contains a fix in the Xbase DBF parser, converting a numeric shape attribute to double instead of integer. As stated in e.g. https://en.wikipedia.org/wiki/.dbf the numeric field can contain decimals.
2018-04-03 12:43:34 +01:00
Robert Osfield
3450b9fee8
Removed osgShadow::ShadowVolume as it functionality isn't functional
2018-04-03 12:23:18 +01:00
Andreas Ekstrand
4cdca85699
Small fix (from the 3.6 branch) in the osgjs plugin, avoiding a double addition of the CullFace attribute when it has been turned off. This resulted in an empty json object in the osgjs file causing warnings in osgjs.
2018-04-01 10:19:27 +01:00
Konstantin S. Matveyev
1a86ed4e7a
Write support with .curl pseudo extension added
2018-03-26 17:59:49 +03:00
Paul Obermeier
b1170621c8
Fixes for VS2008 and 2010 build
2018-03-22 17:36:19 +00:00
Robert Osfield
b38a37c3bb
Fixed warnings
2018-03-19 10:42:09 +00:00
Robert Osfield
0308dfecf5
Introduced a _specverson to centralizer the control of this variable
2018-03-15 16:12:40 +00:00
Robert Osfield
957bd4b886
Added FbxLayeredTexture support
2018-03-12 10:29:04 +00:00
Robert Osfield
125263f216
Refactored the texture setup to streamline it and make it easier to adapt
2018-03-10 17:51:52 +00:00
Robert Osfield
b03e76bdb9
Renamed numBytesPerPixel to numBytesPerComponent to be clearer
2018-03-06 09:58:31 +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
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
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
f5021e8bc0
Added ADD_DEFINITIONS(-D_WINSOCK_DEPRECATED_NO_WARNINGS) to quieten warning
2018-02-19 10:07:14 +00:00
OpenSceneGraph git repository
486cd48daf
Merge pull request #476 from LaurensVoerman/submit_luaWarn
...
silence MSVC warning C4324: 'lua_longjmp': structure was padded
2018-02-14 17:16:39 +00:00
Laurens Voerman
ac00b8537f
silence MSVC warning C4324: 'lua_longjmp': structure was padded
2018-02-14 10:49:33 +01:00