Robert Osfield
cbea97009c
Added s/getNormalize(), s/getPreserveDataType(), s/getAttribDivisor() and s/getBinding() to osg::Array base class in preperation for refactor of osg::Geometry and introduction of new features.
2013-06-04 14:55:57 +00:00
Robert Osfield
caa3a06c70
Introduced GeometryNew which is a cleaned up version of Geometry that removes support for array indices.
...
GeometryNew is only temporary and will be renamed to Geometry on the completion of refactoring work and feedback from community.
Ported osggeometry across to use GeometryNew.
2013-06-04 09:32:59 +00:00
Robert Osfield
2dc53ceabb
From Aurelien Albert, Added support for texture swizzle.
2013-06-03 15:10:53 +00:00
Robert Osfield
9b67578c47
Updated version and so_version in prep for 3.1.8 developer release
2013-06-03 14:38:23 +00:00
Robert Osfield
ae2b6669ea
Added Vec*b, Vec4ub, Vec*s, Vec*i, Vec*ui serializers
2013-06-03 13:13:18 +00:00
Robert Osfield
4697b3c68b
From Art Tevs, int and uint Vec classes
2013-06-03 11:38:20 +00:00
Robert Osfield
efe52842fa
From Aurelien Albert, "This submission is made against trunk version and add the loading of "glVertexAttribDivisor" extension."
2013-06-03 09:19:46 +00:00
Robert Osfield
9921c77136
From Ulrich Hertlein, "attached is a patch that fixes another clang++ compiler warning when returning
...
std::vector::size() as 'unsigned int'.
"
2013-05-31 10:23:49 +00:00
Robert Osfield
f730396f0a
Fixed date typo
2013-05-28 14:40:36 +00:00
Robert Osfield
47f574429a
From Marcin Prus and Robert Osfield, moved the key parts of the .dds plugins computeRowWidthInBytes implementation into the osg::Image::computeImageSizeInBytes(..) to
...
address bugs in the computation of image size.
2013-05-28 14:14:45 +00:00
Robert Osfield
18c37d14cd
Moved quad buffer definitions into include/osg/Camera
2013-05-27 08:10:42 +00:00
Robert Osfield
fb3178106a
Fixed panning bug, when using RUN_ON_DEMAND, that resulted in the camera being thrown off towards infinity.
...
The solution for to refactor the way that events are checked so I add a bool return type to checkEvents() method across osgViewer::GraphcisWindow, osgGA::Devive and osgViewer::Viewer/CompositeViewer classes
2013-05-24 09:35:58 +00:00
Robert Osfield
1284a0dd40
From Pawel Ksiezopolski, first email: "This submission adds texture buffer object ( defined in GL_ARB_texture_buffer_object extension ) to the osg::Texture* family.
...
TextureBuffer objects may use osg::Texture::bindToImageUnit(), so GLSL shaders are able to use not only texelFetch() function , but also functions defined in GL_ARB_shader_image_load_store extension : imageLoad(), imageStore(), imageAtomicAdd() etc."
second email: "After a while I found that osg::Texture::applyTexParameters() used with TextureBuffer may cause some OpenGL errors ( applying texture filters and wraps to TextureBuffer makes no sense ) so I fixed it."
2013-05-22 12:49:46 +00:00
Robert Osfield
455ebbc5f1
Refactored the support for stereo and keystone RTT setup so that it can be applied to an existing Camera.
2013-05-20 19:24:34 +00:00
Robert Osfield
acb4ba8554
Added support for controlling border and override redirect to the SingleWindow View::Config
2013-05-20 14:17:43 +00:00
Robert Osfield
3b6c2b636a
Renamed osgViewer::Config osgViewer::ViewConfig and moved it's declaration into include/osgViewer.
2013-05-16 10:11:06 +00:00
Robert Osfield
e3ed763c15
Added WoWVxDisplay view config
2013-05-16 09:08:27 +00:00
Robert Osfield
625821a91a
Created a dedicated include/osgViewer/config and src/osgViewer/config directories to place all the Config classes.
2013-05-15 16:15:38 +00:00
Robert Osfield
bcbaaefa02
Introduced osgViewer::Config base class and beginnigs of various Config implementations.
...
Introduced osgViewer serializers plugin for serialization support for osgViewer::Config implementations and Keystone
2013-05-15 11:31:49 +00:00
Robert Osfield
c238a7cca2
From Michael Kapelko, "The provided patch (against SVN revision 13380) adds missing constness to returning calls (without it the user code does not compile)."
2013-05-14 16:18:41 +00:00
Robert Osfield
1a683e2f83
From Ulrich Hertlein, "Attached is a patch that introduces 'static_cast<unsigned int>' on some instances where
...
the code returns '.size()' of a std::vector. This caused some warnings when using clang++
on OS X."
2013-05-14 16:12:21 +00:00
Robert Osfield
f1d5ba4278
Updated version after dev release
2013-05-14 13:34:54 +00:00
Robert Osfield
191cf8f5aa
Added OSGUTIL_EXPORT for Windows build
2013-05-13 13:12:13 +00:00
Robert Osfield
4e34cadee2
Added to Viewer::realize() automatic setup using Keystone when available and enabled, and when no other window setup has been selected.
2013-05-13 09:18:37 +00:00
Robert Osfield
9402efe38e
Added DisplaySettings::KeystoneHint flag that can be set via --keystone-on and --keystone-off command line parameters, and the OSG_KEYSTONE env var
2013-05-10 17:59:07 +00:00
Robert Osfield
5dd07e4d1c
Added keystone file handling
2013-05-10 16:06:10 +00:00
Robert Osfield
9c1c34d765
Moved Keystone support from osgkeystone example into osgViewer::View
2013-05-10 10:00:38 +00:00
Robert Osfield
e545627571
Moved Keystone class into osgViewer library.
2013-05-09 15:18:14 +00:00
Robert Osfield
668d351765
Introduced new scheme for handling mouse events with osgViewer. The new scheme enables robust event handling even when using distortion correction render to texture Cameras.
2013-05-03 19:26:27 +00:00
Robert Osfield
adea6c9329
Implemented stereo support into osgkeystone as a testbed for moving stereo support from SceneView into osgViewer
2013-04-18 09:47:28 +00:00
Robert Osfield
5ce1ba67fb
Changed point to osg::ref_ptr<> to prevent memory leaks.
2013-04-16 09:26:40 +00:00
Robert Osfield
34a6b38983
Preperation for adding stereo support direclty into osgViewer.
2013-04-15 14:21:32 +00:00
Robert Osfield
dd8d7c2839
Updated developer release number
2013-03-21 16:42:09 +00:00
Robert Osfield
ed35a0a07a
Added check against isVertexBufferObjectSupported() in set*Pointer() methods
2013-03-21 16:22:30 +00:00
Robert Osfield
68fdae5761
From Lukasz Izdebski,"added support for gl_SampleMaski."
2013-02-13 16:29:03 +00:00
Robert Osfield
63cd217c77
From Jordi Torres, Android build fix
2013-02-12 15:44:52 +00:00
Robert Osfield
2700c9d5e5
Updated SO version in prep for serialization foramt change
2013-02-07 11:08:34 +00:00
Robert Osfield
00c7e5e552
From Aurelien Albert, "This line,I use the "useVertexAttributeAliasing" mode in my application, and color arrays are not normalized, so shaders get [0.0-255.0] values instead of [0.0-1.0] values.
...
This patch fix this."
and those below, will be ignored
----
M include/osg/State
2013-02-06 14:50:37 +00:00
Robert Osfield
19bfa92c91
Simplified include/osg/Math to use Standard C++ maths headers - <cmath> and <cfloat>
2013-02-06 12:02:05 +00:00
Robert Osfield
5297502a38
Updated version number after 3.1.4 developer release
2013-02-04 14:42:44 +00:00
Robert Osfield
6ec15736cd
Standardized use of GL_HALF_FLOAT_NV and GL_HALF_FLOAT_ARB to GL_HALF_FLOAT
2013-01-31 16:26:06 +00:00
Robert Osfield
45585b78fb
From Laurens Voerman, "I have implemented and tested (on windows only) your suggestion for resetCullingMask(), it's far less intrusive than my previous submission.
...
attached are the changes to current svn (28 Jan 2013 / rev :13312).
"
2013-01-28 14:30:21 +00:00
Robert Osfield
26a8f63212
From Wang Rui, "In the attached files I've added the Compute Shader support for OSG, as well as serializer updates and a new osgcomputeshaders example. My submission also include a setComputeGroups() function in Program for setting compute-shader work groups, and a bindToImageUnit() function in Texture for binding textures as image variables in shaders.
...
All code are tested on Windows 7 + NVIDIA GFX 570 with the latest GeForce 310.70 Driver (BETA), which could support OpenGL 4.3.
Compute shader information can be found at "http://www.opengl.org/registry/specs/ARB/compute_shader.txt "
"
2013-01-25 11:54:03 +00:00
Robert Osfield
f6450a1123
From Lukasz Izdebski, "Adding this GL mode makes possibly to use this GL Modes (added in core OpenGL 3.2) in Windows."
2013-01-25 11:08:32 +00:00
Robert Osfield
5aa1234fa4
Fixed usage of META_NodeVisitor so it doesn't include ""
2013-01-24 18:48:34 +00:00
Robert Osfield
bada884342
From Pjotr Svetachov, "when you restart threading
...
with startThreading/stopThreading the _drawQueue and _availableQueue
are not reset properly. This can lead to a deadlock when threading is
started again. So before threading is started again the queues must be
reset. This deadlock is also reported earlier by someone else in here:
http://forum.openscenegraph.org/viewtopic.php?p=43415#43415 "
2013-01-23 17:38:28 +00:00
Robert Osfield
0b1605ed08
From Wang Rui with edits from Robert Osfield, additional GLenums for cross platform build
2013-01-23 16:22:45 +00:00
Robert Osfield
83f9d0f3e6
Added Options support to ImageSequence LOAD_* functionality
2013-01-18 17:11:49 +00:00
Robert Osfield
5fb8cd6a9c
Update SO_VERSION to reflect new API changes
2013-01-18 16:30:55 +00:00
Robert Osfield
a0980734ac
Added LOAD_AND_RETAIN_IN_UPDATE_TRAVERSAL and LOAD_AND_DISCARD_IN_UPDATE_TRAVERSAL ImageSequence::Mode's to allow for ImageSequence usage without using background paging threads, instead loading all the images on demand in the update traversal.
2013-01-18 16:21:17 +00:00