Commit Graph

1244 Commits

Author SHA1 Message Date
Robert Osfield
4688d5ae8e Rearranged the traversal and initialization of TerrainTechnique 2007-03-27 16:01:01 +00:00
Robert Osfield
e76e4e82db Added EllipsoidLocator. 2007-03-27 11:23:57 +00:00
Robert Osfield
1cdda0654f Added Locator and layer setting to osgterrain example 2007-03-26 15:52:22 +00:00
Robert Osfield
4e2eaf4d0d Changed the external library specification to use TARGET_EXTERNAL_LIBRARIES 2007-03-26 09:48:02 +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
8b683c93c9 Added CMake build suppport for osgsimpleviewerQT4 2007-03-22 14:45:13 +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
541c3f13e9 Added GeometryTechinque to osgTerrain. Added usage of GeometryTechnique into osgterrain example
Added --width and --height command line options to osgdistortion to allow users
to control the window size.
2007-03-21 16:34:04 +00:00
Robert Osfield
c0f3c80a2b From Luigi Calori, clean up CMakeLists.txt 2007-03-20 11:19:00 +00:00
Robert Osfield
d9a94f7890 Moved the TARGET_NAME setting into the SETUP_APPLICATION/EXAMPLE macro 2007-03-19 17:18:59 +00:00
Robert Osfield
da64127539 Ran dos2unix on CMakeLists.txt files. 2007-03-19 13:26:34 +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
794553700f Further work on osgterrain example 2007-03-19 10:38:44 +00:00
Robert Osfield
2c3ead29fa Added osgterrain example 2007-03-14 12:43:29 +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
Robert Osfield
0414332390 Fixed command line parameter reporting 2007-03-04 13:04:12 +00:00
Robert Osfield
9fa317c550 From Mike Wittman, updates to support new protected method support 2007-03-04 13:03:47 +00:00
Robert Osfield
267079e4d8 Added proper maths for distortion correction of pufferfish dome. 2007-03-02 16:14:44 +00:00
Robert Osfield
b00cbe5a17 Moved include/osgTerrain/DataSet/.cpp, gdal plugin and osgdem out into the VirtualPlaneBuilder project.
Updated examples to remove DataSet/GDAL dependency.

Updated wrappers
2007-02-27 21:12:48 +00:00
Robert Osfield
eb4ad4229f Moved osgProducer and osgproducerviewer out into their own repository.
Clean up the source for remaining references to osgProducer/Producer.
2007-02-27 13:16:18 +00:00
Robert Osfield
6a539c4110 Added --label and --subscript options to allow us to create custom logos 2007-02-27 11:51:32 +00:00
Robert Osfield
7f8f4e331a Completed changes to osgManipulator to make it more flexible w.r.t viewer usage, and
ported osgmanipulator example across of osgViewer
2007-02-26 13:01:17 +00:00
Robert Osfield
f43cd7332c Further work on add serialization support for osgViewer configurations 2007-02-25 20:05:23 +00:00
Robert Osfield
ad3cac84e9 Moved Block, ReentrantMutex and ReadWriteMutex into OpenThreads. 2007-02-23 16:31:34 +00:00
Robert Osfield
96f567eff3 Added bool View::Slave::_useMastersSceneData to help manage HUD's and RTT
cameras that are embedded in the Viewer's View
2007-02-23 11:53:45 +00:00
Robert Osfield
67a9ac2055 Added new --Viewer and --CompositeViewer for implementation of HUDs 2007-02-23 11:52:28 +00:00
Robert Osfield
76d98c7c42 Implement basic full dome correction with projecto pointing upwards and at center
of dome.
2007-02-22 16:42:59 +00:00
Robert Osfield
df0de03798 Moved distortion mesh creation out into seperate function 2007-02-22 11:17:45 +00:00
Robert Osfield
9a1ce56ce5 Wired up RTT cubemap cameras and simple distortion mesh. 2007-02-21 19:41:03 +00:00
Robert Osfield
228fd04a19 Removed the exclusion of CullSettings from the genwrapper.conf, and then changed the CullStack RefMatrix& methods to RefMatrix*
as the RefMatrix& versions caused the wrappers to fail.
2007-02-21 13:48:01 +00:00
Robert Osfield
5bba6b4167 Further work on dome RTT 2007-02-20 21:06:24 +00:00
Robert Osfield
fe8552bbd8 Added beginings of full dome correction support, starting with 6 slave camera
configuration.
2007-02-20 11:44:10 +00:00
Robert Osfield
fa9456f0b9 Added command line arguments descriptions 2007-02-19 16:59:52 +00:00
Robert Osfield
b348f4a815 Added -1, -2 and -3 model creation options to osgshadow example. 2007-02-19 16:45:42 +00:00
Robert Osfield
65ad3094a9 Added support for ShadowTexture and ShadowMap to osgshadow example 2007-02-19 15:26:14 +00:00
Robert Osfield
bc0fb12d0a Added option to use osgShadow::ShadowMap technique 2007-02-19 14:21:01 +00:00
Robert Osfield
9119f4d3c3 Added osgShadow::ShadowTexture set up 2007-02-16 10:19:15 +00:00
Robert Osfield
e096a5f44a Added enabling of the stencil buffer when setting up ShadowVolume path 2007-02-16 06:39:23 +00:00
Robert Osfield
edf050842a From Eric Wing, updates to XCode projects and introduction of two SDL OSX files to the osgsimpleviewerSDL example 2007-02-16 06:11:38 +00:00
Robert Osfield
dbb7c3c74c Added support for using the new osgShadow plugin as a psuedo loader such that:
osgviewer cow.osg.shadow

Or to ShadowVolume rechnique specifically:

  osgviewer cow.osg.sv.shadow
2007-02-15 22:28:32 +00:00
Robert Osfield
953899d0e2 Set the DataVariance of updating text to DYNAMIC 2007-02-14 12:42:10 +00:00
Robert Osfield
89c99a88fa Added computeDataVariance method into osg::Object and implementations in Drawable and StateSet,
and calling of osgUtil::StaticObjectDetectionVisitor in osgViewer::Viewer
2007-02-14 11:24:42 +00:00
Robert Osfield
1ac770aebc Fixed warning 2007-02-13 22:39:59 +00:00
Robert Osfield
da20b59aad Fixed warnings 2007-02-13 22:24:51 +00:00
Robert Osfield
8b104a2136 Added -losgText to example that used osgViewer but didn't previously include -losgText 2007-02-13 20:32:45 +00:00
Robert Osfield
f29ad5d0f2 Reduced the RTT texture size to 256x256 to make setup quicker 2007-02-13 15:57:01 +00:00
Robert Osfield
cd07fb61eb From Eric Wing, "Here are some updates for osgsimpleviewerCocoa.
New features and enhancements:
- Shared OpenGL contexts
- Multithreaded OpenGL Engine support
- Localizable string support
- Offscreen rendering (to framebuffer object) for:
 - Copy/Paste (to image) support
 - Drag-and-drop (as source image) support
 - Print to Printer/PDF
 - Dock minimization picture
