Robert Osfield
9dfcb2530b
Changed the file search path so it returns an empty string when the filename contains a server address.
2009-06-08 10:27:21 +00:00
Robert Osfield
0fe8084499
From Johan Nouvel, fix to handling of transparent textured objects.
...
Tweak from Robert Osfield, commented out disabling of depth write as this is not appropriate by default.
2009-06-08 09:47:27 +00:00
Robert Osfield
aa69137fb8
Added collateReferencesToDependentCameras() and clearReferencesToDependentCameras() methods into RenderStage and SceneView, and use
...
of these methods in src/osgViewer/Renderer.cpp to make sure that the draw thread keeps references to all in scene graph Cameras
that are being used by the drawing threads, to keep the Camera's alive even when the main thread removes these Cameras from the scene graph.
2009-06-05 19:05:37 +00:00
Robert Osfield
482a18b9f2
Added depends_on template and usage in RenderBin to help with static variable destruction ordering
2009-06-05 11:48:35 +00:00
Robert Osfield
647d54bda8
Fixed warning
2009-06-05 10:42:53 +00:00
Robert Osfield
4b1686a50a
Updated wrappers
2009-06-04 14:37:02 +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
1f878303b4
Implemented DatabasePath in DatabaseBase revision classes
2009-06-02 16:54:34 +00:00
Robert Osfield
55ae7c05bc
Refactored the adaption of X11 key symbols into OSG key events to fix problems with handling wide range of locales.
2009-06-02 08:56:32 +00:00
Robert Osfield
83e47c0de6
Moved assigned of texture object to _textureObjectBuffer to earlier in Texture2D::apply() to prevent problems with non power of two texture mipmap generation.
2009-06-02 08:53:21 +00:00
Robert Osfield
d849574a93
From Wojciech Lewandowski, Fixed handling of empty Program.
2009-06-01 11:22:42 +00:00
Robert Osfield
4b769494cb
From Emmanuel Roche, "I've also updated the computeBound() method from the osg::Transform class : this method was using float based temporary variables and thus the double precision is lost here. I've changed that to use the generic types osg::BoundingSphere::vec_type and osg::BoundingSphere::value_type instead."
2009-06-01 11:08:34 +00:00
Robert Osfield
378ceebf84
From Emmanuel Roche, "I'm joining an updated version of the file daeWritter.cpp and daeWriter.h for the collada plugin compatible with the usage of double precision BoundingSphere & BoundingBox. The only change is the addition of the template specialization for osg::Vec3d object (until now only the specialization for osg::Vec3 was defined, I replaced that with osg::Vec3f to be more "precise")."
2009-06-01 11:07:07 +00:00
Robert Osfield
aa97f1d86a
Updated wrappers
2009-05-30 07:39:59 +00:00
Robert Osfield
986fc05ac1
Added revisions plugin in support of paged database revisions.
2009-05-29 18:24:47 +00:00
Stephan Maximilian HUBER
79fffbf0fc
From Stephan Huber: updated XCode project
2009-05-29 09:39:17 +00:00
Robert Osfield
58b37caecb
Updated wrappers
2009-05-29 08:46:58 +00:00
Robert Osfield
aaee56cbde
Ran dos2unx of files
2009-05-29 08:24:52 +00:00
Robert Osfield
23c7646702
Introduced first iterations of DatabaseRevision classes for managing the revisioning of http hosted databases
2009-05-29 08:24:11 +00:00
Robert Osfield
2c9b4834af
Fixed warning
2009-05-28 16:46:11 +00:00
Robert Osfield
4f0d658ce9
From Mathias Froehlich, "This frees some memory that is allocated by the X11 functions."
2009-05-28 14:15:36 +00:00
Robert Osfield
bf69b168b4
Fixed unitialized variable
2009-05-28 14:12:03 +00:00
Robert Osfield
f80033d892
From Stephan Huber, "attached you'll find a small fix for GrphicsWindowCocoa. There was a bug
...
with certain key-strokes, which led to a crash."
2009-05-28 14:09:16 +00:00
Robert Osfield
f0b55bbdb3
From Wojciech Lewandowski, "I suppose this error is caused by using 4 component tex coord in texture2D call. I always forget about adding .xy swizzle at the end of tex coord. I have attached code (hopefully fixed). My NVidia seems to ignore such errors. Cannot test it myself. Simple example works because I actually use textture2Dproj there."
2009-05-28 13:40:54 +00:00
Robert Osfield
07cf3ecd11
From Gregory Jaegy and Robert Osfield, added support for static linking of OpenFlight plugin
2009-05-28 13:29:20 +00:00
Robert Osfield
d06265b782
Fixed warnings
2009-05-28 13:26:06 +00:00
Robert Osfield
8e2b2031e2
From Neil Hughes, "Two changes here...
...
1. I've implemented an option controlled route by which users can still access the old method of extracting the zip content to the local filesystem. This is in response to Ulrich's comments about zip files encorporating files other than those that OSG knows about, but which an application may require.
To access this the user makes the following call on their options object that they pass to the reader. Without it, the plugin will extract by default to memory.
local_opt->setPluginStrData("zipextract","filesystem");
2. The second change is that I've moved the declaration of one of the variables to within the numitems loop so that if loading of a specific file within the zip fails, subsequent files still load correctly. This was the issue that Ulrich raised."
2009-05-28 12:25:35 +00:00
Robert Osfield
f49c026803
Updated wrappers
2009-05-28 08:25:18 +00:00
Robert Osfield
825d701757
Renamed application osgvirtualprogram to osgshadercompostior to better reflect it function
2009-05-27 13:02:01 +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
b7db15bdad
Fixed glStencilMask setting.
2009-05-27 12:11:41 +00:00
Robert Osfield
45ec1a163c
Added support for RenderBin::SortMode::TRAVERSAL_ORDER to enable rendering of scene graph drawables in the order that they were traversed in.
2009-05-27 09:54:17 +00:00
Robert Osfield
f845b6790a
Fixed warning
2009-05-27 09:45:46 +00:00
Robert Osfield
885a7893b8
From Jan Ciger, "I am attaching the updated VRML plugin, as promised. This version works
...
with OpenVRML 0.17.12 and Boost 1.38. Other versions may work too, but I
didn't test that."
2009-05-26 14:22:56 +00:00
Robert Osfield
e24dad3b71
From Ulrich Hertlein, "please find a patch for the DirectX loader to use std::istreams. This will make it usable with the zip plugin."
2009-05-26 11:00:26 +00:00
Robert Osfield
baf1899f33
Fixed warnings
2009-05-26 10:10:11 +00:00
Robert Osfield
1f9ef36545
Refactored the GraphicsWindowX11::adaptKey() implementation so that it always uses the reampX11Key(ks) method, and for the mapping to handle case correctly.
2009-05-25 16:34:26 +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
b1170638c7
Updated wrappers
2009-05-25 12:07:34 +00:00
Robert Osfield
4a823acce0
Changed Status enums to ActionStatus and TimelineStatus to avoid X11 problems
2009-05-25 12:04:29 +00:00
Robert Osfield
9644b25b9e
Added initializer of ParticleSystemUpdater::_frameNumber
2009-05-25 11:16:54 +00:00
Robert Osfield
5944ddf255
From Wojciech Lewandowski, "Two fixes for LUMINANCE and ALPHA_LUMINACE pixel formats written into DDS file. Component masks were incorrect. I tested results with ultimate DDS compatibitlity tester ie Microsoft DirectX Texture tool ;-). I have also added comment with warning about possible problems when writing other than 8 bit component pixel formats.
...
"
2009-05-25 11:12:38 +00:00
Robert Osfield
e9422b4120
From Colin McDonald, "The latest osg::notify is crashing at initialisation on Solaris, due to
...
constructor issues:
Within the NullStream & NotifyStream classes the base class objects
(ostream) were being initialised before the class member _buffer objects
which they referenced, causing a crash.
I had to move the file scope g_NullStream & g_NotifyStream initialisation
into a function to get them to work.
Also there was a missing osg:: qualifier on getNotifyHandler."
2009-05-25 10:46:37 +00:00
Robert Osfield
48b6e55390
From Alberto Luacas, added new pkg-cofig files
2009-05-22 08:31:58 +00:00
Robert Osfield
bda10e476b
From Alberto Luacas, separate pkg-config .pc files
2009-05-22 07:52:25 +00:00
Robert Osfield
cfdccbfed6
Fixed handling of case where the master and the slave camera are placed on the same GraphisContext, or when the master camera and slave camera are assigned to different Camers. Note normally one doesn't mix master with GraphicsContexts and slave cameras so neither case is common.
2009-05-21 16:33:38 +00:00
Robert Osfield
27ae00630d
Added a default value to avoid warning
2009-05-21 08:37:04 +00:00
Robert Osfield
9db74b8623
Fixed warnings
2009-05-20 12:14:45 +00:00
Robert Osfield
86479b0a73
Fixed warnings
2009-05-20 12:06:57 +00:00