Robert Osfield
de19fb3737
From Ralf Kern, "the attached color mapped TIFF file klink1_l.tif is incorrectly read as
...
GL_LUMINANCE data instead of GL_RGB data. You can easily check with
"osgViewer --image klink1_l.tif".
The bug is in ReaderWriterTIFF.cpp function simage_tiff_load, where
numComponents_ret is incorrectly set to 1 instead of 3 for color mapped
data."
2007-09-03 10:12:26 +00:00
Robert Osfield
027158b441
From Laurens Voerman, "I hit a bug when making a copy of a PagedLOD node, the copy has lost
...
it's _databasePath and can no longer load it's childen. "
Added _databasePath(plod._databasePath), in the copy copy construcutor.
2007-09-03 09:56:30 +00:00
Robert Osfield
d730559ade
Fixed spacing.
2007-09-03 09:54:24 +00:00
Robert Osfield
c83bc830cd
From Sherman Wilcox, "I modified texturerectangle.cpp to address this issue. I used a DXT5 DDS
...
file to test the change."
2007-09-03 09:50:50 +00:00
Robert Osfield
408eceac24
Updated wrapper
2007-09-03 09:47:43 +00:00
Robert Osfield
a97afbb009
Added convinience methods for setting up 3d spherical displays.
2007-09-01 16:56:53 +00:00
Robert Osfield
3304646c4c
Changed Font's mutex to become a static mutex shared between all instances of Font.
...
This ensures single threaded access of the freetype plugin.
2007-09-01 15:24:22 +00:00
Robert Osfield
13faad13e8
Changed mutex reference to a mutex pointer to avoid problems with wrappers
2007-08-31 20:30:45 +00:00
Robert Osfield
76063a94bd
Updated wrappers
2007-08-31 20:21:45 +00:00
Robert Osfield
5ae1eb711a
To solve creations with multi-threaded creation of text, added mutex to Font, and use of this mutex in Text, and added mutex to the reading
...
of fonts.
2007-08-31 20:16:02 +00:00
Robert Osfield
86e998f64c
Added mutex locking add addParents/removeParents in Drawable, Node and StateSet.
2007-08-31 20:14:36 +00:00
Robert Osfield
1bc6d0bae4
Added mutex to protect the readFontFile calls
2007-08-31 18:56:22 +00:00
Robert Osfield
4ba3f3c1a1
Changed RenderLeaf and StateGraph so that they use ref_ptr<> by default for Drawable and StateSet.
2007-08-31 16:05:24 +00:00
Robert Osfield
99f6865d4d
From Luigi Calori, fixed Windows install of wrappers
2007-08-31 15:49:17 +00:00
Robert Osfield
817f316e2a
From Luigi Calori, added support for Win32 versioning/new buid placement.
2007-08-31 11:04:06 +00:00
Robert Osfield
f4d2d1241d
Further work on osgTerrain::Locator and GDAL plugin
2007-08-30 19:26:52 +00:00
Robert Osfield
b0f21e9a39
From Luigi Calori, add osgText to geo plugin build
2007-08-30 12:18:45 +00:00
Robert Osfield
4328bdacc2
From Luigi Calori, introduction of versioning of dll's and placement of dll and plugins into bin directory during build.
2007-08-30 10:41:15 +00:00
Robert Osfield
712dbacda3
Updated wrappers
2007-08-30 10:17:34 +00:00
Robert Osfield
667be8bb57
Further refinement of ProxyLayer API
2007-08-30 10:15:35 +00:00
Robert Osfield
9a9ffbe229
Further work on new ProxyLayer
2007-08-29 16:29:05 +00:00
Robert Osfield
2f895b839e
Added ProxyLayer support into osgTerrain plugin
2007-08-29 12:18:41 +00:00
Robert Osfield
63c283ad03
Added support for post fixing filenames with .gdal to force use of gdal plugin.
2007-08-29 11:51:22 +00:00
Robert Osfield
71e7a65cca
Added preliminary ProxLayer and DataSetLayer in GDAL plugin to aid integration
...
of GDAL reading into osgTerrain.
2007-08-29 10:52:03 +00:00
Robert Osfield
f6650dd3bf
Changed the error code reporting to use hex to match up with freetype headers
2007-08-28 16:12:10 +00:00
Robert Osfield
a98daccd03
Improved formatting.
2007-08-28 15:35:24 +00:00
Robert Osfield
bf8f2eec85
Removed the OSG_INCLUDE
2007-08-28 15:35:09 +00:00
Robert Osfield
5b1b648ef5
Replaced CartesianLocator and EllipsoidLocator by a single general purpose
...
Locator class
2007-08-27 16:59:51 +00:00
Robert Osfield
020d7a5651
Added support for controlling the draw order on Cameras on each GraphcisContext
...
via the Camera::setRenderOrder parameters
2007-08-27 13:29:09 +00:00
Robert Osfield
5ce34fd7f3
Cleaned up the getRotate implementation selection using #defines, and made the
...
COMPILE_getRotate_David_Spillings_Mk1 the default.
2007-08-27 10:00:09 +00:00
Robert Osfield
cb5fb828d0
From Jan Ciger, warning fixes
2007-08-26 10:27:31 +00:00
Robert Osfield
06a0ca8d06
From Jean-Sebastien Guay, fixed comment
2007-08-26 10:24:18 +00:00
Robert Osfield
8a4db98e2b
Change char* to const char* to fix warnings
2007-08-26 09:59:39 +00:00
Robert Osfield
b2d131c143
Updated wrappers, and change Renderer so that private: to proteccted:.
2007-08-26 09:46:49 +00:00
Robert Osfield
f9ab446512
Changed debug comments to output to notify level and tweaked the handling of the .terrain file.
2007-08-24 19:16:35 +00:00
Robert Osfield
09f63eebbb
Added support for reading a .osg style data from a file string when trailed by a .osgs extension i.e.
...
osgviewer "osgTerrain::Terrain { ElevationLayer { CartesianLocator 0 0 1000000 1000000 Image ps_height_512.tif } ColorLayer { CartesianLocator 0 0 1000000 1000000 Image ps_texture_1k.tif } }".osgs
2007-08-24 19:16:02 +00:00
Robert Osfield
b0bede80c5
Added writing out of Terrain, Layer and Locators, and reading in of .terrain string.
2007-08-24 18:48:26 +00:00
Robert Osfield
a981202953
Set the debug out to info notification level
2007-08-24 16:16:08 +00:00
Robert Osfield
1273c814d1
Added better handling of OSG_TEXT_INCREMENTAL_SUBLOADING env var.
2007-08-24 16:12:22 +00:00
Robert Osfield
9489eef1cf
Added default disabling of incremental subload for ATI cards.
2007-08-24 16:10:43 +00:00
Robert Osfield
056a9bc491
Added support for setting DatabasePager thread priority via OSG_DATABASE_PAGER_PRIORITY.
2007-08-24 14:00:44 +00:00
Robert Osfield
54202aae0d
Cleaned up the thread priority management in DatabasePager and added
...
support for paging stats.
2007-08-24 13:33:35 +00:00
Robert Osfield
cc6ac2704e
Added setting of block into the ThreadSafeQueue's contructor.
2007-08-24 10:58:08 +00:00
Robert Osfield
9a73a3f461
Made plugin build names lowercase
2007-08-23 16:56:06 +00:00
Robert Osfield
85ef819827
Changed the plugin name to openflight instead of OpenFlight to avoid problems
...
with osgDB looking for just lower case plugin names
2007-08-23 16:33:39 +00:00
Robert Osfield
a3ce9f680a
From Stephan Huber, fix for crash on exit
2007-08-23 14:35:04 +00:00
Robert Osfield
6827104532
From Galen Faidley," Please find attached the modifications to get the new checkerboard
...
stereo format to work. It's a good thing I tested these on a TV
before submitting them since I did indeed have a bug. One thing I
did not test was to see how this would work in windowed mode. Does
the interlaced stereo code have support for 'absolute' positions?
For example a given pixel on the screen is always shown in a given
eye no matter where the graphics context is placed?
"
2007-08-23 14:31:23 +00:00
Robert Osfield
616f64cf2c
From Jean-Sebastien Guay,"As discussed yesterday on the osg-users list, I have altered
...
src/osgDB/FileUtils.cpp to implement the official Windows DLL search
order as described on the page
http://msdn2.microsoft.com/en-us/library/ms682586.aspx . As mentioned,
the search order is now:
1. The directory from which the application loaded.
2. The system directory. (C:\Windows\System32 by default, gotten using the
GetSystemDirectory function)
3. The 16-bit system directory. (C:\Windows\System by default, gotten by
adding "\System" to the path gotten in the next step...)
4. The Windows directory. (C:\Windows by default, gotten using the
GetWindowsDirectory function)
5. The current directory. (".")
6. The directories that are listed in the PATH environment variable. (as
before)
The first four directories are obtained using Win32 API calls, so they
should work correctly even on non-standard Windows installs.
The changes are well commented and should be clear, even to someone
not familiar with the Win32 API.
I have tested in a few scenarios and it works as expected. Serge Lages
has also tested the changes and confirmed they worked as described. I
have not had any other reports though (positive or negative).
I also fixed the issue with a trailing semicolon on the PATH adding an
empty string to the end of the search paths, as this was an
inconsistent side effect rather than a desirable effect. This change
will take effect on other platforms as well, but since it tests for an
empty string in the last item added to the search paths, it should
have no adverse effect.
"
2007-08-23 14:10:31 +00:00
Robert Osfield
a86c3dd314
Updated wrappers
2007-08-23 11:06:16 +00:00
Robert Osfield
f8ac71d7e5
Addd control for serializing draw dispatch.
2007-08-23 11:00:12 +00:00