Robert Osfield
c0e9fcbb67
From Tim Moore, "This contains a couple of fixes to support changing FrameBufferObject configurations on the fly; the user changes the camera attachments and calls Renderer::setCameraRequiresSetUp(). The major part of this submission is a comprehensive example of setting up floating point depth buffers. The user can change the near plane value and cycle through the available combinations of depth format and multisample buffer formats."
2010-04-19 11:43:06 +00:00
Robert Osfield
04e4fa74cc
Added new osgterrain example that is simplified to just basic setup and control osgTerrain nodes, leaving the osgthreadedterrain as the more complex example.
2010-03-19 16:31:48 +00:00
Robert Osfield
515e421e1e
Renamed osgterrain to osgthreadedterrain to better reflect it's functionality.
2010-03-19 14:55:35 +00:00
Robert Osfield
74687953be
From Jeremy Moles, submitted by Cedric Pinson "Here an new example from Jeremy Moles that demonstrate EaseMotion from
...
osgAnimation, i have updated EaseMotion with new type, so for users of
EaseMotion just have look, it's a great example."
2010-02-25 17:58:50 +00:00
Robert Osfield
2a6719b7d8
From Jean-Sebastien Guay, build fixes for Mingw
2010-01-18 14:27:20 +00:00
Robert Osfield
8670be33c3
Added checked against QT webkit being available
2009-12-14 12:50:57 +00:00
Robert Osfield
e0154c2d28
From Ulrich Hertlein, "attached is a stencil buffer-based constant-width outline f/x with example. I've also modified osgfxbrowser to setup the stencil buffer accordingly."
2009-12-08 17:41:44 +00:00
Robert Osfield
f1009763fc
Added osggpx example to demonstate how to use the XmlParser and create line models.
...
To use :
osggpx myterrainmodel.ive -t mytrack.gpx
2009-12-02 12:37:22 +00:00
Robert Osfield
2f72c29bd4
From Sergey Leontyev, example for testing of DatabasePaging and CompositeView usage
2009-11-25 11:31:52 +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
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
12ca5156f8
Disabled osgteaport for GLES1, GLES2 and GL3 builds
2009-11-03 16:49:13 +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
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
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
3c03682b4c
Introduced new osgQtBrowser example.
2009-09-17 13:40:53 +00:00
Robert Osfield
9d792c279b
From Don Liech, Qt/OSG integration example
2009-06-19 11:31:15 +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
dc67dab42e
Renamed osgvirtualprogram to osgshadercompositor to better reflect it's function
2009-05-27 13:00:58 +00:00
Robert Osfield
2d542d683a
From Wojciech Lewandowski, VirtualProgram example that illustrates how one can create a custom system for composing shaders within the scene graph.
2009-05-25 13:02:14 +00:00
Robert Osfield
90f77c43d5
Added osgtexturecompression example to demonstate the quality difference between
...
different compression techniques.
2009-03-26 17:24:28 +00:00
Robert Osfield
1fd5eefbcf
From Maciej Krol, "As promised to Roland I assembled simple shader generator. ShaderGenVisitor converts accumulated fixed function pipeline state sets to ones with shader programs. Generated state sets are attached to geometries and stored in ShaderGenCache for reuse.
...
Very simple cases of state configuration are supported (all the ones I really need):
- single per pixel not attenuated non spot light source ON/OFF
- exp2 fog ON/OFF
- diffuse texture in rgb + optional specular gloss in alpha (Texture unit 0) ON/OFF
- normal map texture (Texture unit 1 and Tangent in VertexAttribArray 6) ON/OFF
- blending and alpha testing (not in shader pipeline)
To view fixed function pipeline files and paged databases simply run >osgshadergen myfile.osg"
2009-03-23 11:53:06 +00:00
Robert Osfield
ae50d8d956
From Roland Smeenk & Cedric Pinson,
...
"Summary of changes:
From Roland
-Added MorphGeometry
-Bone Bindmatrix is only calculated if needed
-osgAnimation plugin now supports all available channel types (before only linear vec3 or quat channels)
-osgAnimation plugin now supports MorphGeometry
-osgAnimation plugin now supports animation and channel weights, animation playmode, duration and starttime
-removed osgAnimationManager.cpp from CMakeList
From Cedric
-fixed the last_update field (it was only updated at the first update) in BasicAnimationManager.cpp
- Refactore some part of MorphGeometry minor changes
- Add osganimationmorph as example
"
2009-03-09 17:38:39 +00:00
Robert Osfield
9b64144a2f
Added osgcluster example into build system
2009-01-29 13:17:48 +00:00
Robert Osfield
af7bb82175
From Paul Martz, example demonstating new draw instanced primitive funcitonality.
2009-01-06 15:11:54 +00:00
Robert Osfield
4896fe6e05
From Mattias Helsing, "When building osg static on Windows the _declspec's wasn't escaped for
...
applications, examples or wrappers. Attached are the CMakeLists I had
to change to make these compile.
"
2008-12-11 17:00:40 +00:00
Robert Osfield
6f356aeb97
Intoduce new osgWidget::PdfReader and osgWidget::VncClient front ends to osgWidget,
...
with new pdf plugin and updated vnc plugin that now support these front ends.
Updated osgpdf and osgvnc examples to new these new interfaces.
2008-12-07 17:02:30 +00:00
Robert Osfield
cd4b4b8bfe
Added new examples
2008-11-28 14:37:58 +00:00
Robert Osfield
270fd48536
From John Vidar Larring, osgautocapture example that captures an image from a paged database by frame loop to the paging is complete, then takes a snapshot.
2008-11-26 11:23:06 +00:00
Robert Osfield
6ae07ce0e2
From Roland Smeenk, "This application can be used for testing plugins that can both read and write a certain file format. It will display the original file next to the written and reread file.
...
Example:
osgsidebyside -o cow.dae cow.osg
This example will read cow.osg, write cow.dae, read cow.dae and display cow.osg on the left side and cow.dae on the right side of the view.
Possible interactions:
KEY_UP Speedup DOF animation
KEY_DOWN SlowDown DOF animation
KEY_RIGHT Toggle all MultiSwitches"
2008-11-24 14:37:15 +00:00
Robert Osfield
9f55408ca3
Removed the optional build for osgWidget and plugins as these are options that are appropriate for building all the time
2008-11-22 14:30:21 +00:00
Robert Osfield
56a2cc65d0
From Cedric Pinson, Pulled in osgAnimation from OpenSceneGraph-osgWidget-dev into svn/trunk.
2008-11-22 12:14:19 +00:00
Robert Osfield
d903423ded
From Jaromir Vitek, osgpackeddepthstencil example as a test case.
2008-11-21 12:38:22 +00:00
Robert Osfield
beae8ab67f
Clean up osgbrowser after moving browser implementation into gecko plugin
2008-11-20 11:28:20 +00:00
Robert Osfield
297dd32011
Changed osgbrowser example to use a local CMakeModules/FindXUL.cmake script,
...
and specialization of GTK dependencies to only non Windows/OSX platforms.
2008-11-18 23:38:18 +00:00
Robert Osfield
ca5c93a983
Removed dependency on GLUT.
2008-11-17 15:53:04 +00:00
Robert Osfield
2a1f7f0f7a
Added GTK and GLUT guards to osgbrowser include
2008-11-14 16:54:07 +00:00
Robert Osfield
d75cc7f84d
An "attempt" at using LLMozLib sources as a base for a gecko based embedded browser.
2008-11-13 15:35:08 +00:00
Robert Osfield
771dc7d645
Introduced new osgpdf example that use Cario + Poppler libraries to provide a means of rendering a pdf document to an osg::Image.
2008-11-12 14:21:05 +00:00
Robert Osfield
915a645761
First cut of osgmemorytest example that is written to allocate many windows/pbuffer/GL objects as test of how many objects can be allocated on a machine.
2008-11-10 20:06:27 +00:00
Robert Osfield
c7c1913561
From Ulrich Hertleinm "cmake 2.6 is having trouble on Mac OS X because example/CMakeLists.txt addes subdirectory osgviewerGLUT twice. I took the liberty to remove the second occurrence.
...
"
2008-11-06 13:40:35 +00:00
Robert Osfield
bad9854d71
Added very basic osgvnc example that uses the LibVNCServer client libries for implementing a vnc client
...
as an osg::Image with the vnc data stream going to it.
2008-10-31 12:03:44 +00:00
Robert Osfield
8c6f65caca
From James Moliere,
...
" The code below is to show how a heirarchy of objects can be made within a scenegraph.
In other words, how there can be a parent/child relationship between objects such
that when a parent is rotated or translated, the children move is respect to it's
parent movement. A robotic arm is used in this example because this is what I'm
using OSG for."
2008-10-14 15:24:39 +00:00
Robert Osfield
3aebed206e
From J.P Delport, game of life example that demonstrates ping pong render to texture rendering
2008-10-14 14:58:10 +00:00
Robert Osfield
a3d25add27
Added osg2cpp example into build
2008-09-25 14:41:27 +00:00
Robert Osfield
ac61676368
Initial cut of osgimagesequence example
2008-07-21 10:57:06 +00:00
Robert Osfield
b343cbfc5f
Removed now redundent example
2008-07-15 19:23:48 +00:00
Robert Osfield
43cedf9eb4
Fixed typo
2008-07-15 18:12:17 +00:00
Robert Osfield
c2b77aa08e
From Jeremy Moles, import of the osgWidget NodeKit, sourced from the original http://osgwidget.googlecode.com/svn/trunk
...
Notes from Robert Osfield, I've merged osgWidget trunk, and added/changed CMakeLists.txt file to make it suitable for inclusion in the core OSG, and moved imagery/scripts/shaders out into OpenSceneGraph-Data
2008-07-15 17:21:25 +00:00
Robert Osfield
275811d02a
From Eric Sokolowsky, "I have made a number of changes intended to get a few things working better on OSX. However, since I'm still pretty new at Mac development and cmake I'm not entirely certain that the changes I have made are benign on other platforms. I have tested these changes on Leopard with CMake 2.6 generating Xcode 3.0 projects, compiling on ppc and i386 for 10.5 and 10.4, and on Linux (CentOS) and everything still seems to work ok. Here are the changes I made (against OSG svn as of this afternoon):
...
- Added osgviewerCocoa example to APPLE builds
- Fixed corrupt Xcode project generation with CMake 2.6 dealing with ADD_DEFINITIONS and CMake Policy CMP0005 on Leopard
- Resolved CMP0006 warning for examples and programs by setting BUNDLE DESTINATION to same as RUNTIME DESTINATION with CMake 2.6
- Fixed freetype plugin on Leopard to avoid OpenGL linking problem
- Figured out how to use a custom Info.plist included in the project (see osgviewerCocoa application CMakeLists.txt)"
2008-06-23 09:57:45 +00:00
Robert Osfield
8d0c7890ce
First cut of osgkdtree example, this will be used as a base of the development of
...
native kdtree support to help speed up intersection testing.
2008-06-03 16:13:49 +00:00
Robert Osfield
29d067639c
Added new osgscreencapture example folder, implementation to follow
2008-05-22 13:10:40 +00:00
Robert Osfield
4345382316
From Jeremy Moles, osgviewerGTK example
2008-05-08 16:39:10 +00:00
Robert Osfield
4f881b9a09
From Jeremy Moles,"Here's a small example I us to test text rendering in osgWidget; I
...
figured it might be helpful to folks in OSG who need to do the same.
"
2008-05-07 13:46:24 +00:00
Robert Osfield
98a2289a59
From Jose Delport, a MRT example implementing stereo matching.
2008-04-11 11:58:27 +00:00
Robert Osfield
fb5c839b31
From Jose Delport, introduced osgmultiplerendertargets example
2008-04-02 13:48:41 +00:00
Robert Osfield
02b52cb73a
From Paul Martz, a third person view CompositeViewer example
2008-03-04 13:30:41 +00:00
Robert Osfield
289ef1279d
Added beginings of new osgmultitexturecontrol example
2008-03-03 14:17:56 +00:00
Robert Osfield
578f385760
From Mike Weiblen, support for geometry shaders, and osgeometryshaders example to demonstrate them.
2008-01-08 14:29:44 +00:00
Robert Osfield
4889342c4a
From Paul Martz, Introduced osg::OcclusionQueryNode with support for OpenGL occlusion query extension
2007-12-21 14:45:16 +00:00
Robert Osfield
be5f709bdb
From Mike Garrity, "There was an on again/off again thread on OSG users about
...
creating subclasses of osg::Array that referenced data
stored an application's internal data structures. I took
a stab at implementing that and ran into a couple of
downcasts in Geometry.cpp. Enclosed is my take at fixing
those along with a simple example of how to do this."
2007-12-11 15:55:02 +00:00
Robert Osfield
f69a48e552
From David Callu, added support of 3D text to osgText and associated plugins.
2007-12-10 15:15:56 +00:00
Robert Osfield
7b73a58728
Added osgdepthpeeling example
2007-09-03 12:27:37 +00:00
Robert Osfield
1c6d46d07c
Removed osgdepthshadow and osgshadowtexture from build list
2007-08-13 14:02:16 +00:00
Robert Osfield
6b4e2fbdf2
From Alexandre Amalric, Fox example
...
From Robert Osfield, CMake build support for FOX example
2007-07-24 14:02:53 +00:00
Robert Osfield
3485210545
For Win32 added BUILD_MFC_EXAMPLE option, default to OFF to try and avoid
...
issues with users without MFC installed.
--This line, and
2007-06-15 13:43:49 +00:00
Robert Osfield
4c2814945e
Renamed osgmultiplecameras to osgcompositeviewer
2007-06-05 19:44:11 +00:00
Robert Osfield
089b9dbd88
Removed osgsimple example
2007-06-03 09:11:41 +00:00
Robert Osfield
e9258849c3
Merged the osgviewerQT3 and QT4 examples into a single osgviewerQT example, and
...
ported across from SimpleViewer to using Viewer
2007-06-03 09:09:09 +00:00
Robert Osfield
33b6fdd6c6
Renamed osgsimpleviewer* examples to osgviewer* in prep for replacement of SimpleViewer by Viewer
2007-06-01 22:33:05 +00:00
Robert Osfield
e775026697
Added osgstaticviewer example to demonstrate how to put a static lib built viewer
2007-05-25 15:25:39 +00:00
Robert Osfield
7f1cb32fc1
From Michael Hartman, "I have gone in and created a CMakeList.txt file for osgviewerMFC application.
...
Below is the changes made to the included files. The examples CMakeList.txt file was not included but the code change needed for osgviewerMFC inclusion is listed below.
CMakeList.txt:
This is a little different than other example cmakelist.txt files in that I could not use the setup_example macro. I had to go in and extract out the important parts of the macro and inline them in the CMakeList.txt file so that I could add the WIN32 declaration into the ADD_EXECUTABLE() statement. In the future the setup_example macro might be modified to support osgviewerMFC but this is special case so you might not want to muddy the water for one example.
MFC_OSG.h:
This file had some small changes:
From: #include <osgViewer/GraphicsWindowWin32>
To: #include <osgViewer/api/win32/GraphicsWindowWin32>
Also added two new function declarations
Void PreFrameUpdate(void);
Void PostFrameUpdate(void);
MFC_OSG.cpp:
This file changed only in that I am explicitly showing the viewer run loop and added the two new functions in the MFC_OSG.h file.
"
2007-05-17 11:04:57 +00:00
Robert Osfield
925efc9685
From Gian Lorenzetto, osgsimpleviewWX example, CMake support added by Robert Osfield
2007-05-11 09:07:00 +00:00
Robert Osfield
8c9ec06447
Added OpenThreads to TARGET_COMMON_LIBRARIES
2007-05-03 10:10:23 +00:00
Robert Osfield
aa73c4a00f
Removed OpenThreads from the list of TARGET_COMMON_LIBRARIES to prevent double
...
linking of OpenThreadsd and OpenThreads during debug build.
2007-03-25 11:47:08 +00:00
Robert Osfield
c000d8e94c
Added CMake QT3, FLTK and osgintrospection example build support.
2007-03-22 14:44:05 +00:00
Robert Osfield
e457914a40
Added CMake build support for GLUT and SDL examples
2007-03-22 14:06:27 +00:00
Robert Osfield
3a429b3f18
Fixed link name
2007-03-22 12:58:01 +00:00
Robert Osfield
c0f3c80a2b
From Luigi Calori, clean up CMakeLists.txt
2007-03-20 11:19:00 +00:00
Robert Osfield
be3f61c49f
From Luigi Calori, move to using local CMakeLists.txt files and explicit file lists.
...
From Robert Osfield, small ammendments of the above to seperate example and application installs, and fix the osgPlugins install directory.
2007-03-19 12:30:26 +00:00
Robert Osfield
fc02f7f8dc
Added osgterrain to build
2007-03-14 12:42:21 +00:00
Robert Osfield
e5a9364577
Added IF(BUILD_OSG_WRAPPERS) arouind osgintrospection example
2007-03-12 21:13:15 +00:00
Robert Osfield
1fd22b8722
Added application_ and example_ before application and example projects.
...
Converted the application CMakeLists.txt and macros to work with the ADD_OSG_APPLICATION macro.
Removed the GDAL checks in the examples/CMakeLists.txt
2007-03-09 13:47:37 +00:00
Robert Osfield
d4303ceb73
Setting of binary/exe path moved to root CMakeLists.txt
2007-03-09 09:08:32 +00:00
Robert Osfield
6a6005caae
From Luigi Calori, quick hack to make example compile in source.
2007-03-06 12:02:59 +00:00
Robert Osfield
71ec26ba62
From Luigi Calori, added marco support
2007-03-05 13:27:55 +00:00