db7528386fFrom Ulrich Hertlein, .osg support for osgFX::Outline
Robert Osfield
2009-12-09 10:18:13 +00:00
8c7b2c097cCompile fixes for GLES
Robert Osfield
2009-12-09 09:37:19 +00:00
7cf9dacc76From Robert Milharcic, added missing OSGFX_EXPORT
Robert Osfield
2009-12-09 09:36:08 +00:00
e0154c2d28From 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."
Robert Osfield
2009-12-08 17:41:44 +00:00
17b8ee1508From Thomas Halgarth, mods for Iphone GL headers
Robert Osfield
2009-12-08 17:41:18 +00:00
65c6fdd8caAdded check for image compatibility with existing texture object, releasing the existing texture object in cases when the new image size/pixel format is not compatible.
Robert Osfield
2009-12-08 17:33:01 +00:00
248386861bFrom Sukender, "I experienced as some users before: I tried to rescale an image without a valid rendering context... And had problems to unserstand what the "GL_OUT_OF_MEMORY" meant! So I added a few comments for future users."
Robert Osfield
2009-12-08 17:25:45 +00:00
d54b6907b8Fixed typo
Robert Osfield
2009-12-08 16:58:21 +00:00
6c0d321e3dFrom Fabien Lavignotte, "i have a problem with my application, i am currently playing with Texture2D::SubloadCallback to optimize my image data transfer, and also avoid double buffering when using a drawing thread. There is a small bug with your change and SubloadCallback, the texture object is destroy at each call of Texture2D::apply because the modified count is never updated when using SubloadCallback. I have made a small fix to avoid that, see attachement."
Robert Osfield
2009-12-08 16:02:43 +00:00
57d0729484Updated wrappers
Robert Osfield
2009-12-08 15:39:04 +00:00
02d0f08eb1Added virtual declaration for a range of osg::Image method to allow easier customization.
Robert Osfield
2009-12-08 15:38:50 +00:00
8caf4e8c8cFrom Stephan Huber: updated XCode project
Stephan Maximilian HUBER
2009-12-08 14:40:36 +00:00
7603931eb4Added catch for changes in image pixel format and dimensions so that the texture object is released when the image changes enough to warrant a new texture object.
Robert Osfield
2009-12-08 14:25:16 +00:00
78a31776beRe-order the setting of the VBO's
Robert Osfield
2009-12-07 16:45:33 +00:00
3a6a756d34Converted tabs to four spaces
Robert Osfield
2009-12-07 12:35:33 +00:00
9e9b6b8843Updated wrappers
Robert Osfield
2009-12-05 10:13:43 +00:00
b4af14433fRemoved unimplemented updateGraph method
Robert Osfield
2009-12-05 10:02:04 +00:00
8c11e7be48From Tatsuhiro Nishioka, "> The workaround/solution was to add a block of code at the end of the > loader to un-premultiply the alpha (now in the codebase).
Robert Osfield
2009-12-04 17:25:23 +00:00
039455ef30Converted tabs to four space
Robert Osfield
2009-12-04 17:24:27 +00:00
6773aca87aFrom Sukender, "Here is our freshly baked 3DS reader/writer (named 'v0.5' to differentiate from previous one). Changes are against trunk rev. 10819. Short changelog (from rev 10819): - Added 3DS writer - Sync'd with latest lib3DS - Added options, especially "flattenMatrixTransforms" to get the "old" behaviour (else the reader correctly maps to OSG the transforms from the 3DS file).
Robert Osfield
2009-12-04 11:31:04 +00:00
c262112fbbFrom Mathieu Marache, "I replaced the Vec4 by a float and used only the x component of the shadow2DProj . This works on my apple box."
Robert Osfield
2009-12-04 09:57:08 +00:00
8080f46444From Julen Garcia,"I've been lately working also with the ffmpeg plugin and I implemented pause(), seek() and getReferenceTime(). I think that I have solved the internal clock issues (maybe not in the most elegant way :?"
Robert Osfield
2009-12-02 18:58:45 +00:00
11abf29c14From Farshid Lashkari, "I had to make a few small changes to some cmake files to enable the OSG_MSVC_GENERATE_PLUGINS_AND_WRAPPERS_MANIFESTS option for Visual Studio 2008."
Robert Osfield
2009-12-02 14:58:47 +00:00
b278660799From Nico Kruithof, "Attached is a patch that makes the spherical manipulator frame rate independent. This is similar to what Lee did for the trackball manipulator a couple of months ago."
Robert Osfield
2009-12-02 14:21:13 +00:00
3c8fe13194Quitened down debug info
Robert Osfield
2009-12-02 12:37:45 +00:00
f1009763fcAdded osggpx example to demonstate how to use the XmlParser and create line models.
Robert Osfield
2009-12-02 12:37:22 +00:00
2be82dd8d7Quiten down debugging message
Robert Osfield
2009-12-01 19:40:29 +00:00
4d762a81a6Updated wrappers
Robert Osfield
2009-11-30 13:44:41 +00:00
3a71cd80faAttempted compile fix.
Robert Osfield
2009-11-27 18:14:27 +00:00
41ba8ce585From Christian Ehrlicher, "during profiling my program I found out that there's a lot of memory (de)allocation going on in OverlayNode::cut().
Robert Osfield
2009-11-27 16:47:38 +00:00
9b3e02f4e9From Jason Daly, "The DDS reader test for DXT1 images with 1-bit alpha wasn't thorough enough. It performed the first check (color_0 <= color_1), but it didn't actually scan the texel block to see if the transparent color (0x03) was there. As a result, DXT1 files without any alpha were getting switched to RGBA format (instead of being left just RGB).
Robert Osfield
2009-11-27 15:48:57 +00:00
b4562b0393From Jean-Sebastien Guay, Explanation:
Robert Osfield
2009-11-27 15:39:07 +00:00
6ff21888f3From Wang Rui, "I just successfully built the pdf plugin on Windows XP and MSVC and fixed a small bug then:
Robert Osfield
2009-11-27 15:35:57 +00:00
36b5e59019From Paul Martz, "This change address the following issue: an app opens a Viewer on a multidisplay system, configured to setUpViewAcrossAllDisplays, with a non-default clear mask. In this case, OSG failed to propagate the clear mask to the slave Cameras, resulting in the clear mask being ignored. To fix this issue, this revision adds a new CullSettings::VariablesMask bit, CLEAR_MASK, to explicitly control inheritance of the clear mask. This bit is set by default, which means that the clear mask now inherits by default, whereas previously it did not."
Robert Osfield
2009-11-27 15:32:43 +00:00
9ce90775c2From Chris Denham, "I discovered what seems to be a missing call to FreeLibrary for osgDB.dll The result of this is that it prevents me from dynamically unloading my DLL (which uses OSG). This is because initialisation of the osg::Registry instance results in a call to GetModuleHandleEx (to get the filename of the DLL). This call to GetModuleHandleEx increments the module refcount, but there was no matching call to FreeLibrary for the returned handle. Unlike the old GetModuleHandle function, GetModuleHandle does (by default) increment the refcount.
Robert Osfield
2009-11-27 12:21:44 +00:00
5d6ce1a25fFrom Cory Riddell, "Small edit to ReaderWriterDOT.cpp. It wasn't checking the file extension and so, if the .dot plugin was loaded, it would happily handle any file name extension.
Robert Osfield
2009-11-27 12:17:20 +00:00
980db2c772Updated wrappers
Robert Osfield
2009-11-27 11:48:21 +00:00
6ebeff658aImplement deleteAllTextureObject/BufferObjects functionality.
Robert Osfield
2009-11-27 11:43:18 +00:00
ab8d93a181Introduced preliminary osg::deleteAllGLObjects() and osg::discardAllGLObjects() functions and associated support into Texture and BufferObjects
Robert Osfield
2009-11-26 12:33:07 +00:00
7146f8a62fAdded check for Geometry pointer being valid
Robert Osfield
2009-11-26 10:12:38 +00:00
e5b76975a9For testing purposes added code path and options for testing viewer creation in series, including with enabling of VBO's. Options are:
Robert Osfield
2009-11-25 16:31:14 +00:00
90bd49100fAdded support for repeating viewer construction
Robert Osfield
2009-11-25 16:20:25 +00:00
2f72c29bd4From Sergey Leontyev, example for testing of DatabasePaging and CompositeView usage
Robert Osfield
2009-11-25 11:31:52 +00:00
7255941cf6Updated wrappers
Robert Osfield
2009-11-24 15:26:54 +00:00
a3adc3d07cFrom Martin Scheffler, "osgParticle: method to set start and end tile for particle texture (for animated particles). I also updated examples/osgParticle to show the feature. The texture in data/Images should be copied to osg-data. I created the texture myself with the help of an explosion generator, so no license issues there. "
Robert Osfield
2009-11-24 15:00:11 +00:00
f79f465467From Farshid Lashkari, "I've attached a small fix to osgUtil::SceneView so that is uses a scissor test when clearing the stencil buffer for stencil based stereo."
Robert Osfield
2009-11-24 14:32:51 +00:00
49d6a96a5aFrom Lilin Xiong, "when using stlport5.3 (vc 2003) , this line cann't be compiled: _instances[0] = new WGLExtensions; change to: _instances[HGLRC(0)] = new WGLExtensions;"
Robert Osfield
2009-11-24 14:22:12 +00:00
5f04576abdUpdated wrappers
Robert Osfield
2009-11-24 14:20:59 +00:00
6d3e7f83e2From Terry Welsh, "As I mentioned here http://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg33967.html , interpolating through HSV space gives a rainbow color effect which does not mimic the simple RGB color interpolation that OpenGL does. It's overkill and causes unexpected visual artifacts. In the attached files I've removed the conversion to HSV so that interpolation happens in RGB space."
Robert Osfield
2009-11-24 14:12:54 +00:00
383a5222bdRewrote the Vec *= Vec and Vec /= Vec implementations using inline Vec componentMultiply(Vec,Vec) and Vec componentDivide(Vec,Vec) to avoid confusion about the what the operation does.
Robert Osfield
2009-11-24 13:28:07 +00:00
3599be9708From Wojciech Lewandowski, "I have extended a list of texture targets that can be used with shadow comparison. These targets are avaialble in in OpenGL 3.x shadow sampler variants. Changes are based on current SVN."
Robert Osfield
2009-11-24 13:24:30 +00:00
b3abc0842fFrom Chris Hanson, " Add support for "OutputTextureFiles" option to IVE plugin to permit creation of external .dds texture files from internally-embedded textures during IVE writes."
Robert Osfield
2009-11-23 11:00:07 +00:00
d09323f93eFrom Chris Hanson, " Add support for requesting and setting the current directory (a la getcwd/chdir) via a C++-friendly string-class API.
Robert Osfield
2009-11-23 10:19:37 +00:00
87452fe1b9From Chris Hanson, " Adds support for Vec /= Vec and Vec *= Vec operators to Vec2/Vec3/Vec4 double and float classes."
Robert Osfield
2009-11-23 10:01:44 +00:00
d81d71fd97Updated version
Robert Osfield
2009-11-23 09:54:28 +00:00
6365810f8bFrom Paul Martz, typo fixes
Robert Osfield
2009-11-23 09:53:08 +00:00
71af49f934Added missing createContextImplementation().
Robert Osfield
2009-11-22 17:27:13 +00:00
4759cb951eFrom Colin MacDonald, "In my application I have a custom graphics context class, derived from osg::GraphicsContext, in order to give good integration with the application's GUI toolkit. This works really well.
Robert Osfield
2009-11-21 16:41:02 +00:00
40d46a8687From Chris Hanson, " Remove vestigial (and because it was undocumented, potentially harmful) code to ignore filenames starting with a dash "-" character from the (std::vector<std::string>&) version of osgDB::readNodeFiles. Handling of argument strings is properly implemented in the osgDB::readNodeFiles(osg::ArgumentParser& arguments,const Options* options) variant, which most code uses. The (std::vector<std::string>&) version is only called by the osgconv utility, which does its own argument handling and stripping prior to calling readNodeFiles().
Robert Osfield
2009-11-20 14:51:43 +00:00
255f6dda41Moved the ImagePager update to before the main scene graph update traversal
Robert Osfield
2009-11-20 14:40:58 +00:00
d9c1f45231From Wang Rui, "I've made a small fix to osgViewer/Scene.cpp, which is already attached. I would like to explain what I've done and why.
Robert Osfield
2009-11-20 14:39:15 +00:00
3ef770a9ffFrom Rafa Gaitan, "Current ffmpeg plugin didn't support pause and seek, I have added this functionality and I also modified osgmovie example to support "seek"."
Robert Osfield
2009-11-20 14:31:11 +00:00
733431004aUpdated wrappers
Robert Osfield
2009-11-20 14:15:42 +00:00
e107c86e1aFrom Farshid Lashkari, "I noticed that the code for rendering vertical interlace, horizontal interlace, and checkerboard stereo are practically identical, except for the stipple pattern. I combined the code blocks for rendering the 3 stereo modes into a single block. I also fixed a small issue with retrieving stats in checkerboard stereo mode."
Robert Osfield
2009-11-20 12:32:51 +00:00
010411e535From David Callu, "I have a Segfault with xine plugin, when I load a video, then delete the XineStreamImage, then reload a video and finally delete the second XineStreamImage.
Robert Osfield
2009-11-20 11:46:20 +00:00
d55f447188From Colin McDonald, "Reading from a stream the 3ds plugin crashes if the options are null."
Robert Osfield
2009-11-20 11:43:53 +00:00
f5b61191adFrom Himar Carmona, " this submission resolves an issue regarding the setup of a slave camera with an (incorrect) coding style. Sharing the same instance of osg::Viewport with a camera and a slave camera causes incorrect rescaling in GraphicsContext::resizedImplementation, due to the viewport being rescaled twice (once per camera). Though viewports sharing is not intentional, it can be done with the current version of OSG and be a potential pitfall for anyone.
Robert Osfield
2009-11-20 11:39:10 +00:00
57319d72afFrom Stewart Andreason, "When I open the Window Attributes (in WindowManager in X on linux) I am unable to save any changes to the attributes in the resource database, because the osg window does not have a class defined. The Window Specification and Save buttons are greyed out.
Robert Osfield
2009-11-20 11:25:49 +00:00
c73e53297dFrom Nico Kruithof, "This patch makes sure that FindOSG.cmake finds OSG when it is compiled as a 64 bit library, as the libraries are installed in the lib64 directory and not lib"
Robert Osfield
2009-11-20 11:18:28 +00:00
5cd4faf05bFrom Jason Beverage, "I posted a question on osg users about resources not being properly released when using osgTerrain databases and multiple viewers are used a few weeks ago and I've found that at least part of the problem comes down to the fact that the nodes that are traversed by the GeometryTechnique are never actually added to the scene graph, and thus don't have releaseGLObjects called on them. I'm submitting a few changes that takes care of this by allowing the TerrainTechnique to provide a releaseGLObjects implementation. I've applied these changes in osgEarth and this example program no longer crashes on the second run, although I get corrupt geometry (see attached shot) which could be down to a driver issue. If I increment the context ID for the second viewer, I no longer get the corrupt geometry.
Robert Osfield
2009-11-20 11:08:40 +00:00
833e79a79aFrom Jeremy Moles, "Somehow, the SVG reader plugin has gone all this time without actually being able to accurately provide the cool stuff that SVG is good for. :) There is a one-line bug on line 68 in the src/osgPlugins/svg/ReaderWriterSVG.cpp file where you can set the width in the Options string, but not the height."
Robert Osfield
2009-11-20 10:56:54 +00:00
e15006b194From Cedric Pinson, "here an update of osgmovie example with the following features: - play and pause now stop and play all streams given in the command line (not only the first) - add key + - to increase decrease the speed of all streams - add key o to display all stream frame rate "
Robert Osfield
2009-11-20 10:54:39 +00:00
7552954ef3From Cedric Pinson, "Here an update of the directshow plugin. It fixes issues with synchronization, improve capture device support.
Robert Osfield
2009-11-20 10:48:51 +00:00
f45ae6a4d8From David Fries, "I was trying to create a lot of threads under 32 bit Linux, but could only create 376, then the program would hang. 376 * 8MB stack per thread = 3008 MB The stack size allocated per thread blew the process address stack. To get more threads you have to specify a smaller per thread stack, but while the Thread::start says it will limit the stack size to the smallest allowable stack size, it won't let it be smaller than the default. I included the limits.h header to use PTHREAD_STACK_MIN as the minimum stack size.
Robert Osfield
2009-11-20 10:27:43 +00:00
65d72d7873Added #include <osg/MatrixTransform>
Robert Osfield
2009-11-20 09:05:06 +00:00
a1c2cc7b1bFrom Jan Ciger, removal of declaration of now undefined method.
Robert Osfield
2009-11-20 09:03:02 +00:00
22527f6fd3From Stephan Huber, "attached you'll find a bugfix for removeTransformUpdating and another similar remove-method.
Robert Osfield
2009-11-19 17:42:25 +00:00
0891e011dcFrom Vincent Gadoury, "In osgViewer::Viewer and osgViewer::CompositveViewer, the DOUBLECLICK event type was not considered as a "pointer event" and thus was receiving the event state coordinates and button mask. As a result, a double-click event always had a button mask not including the double-clicked button, even if double-click event is a "button push" event.
Robert Osfield
2009-11-19 17:22:20 +00:00
fcb94de7edFrom Donn Mielcarek, "I'm surprised this hasn't come up before, but the function Thread::setProcessorAffinity always returns -1, even if the call is successful. I added return statements to each of the function calls."
Robert Osfield
2009-11-19 17:18:22 +00:00
258d702d02Fixed tabs
Robert Osfield
2009-11-19 17:17:24 +00:00
e9c406a303Fixed spacing
Robert Osfield
2009-11-19 16:53:29 +00:00
d8ba406d99From Nico Krulthof, remove double qualifier of ReaderWriterQT constructor/destructor.
Robert Osfield
2009-11-19 16:45:35 +00:00
3442a80a82Changed the placement of the autogenerated Version file so it drops into the in source directory.
Robert Osfield
2009-11-19 16:43:54 +00:00
519db42c4fFrom Wojciech Lewandowski, refactor to FBO setup to use the osg::Camera implicit buffer attachements.
Robert Osfield
2009-11-19 16:39:03 +00:00
6dc3f54786From Jan Ciger, build fixes to work with OpenVRML 0.18.3.
Robert Osfield
2009-11-19 16:06:30 +00:00
74f7ffcd32From Ulrich Hertlein, "ttached are some tweaks to the Obj loader that allows a program supplied osgDB::Options object to be passed through the code. This allows for caching to be used with images.
Robert Osfield
2009-11-19 12:54:52 +00:00
72b3ce7ac6From Tugkan Calapoglu, "we started to have problems with textures after a recent svn update. I was able to follow the problem until following addition to Texture.cpp:
Robert Osfield
2009-11-19 12:39:04 +00:00
b4a5edd82eFrom Jean-Sebastien Guay, "I've made a change to the ScreenCaptureHandler's addCallbackToViewer method, so that it iterates over GraphicsContexts instead of GraphicsWindows. When the viewer has a pbuffer (for offscreen rendering without a window) then it wouldn't add the WindowCaptureCallback to that context since it wasn't in the list returned by ViewerBase::getWindows(). And anyways, I originally wrote the code, and I didn't see any reason why I did it with windows instead of contexts...
Robert Osfield
2009-11-19 12:01:49 +00:00
4f6be906b3Fixed spaces at ends of lines
Robert Osfield
2009-11-19 11:54:15 +00:00
2e11c49742From Michael Platings, "This plugin adds support for the Autodesk FBX file format. It imports animations, including skeletal and morph animations, hence all my previous submissions to osgAnimation. The plugin won't build without the changes made in the "osgAnimation small additions" submission (14th August). The plugin requires the FBX SDK to be installed, available from http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=6837478"
Robert Osfield
2009-11-19 11:44:44 +00:00
6cc2ce5e4aForm Roland Smeenk, "Attached is a small change to the osgWidget::EventInterface so it matches the NotifyWidget and NullWidget interface (added const). Due to this mismatch these widgets never received events.
Robert Osfield
2009-11-19 11:30:22 +00:00
1bc204a87fFrom J.P. Delport, "simple addition to make the scroll wheel work in the example."
Robert Osfield
2009-11-19 11:21:05 +00:00
ec788e92f2From Fabien Lavignotte, "I have used the osgUtil::DelaunayTriangulator to insert roads into a terrain. The triangulator is quite tricky to use properly but works quite well, constraint triangulation is not an easy task... I have encounter some crash during the development that the following patch fix. The two fixes are : - Fix in removeVerticesInside() : needs to take into account UByte and UShort version of DrawElements to avoid a crash later - Fix a crash in triangulate() : detect degenerate adjacency case to exit early form the adjacent triangle traversal loop to avoid a crash later"
Robert Osfield
2009-11-19 11:16:58 +00:00
f38d1cdbb4Fixed build
Robert Osfield
2009-11-19 10:47:42 +00:00
b4dffc5bf4Updated wrappers
Robert Osfield
2009-11-19 10:12:00 +00:00
c481f022e9From Wojciech Lewandowski, "Building on earlier Paul's submission "[osg-users] Main branch MSFBO support change", I have added implicit buffer mask variables to DisplaySettings for setting global defaults for Camera FBOs. These mask variables are named after variables in Camera class. In Paul's submission they were named _renderBufferMask & _resolveBufferMask but I renamed them to _implicitBufferAttachmentRenderMask & _implicitBufferAttachmentResolveMask. DisplaySettings implementation includes reading of environment vars and command line options. Setters and getters follow typical OSG naming convention. I also updated names of ImplictBufferAttachment enum bits to match changed naming scheme.
Robert Osfield
2009-11-19 10:10:50 +00:00
80341b896dRemoved include/osg/Config as it was causing problem with Windows build
Robert Osfield
2009-11-18 18:19:29 +00:00
2191e6a48dMoved the set of include/osg/Version into Cmake
Robert Osfield
2009-11-18 16:24:01 +00:00