- More robust initializer handling
- Fix to better handle hardware surfaces in NSScrollViews/NSSplitViews
- Use of respondsToSelector and instancesRespondToSelector to
demonstrate runtime feature checking to provide access to newer
features while still compiling on and supporting legacy versions

The new file "Localizable.strings" needs to be placed inside the
English.lproj directory."
2007-02-13 13:58:45 +00:00
Robert Osfield
b695160483 Added support for osg::Stencil into .ive 2007-02-13 13:47:37 +00:00
Robert Osfield
cc3d3c6d4c Added setDataVariance(DYNAMIC) to the scores text entires to prevent the
DrawThreadPerContext for crashing due to double buffering of dynamic data.
2007-02-13 11:32:28 +00:00
Robert Osfield
66274a632a Changed the BlendFunction StateSet to DYNAMIC 2007-02-13 09:38:07 +00:00
Robert Osfield
3fbd958716 Added setDataVariance(DYNAMIC) to _inputText to prevent problems when running in DrawThreadPerContext threading model. 2007-02-13 09:27:44 +00:00
Robert Osfield
d28a6011f1 From Mike Wittman, "Here is the next in the series of changes I'm making to OSG introspection to support the attributes needed for C# bindings. This change adds virtual/pure virtual attributes to MethodInfo and an explicit attribute to ConstructorInfo using the implementation strategy that David Callu recommended a few months back (thanks David!). This change updates both genwrapper and osgIntrospection, and assumes the osgIntrospection reference support that's still pending in your submission queue." 2007-02-12 17:59:18 +00:00
Robert Osfield
a725e0af7d From Mike Wittman, "These changes add support for reflection of reference and const reference type representations via osgIntrospection::Type. This covers just the static type information; the dynamic behavior via Type::createInstance/Type::InvokeMethod should not be affected." 2007-02-12 17:14:46 +00:00
Robert Osfield
3006bb14f4 Changed osgManipulator::Dragger::handle(..) method to use a nested PointerInfo
class to encapsulate the pixel coords, SceneView and picking operations in prep for
making the code more general purpose, and less reliant on classes like osgUtil::SceneView and osgUtil::IntersectVisitor.
2007-02-11 21:12:34 +00:00
Robert Osfield
19db0c1674 From Vivek Rajan, new osgManipulator library, with a few minor tweaks and rename for osgDragger to osgManipulator for build by Robert Osfield.
Vivek's email to osg-submissions:

"I'm happy to release the osgdragger nodekit to the OSG community. I
implemented the nodekit for my company, Fugro-Jason Inc., and they
have kindly agreed to open source it.

The nodekit contains a few draggers but it should be easy to build new
draggers on top of it. The design of the nodekit is based on a
SIGGRAPH 2002 course - "Design and Implementation of Direct
Manipulation in 3D". You can find the course notes at
http://www.pauliface.com/Sigg02/index.html. Reading pages 20 - 29 of
the course notes should give you a fair understanding of how the
nodekit works.

The source code also contains an example of how to use the draggers."
2007-02-11 10:33:59 +00:00
Robert Osfield
760cfeaadb Cleaned up osgshadow example so that it now relies upon osgShadow for its
shadow implementation
2007-02-09 21:31:29 +00:00
Robert Osfield
9aae37e357 Moved the basic ShadowVolume code into osgShadow 2007-02-09 16:03:29 +00:00
Robert Osfield
4c5eb02ec5 From Yefei He, " I wrote a class derived from CopyOp that preserves the multi-parent
structure of scene graphs. I only considered the case of DEEP_COPY_NODES,
but it is sufficient for me. It is not the most elegant way -- I used
a map to list all the already cloned nodes with multiple parents, to be
looked up whenever such a node is revisited. The good part is, it works."

From Robert Osfield, fixed build problems under Linux 64 due to use of int's to store Node*
in internal maps used in above custom CopyOp.  Added ref_ptr<> usage to main to
prevent memory leaks
2007-02-09 14:54:54 +00:00
Robert Osfield
95befaf1ed Flesh out more of basic ShadowTechnique and ShadowedScene API. 2007-02-08 17:23:40 +00:00
Robert Osfield
c2e79a2d89 Set the DataVariance to DYNAIMC for the StateSet of with the dynamically updating Uniform 2007-02-07 16:27:48 +00:00
Robert Osfield
3de205ec45 Added new Viewer threading model options 2007-02-06 14:38:08 +00:00
Robert Osfield
69da91620f Convert GraphicsThread/GraphicsOperation to more generic OperationsThread/Operation.
This paves the way to running cull traversals in seperate threads.

Updated wrappers
2007-02-02 22:30:36 +00:00
Robert Osfield
bee545b82d From Eric Sokolowski, added support for the new Text line spacing parameter to the .osg and .ive formats. 2007-02-02 16:51:59 +00:00
Robert Osfield
55661041d7 Added display listing of ShadowVolume 2007-01-30 17:12:33 +00:00
Robert Osfield
44dceef503 Added use of Viewe Realize graphics operation. 2007-01-28 17:12:57 +00:00
Robert Osfield
b8994d4707 Updated wrappers 2007-01-27 17:52:11 +00:00
Robert Osfield
f2c782dda4 Added light source. 2007-01-27 14:27:29 +00:00
Robert Osfield
137d9c1a6a Further work on shadow CullCallback 2007-01-27 12:54:58 +00:00
Robert Osfield
8625598e00 Further work on building the rendering back end from the intial traversal of the
scene graph
2007-01-26 21:22:35 +00:00
Robert Osfield
df7ab22414 Added custom callback to capture RenderBins 2007-01-26 09:44:49 +00:00
Robert Osfield
aa339f8e7a #ifdef'd out the artifical simulation time code 2007-01-25 12:16:38 +00:00
Robert Osfield
7232a831da Added osg::FrameStamp::set/getSimulationTime().
Added setting of osg_SimulationTime and osg_DeltaSimulationTime to the uniforms set by SceneView

Added frame(double simulationTime) and advance(double simulationTime) parameters to
osgViewer::SimpleViewer, Vewer and CompositeViewer.

