Laurens Voerman
38727ed4b4
implement readObject for all relevant readerWriters
2019-05-14 14:25:30 +02:00
AnyOldName3
8491fd780d
Add support for Targa type 3 and 11 images (greyscale)
2019-05-13 21:56:07 +01:00
Laurens Voerman
3ccdc66717
fix indentation for osgt files for windows dynamic library build.
2019-05-13 17:25:29 +02:00
Laurens Voerman
2f71c55da9
fix compile error if OSGUTIL_RENDERBACKEND_USE_REF_PTR not defined in include/osgUtil/RenderLeaf
2019-05-13 17:02:53 +02:00
AnyOldName3
7b6135f0f7
Avoid wasting memory loading optional TGA fields as RLE image data
2019-05-11 00:00:41 +01:00
AnyOldName3
05e896af7e
Add support for type 9 (colour mapped, compressed) TGA images.
2019-05-10 00:04:49 +01:00
AnyOldName3
33bf30cd8c
Check TGA footer if present to see if attribute channel contains alpha data
2019-05-10 00:04:08 +01:00
Robert Osfield
fd014e3b52
Merged ELSEIF fix from master
2019-05-08 10:17:06 +01:00
Laurens Voerman
3f0c1daaa2
add missing E to ELSIF
...
# Conflicts:
# src/osgViewer/CMakeLists.txt
2019-05-08 09:50:17 +01:00
AnyOldName3
c9fc6e0f79
Consistently check for failed memory allocation
2019-05-08 00:59:40 +01:00
AnyOldName3
348fbfe410
Switch to using safe buffers (fixing a memory leak)
2019-05-08 00:56:42 +01:00
AnyOldName3
47ec2c7951
Cleanup TGA header interpretation
...
* Read the colour map `First Entry Index` field. If non-zero, error out as the format specification is vague as to what it does and different readers interpret it differently.
* Rename the variable that holds the colour map entry size as the existing name could be misinterpreted as the size of the pointer, not the thing pointed to.
* Handle images reporting themselves as 15 bits per pixel in the same way as Truevision's example code.
2019-05-04 01:19:31 +01:00
Robert Osfield
6ea8ebf25a
Fixed indentation
2019-04-26 10:46:04 +01:00
Wei Lisi
2b65555d5f
remove tabs
2019-04-26 10:44:04 +01:00
flashk
2439679b0c
Update fbxRMesh.cpp
2019-04-26 10:43:04 +01:00
Wei Lisi
0cbf839425
clean up
2019-04-26 10:41:05 +01:00
Wei Lisi
82cae6daf4
fix fbx hierarchy issue
2019-04-26 10:41:05 +01:00
Derek Quam
6767ff540b
Fix two bugs introduced when removing the Geode visitor from the FBX
...
exporter.
In the Geometry visitor, use getNodePath to check if the Geometry node
is root instead of getNumParents.
Reset the state inside buildFaces to prevent duplication when a
Group is inside of Group.
2019-04-26 10:30:24 +01:00
Derek Quam
69ebfecfcc
Fix duplicate geometries in FBX export.
...
The fix to allow the export of orphaned Geometry nodes accidentally
duplicated those geometry nodes in 'normal' scene trees. This commit
refactors the code to rely on the visitor to traverse the Geometry as
opposed to traversing the Geometry in the Geode visit and the Geometry
visit.
2019-04-26 10:30:15 +01:00
OpenSceneGraph git repository
3834172342
Merge pull request #745 from eligovision/OpenSceneGraph-3.6_cmake
...
CMake: OSG_WINDOWING_SYSTEM fixed
2019-04-26 09:36:51 +01:00
Konstantin S. Matveyev
036bb7b472
CMake: Win32 option added to OSG_WINDOWING_SYSTEM
2019-04-14 00:47:36 +03:00
valid-ptr
b5dff94107
CMake: OSG_WINDOWING_SYSTEM fixed; FORCE flag removed
2019-04-14 00:08:09 +03:00
Robert Osfield
1784381dc7
cMerge branch 'OpenSceneGraph-3.6' of https://github.com/openscenegraph/OpenSceneGraph into OpenSceneGraph-3.6
2019-04-12 13:57:35 +01:00
Robert Osfield
9e18a7542b
Added ability to set which tree rendering techniques to build (via --featuers bitmask command line) and
...
output scene to using -o outputfilename.extension command line.
2019-04-12 13:55:39 +01:00
OpenSceneGraph git repository
1c6fd4da9b
Merge pull request #737 from eligovision/OpenSceneGraph-3.6_android
...
osgDB::DynamicLibrary: local lib loading on Android fixed
2019-04-11 12:42:22 +01:00
Konstantin S. Matveyev
e1b3c78013
osgDB::DynamicLibrary: local lib loading on Android fixed
2019-03-29 16:32:58 +03:00
Jeongseok Lee
f263ad29db
Update CMakeModules/FindCOLLADA.cmake
...
Keeping old style operator to align with OSG CMake 2.8.0 support.
Co-Authored-By: eknabe <44489094+eknabe@users.noreply.github.com>
2019-03-26 08:05:06 +00:00
Robert Osfield
dd32ee2945
Added basic load and compile stats collection enabled by --stats command line.
2019-03-25 14:09:04 +00:00
Robert Osfield
0b5cb65cdd
Added a call to the CullSetting::readCommnadLine(..) to make sure the --NO_CULLING and --VIEW_FRUSTUM, --VIEW_FRUSTUM_SIDES command line parameters are honoured
2019-03-25 12:42:28 +00:00
Robert Osfield
a8e78fde99
Added --NO_CULLING, --VIEW_FRSUTUM and --VIEW_FRUSTUM_SIDES/--vfs command line options for setting the Camera CullingMode value
2019-03-25 12:40:41 +00:00
Jeongseok Lee
43b274f65c
Update comments and fix cmake version check
2019-03-21 08:40:33 +00:00
OpenSceneGraph git repository
f97ea3577d
Merge pull request #727 from ccochran/OpenSceneGraph-3.6
...
Fixes Android build for osgViewer.
2019-03-19 14:33:42 +00:00
Colin Cochran
9726617b6e
Fixes osgViewer CMake build for Android.
...
Adds FORCE to overwrite the cached OWG_WINDOWING_SYSTEM variable.
2019-03-18 08:55:05 -06:00
Colin Cochran
997276d359
Fixes Android build for osgViewer.
...
Previously, cmake attempted to build cocoa windowing system source even if MAKE_SYSTEM_NAME was set to ANDROID.
2019-03-16 11:59:28 -06:00
Capostrophic
dceb353fe6
Replace redundant asCullVisitor usage with a type check
2019-03-16 12:29:39 +00:00
OpenSceneGraph git repository
d8600411bd
Merge pull request #726 from Capostrophic/linearinterpolator
...
Override default behavior for linear vector interpolations
2019-03-16 11:30:21 +00:00
Capostrophic
066c272f7a
Override default behavior for linear vector interpolations
2019-03-15 21:29:13 +03:00
Chris Djali
7ebe56291f
Resolve OpenGL error caused by confusion between geometry shader implementations.
...
There are two types of Geometry Shaders in OpenGL. One is provided by `GL_EXT_geometry_shader4` and `GL_ARB_geometry_shader4` and requires that certain parameters are set with calls to `glProgramParameteri` before the program is linked. The other is provided by OpenGL 3.2 as a core feature and by the GLES extensions `GL_EXT_geometry_shader` and `GL_OES_geometry_shader` and requires these parameters to be set in the GLSL source itself.
The value of `isGeometryShader4Supported` is being used to determine if the `glProgramParameteri` calls should occur, so it should only be `true` when one of the extensions requiring them is present.
2019-03-14 13:51:44 +00:00
flashk
c89a7fe67c
Update StackedTransform.cpp
2019-03-14 11:25:11 +00:00
Capostrophic
b14bb21801
Avoid unnecessary matrix type conversion in osgParticle
2019-03-14 10:47:08 +00:00
Robert Osfield
37eae8c719
Removed the optional code path hack
2019-03-14 10:46:59 +00:00
Capostrophic
12b298130a
Add OSG_USE_FLOAT_QUAT build option to use single precision quaternions
2019-03-14 10:46:42 +00:00
OpenSceneGraph git repository
c548289ac1
Merge pull request #724 from AnyOldName3/more-gitignore
...
Add missing files to .gitignore
2019-03-14 09:39:40 +00:00
AnyOldName3
2ebde09aff
Add Visual Studio cache/options directory to .gitignore
2019-03-13 23:13:41 +00:00
AnyOldName3
049f88325a
Add missing documentation build files to .gitignore
2019-03-13 23:13:00 +00:00
Robert Osfield
cc68d7f151
Streamline the animation path completion message
2019-02-25 15:09:12 +00:00
Daniel Trstenjak
5770774e00
OcclusionQueryNode: reset the test result of the invalid geometry
...
There're cases that the occlusion test result has been retrieved
after the query geometry has been changed, it's the result of the
geometry before the change.
2019-02-25 15:08:38 +00:00
Daniel Trstenjak
5624a22fe4
OcclusionQueryNode: ensure a valid query geometry
...
If the query geometry is invalid then don't do any occlusion queries and
never traverse the subgraphs.
2019-02-21 17:34:26 +00:00
Björn Blissing
9905b90a18
Add search location for textures in FBX plugin
...
The FBX plugin may fail texture lookup even if the texture is located in
the same folder as the model file. This change tries, as a last resort,
to check if the texture filename is available in the same folder as the
model.
2019-02-20 17:19:04 +00:00
OpenSceneGraph git repository
6d5c6ad6cc
Merge pull request #704 from mp3butcher/patch-24
...
uncomment INLINE_DRAWABLE_DRAW
2019-02-20 16:54:23 +00:00