Robert Osfield
2648723c83
Cleaned up DXT1 support
2011-04-14 15:22:43 +00:00
Robert Osfield
5fb7f69108
Added IF (WIN32) around OSG_USE_UTF8_FILENAME
2011-04-14 15:21:53 +00:00
Robert Osfield
7c004aeebc
Added osgDB::Option string entries:
...
supportsOption("dds_dxt1_rgb","set the pixel format of DXT1 encoded images to be RGB");
supportsOption("dds_dxt1_rgba","set the pixel format of DXT1 encoded images to be RGBA");
supportsOption("dds_dxt1_detect_rgba","For DXT1 encode images set the pixel format according to presence of transparent pixels.");
And set the default not to modify and detect the RGB or RGBA pixel format for DXT images.
2011-04-14 10:44:37 +00:00
Robert Osfield
fc38d5b6e7
Added setting of the internal texture format
2011-04-14 09:16:09 +00:00
Robert Osfield
76445d07b0
quitened down debug output
2011-04-13 19:28:30 +00:00
Robert Osfield
b1692f1f31
Introduced new code for detecting DXT1 images catogoriesed as RGB that actually have a 1 bit alpha,
...
therefore re-interpreting these as RGBA.
2011-04-13 19:26:35 +00:00
Robert Osfield
b62f927eff
Added handling of DXT1 in osg::Image::isImageTranslucent()
2011-04-13 10:44:36 +00:00
Robert Osfield
e7e860b742
Added support for explitly requesting DXT1a and DXT1c compression
2011-04-11 19:11:25 +00:00
Robert Osfield
f0f31e4a8c
From Stephan Huber, "Attached you'll find a fixed
...
GraphicsWindowCocoa-implementation which should fix the reported bugs.
the osgkeyboard-example works now, but not the numbers of the keypad, as
they hilight only for KEY_KP_Left, KEY_KP_Right, KEY_KP_Up, KEY_KP_DOWN
etc and not for KEY_KP_0 - KEY_KP_9."
2011-04-04 10:16:46 +00:00
Robert Osfield
7d6bde2d01
Added OPENTHREADS_ATOMIC_USE_MUTEX Cmake options that allows you to override the default detection
...
of atomic implementatition, making it possible to force the use of Mutex for OpenThreads::Atomic,
and as a consequence for use of Mutex for Referenced::ref/unref() counting.
2011-03-31 14:57:18 +00:00
Robert Osfield
70dfd11531
From Tim Moore,
...
Fixes to race in DatabasePager where a parent PagedLOD
of newly loaded subgraph has been expired.
Clean up of visitor naming to make it clearer what role it has.
2011-03-30 15:15:07 +00:00
Robert Osfield
5625c0cd8b
Added m4v as a handled movie file extension
2011-03-23 14:01:58 +00:00
Robert Osfield
e9b211ad4e
Added dciimage library to DCMTK libs
2011-03-21 21:28:35 +00:00
Robert Osfield
f4110a7d84
Improved handling of RGB data.
2011-03-21 21:28:02 +00:00
Robert Osfield
11007a03ee
Added .get() to fix build
2011-03-19 16:25:01 +00:00
Robert Osfield
923b658e65
Adde an isFileADicom(..) method to enable the loader to automatically identifier dicom files without making any assumptions about the file extension
2011-03-18 12:21:58 +00:00
Robert Osfield
aeb0d60b72
Added extra DCMTK libraries to search and link line to enable build against new DCMTK-3.6.0 release
2011-03-18 11:23:39 +00:00
Robert Osfield
6b67320190
Added support for new SampleDensityWhenMovingProperty into .p3d format, with it default to 0.02.
...
One can override this value via the sampleDensityWhenMoving="value" property in the volume tag, i.e.
<volume sampleDensityWhenMoving="0.01">CardiacCT</volume>
To switch the feature off set the value to 0, i.e.
<volume sampleDensityWhenMoving="0">CardiacCT</volume>
2011-03-17 17:33:02 +00:00
Robert Osfield
89eadcfe82
Added SampleDensityWhenMovingProperty to control LOD property of osgVolume.
2011-03-17 15:37:39 +00:00
Robert Osfield
79cb22eb06
Changed the view movement detection code so that it uses the
...
new CullVisitor::Identifier to indentifier cull traversals,
this enables the code to properly detect movement when
osgViewer::Renderer uses double buffering of SceneView.
2011-03-17 13:56:27 +00:00
Robert Osfield
6e182e7c17
Added set up of CulLVisitor::Identifier so that the double buffered SceneView/CullVisitor
...
share the same Identifier.
2011-03-17 13:54:54 +00:00
Robert Osfield
e28f9a7d32
Added CullVisitor::Identifier to help with cull operations that require a consistent identifier for
...
cull traveresals when osgViewer::Renderer uses double buffering.
2011-03-17 13:54:14 +00:00
Robert Osfield
307bf7002f
First cut at LOD support in RayTracedTechnique, which lowers the number of samples taken when the view of the volume is changing.
2011-03-17 11:49:22 +00:00
Robert Osfield
127b103edd
From Torben Dannhauer, "adds an additional library name of libpng ( libpng15 ) to search fo"
2011-03-16 13:48:09 +00:00
Robert Osfield
db4b31f804
From Alan Dickinson,"I tested out my changes against the trunk and everything worked fine... except I noticed that the CMAKE_BUILD_POSTFIX is set incorrectly for a undefined or blank BUILD_TYPE.
...
So here is the one line change to the CMakeLists.txt to rectify this omission."
2011-03-16 13:41:39 +00:00
Robert Osfield
256da4879e
Added hud and billboard support to image, stereo_image, pdf, browser and vnc image placement
2011-03-16 10:51:42 +00:00
Robert Osfield
f2ce2f19a9
Added support hud property for title, bullets and paragraph tags
2011-03-15 19:54:57 +00:00
Robert Osfield
bdd4a67d7c
From Sukender, "Fixed a case where getUniqueName() does not work properly"
2011-03-15 14:04:50 +00:00
Robert Osfield
236e773fc5
From Torben Dannhauer, update to reflect addition of NVTT to Windows 3rdPartyPackage
2011-03-15 14:02:39 +00:00
Robert Osfield
39b8aa45bc
Added checked against GL version number for enabled _isTexture3DSupported.
2011-03-15 13:53:59 +00:00
Robert Osfield
f8f6a9fedf
Fixed warning
2011-03-15 13:40:13 +00:00
Robert Osfield
31926f3329
Added OSG_EXPORT to declaration of View::Slave.
2011-03-15 13:30:27 +00:00
Robert Osfield
0870d4c997
Re-enabled the fallback compute of bounding volume.
2011-03-15 12:48:40 +00:00
Robert Osfield
fbc8c9ffce
Fixed updating of text position when PositionData.position is not modified by tag but other elements of PositionData are - such as when billboarding
2011-03-15 12:26:16 +00:00
Robert Osfield
52ff51e0eb
Implemented billboard="on" option for image, bullet and paragraph tags
2011-03-14 21:36:32 +00:00
Robert Osfield
74cf1168e0
Added support for placing comments at end of each line.
2011-03-14 11:29:08 +00:00
Robert Osfield
7cd74f0282
From 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.
...
"
2011-03-14 10:07:15 +00:00
Robert Osfield
76dea3d0f4
From Torben Dannhauer, warning fix for a false positive warning generated by VS about "not all control pathes return a value".
2011-03-14 09:59:32 +00:00
Robert Osfield
f7718d2b7b
From Farshid Lashkari, removal of redundent spaces at the end of lines.
2011-03-11 17:20:24 +00:00
Robert Osfield
50366ccb91
From 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)."
2011-03-11 16:31:01 +00:00
Robert Osfield
9da669cbd8
From Sukender, "Added support for texcoords scale and offset (UV scaling and offset in Lib3DS Materials), for texture unit 0."
2011-03-11 11:25:19 +00:00
Robert Osfield
a81b2341c6
Fixed the case insenstive search under unices
2011-03-11 11:20:30 +00:00
Robert Osfield
339fe794b0
From 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)"
2011-03-11 10:24:12 +00:00
Robert Osfield
d33d8c5626
From Alan Dickinson, "I modified the CPack and CMake files to utilze the CMAKE_INSTALL_PREFIX when building RPM packages.
...
I also modified the CMake and pkgconfig files to append the _POSTFIX extenstion based on the CMAKE_BUILD_TYPE.
Additionally I fixed packaging/ld.so.conf.d/openscenegraph.conf.in to add a '/' betweeen the arguments since the CMAKE_INSTALL_PREFIX can't end with a '/'.
"
2011-03-11 10:18:43 +00:00
Robert Osfield
6055e3492a
From 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).
...
"
2011-03-10 14:53:39 +00:00
Robert Osfield
42d893c426
From 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."
2011-03-10 14:44:49 +00:00
Robert Osfield
52ac446458
From Rafa Gaitan, "Attached the fix to remove the symlinks created with make install."
2011-03-10 10:56:12 +00:00
Robert Osfield
78a2096247
From 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."
2011-03-10 10:52:47 +00:00
Robert Osfield
fe149c583a
Quitened down timing stats
2011-03-09 17:35:30 +00:00
Robert Osfield
6c9733f96a
From Johannes Baeuerle, fix for memory leak
2011-03-09 16:30:48 +00:00