Updated various examples and Nodes to use SimulationTime where appropriate.
2007-01-25 12:02:51 +00:00
Robert Osfield
3c96113970 Added ability to generate various cube faces for testing and switch handler to toggle between different models. 2007-01-24 11:18:27 +00:00
Robert Osfield
2fc6dd1942 Added cube test model. 2007-01-23 17:42:43 +00:00
Robert Osfield
bd7af070af Commented out the default saving of models 2007-01-23 16:27:07 +00:00
Robert Osfield
6b7652b1cb Added single screen option 2007-01-23 15:51:43 +00:00
Robert Osfield
fd9c8c5258 Added command line help 2007-01-23 14:43:07 +00:00
Robert Osfield
6b47ea31b5 Added delete selected object using delete and back space key, and added save option 2007-01-23 14:10:10 +00:00
Robert Osfield
4dea029608 Made two sided stencil the default 2007-01-23 13:16:47 +00:00
Robert Osfield
d614262ab7 Added stats and range of keyboard mouse handling to osgshadow example 2007-01-23 12:10:44 +00:00
Robert Osfield
ccc8a922a6 Added osg::StencilTwoSided state attribute to wrap up the stencil_two_sided extension.
Added path in osgShadow work for using StencilTwoSided to accelerate shadow volume rendering.
2007-01-18 22:32:18 +00:00
Robert Osfield
19a5682c33 Fixed compile warning 2007-01-16 21:40:43 +00:00
Robert Osfield
6cf85cb953 Cleaned up CompositeViewer interface and added event traversal of views 2007-01-16 19:18:32 +00:00
Robert Osfield
b71f613b77 Added PickHandler to osgmultiplecameras examples 2007-01-16 17:10:15 +00:00
Robert Osfield
91a4b0b71d Reverted the FlightManipulator usage 2007-01-16 16:02:08 +00:00
Robert Osfield
1ee2af9f41 Further work on CompositeViewer 2007-01-16 16:01:01 +00:00
Robert Osfield
c7211f41ec Added extra view combinations too commandline 2007-01-16 14:13:00 +00:00
Robert Osfield
0873a8cea0 Work on CompositeViewer and related calsses to implement viewers with multiple views 2007-01-16 08:56:33 +00:00
Robert Osfield
91968a9bec Improved handling of intersection computations on datasets with multiple cameras 2007-01-15 16:09:32 +00:00
Robert Osfield
45822caed4 Reverted the experimental shader code 2007-01-15 09:14:36 +00:00
Robert Osfield
694b304c00 Added Viewer::setEndBarrierPosition method, change Viewer::setKeySetsDone(int) to setKeyEventSetDone(int),
added support for toggling threading model and end barrier position into osgviewer
2007-01-12 21:05:39 +00:00
Robert Osfield
f405848380 Implement a GraphicsOperation to test extension availability 2007-01-12 10:28:36 +00:00
Robert Osfield
4d494c0014 Fixed comment 2007-01-12 10:28:06 +00:00
Robert Osfield
041482ca46 Ported osgmotionblurr across to osgViewer 2007-01-11 17:15:04 +00:00
Robert Osfield
9e34e56c70 Added stencil buffer setting 2007-01-11 16:59:50 +00:00
Robert Osfield
ddba526d54 Added #include <iostream> 2007-01-11 15:53:32 +00:00
Robert Osfield
190a0bb01a Removed examples:
osgcameragroup
  osgsimpleviewerProducer
  osgsimplepager
2007-01-11 15:48:44 +00:00
Robert Osfield
b121c9686f Ported following examples to osgViewer:
osgteapot
osgtessellate
osgtext
osgtexture1D
osgtexture2D
osgtexture3D
osgtexturerectangle
osgvertexprogram
osgvolume
osgwindows
osgsimple
osgkeyboardmouse
2007-01-11 15:19:59 +00:00
Robert Osfield
374f8e30a4 Added DisplaySettings support into osgViewer::Viewer 2007-01-11 12:06:24 +00:00
Robert Osfield
d6291a0ffc Ported follow examples to osgViewer:
osgshape
    osgsimplifier
    osgsimulation
    osgslice
    osgspacewarp
    osgspheresegment
    osgspotlight
    osgstereoimage
2007-01-11 11:47:01 +00:00
Robert Osfield
877a32c3eb Ported following examples to osgViewer:
osgshaders
osgshaderterrain
osgshadow
osgshadowtexture
2007-01-10 21:05:26 +00:00
Robert Osfield
c4279bd5f1 Ported following examples to osgViewer:
osgparticleeffects
osgphotoalbum
osgpick
osgpoints
osgpointsprite
osgprecipitation
osgprerender
osgprerendercubemap
osgreflect
osgscalarbar
osgscribe
osgsequence
osgplanets
2007-01-10 13:52:22 +00:00
Robert Osfield
c5082cb85c Added support for vertex ratios into LineSegmentIntersector. 2007-01-10 10:40:12 +00:00
Robert Osfield
4d4b342e97 Added View::computeIntersections methods 2007-01-09 17:35:46 +00:00
Robert Osfield
96b2b93edc Build fixes 2007-01-08 22:54:02 +00:00
Robert Osfield
2bf5f56311 Tessellator name changes 2007-01-08 21:19:33 +00:00
Robert Osfield
16d1c00a3d Changed the return types of makeCurrent to bool, and added a bool GraphicsContext::releaseContext method
along with implementations in osgViewer.
2007-01-08 19:29:59 +00:00
Robert Osfield
4a5eda6522 Added GraphicsContext::ResizedCallback and GraphicsContext::resizedImplementation.
Added message on non implementation of GraphicsContext::valid().
Added prelimary GraphicsContext clean up support.
2007-01-08 16:20:10 +00:00
Robert Osfield
02bda82b55 From Paul Martz and Robert Osfield, renamed include/osgUtil/Tesselator and associated classes/references to Tessellator etc. 2007-01-08 11:23:52 +00:00
Robert Osfield
dfb21cb81a Ported following examples to osgViewer:
osggeodemo
    osggeometry
    osghud
    osgimpostor
    osgkeyboard
    osglauncher
    osglight
    osglightpoint
    osglogicop
    osglogo
    osgmovie
    osgmultiplecameras
    osgmultitexture
    osgoccluder
    osgparametric
    osgparticle
