Robert Osfield
d307ca2dea
Fixed data copy bug
2009-02-06 12:15:15 +00:00
Robert Osfield
b6d2a67651
From Alberto Luaces, "here are some minor fixes to notify warnings were the std::hex modifier was
...
used but never restored to the decimal notation. That made OSG print messages
like the following after some notifications:
Warning: detected OpenGL error 'invalid value' after RenderBin::draw(,)
RenderStage::drawInner(,) FBO status= 0x8cd5
[...]
Scaling image 'brick_side.JPG' from (1b4,24f) to (200,200) <--- Values in hex
because of previous error.
[...]"
2009-02-06 10:35:21 +00:00
Robert Osfield
75f0e64cc7
Added support for VS versioning of OpenThreads
2009-02-06 08:46:02 +00:00
Robert Osfield
3fdc0b4cfd
From Fabian Lavignotte, "Here is some various small fixes i have done while playing with
...
osgAnimation.
- Animation : removed the _name attribute that is never used.
- BasicAnimationManager : fix a crash on Windows with the example
osganimationviewer. The _lastUpdate attribute was not initialized when
using copy constructor.
- CMakeLists.txt : add RigGeometry to the headers list"
2009-02-05 15:22:42 +00:00
Robert Osfield
f3166c2d96
From Sherman Wilcox, added VS versioning information into libs
2009-02-05 14:55:17 +00:00
Robert Osfield
2e58416826
Added exports, and moved constructors into .cpp.
2009-02-05 14:54:42 +00:00
Robert Osfield
a88f4e2f86
Added initializer and fixed indentation
2009-02-05 14:42:29 +00:00
Robert Osfield
2864a75ad2
Suppress gcc warnings emitted by external headers
2009-02-05 14:35:46 +00:00
Robert Osfield
baac534bcc
From Jean-Sebastien Guay, warning fixes
2009-02-05 10:14:49 +00:00
Robert Osfield
c1fa3e0f6c
Form Paul Melis, spelling fixes
2009-02-04 13:51:12 +00:00
Robert Osfield
3c6b26c970
Fixed the constness of osg::Image* pointer
2009-02-04 11:35:24 +00:00
Robert Osfield
316a7a4dbd
Removed cast, to quieten VS warnings. Confirm change with original author Mathias Froehlich.
2009-02-04 09:03:13 +00:00
Robert Osfield
d4afe154f0
Fixed warning
2009-02-03 17:14:34 +00:00
Robert Osfield
7eafde35e2
Fixed warning
2009-02-03 17:11:54 +00:00
Robert Osfield
734463fcc7
Warning fixes
2009-02-03 15:28:53 +00:00
Robert Osfield
b51adc6f24
Fixed warning
2009-02-03 11:07:13 +00:00
Robert Osfield
5aeca01828
Updated wrappers
2009-02-02 20:42:33 +00:00
Robert Osfield
1153ea5feb
Warnings fixes for VS.
2009-02-02 20:35:19 +00:00
Robert Osfield
965b7ddc72
Attempt to appease both FreeBSD CMAke 2.6.2 + Linux CMake 2.4.8 builds
2009-02-02 20:34:58 +00:00
Robert Osfield
bd3c5ac0fa
From Cedric Pinson, warning fix.
2009-02-02 18:55:08 +00:00
Robert Osfield
10d16c92fe
Added initializer for local Quat definition
2009-02-02 17:46:16 +00:00
Robert Osfield
e1bdee5338
Improved handling of stats projection size
2009-02-02 17:15:40 +00:00
Robert Osfield
630f5087dc
From Stephan Huber, build fix for OSX XCode build
2009-02-02 16:56:46 +00:00
Robert Osfield
33d158e290
Updated OpenThreads and OpenSceneGraph version ready for OSG-2.8 branch.
2009-02-02 14:55:51 +00:00
Robert Osfield
fa727038a4
From Cedric Pinson, "Here an update of the osgAnimation ReaderWriter, it add other NodeCallback that could be attached to a node with Bone."
2009-02-02 14:51:51 +00:00
Robert Osfield
3d1c38f5e8
From Pierre Haritchablaet, "The wind vector of osgParticle::FluidFrictionOperator has not been written and read in IO_FluidFrictionOperator. This patch fixes osg plug'in FluidFrictionOperator_readLocalData and FluidFrictionOperator_writeLocalData."
2009-02-02 14:50:19 +00:00
Robert Osfield
2d55740b3e
Refactored osg::TransferFunction1D to use an std::map internally which is kept in sync with the actual osg::Image that is passed to the GPU.
...
Added .osg support for osg::TransferFunction1D.
Updated wrappers
2009-02-02 14:43:27 +00:00
Robert Osfield
d6b0cd64f1
Ground work for full .osg support for osg::TransferFunction*
2009-02-01 12:38:55 +00:00
Robert Osfield
b514b435f4
Added initial placeholder for .osg support for osgVolume::TransferFunctionProperty
2009-01-31 21:46:16 +00:00
Robert Osfield
6fda032aa2
Rejigged the Xrandr include
2009-01-31 10:21:36 +00:00
Robert Osfield
aed3339e43
Improved shaders to better handle region of constant values when doing normal generation
2009-01-30 18:56:30 +00:00
Robert Osfield
a358bd7370
Updated iso surface shaders
2009-01-30 17:10:27 +00:00
Robert Osfield
cbaf9d639c
Added support for discard fragment that don't generate an iso surface intersect
2009-01-30 16:45:54 +00:00
Robert Osfield
5c7a6a25a0
From Paul Melis, "I think TransferFunction needs to call _image->dirty() in two places in response to an assign() of new transfer map values.
...
Here's an updated file, which seems to work here.
"
2009-01-30 15:04:07 +00:00
Robert Osfield
eae23b01c3
From Lionel Lagarde, "this correct how the ParticleEffect are serialized :
...
- the texture file name is taken from the TextFileName field
- the texture file name is written using writeString
"
2009-01-30 14:54:22 +00:00
Robert Osfield
7a7c64211c
Fixed size of background of frame stats so that it's the correct width of the window
2009-01-30 12:09:06 +00:00
Robert Osfield
1dd7f10e19
Updated wrappers
2009-01-30 11:40:19 +00:00
Robert Osfield
6710fbc78a
Added support for osgVolume::ProperyAdjustmentCallback
2009-01-29 20:40:56 +00:00
Robert Osfield
51403143bd
Added support for osgVolume::Property classes
2009-01-29 20:34:22 +00:00
Robert Osfield
4c75313ced
Fixed handling of files with event callbacks on them.
2009-01-29 17:19:47 +00:00
Robert Osfield
66d77e3ebd
Fixed the sumation of the the unique number of primtivesets and vertices in the scene Stats collect
2009-01-29 14:41:18 +00:00
Robert Osfield
d62c34efe8
From Jason Daly, "Somehow, one of the shaders in the bsp plugin started behaving incorrectly between the original submission and now. I suspect it has to do with a typo in the setup of the shader that was fixed at some point, or it happened during the recent warnings purge. In any case, I had to invert the usage of a parameter in the shader to make it behave properly again.
...
The vtf plugin wasn't working in Windows due to OS differences in the byte-packing of the header structure (on Windows, the big block read was causing a buffer overrun). I fixed this by reading the structure from the file field by field. It's now happy on both Linux and Windows."
2009-01-29 11:18:03 +00:00
Robert Osfield
2bf68cab53
Fixed warning
2009-01-29 11:03:38 +00:00
Robert Osfield
2014d6162c
Added missing entry in build for AnimationManager.cpp
2009-01-29 10:22:52 +00:00
Robert Osfield
be179b481d
Improved the handling of toggling of GL_LIGHTi modes when SceneView::setLightingMode() is toggled on/off.
2009-01-29 09:28:08 +00:00
Robert Osfield
5ac339d7b2
Replaced -1 with ~0u to fix warning due to being written to a UInt field. Note, OpenFlight spec says -1, which is clearly an error in the spec, so we've had to guess at ~0u being an appropriate value.
2009-01-29 09:27:23 +00:00
Robert Osfield
f9855c35ec
Removed comments.
2009-01-28 16:44:46 +00:00
Robert Osfield
4004b37ee8
Updated wrappers
2009-01-28 15:23:18 +00:00
Robert Osfield
ef9987559e
From Paul Melis, "1) Changes the order of the camera stats slightly, to be more in line with
...
the view stats
2) Uses a slightly smaller block for view statistics"
2009-01-28 13:45:04 +00:00
Robert Osfield
ca1f1e5abe
Fixed warnings
2009-01-28 12:51:47 +00:00