Commit Graph

  • 98e9f187b3 Added reading of the P3D_DEVICE env var for setting up the --device entry. Robert Osfield 2012-10-31 17:06:29 +00:00
  • a6f3e0af78 Added event and update callbacks to pass up changes to the mouse position to the ImageSequence::seek() to control which images is selected based on mouse x position Robert Osfield 2012-10-31 16:07:23 +00:00
  • fa2fb07609 From Stephan Huber, RestHttpDevice plugin for support of remote application control via Rest http. Robert Osfield 2012-10-30 12:31:27 +00:00
  • d879cd7715 Intial work towards support an interaction <imagesequence> tag in Present3D. Robert Osfield 2012-10-29 15:58:02 +00:00
  • ce623c697e From Luc Frauciel, "Compile Fix - KTX plugin with Visual Studio, <stdint.h>not defined under MSVC" Robert Osfield 2012-10-26 15:31:18 +00:00
  • cebb9f6103 Fixed bug in click_to_run feature where events would be handled by hidden labels Robert Osfield 2012-10-24 16:10:38 +00:00
  • f9fd4342ba From Stephan Huber, "attached you'll find the latest versions of the QTKit + the AVFoundation-plugin, some changes to osgPresentation and a small enhancement für ImageIO. Robert Osfield 2012-10-24 10:43:01 +00:00
  • 1591fe09f3 Added osgGA::Device class for integration of both physical and virtual devices. Robert Osfield 2012-10-23 16:15:03 +00:00
  • f9ad1e5673 Added mutex lock to Uniform::addParent()/removeParent(). Robert Osfield 2012-10-22 16:21:04 +00:00
  • 1872137d88 Added serializers for osgGA Robert Osfield 2012-10-12 14:51:08 +00:00
  • ad926d7265 Removed the insert of requests in the ImageSequence::_filesRequested data structure so that it always requests files, leaving it up the ImagePager to decide to track duplicates Robert Osfield 2012-10-09 16:14:21 +00:00
  • 9fab99ddd9 From Wang Rui, "I modified the Serializer header to add a UPDATE_TO_VERSION_SCOPED macro, which could set version within brackets and reset it after that. All related serializers are also modified so that the backward-compatibility bug reported by Farshid can be fixed. " Robert Osfield 2012-10-09 16:05:50 +00:00
  • 16de7e9f33 From Wang Rui, "I've added CDATA tag support to XmlParser so that we can keep user data (e.g., GLSL shader texts) in XML files without parsing them. This will be necessary for the coming-soon effect compositor submission. :-)" Robert Osfield 2012-10-08 16:14:23 +00:00
  • 94e8c42569 Added a static_cast to avoid build issues under Windows Robert Osfield 2012-10-08 16:12:59 +00:00
  • 03a9786b11 Fixed warning Robert Osfield 2012-10-08 16:03:16 +00:00
  • 7244e97850 From Aurelein Albert, "Under some Visual Studio configuration, I get compile error on "lib3ds_io.c" due to use of these kind of conversion : Robert Osfield 2012-10-08 15:10:56 +00:00
  • 4235169d41 From Gill Peacegood, "In the attached file I have changed the colour space used for writing images to match the one used for reading images. Also this color space does not make subtle changes to the original colours which i think is probably what most people intend when writing an image and is more consistent with other plugins. Robert Osfield 2012-10-08 12:00:53 +00:00
  • 232bda3828 From Oren Fromberg, "" --This line, and thosAttached is an update to ReaderWriterDAE.cpp/h and daeReader.cpp/h that implements Robert Osfield 2012-10-08 11:54:40 +00:00
  • b742a9e71a From James Athey, "I've attached a new osgDB ReaderWriter that can read Khronos Texture Files (KTX). The KTX file format is straightforward and designed to be easy to use in OpenGL. Robert Osfield 2012-10-08 11:10:25 +00:00
  • 740f660ef1 Made TouchData and osg::Object to aid with serialization. Robert Osfield 2012-10-05 16:31:23 +00:00
  • 47c5ddbce5 Improved ImageSequence's handling of seek() and added a simply hack to ImagePager to prevent the number of requests accumulating. Robert Osfield 2012-10-05 10:37:36 +00:00
  • 77bd6cbfe9 From Stephan Huber and Robert Osfield, addded interactive setting of the ImageSequence::seek() based on the mouse x position. Robert Osfield 2012-10-05 10:35:06 +00:00
  • 2e79a0e2d4 Added set methods to assist with serialization support Robert Osfield 2012-10-05 10:07:09 +00:00
  • 23786604c6 From Stephan Huber, "attached you'll find a fix for Registry.cpp not using the QTKit-plugin for video-files. W/o this fix you had to preload the plugin to open movie-files." Robert Osfield 2012-10-04 13:45:54 +00:00
  • 1796d55bea From Stephan Huber, OSX and iOS Video support via a QTKit plugin from OSX 10.7 and before, and an AVFoundation plugin for iOS and OSX10.8 and later. Robert Osfield 2012-10-02 14:07:12 +00:00
  • 0dbafcc316 From Leigh Stivers, "We had this problem which shows up with nVidia's latest Quadro driver, 305.93 - and older drivers when the nVidia's setting "Thread Optimization" was turned on, running Windows 7. The symptom, is that after creating a first view and using it, and then creating a second view, the first view will never render anything but black. Robert Osfield 2012-09-28 16:36:42 +00:00
  • 4896edda56 From Thomas Hogarth, "Apple have decided in their eternal wisdom to do away with separate depth and stencil buffers on iOS from version 5 and above. Robert Osfield 2012-09-27 08:34:56 +00:00
  • 03047f3e7f From Paul Martz, "This change to include/osg/GL correctly includes the OpenGL header on OSX 10.7 when building OSG trunk for GL3. It also adds some CPP defines for compatibility." Robert Osfield 2012-09-26 08:42:04 +00:00
  • 86a37616f7 Changed dispatch to virtual Robert Osfield 2012-09-25 11:04:11 +00:00
  • 0e8bcc9027 From Frederic Bouvier, "fix PNG write for images with bits per components different than 8 that was hard coded." Robert Osfield 2012-09-24 10:10:28 +00:00
  • ea631c777d From Aurelien Albert, "In the DXF plugin, DXF layers are decoded and each layer is added in a separate group, which is very usefull to retrieve a layer or display a list of all layers in the aplication. Robert Osfield 2012-09-20 14:06:01 +00:00
  • b3f8679b69 From Luc Frauciel, Added sRGB FrameBuffer string Robert Osfield 2012-09-20 14:03:47 +00:00
  • f804d7dd81 From Vladimir Cheaev, " I worked with a osg::Constraint and found strange part of code: class OSGMANIPULATOR_EXPORT Constraint : public osg::Referenced { public: ... virtual bool constrain(ScaleUniformCommand& command) const { return constrain((MotionCommand&)command); } virtual bool constrain(const Rotate3DCommand& command) { return constrain((MotionCommand&)command); } ... Robert Osfield 2012-09-20 11:27:57 +00:00
  • 01c7d87b1a From Farshid Lashkari, Added GLBeginEndAdapter::reset(), and _overallNormalAssigned, _overallColorAssigned flags to avoid the GLBeginEndAdapter adapter setting colour and normals when none has been assigned. Robert Osfield 2012-09-20 11:18:19 +00:00
  • d511288718 From Ulrich Hertlein, "attached is a patch to src/osgViewer/CMakeLists.txt that inverts the logic of when to use Cocoa and when to use the old Carbon interface for the windowing system. Robert Osfield 2012-09-20 11:16:02 +00:00
  • b32cf216a7 Added ReadQueue::size() method to help with debugging. Robert Osfield 2012-09-20 11:14:10 +00:00
  • 67abc66d8a Added handling of directory names in osgimagesequence commandline. Robert Osfield 2012-09-12 16:35:12 +00:00
  • 5d5cf26138 Added osgDB::getSortedDirectoryContents and osgDB::FileNameComparator to help with sorting directory contents into alphabetic and numerical order. Robert Osfield 2012-09-12 16:02:02 +00:00
  • cfe36876d4 Converted sorting of directory contents across to use the new osgDB::FileNameComparator and osgDB::getSortedDirectoryContents() Robert Osfield 2012-09-12 11:09:41 +00:00
  • 7fe5db073b Updated version after 3.1.3 dev release Robert Osfield 2012-09-10 08:24:49 +00:00
  • 7233b2117c Updated ChangeLog for 3.1.3 dev release Robert Osfield 2012-09-07 17:04:31 +00:00
  • f288f9e996 From Wojciech Lewandowski, "With current trunk I had an error while compiling osg/Image.cpp for IOS simulator / GLES2. Symbol GL_RGBA16 was missing. Adding #define GL_RGBA16 0x805B to Image header solves the problem. " Robert Osfield 2012-09-07 14:55:09 +00:00
  • 55d03d5b34 Added setting of the input range of the event state based on the master cameras viewport. Robert Osfield 2012-09-07 09:31:26 +00:00
  • 53405c118a Added check so not intialization is down when you select the current camera manipulator Robert Osfield 2012-09-07 08:33:24 +00:00
  • 0b778533c8 From Piotr Domagalski, "I've added reading of node names ('DEF' element) to the VRML reading plugin. The changes were based on trunk's version of the plugin." Robert Osfield 2012-09-06 13:53:58 +00:00
  • 46104008c7 From Piotr Domagalski, "I've rewritten some bits of the STL plugin in order to support ASCII STL files with multiple named solids (reading and writing). The names are also used as OSG nodes names. Robert Osfield 2012-09-06 13:48:17 +00:00
  • 3b8802c5aa From Piotr Domagalski, "Currently, code using OpenSceneGraph doesn't build with clang due to the way __sync_bool_compare_and_swap() is used in OpenThreads/Atomic header file. Robert Osfield 2012-09-06 10:52:28 +00:00
  • 5a99e4672e From Fredric Bouvier, fix to CMake build selection of FLTK Robert Osfield 2012-09-06 10:32:07 +00:00
  • 39dcea9ebb From Colin McDonald and Robert Osfield, converted Traits::sharedContext from GraphicsContext* to osg:observer_ptr<GraphicsContext> to prevent dangling pointer issues. Robert Osfield 2012-09-05 21:03:41 +00:00
  • 63444f648f Fixed inappropriate comment Robert Osfield 2012-09-05 13:51:34 +00:00
  • f5a3c40934 Moved the OSG_INIT_SINGLETON_PROXY macro into include/osg/Object to make it more generally useful and added it's usage into the RenderBinPrototypeList initialization. Robert Osfield 2012-09-05 13:48:23 +00:00
  • 3c9a0cdfd7 From Thomas Hogarth, "I submitted a change for the IOS CMake system a few weeks back which hasn't made it into the trunk. I've just made the modifications again against the latest trunk and have attached the file Robert Osfield 2012-09-05 10:27:08 +00:00
  • e8c4a6785c From Andreas Ekstrand, The attached ESRIShape.cpp contains fixes for comparing calculated byte sizes with the content length from the record header. According to the ESRI Shape documentation (http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf), the content length is specified in 16 bit words, which is why I have multiplied it by 2 when comparing to byte sizes. Note that the comparison in line 813 is made with a fix number of 16-bit words so it hasn't been changed. Robert Osfield 2012-09-05 10:24:10 +00:00
  • a5478cf910 From Nico Kruithof, "There is a small typo in the ShapeDrawable code for a sphere. There was a gl.Begin(GL_QUAD_STRIP) that was never closed, nor used. Robert Osfield 2012-09-05 10:19:01 +00:00
  • fd2ee19b62 Updated SO version number to avoid collision with new additions to serializers Robert Osfield 2012-09-05 09:30:33 +00:00
  • 5c9a302beb Added GL_RGBA8 and GL_RGBA16 entries to the Image::computePixelFormat() and improved he readability of the method by inserting line spacing. Robert Osfield 2012-09-05 09:08:25 +00:00
  • e93a838222 From Ulrich Hertlein, "fixes a typo and adds support for OS X 10.8" Robert Osfield 2012-09-05 08:48:10 +00:00
  • bc533022ae Added deprecated note to indices entry. Robert Osfield 2012-09-05 08:42:14 +00:00
  • 0172bacdf4 From Brad Christiansen, changed OSG_INFO to OSG_DEBUG to quieten down volume of messages in INFO Robert Osfield 2012-09-04 08:21:09 +00:00
  • 568aeef975 From Brad Christiansen, "fix for the NVTTImageProcessor. When the code was updated in revision 12912 a couple of typos where made. These cause a crash when compressing transparent images and mangled colours when compressing rgb images. " Robert Osfield 2012-09-03 15:19:00 +00:00
  • 30c35cb407 Adjusted the #define's to help GLES2 build Robert Osfield 2012-09-03 09:08:16 +00:00
  • 0ce9407c69 From Lilin Xiong, " there is a small bug in osgDB::readNodeFiles(std::vector<std::string>& fileList,const Options* options) in file ReadFile.cpp line 85: osg::Node *node = osgDB::readNodeFile( *itr , Registry::instance()->getOptions() ); It should be: osg::Node *node = osgDB::readNodeFile( *itr , options );" Robert Osfield 2012-09-03 08:30:01 +00:00
  • f13dd3d75d Added a fix for a multi-threading bug that occured when TerrainTiles were accessed via the Terrain::_updateTerrainTileSet that were being deleted at the same time by the DatabasePager thread. Robert Osfield 2012-08-31 16:00:55 +00:00
  • 8961d45ebf From Wang Rui, "This patch fixes a problem of the osg::Program serializers that can't save/load GeometryInputType data correctly. The bug is initially found by John Kelso." Robert Osfield 2012-08-29 16:48:27 +00:00
  • 794e0e71f4 From Johannes Scholz, fix for writing out of hexidecimal numbers Robert Osfield 2012-08-24 15:05:03 +00:00
  • e489767f71 Fixed bug in GLBufferObjectSet::discardAllDeletedGLBufferObjects() and GLBufferObjectSet::flushDeletedGLBufferObjects(double currentTime, double& availableTime) where the NumberActiveGLBufferObjects was errneously being incremented by numDiscarded. Robert Osfield 2012-08-23 15:06:27 +00:00
  • 583401970a Fixed typo Robert Osfield 2012-08-22 16:39:47 +00:00
  • 58b66be7b7 Added check against the Camera NodeMask to decide whether it's appropriate to test for events on that camera. Robert Osfield 2012-08-21 09:45:24 +00:00
  • 284f410436 Added ShadowSettings::s/getMaximumShadowMapDistance(double) property, usage of these property in ViewDependentShadowMap, and setting of it with --max-shadow-distance <double> in the osgshadow example. Robert Osfield 2012-08-15 12:40:48 +00:00
  • 52861ecbb0 Added a mutex to protect the removal and addition of Uniform and Program to StateSet to avoid parents being invalidated when multi-threading. Robert Osfield 2012-08-14 20:15:00 +00:00
  • fb83c2b061 Introduced --near-far-mode into osgshadow and ShadowSettings::setComputeNearFarModeOverride(..) to allow user control of how the cull traversal is optimized for computing the depth range of the shadow map. Robert Osfield 2012-08-03 16:14:14 +00:00
  • 35816e6b25 Removed the erronous creation of a local ShadowSettings object Robert Osfield 2012-08-03 15:23:44 +00:00
  • 42cb311f41 Added FireGL to prefernce list for use glGenerateMipMap Robert Osfield 2012-07-24 09:05:04 +00:00
  • 2e611be9c9 Fixed build Robert Osfield 2012-07-23 08:15:57 +00:00
  • 0a746faa2d Introduced Texture::Extensions::s/getPreferGenerateMipmapSGISForPowerOfTwo() flag that defaults to false for Radeon, true elsewhere. This is used to workaround mipmapping bugs with ATI/AMD cards. Robert Osfield 2012-07-12 16:41:53 +00:00
  • 2f86ac1896 Fixed indentation Robert Osfield 2012-07-11 14:36:14 +00:00
  • 283c2d3ed0 Fixed parameter default value to avoid warning Robert Osfield 2012-07-11 08:39:11 +00:00
  • 86db687bce Replaced use of now deprecated methods. Robert Osfield 2012-07-10 16:20:32 +00:00
  • 269d360484 Enabled the use the getReceivesShadowTraversalMask(). Robert Osfield 2012-07-10 16:11:40 +00:00
  • ec3ad89041 Changed settings of masks to use ShadowSettings. Robert Osfield 2012-07-10 16:11:15 +00:00
  • b4d397cfd7 Moved mask settings into ShadowSettings Robert Osfield 2012-07-10 15:50:46 +00:00
  • 4b220d4fd7 Changed updateCamera(Camera*) to updateCamera(Camera&) to make it clear that a valid Camera object should be passed in. Robert Osfield 2012-07-09 17:49:04 +00:00
  • 65ab874143 From Riccardo Corsi, introduced CameraManipulator::updateCamera() method that allows more Camera properties to be controlled by the CameraManipulator. Robert Osfield 2012-07-09 17:32:13 +00:00
  • f784884fd1 Refactored the way that the static Scene cache is managed by moving all the functionality into a SceneSingleton Robert Osfield 2012-06-25 16:31:36 +00:00
  • a821a1cbbc Restructed the way that the global notify variables are initialized to avoid problems with multi-threaded initialization of these variables. Robert Osfield 2012-06-22 16:21:08 +00:00
  • fc4aeac75b Fixed spelling of FileNameComparator Robert Osfield 2012-06-16 09:08:05 +00:00
  • 59133b43d3 Moved the frame() event into the event traversal after then events and their state have been accumulated. Robert Osfield 2012-06-15 09:04:32 +00:00
  • 1dc215a1da Added FileNameComparator to sort the filenames in an ImageSequence into alphanumerical order so that it can handle the numerical ordering found in screenshot numbered sets of files Robert Osfield 2012-06-12 20:15:58 +00:00
  • 4ab8cdb746 Enabled 6 ImageThreads in the ImagePager Robert Osfield 2012-06-12 18:29:03 +00:00
  • c1a3ab2a5b Commented out the disabling of use of PBO's in ImageStream, and disabled the use ClientStoreHint in Present3D. Robert Osfield 2012-06-12 10:31:50 +00:00
  • 2faeaf553b Added support for setting the <image> paging_mode property to PRE_LOAD_ALL_IMAGES, PAGE_AND_RETAIN_IMAGES or PAGE_AND_DICARD_IMAGE for osg::ImageStream, with PAGE_AND_DICARD_IMAGE set as the default. Robert Osfield 2012-06-11 19:54:07 +00:00
  • c39ee015d6 Added ImageStream support to <image> and <stereo_image> tags in .p3d Robert Osfield 2012-06-08 10:26:23 +00:00
  • 5d3cb4f754 Added osg::ImageSequence support into osgPresentation::SlideShowConstructor and the associated <image> tag in .p3d. Robert Osfield 2012-06-08 04:18:28 +00:00
  • 4d86f8dc79 Added --fps support Robert Osfield 2012-06-07 10:08:42 +00:00
  • 9282a367e9 Added typdef for Win32 Robert Osfield 2012-05-31 14:45:24 +00:00
  • 2200ebfbe1 From Wang Rui, "A very small but maybe fatal problem was found when I saved models with shader and uniforms (with new double types support) to osgb format and tried to read it again. The application will crash here. And the serializer file should be slightly changed to fix it. Please replace the original file in osgWrappers/serializers/osg/Uniform.cpp." Robert Osfield 2012-05-25 16:07:11 +00:00
  • 1dbb0a7a82 Added Dragger::get/setActivationMouseButtonMask(uint). Robert Osfield 2012-05-25 15:32:51 +00:00
  • c21f1f488f From Jaap Glas, "Added a default parameter to the following constructor in TabPlaneDragger and TabPlaneDragger.cpp: Robert Osfield 2012-05-25 08:56:25 +00:00
  • a28907a67f From Jaap Gas, added missing break, and missing removeDraggerCallback. Robert Osfield 2012-05-24 18:15:44 +00:00
  • 759a889468 Removed -ftree-vectorize from OSX 10.7 build to avoid warning when building with clang. Robert Osfield 2012-05-21 09:12:13 +00:00