2007-01-08 10:00:16 +00:00
Robert Osfield
19a7ec0f6b Ported osgcopy, osgcubemap, osgdelaunay, osgdepthpartion, osgdistortion, osgfadetext, osgforest and osgfxbrowser to osgViewer 2007-01-06 21:35:57 +00:00
Robert Osfield
983e0c7ecc Add trackball manipulator usage 2007-01-05 21:23:37 +00:00
Robert Osfield
fea694a0bf Ported osgcluster to osgViewer. 2007-01-05 21:19:01 +00:00
Robert Osfield
9dc369eec2 Cleaned up graphics window setup and added clear graphics window to single window,
multiple camera setup.
2007-01-05 16:46:57 +00:00
Robert Osfield
1268d0ce08 Ported osgcegui across to osgViewer 2007-01-05 16:24:05 +00:00
Robert Osfield
f99be366f6 Ported osgcallback to osgViewer 2007-01-05 16:19:25 +00:00
Robert Osfield
3d0b511a00 Ported osgbluemarble to osgViewer 2007-01-05 16:13:43 +00:00
Robert Osfield
0dd473007a Ported osgblendequation across to osgViewer 2007-01-05 16:00:28 +00:00
Robert Osfield
a2599c5fb7 Ported osgbillboard over to osgViewer 2007-01-05 15:54:13 +00:00
Robert Osfield
57e20282de Simplified the osganimate and osgautotransform mains, removing most or all of the argument parser code. 2007-01-05 15:52:33 +00:00
Robert Osfield
01c1e07646 Fixed aspect ratio. 2007-01-05 15:32:21 +00:00
Robert Osfield
d4045a6fef Cleaned up the GraphicsWindow setup 2007-01-05 15:30:49 +00:00
Robert Osfield
9fcace0e73 Added GraphicsContext support for clearing the graphis context. The clearing
is off by default (ClearMask is 0), but can be switched on when ClearMask is
non zero.  GraphicsContext::clear() is called after each swap buffers
2007-01-05 15:24:06 +00:00
Robert Osfield
ed3c7ba116 Replace osgProducer reference by osgViewer 2007-01-05 14:57:20 +00:00
Robert Osfield
411c1fcd25 Moved osgautotransform across to osgViewer 2007-01-05 14:56:37 +00:00
Robert Osfield
44dab36dff Converted osganimate example to osgViewer 2007-01-05 14:48:50 +00:00
Robert Osfield
348fc7bdb3 Made the custom window set up a runtime option 2007-01-05 13:15:59 +00:00
Robert Osfield
a42633a9ee Tweaked comments 2007-01-05 13:06:11 +00:00
Robert Osfield
1ef899069b Changed compile paths into runtime selected paths using command line parameters 2007-01-04 21:58:37 +00:00
Robert Osfield
aebf0de6f2 Removed now redundent calls to set up view 2007-01-04 21:51:10 +00:00
Robert Osfield
abdb1741a4 Removed the setting of thread safe ref/unref and max number of graphics contexts
as this is now done automatically by osgViewer::Viewer
2007-01-04 21:18:44 +00:00
Robert Osfield
73fffe1800 Made Refernced::setThreadSafeReferenceCounting(bool) a virtual then overrode
this in various scene graph classes to ensure that the scene graph gets
updated as well as the objects that the initialial call is made from.
2007-01-04 16:49:58 +00:00
Robert Osfield
ff195bddf5 Added Object::resizeGLObjectBuffers(uint) method to help improve the ability
to change the number of active graphics contexts on the fly during an applications
life.
2007-01-04 14:11:51 +00:00
Robert Osfield
1de65ddedc Added setting of default backgroud colour of View's master colour to be
consistent with the previous default colour used by SceneView
2007-01-03 17:26:24 +00:00
Robert Osfield
eb3ef906e7 Removed setting of master camera colour 2007-01-03 17:25:09 +00:00
Robert Osfield
4f87afdbf5 Improved the robustness of thread start and cancellation 2007-01-03 16:06:12 +00:00
Robert Osfield
f14aa7ef66 Added support for different threading models in osgViewer::Viewer 2007-01-02 17:39:31 +00:00
Robert Osfield
b315ed4d58 Shifted the setting of thread safe ref/unref to earlier in the main to
ensure that the Viewer's view is set up thread safe.
2007-01-02 13:02:30 +00:00
Robert Osfield
d068f7025a Added support for getting all windows and hiding the cursor 2007-01-02 12:50:57 +00:00
Robert Osfield
db7df9d6d4 Switched off lighting in osgcatch. 2007-01-02 12:19:26 +00:00
Robert Osfield
7155f7d1b0 Various work on osgViewer library, including warp point and graphics window resize support 2007-01-01 18:20:10 +00:00
Robert Osfield
d7e3ed3fb2 Updated wrappers 2006-12-27 23:19:37 +00:00
Robert Osfield
40139afc49 Ported osghangglider example to usg osgViewer 2006-12-26 20:26:16 +00:00
Robert Osfield
92291f29b7 Ported osgcatch to use osgViewer 2006-12-26 17:35:45 +00:00
Robert Osfield
39c0c2df76 Unified the osg::GraphicsThread::Operation and osg::GraphicsContext::Operation classes
as osg::GraphicsOperation.  Unpdated parts of OSG depending upon these.

Added a virtaul bool valid() method to osg::GraphicsContext to allow apps to
test whether a valid graphis context has been created or not.
2006-12-24 16:40:19 +00:00
Robert Osfield
76461b3ab2 Added support for sample and sampleBuffers to osg::GraphicsContext::Traits and
cleaned up the Traits naming
2006-12-22 21:53:44 +00:00
Robert Osfield
bd6b7d581e Implemented perliminary multi-threading support in osgViewer::Viewer 2006-12-22 17:46:21 +00:00
Robert Osfield
47d1404c2b Removed now redundent OSG_EXPORT to solve build problems under Windows 2006-12-22 16:48:17 +00:00
Robert Osfield
4fc9af7ea0 Moved rendering support into GraphisContext, osgViewer::Viewer/View, and
added frame stamp updating and update traversal to osgViewer::Scene/Viewer.

Updated osgcamera example to use new Viewer API calls instead of using local
rendering calls.
2006-12-21 16:56:20 +00:00
Robert Osfield
a56d273fe3 Moved the implementation of GraphicsWindowX11 from the head into the src/osgViewer directory. 2006-12-21 12:19:14 +00:00
Robert Osfield
2255771b74 Further work osgViewer::Viewer and related classes. 2006-12-20 21:13:29 +00:00
Robert Osfield
c9c2950759 Moved UnitTestFramework from core osg lib into osgunittests example 2006-12-19 17:06:59 +00:00
Robert Osfield
00ee8dffad Added osgViewer::Viewer / osgViewer::GraphicsWindowsX11 usage. 2006-12-19 16:12:29 +00:00
Robert Osfield
afc77f9b39 Added support WindowingSystemInterface for querring the number of screens, the screen size and creating GraphicsContexts. 2006-12-17 20:49:01 +00:00
Robert Osfield
71bf5371a7 Improvements to handling of multiple z value regions 2006-12-12 21:48:59 +00:00
Robert Osfield
afa96fff0e Added more accurate computation of local height above sea level in the plane intersections routines 2006-12-05 12:58:29 +00:00
Robert Osfield
ba3fe2844f Improved the calculation of distance around the globe within the ElevationSlice routine. 2006-12-04 17:31:20 +00:00
Robert Osfield
0f5aeb5fa3 Added preliminary support for generating distance, height lists for ElevationSlice. 2006-12-04 12:36:13 +00:00
Robert Osfield
6778bfca44 Added support for placing a base in the scene to shadow against 2006-12-01 15:19:21 +00:00
Robert Osfield
8d85636b50 Fixed typo and updated wrappers 2006-11-30 18:42:38 +00:00
Robert Osfield
a9d18d01db Basic shadow volume alogirthm implemented in example. 2006-11-30 16:30:24 +00:00
Robert Osfield
808047ee1b Added dynamic updating of light position and multi-pass addition of ambient and diffuse lighting 2006-11-30 12:05:51 +00:00
Robert Osfield
cdcbf3f9af Added movement of the light source to test performance of update the shadow volumes 2006-11-30 10:29:03 +00:00
Robert Osfield
a2e79f6a38 Moved osgUtil::PolytopeIntersector, osgUtil::PlaneIntersector and osgUtil::LineSegmentIntersector out from include/osgUtil/IntersecionVisitor into their own seperate files. 2006-11-28 16:30:38 +00:00
Robert Osfield
345810ef22 Added support for float or double osg::Plane, and the default osg::Plane to double.
Performance tests on big models did not indicate any performance penalty in using doubles over floats,
so the move to doubles should mainly impact precision improvements for whole earth databases.

