Robert Osfield
73ae1637c0
Fixed VS warning
2009-10-17 11:14:03 +00:00
Robert Osfield
37b77a2665
Updated wrappers
2009-10-16 18:50:42 +00:00
Robert Osfield
a0eba771e8
Updated wrappers
2009-10-16 17:22:20 +00:00
Robert Osfield
aefd1513f4
Ported osg::Geometry across to supporting the aliasing of vertex, color and normal etc. calls to Vertex Attributes.
...
Added support for automatic aliasing of vertex, normal, color etc. arrays to Vertex Attribute equivelants.
Added new osg::GLBeginEndAdapter class for runtime conversion from glBegin/glEnd codes to vertex arrray equivelants.
Added automatic shader source conversion from gl_ to osg_ builtins.
2009-10-16 16:26:27 +00:00
Robert Osfield
9e2567cb88
Made the use of the new projection and modelview matrix uniforms optional
2009-10-11 06:05:19 +00:00
Robert Osfield
d59477c8f7
Updated ChangeLog, wrappers and Contributors lists
2009-10-10 11:28:42 +00:00
Robert Osfield
3fce07e5e5
From Cesar L.B. Silveira, "I have written these few lines of code which allow setting the label
...
of an osgWidget::Label with an osgText::String. I had to do this on a
project I'm working on, because I needed UTF-8 strings on my labels,
and using setLabel with std::string was not working.
"
2009-10-10 11:06:30 +00:00
Robert Osfield
058d31d7b5
From Mathias Froehlich, "Tha attached change adapt previous attemps to get our application using osg
...
through microsofts application verifier. The current change should work a
little better ...
The change is based on rev 10605."
2009-10-10 11:00:35 +00:00
Robert Osfield
972e68113d
From Mathias Froehlich, "This change eliminate an orphan stats block that sticks somewhere in the
...
screen stats display."
2009-10-10 10:58:39 +00:00
Robert Osfield
2c4b60cafc
Updated wrappers
2009-10-10 10:54:33 +00:00
Robert Osfield
ef1c9d9e3c
From David Fries, "The Extensions object was calling _gl_get_query_objectui64v but
...
checking _gl_get_query_objectuiv_arb which is a different function
pointer. Changed to check the function being called.
This is against the subversion trunk."
2009-10-10 10:07:40 +00:00
Robert Osfield
a601754450
From Chris Denham, "I discovered a memory leak in the ZIP plugin, which was caused by a missing call to CloseZip.
...
I attach a modified ReaderWriterZIP.cpp (based on version 2.9.5 revision 10374).
This includes a little bit of code tidying, but the only functional change is a test of the return value of OpenZip and the addition of a call to CloseZip."
2009-10-10 10:00:13 +00:00
Robert Osfield
590aabb4fa
From Stephane Lamoliatte, "Here is a patch wich add two missing GL modes in the osg plug'in."
2009-10-10 09:45:47 +00:00
Robert Osfield
10deffdc41
From Stephane Lamoliatte, "Here is a patch wich improves the support for geometry shaders in OpenSceneGraph.
...
It adds new PrimitiveSet constants for the specific geometry shader primitive types :
- LINES_ADJACENCY
- LINE_STRIP_ADJACENCY
- TRIANGLES_ADJACENCY
- TRIANGLE_STRIP_ADJACENCY
It also adds some missing features to the glsl reader plug'in.
"
2009-10-10 09:41:28 +00:00
Robert Osfield
0aed782a47
From Jean-Sebastien Guay, "osgWidget::Window::setWindow() calls parented() (which does an addChild()) on the new window, but it does not call unparented() (which does a removeChild()) on the old window before. So it works fine if there was no window previously, but if an app creates new windows and calls setWindow() to replace the previous one, they will all add up instead and be on top of each other...
...
This is fixed in the file attached."
2009-10-10 09:26:06 +00:00
Robert Osfield
61544f51b6
From Bob Kuehne, "imageio plugin fix, mac os x : remove double-qualified ctor - illegal syntax under gcc 4.2.1"
2009-10-10 09:23:03 +00:00
Robert Osfield
01b5bf97f4
From Bob Kuehne, "fix for 10.6/darwin: this fix changes what i believe to be a typo in the os x darwinutils file from ID to id, the proper objective-c name for a type."
2009-10-10 09:20:39 +00:00
Robert Osfield
f6166d1119
Introduced new uniforms for tracking the modelview and project matrices in shaders using non built-ins.
2009-10-09 13:39:11 +00:00
Robert Osfield
4ba7a58c85
Fixed vertex attribute access bug
2009-10-08 13:33:41 +00:00
Robert Osfield
2f3c1d0ff8
Quitened down debug messages
2009-10-08 10:44:01 +00:00
Robert Osfield
b9f42413a1
Fixed warning
2009-10-08 07:54:37 +00:00
Robert Osfield
2d26cbe7ab
Introduced optional build against the GLU library, using optional compile paths to enable/disable GLU related function.
...
To toggle the use of the GLU library adjust the OSG_GLU_AVAILABLE variable via ccmake . or CMakeSetup.
2009-10-07 19:42:32 +00:00
Robert Osfield
6992e8eedf
Fixed handling of rescale of image
2009-10-07 18:50:01 +00:00
Robert Osfield
284f75a111
Fixed setUsage typo in PixelDataBufferObject, and fixed data pointer management in Texture::applyTexImage2D_subload().
2009-10-07 13:02:51 +00:00
Robert Osfield
dff56a15c6
From J.P. Delport, fixed bug caused by a typo in PixelBufferObject constructor
2009-10-07 12:54:14 +00:00
Robert Osfield
ae7dfc5796
Fixed warnigns
2009-10-07 09:39:45 +00:00
Robert Osfield
69557c060b
Fixed the TextureObject's + GLBufferObject reassignment to a new set.
...
Disabled the unref after apply for a Texture classes when the texture pool is enabled
2009-10-06 13:42:12 +00:00
Robert Osfield
e6a1429335
Refactored the ::getOrCreate*Object() methods to clean them up and fix a bug in the getOrCreateElementsBuffers method.
2009-10-06 09:28:41 +00:00
Robert Osfield
98c79e4918
From Andreas Goebel, fix to bug in ShapeDrawable::accept(PrimitiveFunctor) implementation for cylinder
2009-10-05 13:41:16 +00:00
Robert Osfield
de88eb197c
Removed erroneous inclusion of extra GLBufferObjectManager qualifier that broke Windows build
2009-10-03 15:10:13 +00:00
Robert Osfield
32b21dbb89
Introduced new GLBufferObject pool for managing the memory footprint taken up by VertexBufferObejct, ElementBufferObject and PixelBufferObject.
2009-10-03 09:25:23 +00:00
Robert Osfield
f75013d534
Introduced new BufferObject design + implementation in preperation of implementing a pool system for buffer objects
2009-10-01 20:19:42 +00:00
Cedric Pinson
cfac6a7809
From Michael Platings, In Target, the default constructor is explicitly called on _target. This is necessary for FloatTarget and DoubleTarget so that _target is initialised to 0, otherwise you get a junk value. In MorphGeometry.cpp, UpdateMorph::link now links channels of the same index to the same target. Previously a new FloatTarget was created for each channel, so multiple animations didn't work.
2009-10-01 17:08:16 +00:00
Robert Osfield
2eff3daaab
Fixed warning about max texture size being smaller than the currently used texture pool size
2009-09-27 15:21:05 +00:00
Robert Osfield
1fce3c0ad1
Added handling of resetting of the texture object format
2009-09-27 15:14:57 +00:00
Robert Osfield
e59f654290
Added status collection to full range of texture classes
2009-09-27 14:38:38 +00:00
Robert Osfield
9a1cd7072f
Improved the computation of the TextureProfile _size value, fixed the computation up of the miplevels
2009-09-26 16:28:42 +00:00
Robert Osfield
4d75729650
Added stats collection to new Texture Pool code, and improved TexturePool implementation.
...
The Texture Pool can be enabled by setting the env var OSG_TEXTURE_POOL_SIZE=size_in_bytes.
Note, setting a size of 1 will result in the TexturePool allocating the minimum number of
textures it can without having to reuse TextureObjects from within the same frame.
2009-09-25 18:05:54 +00:00
Robert Osfield
a74af20b54
Added return at end of to fix warning
2009-09-24 10:11:32 +00:00
Robert Osfield
0c0f96ac3d
Moved setting of TexturePoolSize into State.
2009-09-23 14:54:13 +00:00
Robert Osfield
d56499025b
Introduced memory pool size management
2009-09-23 13:51:20 +00:00
Robert Osfield
3d75054e2c
Preliminary work on support for a texture object pool that is designed to help manage resources down the GPU more tightly.
2009-09-22 18:45:24 +00:00
Robert Osfield
26925be4f4
Change win32 external library to wsock32.lib
2009-09-20 09:26:26 +00:00
Robert Osfield
c1d67b7e17
Added Ws2_32.lib to link of dicom plugin under Win32
2009-09-19 09:18:42 +00:00
Robert Osfield
b59556e2e6
Updated wrappers
2009-09-14 16:07:27 +00:00
Robert Osfield
e53876bae9
Fixed bug in interpolation of colour values
2009-09-11 13:08:49 +00:00
Robert Osfield
16312a4aa0
Added tf-255 option to volume tag
2009-09-10 16:39:05 +00:00
Robert Osfield
1e768c0631
Added reset of the ImageDetails values of TexelOffset and TexelScale.
2009-09-09 15:22:04 +00:00
Robert Osfield
251ec3c4f0
Added support for using the ImageDetails to fill in the Locator and TexelScale/Offset values in the ImageLayer
2009-09-09 13:31:32 +00:00
Cedric Pinson
d28b052fb7
From Cedric Pinson, remove unsused files include/osgAnimation/AnimationManager and src/osgAnimation/AnimationManager.cpp
2009-09-09 09:54:29 +00:00