f8f6a9fedfFixed warning
Robert Osfield
2011-03-15 13:40:13 +00:00
31926f3329Added OSG_EXPORT to declaration of View::Slave.
Robert Osfield
2011-03-15 13:30:27 +00:00
0870d4c997Re-enabled the fallback compute of bounding volume.
Robert Osfield
2011-03-15 12:48:40 +00:00
fbc8c9ffceFixed updating of text position when PositionData.position is not modified by tag but other elements of PositionData are - such as when billboarding
Robert Osfield
2011-03-15 12:26:16 +00:00
52ff51e0ebImplemented billboard="on" option for image, bullet and paragraph tags
Robert Osfield
2011-03-14 21:36:32 +00:00
74cf1168e0Added support for placing comments at end of each line.
Robert Osfield
2011-03-14 11:29:08 +00:00
7cd74f0282From Farshid Lashkari, "Another update. I added a LIMIT_NEAREST enum which implements your previous suggestion of rejecting bounding volumes further from the nearest existing intersection. I only implemented this for LineSegmentIntersector. I'd appreciate it if you could double check the math I added to LineSegmentIntersector::intersects() for checking if the bounding sphere is further away. The results of this are promising. I'm getting noticeable performance increase for line intersections with scenes containing many drawables. "
Robert Osfield
2011-03-14 10:07:15 +00:00
76dea3d0f4From Torben Dannhauer, warning fix for a false positive warning generated by VS about "not all control pathes return a value".
Robert Osfield
2011-03-14 09:59:32 +00:00
f7718d2b7bFrom Farshid Lashkari, removal of redundent spaces at the end of lines.
Robert Osfield
2011-03-11 17:20:24 +00:00
50366ccb91From Benjamin Wasty and David Guthrie, "currently, non-alpha-numeric keys are not recognized (except as modifiers) in osgQt, so I added the mapping code from my Qt integration to GraphicsWindowQt (which is based on Delta3D code from David Guthrie - he gave me permission to submit it under OSGPL)."
Robert Osfield
2011-03-11 16:31:01 +00:00
9da669cbd8From Sukender, "Added support for texcoords scale and offset (UV scaling and offset in Lib3DS Materials), for texture unit 0."
Robert Osfield
2011-03-11 11:25:19 +00:00
a81b2341c6Fixed the case insenstive search under unices
Robert Osfield
2011-03-11 11:20:30 +00:00
339fe794b0From Mourad Boufarguine, "There is a redundant cmake code at the end of osgViewer cmake script. The install command is issued in SETUP_LIBRARY macro." "I spotted this when i tried a make install on the android port :) I saw some weird copy commands of osgViewer headers. I managed to get all osg headers copied to cmake_install_prefix/include upon make install, but i can't (yet) get the libraries to be copied to cmake_install_prefix/lib (see attached files)"
Robert Osfield
2011-03-11 10:24:12 +00:00
d33d8c5626From Alan Dickinson, "I modified the CPack and CMake files to utilze the CMAKE_INSTALL_PREFIX when building RPM packages.
Robert Osfield
2011-03-11 10:18:43 +00:00
6055e3492aFrom Mourad Boufarguine, "I gave osg android port a try on Windows using cygwin, and it worked like a charm (only a tiny problem with osgViewer, when cross compiling for android using cygwin, the windows path in osgViewer/CMakeLists.txt is used rather than the android one, fix attached). "
Robert Osfield
2011-03-10 14:53:39 +00:00
42d893c426From Mourad Boufarguine, "I gave projects folders in VS a try, it works for applications, plugins and examples but not for the osg core libraries. Attached OsgMacroUtils.cmake is a tiny fix for this. OpenThreads is addressed seperately."
Robert Osfield
2011-03-10 14:44:49 +00:00
52ac446458From Rafa Gaitan, "Attached the fix to remove the symlinks created with make install."
Robert Osfield
2011-03-10 10:56:12 +00:00
78a2096247From Michael Platings, "I'm guessing that the stack corruption was caused by calling GetFullPathNameW with the nBufferLength argument as the number of bytes in the buffer, rather than the number of characters. I've attached code that uses GetFullPathNameW et al. with _countof() rather than sizeof() and this works fine."
Robert Osfield
2011-03-10 10:52:47 +00:00
fe149c583aQuitened down timing stats
Robert Osfield
2011-03-09 17:35:30 +00:00
6c9733f96aFrom Johannes Baeuerle, fix for memory leak
Robert Osfield
2011-03-09 16:30:48 +00:00
8995824aa4From Jan Peciva, "please, find attached updates to Inventor plugin:
Robert Osfield
2011-03-09 15:55:35 +00:00
7640e9535dFrom Sukender, "1. Made code a bit more readable/cleaner. 2. Removed unecessary code. Also made sure the images names are not truncated in the middle of an UTF8 character. You'll find there a function called utf8TruncateBytes(), which may be moved in core OSG (osgDB/ConvertUTF I guess). Feel free to do it if you feel it that way. "
Robert Osfield
2011-03-09 14:44:14 +00:00
d3d0859b4cFrom Piotr Gwiazdowski, "So there's config setting OSG_DISABLE_MSVC_WARNINGS which should disable pragmas that turn off specific warnings for MSVC. Unfortunately it's presence is only checked in osg/Export header, making other Export headers disable warnings no matter what, which is kind of incoherent.
Robert Osfield
2011-03-09 14:15:04 +00:00
b91741b421From Eric Sokolowsky, "I have updated the pnm plugin to use streams instead of C-style I/O. Attached is src/osgPlugins/pnm/ReaderWriterPNM.cpp"
Robert Osfield
2011-03-09 13:10:38 +00:00
3034ef3473From Tassilo Glander,"I patched the cmake configuration to support folders, which are really handy to organize the many projects in the OSG solution into examples, applications and core libs in the IDE. This feature has been introduced to cmake in 2.8.3, on older versions it should be ignored silently. I tested on Visual Studio 2008 with cmake 2.8.3 and 2.8.4.
Robert Osfield
2011-03-09 13:05:59 +00:00
8c7068fdb6From Piotr Gwiazdowski, "Recently I've been having some trouble with osgWidget::StyleManager (I'll omit osgWidget namespace from now on). It seems to me that there are some inconsistency in the code. In Style there are multiple applyStyle method overloads, applying style for different widgets/windows built-in in osgWidget. Plus you can do overrides. It's good so far.
Robert Osfield
2011-03-09 12:29:14 +00:00
eff5fdbe40Removed the repeated called to jas_init() and jas_image_clearfmts() calls to make it possible to use the reading multi-threaded
Robert Osfield
2011-03-09 12:15:39 +00:00
53b8c12813From Dietmar Funck, "I've noticed an issue with osgUtil::RenderStage::runCameraSetUp() if the number of buffer attachments of the camera decreases according to privous calls. This happens because RenderStage::_bufferAttachmentMap is updated only for the number of buffers the camera has when runCameraSetUp is called. For example if there were 4 attachments and now only 3, only the first three elements of _bufferAttachmentMap are changed. The fourth is just as before - however it shouldn't be there.
Robert Osfield
2011-03-09 11:22:20 +00:00
03886147adFrom Cedric Pinson, "I have just adjusted the FindCOLLADA function to let it find library on gnu/linux."
Robert Osfield
2011-03-09 11:15:10 +00:00
651a7845fcFrom Sukender, "I fixed the writing but never thought about the reading part... Here is the fix for reading path containing %23 (= '#') characters."
Robert Osfield
2011-03-09 11:13:12 +00:00
5447e70b68Updated versions for next OSG dev release
Robert Osfield
2011-03-09 11:06:36 +00:00
17f1f432f4Changed the use of a viewer thread to be off by default because it was causing the application to crash when any users input was recieved
Robert Osfield
2011-03-09 10:35:00 +00:00
3421cbbba1Fixed error in X11 string name
Robert Osfield
2011-03-08 17:05:29 +00:00
b24353b12cFrom Rafa Gaitan and Jorge Izquierdo, build support for Android NDK.
Robert Osfield
2011-03-08 16:35:37 +00:00
99aeca003bFixed indentation
Robert Osfield
2011-03-08 15:31:49 +00:00
42b709a9f4From Rafa Gaitan, "I have added the macro SETUP_LIBRARY, similar to SETUP_PLUGIN or SETUP_EXE, in order to have a unique entry point to build the libraries. With this changes the android integration will be less painful (currently is a big IF(ANDROID) for each CMakeLists.txt) and more maintainable in the future. I hope next submissions will be for supporting android from my colleague Jorge. "
Robert Osfield
2011-03-08 13:51:13 +00:00
91b35436acAdded comments
Robert Osfield
2011-03-07 14:42:47 +00:00
4f44dc2b5eChanged all .c++ to .cpp's
Robert Osfield
2011-03-07 13:45:58 +00:00
62459a441cAdded --color r g b a, --wall-color r g b a, --back-color r g b a options for setting the colours of faces via materials. and --image filename, --wall-image filename, --back-image filename options to set the textures used, note, texcoords are not currently set up so texels used will be 0,0.
Robert Osfield
2011-03-07 12:35:30 +00:00
215fca84f7Enabled the settng/getting of the Text3D's WallStateSet and BackStateSet along with use of these in the rendering implementation to allow separate colour and other state to be assigned to the front, wall and back faces.
Robert Osfield
2011-03-07 12:33:11 +00:00
afecdbb46bMoved intial cut of depth partition support into osgViewer::View via two new methods:
Robert Osfield
2011-03-03 15:52:19 +00:00
be31cdb328Introduced a new more generic function for settings up the depth partitioning of viewer cameras.
Robert Osfield
2011-03-03 12:33:57 +00:00
832a779d63Build fix
Robert Osfield
2011-03-02 16:40:36 +00:00
ae51ac8bfbMade parameter a little easier to adjust and commented out verbose debug info
Robert Osfield
2011-03-02 16:24:07 +00:00
3d8cf5695dImplemented first cut of more flexible depth partitioning code.
Robert Osfield
2011-03-02 16:09:50 +00:00
388836f2b6Fixed typo
Robert Osfield
2011-03-01 16:21:38 +00:00
eaca6f9e09Added support for passing the --depth-partition distance, throw to the depth partition slave camera setup.
Robert Osfield
2011-03-01 15:04:56 +00:00
a471d8ac30Added experiment depth partioning support in the form of an slave camera configuration.
Robert Osfield
2011-03-01 14:50:25 +00:00
1525f3cd4eAdded support for an View::Slave::UpdateSlaveCallback
Robert Osfield
2011-03-01 14:48:48 +00:00
454e2df32bFixed handling of write and reading of straight Node objects in the scene graph.
Robert Osfield
2011-02-26 16:04:34 +00:00
d88a6af8c1Changed the handling of unkown nodes on write so that the code now ignores the non supported nodes allows the overall write to continue.
Robert Osfield
2011-02-26 15:52:51 +00:00
a7fd352b40Removed TrapezoidalShadowMap due to discovery of patent on algorithm.
Robert Osfield
2011-02-24 11:54:44 +00:00
56a8dc7c92Cedric Pinson: Fix divide by zero when Action has 0 frames, and add a warning message because it means something wrong on input data
Cedric Pinson
2011-02-23 22:52:01 +00:00
edacb776e8Fixed typo
Robert Osfield
2011-02-23 16:49:38 +00:00
a25c4e4ab2From Wojciech Lewandowski, intial cut at new TrapezoidalShadowMap ShadowTechnique
Robert Osfield
2011-02-23 16:46:34 +00:00
9cfb248b46From Wojciech Lewandowski, various tweaks to osgShadow shadow mapping classes to improve consistency and enable more debug info output
Robert Osfield
2011-02-23 16:45:44 +00:00
c45717fef0Inverted the orientation of the 't' transparency control so that it's full on at the bottom of the screen, and full transparent at the bottom.
Robert Osfield
2011-02-23 14:09:29 +00:00
939522a214Added support for negative --xMultipler, --yMultiple and --zMultiplier values
Robert Osfield
2011-02-23 13:56:41 +00:00
218f30b831Added support for positive values of --xMultiple <float> --yMultiplier <float> and --zMultiplier <float>
Robert Osfield
2011-02-23 12:48:17 +00:00
a727b74926Changed the default number of components for a RGB to 4 so it appears as an RGBA
Robert Osfield
2011-02-23 12:13:43 +00:00
2981a52b05Added error reporting for old options
Robert Osfield
2011-02-23 11:43:30 +00:00
d24647c582Added -n option
Robert Osfield
2011-02-23 11:28:43 +00:00
e489c7b1bfAdded extra check for GL_BGR and GL_BGRA formats and messages describing image format loaded
Robert Osfield
2011-02-23 10:37:51 +00:00
d73f37e841Added test code to explore problems with LightSpacePerspectiveShadowMap implementation handling of different datasets and camera settings.
Robert Osfield
2011-02-22 14:21:34 +00:00
7792f1ce5bAdded support for GL_BGR and GL_BGRA pixel formats
Robert Osfield
2011-02-22 11:59:51 +00:00
bff1ada14bChanged the handling of erroneous dicom files so that the loading of a directory of dicom files is not abondonded when one or more erroneous files are encountered.
Robert Osfield
2011-02-22 10:53:58 +00:00
66ccbf42deAdded computePositions() call to Text3D::resizeGLObjectsBuffers(uint)
Robert Osfield
2011-02-21 12:29:13 +00:00
cdb0f277a4Added missing Terrain.h reference
Robert Osfield
2011-02-21 10:02:53 +00:00
3d2cb2f713Fixed build of various LiSPSM algorithms
Robert Osfield
2011-02-20 09:57:07 +00:00
323cdab7b8Added --fov and --light-pos and --light-dir command line parameters
Robert Osfield
2011-02-20 09:55:20 +00:00
caa9ef591eDisabled the RGB components of the opacity texture
Michael PLATINGS
2011-02-18 11:04:01 +00:00
83954e3f52From Philipp Svehla, "We’ve added support for users to override the default values for child elements in asset tags (for the collada writer). This support was added for the following child elements:
Robert Osfield
2011-02-14 16:24:12 +00:00
059a7c052dFrom Tim Moore, "This patch fixes some performance problems with the DXF loader. It removes some unnecessary copies of vertex coordinates (which were causing an exponential explosion). It also replaces BIND_PER_PRIMITIVE normals with BIND_PER_VERTEX so that the resulting geometry will be on the fast path."
Robert Osfield
2011-02-14 16:09:51 +00:00
98b1f15a45Added copyop parameter to cloneOptions() method
Robert Osfield
2011-02-14 16:05:33 +00:00
37cc59fe07From Tim Moore, "The non-virtual cloneOptions() method, which is now used by DatabasePager, breaks derived classes of osgDB::Options. This patch uses the clone() method to clone Options."
Robert Osfield
2011-02-14 15:59:49 +00:00
ad165145deFrom Sukender, "Here is an minor update for Jasper finder. It adds debug cache value for Windows/MSVC builds, and adds search paths."
Robert Osfield
2011-02-14 15:43:41 +00:00
c7bf98cca9From Jan Peciva, "Improvements: - Use OSG routines to load images instead of simage library (removes dependency on 3rdParty simage library). Applies to Coin Inventor clone only. "
Robert Osfield
2011-02-14 15:04:40 +00:00
6f09acace9Moved ProgramBinary into osg::Program scope
Robert Osfield
2011-02-14 15:01:56 +00:00
3128c8063eFrom Sukender, "Here are two sumbissions for DAE.
Robert Osfield
2011-02-14 14:16:58 +00:00
b5a14f8d68From Johannes Bauerle, "I experienced problems using binary shaders in osgt files (=the osg-serializer plugins). At runtime std::bad_alloc errors were thrown when using binary shaders.
Robert Osfield
2011-02-14 13:54:15 +00:00
54afbb9ff8From Jahannes Bauerle, "l discovered that the shader class(/src/osg/Shader.cpp) shows wrong behavior when using binary shaders . When shader objects are compared the reference pointer behind the _shaderBinary member is not included in the comparison.
Robert Osfield
2011-02-14 13:50:14 +00:00
aca9c9c848Set debug message to INFO
Robert Osfield
2011-02-14 12:55:44 +00:00
1d55efb721From Michael Platings, I've added initial support to osg for glGetProgramBinary and glProgramBinary. This means that shader programs can now be cached to disk and later reloaded, which is much faster than linking shaders from source code. This should mean significantly shorter load times for people who use lots of combinations of shaders.
Robert Osfield
2011-02-14 12:54:21 +00:00
597f978128Fixed typo
Robert Osfield
2011-02-14 12:14:36 +00:00
df0fdadb59From Jean-Sebastien Guay, event handler for controlling the field of view of the viewer's camera using 0, - and = keys.
Robert Osfield
2011-02-11 12:11:17 +00:00
01fb3cbf45Update ChangeLog
Robert Osfield
2011-02-11 11:08:00 +00:00
e3225a2c4bAdded check against the NodePath being empty.
Robert Osfield
2011-02-11 09:18:36 +00:00
a55c3be960Tweak to output details
Robert Osfield
2011-02-10 14:24:39 +00:00
061fe506f9Updated AUTHORS and Contributors.cpp files
Robert Osfield
2011-02-10 14:09:04 +00:00
310a28dbeeFrom Martin von Gagern, build fix for latest ffmpeg changes
Robert Osfield
2011-02-10 12:23:18 +00:00
bd13580ff5Added const
Robert Osfield
2011-02-08 14:36:15 +00:00
4b4754c3cfImplementated experimental reuse of PBO's after download
Robert Osfield
2011-02-07 14:19:58 +00:00
e0924886bdAdded support for enabling the assignment of PixelBufferObjects to loaded Images to aid the download of images to the GPU. Feature can be enabled/disabled (default) by setting the env :
Robert Osfield
2011-02-04 12:43:00 +00:00
d218a8c9a7Added support for getting the current screen refresh rate using the XrandR extension.
Robert Osfield
2011-02-04 10:27:05 +00:00
bd6009f9f2Refactored NodeTrackerManipulator to use osg::ObserverNodePath rather than it's only local equivilant.
Robert Osfield
2011-02-03 17:07:01 +00:00
7ec37ae029Added call to GraphicsCostEstimator::calibrate.
Robert Osfield
2011-02-03 14:27:50 +00:00
6496e35421Moved GraphicsCostEstimator ref pointer into osg::State
Robert Osfield
2011-02-03 12:42:23 +00:00
88ce98b47dMoved GraphicsCostEstimator from osgUtil into core OSG library
Robert Osfield
2011-02-03 12:22:09 +00:00
bcda8e4671From Jean-Sebastien Guay, build fix
Robert Osfield
2011-02-02 17:23:12 +00:00
dcf3187745Updated information about the FBX SDK version
Michael PLATINGS
2011-02-02 16:44:21 +00:00