Also made improvements to osgUtil::PlaneIntersector and osgSim::ElevationSlice classes
2006-11-28 16:00:52 +00:00
Robert Osfield
ae79bebd82 Added QWidget style constructor parameters 2006-11-27 16:25:12 +00:00
Robert Osfield
fd2ffeb310 Renamed osg::CameraNode to osg::Camera, cleaned up osg::View.
Added beginnings of new osgViewer::Scene,View,Viewer,CompositeViewer and GraphicsWindowProxy files.
2006-11-27 14:52:07 +00:00
Robert Osfield
5044a85c9e Improved handling of bounding polytope 2006-11-24 17:20:01 +00:00
Robert Osfield
006435e679 Added support for positional lights into computeShadowVolumeGeometry code and cleaned up OccluderGeometry interface. 2006-11-24 11:37:57 +00:00
Robert Osfield
ef9595e73a Add compute of tight bounding box to enable better placement of the base plane. 2006-11-23 17:29:43 +00:00
Robert Osfield
e7ef0ca846 First cut at generating the ShadowVolumeGeometry 2006-11-23 16:55:46 +00:00
Robert Osfield
95568b24fa Added nested files 2006-11-20 21:48:40 +00:00
Robert Osfield
b6e261d4d3 Added -losgFX 2006-11-20 12:25:38 +00:00
Robert Osfield
b30fb02b92 From Eric Wing, new ogsimpleviewCocoa example. 2006-11-17 16:22:58 +00:00
Robert Osfield
a73e9250ee Added alpha test setting 2006-11-15 20:29:28 +00:00
Robert Osfield
43c6a1c275 From Eric Wing, add version check for use of automatic resizeing 2006-11-15 11:21:53 +00:00
Robert Osfield
30ad811cac From Eric Wing, add use of the autodetection of windowing size support in SDL-version 1.2.10 and later.
From Robert Osfield, made the above an optional compile as it breaks apps based on previous version of SDL.
2006-11-14 16:59:00 +00:00
Robert Osfield
5f59741b42 Added support for handling osg::ShapeDrawable style drawables in OccluderGeoemtry. 2006-11-14 12:16:39 +00:00
Robert Osfield
8983544a86 Further work on osgShadow::GeometryOccluder 2006-11-10 15:07:13 +00:00
Robert Osfield
a1f20f1a00 From Eric Wing, change osgGA::SimpleViewer to osgViewer::Viewer.
From Robert Osfield, added -losgViewer & -losgGA to makefiles.
2006-11-08 09:50:27 +00:00
Robert Osfield
06cca16a2a Added convinience constructors to help support picking with the new osgUtil::Intersector classes. 2006-11-02 17:05:46 +00:00
Robert Osfield
7d12b85632 Added basic PolytopeIntersector functionality based on checking vertices against
polytopes.
2006-11-02 15:50:04 +00:00
Robert Osfield
e0f395fd07 Moved SimpleViewer and GraphicsWindow into their own osgViewer library, updated simpleviewer examples to reflect this change 2006-11-02 12:27:15 +00:00
Robert Osfield
15f7abe100 Improved handling of projected coords in new intersection classes 2006-11-01 17:18:45 +00:00
Robert Osfield
75169ad16f Added support for osgUtil::Intersectors being in WINDOW, PROJECTION, VIEW or MODEL coordinates 2006-11-01 14:41:32 +00:00
Robert Osfield
a253e17d3e Implemented HeightAboveTerrain and added usage into osgintersection 2006-10-31 12:59:51 +00:00
Robert Osfield
16c238fc60 Added osgSim::LineOfSight and osgSim::HeightAboveTerrain classes 2006-10-30 20:29:06 +00:00
Robert Osfield
358b96e953 Added osgUtil::IntersectorGroup to handle groups of osgUtil::Intersectors 2006-10-27 15:11:17 +00:00
Robert Osfield
ce3929fd5f Added beginings of new osgUtil::IntersectionVisitor and osgintersection class 2006-10-26 16:03:17 +00:00
Robert Osfield
efd543d1b0 Ported FLTK example across to using GraphicsWindow 2006-10-15 11:56:52 +00:00
Robert Osfield
a8f44479db Ported across to using GraphicsWindow. 2006-10-15 11:39:35 +00:00
Robert Osfield
5163c4a762 First cut at class interfaces and stubs for implementations for the new osgShadow NodeKit 2006-10-06 14:16:11 +00:00
Robert Osfield
d40e12a27b Removed deprecated GUIEventHandler method 2006-10-05 14:32:39 +00:00
Robert Osfield
51aade98cc Renamed variable 2006-10-05 10:59:50 +00:00
Robert Osfield
e7e293594c Refactored osgsimpleviewerQT4 to implement a GraphicsWindowQT, and then use
multiple inheritance to build the final SimpleViewerQT.
2006-10-05 10:59:04 +00:00
Robert Osfield
100288b272 Added a path with an experiemental GraphicsContexProducer implementation, and a
test of mulitple inheritance.
2006-10-05 10:07:16 +00:00
Robert Osfield
f9eaa76d37 Added GLUT based osgsimpleviewerGLUT example 2006-10-01 16:14:16 +00:00
Robert Osfield
301eb5750f Added Producer based osgsimplerviewerProducer example 2006-10-01 16:12:21 +00:00
Robert Osfield
6bd7f57770 Added FLTK example app - osgsimpleviewerFLTK. 2006-10-01 16:10:33 +00:00
Robert Osfield
859dc90bd7 Added osgsimpleviewerQT4 example 2006-10-01 13:26:02 +00:00
Robert Osfield
9e8372eeca Refactored the SDL example so that the event conversion in done is a seperate method. 2006-10-01 11:08:40 +00:00
Robert Osfield
a1afd67bc8 Added a based SDL viewer - osgsimpleviewerSDL 2006-09-30 20:06:26 +00:00
Robert Osfield
26849018aa Cleaned up build and indenting 2006-09-30 20:05:36 +00:00
Robert Osfield
e6b08dcda3 Various clean ups to comments 2006-09-30 16:30:31 +00:00
Robert Osfield
75391ceb16 Added osgsimpleviewerQT3 example 2006-09-30 16:26:53 +00:00
Robert Osfield
1da298f919 Moved osgGLUTsimple and osgGLUTkeyboardmouse across to using osgGA::SimpleViewer 2006-09-30 14:12:36 +00:00
Robert Osfield
5c0eb0b013 Added bare bones osgGA::SimpleViewer class to help simplify OSG setup when embedding the OSG
into existing GUI applications, and for one one a single camera, single window is required.
2006-09-25 16:25:53 +00:00
Robert Osfield
d4d3e9054e Updated positions of the text labels to make them move obvious on start up 2006-09-20 15:48:27 +00:00
Robert Osfield
ce65ad05d1 Added use of ClusterCullingCallback 2006-09-20 13:40:58 +00:00
Robert Osfield
efb76cb8e6 Created stress test of fade text labelling 2006-09-20 12:58:34 +00:00
Robert Osfield
cc202c1b6d Updates for fade text to work properly, but only in perspetive views at present. 2006-09-20 10:36:21 +00:00
Robert Osfield
87aff3d92c Further work on osgText::FadeText implementation. 2006-09-19 20:19:29 +00:00
Robert Osfield
def74d3471 Introduced new osg::View, and osg::RenderInfo classes into the core OSG to help
handle scenes with multiple views with elements that need coordinating on a per view basis.

