Robert Osfield
b7cabac990
From Mathias Froechlich, "Attached the collected fixes I needed to compile with all of them.
...
Most notable the __hpux define stuff. The __hpux__ variant seems to be not
defined which resulted in a compile error at this time. Consequently I have
replaced all occurances of __hpux__ with __hpux. And huge surprise: now osg
plugins are found and loaded correctly ...
The next notable one is the MSVC_IDE fix which makes the nmake Makefiles cmake
generator target behave like the ide one. Showed up because I started to do
scripted builds with nmake instead of devenv...
The rest is the usual bunch of stuff that just happens during normal
coding ..."
2009-11-18 12:15:29 +00:00
Robert Osfield
79f766efab
Added OSG_CPP_EXCEPTIONS_AVAILABLE cmake option to enable optional build of plugins and examples that required C++ exceptions
2009-11-17 12:55:52 +00:00
Robert Osfield
22e01d3cba
From Cedric Pinson, "After fixing Skeleton, i introduce a compile issue in
...
osganimationhardware example
I added a #include <osg/MatrixTransform> to fix it
"
2009-11-13 13:52:12 +00:00
Robert Osfield
e166b510c7
Improved compatibility with GLES2
2009-11-12 12:07:13 +00:00
Robert Osfield
b00ff07294
Changed default enabling of vertex attribute mapping
2009-11-10 12:03:03 +00:00
Robert Osfield
8bba7c9f98
Added enabling of lighting, and disabling of mipmapping to help out testing of GLES2 target
2009-11-10 12:01:28 +00:00
Robert Osfield
aa2bb575c4
Added simple textured scene graph test accessible using --texture or -t command line options.
2009-11-06 16:51:38 +00:00
Robert Osfield
40f2478b77
Fixed build
2009-11-06 16:09:16 +00:00
Robert Osfield
d7d6d2b215
Moved glColor/glNormal definitions for GLES1.x from include/osg/GL to src/osg/ArrayDispatchers.cpp to avoid import/export issues on functions.
...
Fixed typo of GLES1 in disabling the build of OpenGL1.x/2.x specific examples
2009-11-04 17:26:59 +00:00
Robert Osfield
211ea2f263
Added --simple option and associated set up of a very simple geometry and shader scene graph
2009-11-04 11:03:13 +00:00
Robert Osfield
12ca5156f8
Disabled osgteaport for GLES1, GLES2 and GL3 builds
2009-11-03 16:49:13 +00:00
Robert Osfield
8a4956a257
Replaced glColor4fv call with osg::State::Color(..)
2009-11-03 16:48:48 +00:00
Robert Osfield
8d67c9bb33
Disabled the build of plugins that aren't supported under GLES.
2009-11-03 15:22:14 +00:00
Robert Osfield
a4639398e8
Fixed compile issue with Image.cpp and osgautocapture.cpp under GLES.
...
Fixed handling of EGLDisplay in EGL paths of GraphicsWindowX11
2009-11-01 09:04:41 +00:00
Robert Osfield
0ca4c82e3a
Fixed for GLES1 build
2009-10-30 15:16:44 +00:00
Robert Osfield
7e7135be59
From Cedric Pinson, updates to osganimation example to keep in sync with changes with osgAnimation, and introduction of a hardware skinning example
2009-10-28 13:31:24 +00:00
Robert Osfield
126462bb0b
Added stats handler to track performance effects of new GLBeginEndAdapter usage
2009-10-21 15:48:11 +00:00
Robert Osfield
9382800576
Added stats handler
2009-10-21 14:14:22 +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
ae440bfaef
From Wojciech Lewandowski, "ref_ptr usage changes made on 9th of June broke VirtualProgram used in osgShaderCompositor example. Taking the opportunity I modified the code a little to use earth sphere as default model. Cow.osg used previously was not looking good in advanced example. I also changed default to advanced example, because its more informative with labels describing virtual programs used to render the objects."
2009-10-10 09:53:10 +00:00
Robert Osfield
e1b3874fd2
From Cedric Pinson, "Here an update of osganimationtimeline example, the callback did not
...
follow the callback api, i updated to fix this, then the callback are
called correctly."
2009-10-10 09:35:16 +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
ba8d38b885
Added use of binding of vertex attributes to names
2009-10-09 10:39:55 +00:00
Robert Osfield
1babe771e7
Added remapping of gl_ and ftransform() variables to osg_ equivalents.
2009-10-08 16:23:40 +00:00
Robert Osfield
1cfe017209
Implemented remapping of gl_ builtins vertex attributes to osg_ equivlants.
2009-10-08 15:58:23 +00:00
Robert Osfield
3f55f3f140
New osgvertexattributes example designed to test conversion of fixed function scene graphs to use vertex shaders
...
and vertex attributes.
2009-10-08 14:29:54 +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
f75013d534
Introduced new BufferObject design + implementation in preperation of implementing a pool system for buffer objects
2009-10-01 20:19:42 +00:00
Robert Osfield
3c03682b4c
Introduced new osgQtBrowser example.
2009-09-17 13:40:53 +00:00
Robert Osfield
80be1d9dd6
Fixed empty lines
2009-09-04 09:11:49 +00:00
Robert Osfield
fa84f280f6
Renamed the osgVolume::Layer/ImageDetails parameters RescaleIntercept and RescaleSlope to more general TexelOffset and TexelScale, and changed type to Vec4.
...
Refactored the transfer function set up in RayTracedTechnique to prepare for new scale and offset uniforms.
Updated wrappers
2009-09-03 13:40:50 +00:00
Robert Osfield
43e3089417
Added support for recording the RescaleIntecept and RescaleSlope from the dicome files and passing these values onto osgVolume::ImageLayer
2009-09-01 10:48:32 +00:00
Robert Osfield
b76983c7f9
Fixed typo
2009-08-19 15:36:46 +00:00
Robert Osfield
589629cab8
Introduced TabBoxTrackballDragger
2009-08-05 16:02:44 +00:00
Robert Osfield
431290c04e
From Cedric Pinson, fix crash without error messages if the example does find the nathan.osg file.
2009-07-16 11:49:37 +00:00
Robert Osfield
6e6a7c960e
Added Dragger::s/getActivationModKeyMask(..) and Dragger::s/getActivationKeyEvent(...) methods to make it possible to have draggers that only respond when you press a specified modified key or standard key.
...
Changed the optional dragger in osgvolume to require the shift key to be pressed for the dragger to become active.
2009-07-03 19:16:53 +00:00
Robert Osfield
baef387b3d
Added TrackballDragger code path
2009-07-03 05:54:27 +00:00
Robert Osfield
23dec86e22
Added support for a "-m" option that adds a tab box manipulator to allow positioning and resizing of the rendered volume
2009-07-02 18:50:45 +00:00
Robert Osfield
af39672d3d
Removed old references to CommandManager
2009-07-01 14:50:08 +00:00
Robert Osfield
2525bb5d06
Completed refactor of osgManipulator, key changes are:
...
Selection is now just a typedef of osg::MatrixTransform, and is deprecated
CommandManager is shell class that just sets values directly on Dragger, and is deprecated
Dragger now has list of DraggerCallback that takes over the roll of tracking changes to the Dragger, and
allows users to track the dragger in any way they wish.
Dragger now has a convinience method making MatrixTransforms track a dragger.
Selection and CommandManager are no longer required for use of osgManipulator and are kept around for backwards compatibility.
2009-07-01 14:01:09 +00:00
Robert Osfield
a2ae370c8e
Refactored osgManipulator so that CommandManager is no longer required, instead Dragger directly manages Constaints and associate Selections.
2009-06-30 11:39:39 +00:00
Robert Osfield
e30e4df30c
Introduced event handling directly into osgManipulator::Dragger to allow it be used with a global event handler passing in events.
2009-06-29 21:32:10 +00:00
Robert Osfield
9d792c279b
From Don Liech, Qt/OSG integration example
2009-06-19 11:31:15 +00:00
Robert Osfield
ad8f2d8974
Changed build OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION to ON and then fixed all the resulting build errors.
2009-06-17 10:39:39 +00:00
Robert Osfield
1479902b07
Added basic Matrix::decompose() test, based on a test progrem wrttien by Paul Obermeier
2009-06-08 12:50:26 +00:00
Robert Osfield
40155d59b4
Implemented updating of revision files as new data is writing to the FileCache
2009-06-04 14:07:12 +00:00
Robert Osfield
cf976e956d
Added osgdatabaserevisions example to server as a testbed for new osgDB::DatabaseRevisions functionality
2009-06-02 16:58:32 +00:00
Robert Osfield
aaee56cbde
Ran dos2unx of files
2009-05-29 08:24:52 +00:00