Added beginings of new osgText::FadeText class (not functionality yet).
2006-09-18 20:54:48 +00:00
Robert Osfield
ebd2bb6a19 Added extra comment explaining where state reset() should be called. 2006-09-13 14:55:53 +00:00
Robert Osfield
5212d66cab Cleaned up the texture setup code. 2006-09-04 12:52:09 +00:00
Robert Osfield
f0277df858 Added osg::TexMat::s/getScaleByTextureRectangleSize feature that allows
one to use the osg::TexMat to automatically scale non dimensional tex coordinats to
the size of the last texture rectangle applied.
2006-09-04 12:46:49 +00:00
Robert Osfield
ac41066733 Removed typedef TypeList from osgintrospection 2006-09-04 06:47:05 +00:00
Robert Osfield
a135650086 Added setting of position.w to 1.0 and removed zscale hack. 2006-09-02 14:27:42 +00:00
Robert Osfield
d1b14abb91 Added sizeof(short int) 2006-08-23 13:18:22 +00:00
Robert Osfield
ce8d8c09e1 Tweaks to osglogo to allow you to export alpha blended screenshots 2006-08-23 13:16:12 +00:00
Robert Osfield
956b6ce6f2 Removed osgfbo and osgpbuffer examples 2006-08-11 09:30:42 +00:00
Robert Osfield
a4063335fa From Martijn Kragtwijk, added example text for showing osgText::Text::CharacterSizeMode in action. 2006-08-10 12:13:02 +00:00
Robert Osfield
ebfffd4e58 Removed debugging code. 2006-08-06 16:42:43 +00:00
Robert Osfield
f8490e386a Added code to reproduce Text outline bounding box compute bug. 2006-08-05 16:57:52 +00:00
Robert Osfield
daf9d64357 Added disable vertex arrays. 2006-08-05 11:12:47 +00:00
Robert Osfield
d8e3027b2a Added osgcegui example 2006-08-05 10:16:28 +00:00
Robert Osfield
174e3b3dc3 Fixed RenderToTexture bug which occured when the viewport dimensions where
different than the texture being written to.
2006-08-03 15:57:39 +00:00
Robert Osfield
de9ce1e85f Removed debug code 2006-08-03 14:03:06 +00:00
Robert Osfield
7eb7bbdb84 Updated wrappers 2006-08-02 21:09:25 +00:00
Robert Osfield
b81cea3963 Added missing include <osg/TexEnv> 2006-08-02 21:04:29 +00:00
Robert Osfield
41a4aa1548 Added viewer.cleanup_frame() to all examples. 2006-08-02 19:55:03 +00:00
Robert Osfield
9f15e25451 Added cleanup_frame to prevent crashes on exit. 2006-08-02 16:12:46 +00:00
Robert Osfield
7d4eb93847 Changed the viewer.setUpViewer(..) from default to just ESCAPE_SETS_DONE. 2006-08-01 10:27:11 +00:00
Robert Osfield
564ee34f76 Added Matrix*::getRotate()/setRotate(Quat), deprecating Matrix*::get(Quat&), Matrix*::set(Quat&) 2006-07-31 17:31:21 +00:00
Robert Osfield
f977d7c606 Updated osgunittests with a matrix invert unit test, and added a conditional
calling of invert_4x4 or invert_4x3 depending on the the right hand column of the matrix.

Updated wrappers
2006-07-28 13:48:08 +00:00
Robert Osfield
032bba78fa From J.P. Delport, added units tests to pick up on erroneous Matrix::get(Quat&) computation. 2006-07-27 11:13:56 +00:00
Robert Osfield
9b0b98200f Force SingelThreaded usage due to use of osgParticle. 2006-07-25 20:43:57 +00:00
Robert Osfield
b03a772846 Added mutexes to RealizeCallbaks 2006-07-19 13:02:35 +00:00
Robert Osfield
4bb4add9b3 Added scene handler init to custom realize callback 2006-07-19 12:58:45 +00:00
Robert Osfield
f1c2694c17 Updated copyright years. 2006-07-18 15:21:48 +00:00
Robert Osfield
56fce04cb4 Added additional command line docs 2006-07-18 15:11:41 +00:00
Robert Osfield
dcdc2d492d Updated commandline docs 2006-07-18 13:37:42 +00:00
Robert Osfield
419e185895 From Eric Wing, add alternate backdrop implementations.
From Robert Osfield, updated naming  and copy constructor methods.
2006-07-18 12:24:04 +00:00
Robert Osfield
618e63a267 Removed the default loading of bluemarble.ive 2006-07-14 14:04:54 +00:00
Robert Osfield
822ef01531 Added mutex to the test context. 2006-07-05 13:31:38 +00:00
Robert Osfield
b871ae5cf7 Added vertex program hack to get round apparent NVidia bug when handling
vertex texture read.
2006-07-05 13:18:00 +00:00
Robert Osfield
b6b9e4bc7e fixed warning and add a few extra tests 2006-07-04 09:46:41 +00:00
Robert Osfield
c986f6ea41 Added a performace test section to osgunitests, currently just does basic C/C++ tests. 2006-07-03 13:53:39 +00:00
Robert Osfield
2cf8fd8f42 Added a setRadius into the screen space LOD. 2006-06-28 10:00:54 +00:00
Robert Osfield
bc9c949d53 From Eric Wing, added support for outline/shadow and colour gradient effects. 2006-06-27 12:05:40 +00:00
Robert Osfield
240fc9ebee Replaced ref_ptr<>:take with ref_ptr<>:release, and added handling of removeal
of ref_ptr<> operator >.
2006-06-26 20:45:51 +00:00
Robert Osfield
8d111fd147 Added pick handler. 2006-06-12 14:04:40 +00:00
Robert Osfield
ac20eca87a Revamped osgkeyboardmouse to use the osgGA. 2006-06-12 11:32:11 +00:00
Robert Osfield
2e2684c05a From Paul Martz, added support to textured light points into osgSim and OpenFlight loader, as part of the OpenFlight v16.0 spec. 2006-06-08 14:32:02 +00:00
Robert Osfield
ecd5a96671 From Mike Weiblen, reverted shaders changes due to lack of hardware/driver support 2006-06-08 12:07:11 +00:00
Robert Osfield
efeeabbef9 added SphereSegment test code segment, commented out at pressent. 2006-06-08 11:18:27 +00:00
Robert Osfield
5670ce8c0a Added extra SphereSegment intersection tests. 2006-06-05 16:25:01 +00:00
Robert Osfield
bf065ed3a4 From Mike Weiblen, support GLSL uniform arrays. A couple of tweaks and fixes from Robert Osfield. 2006-05-15 15:46:08 +00:00
Robert Osfield
d7fdaecfa0 From Adrian Egli, added std::ifstream::binary qualifier to ifstream usage. 2006-05-15 11:38:56 +00:00
Robert Osfield
43f0efd6d2 Reorganised the Group::removeChild and Geode::removeDrawable methods so
that removeChild(Node*), removeChild(uint) and equivilant Geode methods are
now inline methods, not designed to be overriden, and seperated out the
multiple remove method to be called removeChildren(uint, uint) which is
now the only virtual method.  There removeChildren is now the method to
override in subclasses.

This reorganisation requires some call code to be rename removeChild usage
to removeChildren.
2006-05-02 09:45:31 +00:00
Robert Osfield
475f526b3d Added UseFarLineSegments option 2006-04-25 12:56:33 +00:00
Robert Osfield
039457700d Implemented seemless update of precipitation properties. 2006-04-25 12:39:00 +00:00
Robert Osfield
10f2feeac5 Moved PrecipitationParameters directly into PrecipitationEffect. 2006-04-24 16:21:10 +00:00
Robert Osfield
49a5ef9ee1 Added support for wind. 2006-04-24 06:36:26 +00:00
Robert Osfield
e8fa0433b3 Moved PrecipitationEffect node into osgParticle. 2006-04-22 15:08:07 +00:00
Robert Osfield
1cf1710f92 Moved PrecipitationDrawable into PrecipitationEffect. 2006-04-22 06:33:01 +00:00
Robert Osfield
c144977b6e Added new precipitation nodes. 2006-04-21 19:39:05 +00:00
Robert Osfield
a00455b4ff Convertered shaders across to using modelview matrix instead of uniforms. 2006-04-19 13:04:21 +00:00
Robert Osfield
832c22fe9e Standardised the bin number of the particle effects 2006-04-17 19:10:06 +00:00
Robert Osfield
453243ed8c Added inline shaders so that the tha example can be run from any directory. 2006-04-14 16:44:12 +00:00
Robert Osfield
6f20b47c23 Further tweaks to settings to improve performance at mid intensity ranges 2006-04-14 15:03:36 +00:00
Robert Osfield
839fb12098 Refined the default settings for rain and snow to achieve better framerates. 2006-04-14 14:24:12 +00:00
Robert Osfield
fd838f5787 Added fog parameters settings. 2006-04-14 11:04:11 +00:00
Robert Osfield
f1b52fbd0a Added --numberOfParticles, --numberOfCellsX, --numberOfCellsY, --numberOfCellsZ, --boundingBox, --fogEnd and --fogDensity controls 2006-04-13 20:21:55 +00:00
Robert Osfield
264ae12770 Added command line options and various speed improvements. 2006-04-13 19:05:26 +00:00
Robert Osfield
7747971b6a Implement positioning of cells via vertex attribute. 2006-04-12 11:59:07 +00:00
Robert Osfield
19a1d83f33 Moved common uniforms to top of precipitation subgraph.
Added a run of the SpatializeGroupVisitor to create a balanced subgraph.

Changed the quad to particle transistion distance from 100 to 50m.
2006-04-12 09:42:25 +00:00
Robert Osfield
3be10b5a2a Added support for LOD's with transistion between quads and point rendering. 2006-04-11 19:56:53 +00:00
Robert Osfield
9faf5f9496 Added support for point sprite particle effects. 2006-04-11 13:22:59 +00:00
Robert Osfield
e15c67b9cd Added point and line paths. 2006-04-11 10:53:46 +00:00
Robert Osfield
abfda5e38a Added mipmap generation. 2006-04-07 19:54:44 +00:00
Robert Osfield
5335b45146 Added quad based rain effect 2006-04-07 18:24:52 +00:00
Robert Osfield
051f2a5eb9 Added beginings osgprecipitation example. 2006-04-05 15:13:17 +00:00
Robert Osfield
1c2deb253a Build fixes to cope with changes to Producer/osgProducer. 2006-03-30 10:20:11 +00:00
Robert Osfield
f17faa80b3 From Keith Steffen, changed instance of sun to sun_geode to avoid Solaris10 build issue with it defining "sun"?#! 2006-03-17 22:22:57 +00:00
Robert Osfield
5fe7595478 Added moving sphere segment intersections. 2006-03-15 12:26:10 +00:00
Robert Osfield
dbbabf87c6 Converted osgGA::GUIEventAdapter into a concrete class capable of respresenting
keyboard and mouse events.

Added osgGA::EventQueue class to support a thread safe event queue and adaption
of keyboard and mouse events.

Removed osgProducer::EventAdapter as GUIEventAdapter replaces it.

Adapted osgProducer and examples to work with the new changes to osgGA.
2006-03-08 14:09:47 +00:00
Robert Osfield
71b7a6be7b Compile fix. 2006-02-28 20:10:25 +00:00
Robert Osfield
93f514109f Further clean up of RefNodePath references. 2006-02-28 19:36:18 +00:00
Robert Osfield
a028f59ea0 Added debugging code to help pick out instablilities in osgParticle. Debugging
code now commented out.
2006-02-24 13:57:47 +00:00
Robert Osfield
943be478f4 Fixed function name call. 2006-02-23 12:39:31 +00:00
Robert Osfield
7d5c81bf5e From Ulrich Hertlein, spelling corrections and a few Doxgen comments. 2006-02-20 21:05:23 +00:00
Robert Osfield
3936bcde9e Added support for up sampling by dividing longest edges. 2006-02-06 17:12:35 +00:00
Robert Osfield
e4e95a1d60 Added support for tracking mouse movement and computing the intersection of the mouse position
into texture coords.
2006-01-12 22:43:36 +00:00
Robert Osfield
3235f4fa22 Added ability to write out the selected parts of the scene graph. 2006-01-03 16:52:06 +00:00
Robert Osfield
6fe4be23e6 Ported picking across to using PickVisitor. 2005-12-23 10:59:31 +00:00
Robert Osfield
061976f4d4 Fixed typo in text string. 2005-12-16 14:53:51 +00:00
Robert Osfield
c41d027e6b Fixed the text to match the implementation. 2005-12-09 19:54:31 +00:00
Robert Osfield
be850746e4 From Eric Wing, fixed typo induced bug. 2005-12-07 11:38:39 +00:00
Robert Osfield
2d14519946 Enabled thread safe counting by default. 2005-12-07 09:48:28 +00:00
Robert Osfield
a865ea7773 Removed osgdemeter example from distribution because it no longer compiles,
and Demeter itself nolonger compiles, osgdemeter has now been moved to the community
section of openscenegraph.org.
2005-12-06 12:07:34 +00:00
Robert Osfield
e1454d22a7 Attempt at build fixes for IRIX. 2005-12-05 10:24:02 +00:00
Robert Osfield
edf4598838 From Geoff Michel, Fix to prevent Producer::Trackball being set up with a negative
radius.
2005-12-05 10:08:52 +00:00
Robert Osfield
b1f9e1dfd7 Added comments. 2005-12-01 16:43:40 +00:00
Robert Osfield
1c9f1b8eb1 Added TestSupportCallback to properly handle querry of OpenGL support of
vertex texturing in GLSL.
2005-12-01 14:09:38 +00:00
Robert Osfield
2ce7718a66 From Eric Wing, fixes for "warning: converting of negative value '-0x00000000000000001' to 'unsigned int'" 2005-11-29 11:39:07 +00:00
Robert Osfield
caaecc9f2a Switched off the VBO usage in osgparametric as it was tripping up ATI and 3DLabs drivers. 2005-11-29 08:59:30 +00:00
Robert Osfield
0514427c0a Fixed warning. 2005-11-28 10:58:09 +00:00
Robert Osfield
81435a28b9 From Gideon May, port to OSX of GLUT examples. 2005-11-28 09:15:46 +00:00
Robert Osfield
3881a55564 From Geoff Michel, fix for the scaling of the random number generation. 2005-11-27 15:32:57 +00:00
Robert Osfield
0663c3b653 From John Donovan, typo fixes. 2005-11-25 19:18:12 +00:00
Robert Osfield
13cd57eafc Lightened by the ambientBias term. 2005-11-24 19:53:20 +00:00
Robert Osfield
b5a5cd7901 Changed the default value of Texture::_resizeNonPowerOfTwoHint to true, to
improve the backwards compatibility of peformance on systems that have OpenGL2.0
drivers but without hardware that can't handle non power of two textures.
2005-11-24 10:28:09 +00:00
Robert Osfield
b4fb878e1e Fixed mistmatch of ReadFileCallback type. 2005-11-23 12:16:22 +00:00
Robert Osfield
91855e7c50 Replaced tabs with spaces in examples. 2005-11-17 20:22:55 +00:00
Robert Osfield
74f90ed9a4 From Mike Weiblen, "fix for another one of those GLSL syntax errors that slip thru the nvidia compiler.
gl_TexCoord[] is an array of vec4, and must be reduced to a vec2 for use with texture2D()"
2005-11-17 11:22:09 +00:00
Robert Osfield
d91f2c631d Improved handling of core OSG being compile with float Matrices. 2005-11-17 09:57:40 +00:00
Robert Osfield
6bedddf146 Ran dos2unix on makefile. 2005-11-16 20:27:28 +00:00
Robert Osfield
10b5d505a2 From Joakim Simonsson/Robert Osfield. Fixed line endings. 2005-11-15 22:18:29 +00:00
Robert Osfield
4eb5b0d715 Added proper descriptions of examples in place of the copy and paste description. 2005-11-15 22:07:54 +00:00
Robert Osfield
dd622d7a9a From Mike Weiblen, switched off lighting of points to make them clearer 2005-11-15 08:56:05 +00:00
Robert Osfield
91f5b9b04e Fixes for VS6.0 build. 2005-11-11 12:45:59 +00:00
Robert Osfield
6fb7ff83d7 Fixes for VS6.0 2005-11-10 20:04:16 +00:00
Robert Osfield
435e4b828c Fixes for dumb VS6.0 compiler 2005-11-10 19:32:37 +00:00
Robert Osfield
06117353df Fixes for VS6.0 2005-11-10 19:16:01 +00:00
Robert Osfield
cee8424c0f Compile fixes for VS6.0. 2005-11-10 17:24:41 +00:00
Robert Osfield
c2f1527fe0 Added better control for cancel GraphicsThreads. 2005-11-10 15:25:06 +00:00
Robert Osfield
20d9c3c3c4 Compile fixes for VS7.1 2005-11-10 09:42:34 +00:00
Robert Osfield
2bd868cd1c Added release and flush of OpenGL objects after build of the terrain database to prevent
the build graphics context state leaking into the viewers graphics context set.
2005-11-09 20:26:34 +00:00
Robert Osfield
1c73f6af2b Moved the blink sequence light points down so they are visible in the default
camera position.
2005-11-09 17:08:50 +00:00
Robert Osfield
38103c588b Changed the NO_ROTATION label so it is aligned with the XZ plane to make it easier to see. 2005-11-09 17:06:12 +00:00
Robert Osfield
83d492162e Added the support in AnimationPathCallback for taking a pivot, axis and rotation rate
paramters in its constructor to allow it to be used to create rotations around a point.
This provides the same interface and functionality as osgUtil::TransformCallback but
has the advantage and AnimationPathCallback is fully supported by the .osg and .ive file formats.
2005-11-09 15:11:22 +00:00
Robert Osfield
4d42be705d Reduced the size of the "oversized" cessna.osg 2005-11-09 13:39:08 +00:00
Robert Osfield
6c3c5554b6 Update texture file names to reflect new files in OpenSceneGraph-Data distribution. 2005-11-09 13:18:46 +00:00
Robert Osfield
6c70812928 Fixed warnings. 2005-11-09 10:41:52 +00:00
Robert Osfield
28d939e617 Fixed compile warning. 2005-11-09 10:37:10 +00:00
Robert Osfield
53e075f78b From Brad Colbert/Robert Osfield: added s/getSourceFormat and s/getSourceType to osg::Texture
along with support for this Texture1D, 2D, 3D, TextureCubeMap and TextureRectangle.  The
new SourceFormat and SourceType parameters are only used when no osg::Image is assigned to
an osg::Texture, and main use is for render to texture effects.

Added support for --hdr option in osgprerender, which utilises the new Texture::setSourceFormat/Type() methods.
2005-11-08 15:52:21 +00:00
Robert Osfield
416f908f29 From Ruben (with a few addition/changes from Robert), fixed the commandline of the osgsimplifier example. It now reads
--ratio and --max-error.

---------------------------------------------------
2005-11-07 10:29:24 +00:00
Robert Osfield
6562aa4f5f Added initial CameraNode and CameraView stups for the .ive loader 2005-11-03 10:16:38 +00:00
Robert Osfield
35b0dbc505 Added request for accumulator buffer. 2005-11-02 19:15:41 +00:00
Robert Osfield
366aaf72e8 From Brede Johnasen, changed wrap mode to CLAMP_TO_EDGE to avoid edges being
seen when zoomed into the reflectio map.
2005-11-02 15:56:29 +00:00
Robert Osfield
b0df518d11 Added handling of CameraNode into PickVisitor in src/osgProducer/Viewer.cpp. This
is unlikely to be the final solution, but does at least fix part of the problem of handling
picking HUD's underneath CameraNodes.
2005-11-02 15:23:54 +00:00
Robert Osfield
7e858b15f1 From Marco Jez, added Image/ path to image files to help find them from the OpenSceneGraph-Data directory. 2005-11-02 14:24:29 +00:00