Robert Osfield
dbf1e05a71
UPdated wrappers
2006-07-19 19:49:28 +00:00
Robert Osfield
4591c68d95
Fixed error in enum, completely perplexed how the error got in...
2006-07-19 19:45:32 +00:00
Robert Osfield
6191c7358d
Reverted to LODScale keyboard adjustment
2006-07-19 15:20:47 +00:00
Robert Osfield
e1f4026cf5
Warning fixes
2006-07-19 15:10:50 +00:00
Robert Osfield
782d72484a
Warning fix
2006-07-19 15:07:00 +00:00
Robert Osfield
377c5710fe
Added extra initializes
2006-07-19 14:46:40 +00:00
Robert Osfield
a95b7fbfae
Added dummy initializers to avoid warning
2006-07-19 14:30:30 +00:00
Robert Osfield
11e22579d6
Added reset of the event windowSize
2006-07-19 14:04:16 +00:00
Robert Osfield
f67d10ba0c
Moved sync to before the keyboard mouse startThread to try to avoid some
...
threading issue on start up of some apps.
2006-07-19 12:35:33 +00:00
Robert Osfield
61b971ddea
Fixed handling of back colour.
2006-07-19 11:25:26 +00:00
Robert Osfield
5fb3469f77
Changed code creating LightPoint on heap to use the stack.
2006-07-19 08:39:44 +00:00
Robert Osfield
882a909df8
Updated wrappers
2006-07-18 20:53:16 +00:00
Robert Osfield
1efa9a01d7
Updated wrappers
2006-07-18 20:51:28 +00:00
Robert Osfield
dfbc9d0441
Moved the moveToRootStateGraph(,) from RenderStage::drawImplemenation() to RenderBin::drawImplementation();
2006-07-18 20:17:31 +00:00
Robert Osfield
97dde14dcf
From Eric Wing, fix for VC6 support
2006-07-18 19:26:54 +00:00
Robert Osfield
f1c2694c17
Updated copyright years.
2006-07-18 15:21:48 +00:00
Robert Osfield
9790d15f30
Reduced the verbosity of debug info.
2006-07-18 13:04:57 +00:00
Robert Osfield
5b10db3724
Updated wrappers
2006-07-18 12:48:48 +00:00
Robert Osfield
419e185895
From Eric Wing, add alternate backdrop implementations.
...
From Robert Osfield, updated naming and copy constructor methods.
2006-07-18 12:24:04 +00:00
Robert Osfield
f2d50d943b
Updated wrappers
2006-07-18 11:42:27 +00:00
Robert Osfield
a74801a0ee
Added Optimizer::FlattenBillboardsVisitor.
2006-07-18 11:03:46 +00:00
Robert Osfield
e016cdafb2
From Terrex, improvements to handling of layers w.r.t PolygonOffset
2006-07-17 16:36:42 +00:00
Robert Osfield
2ef59b73e9
Change Unit to Units to keep consistent with OpenGL naming.
2006-07-17 11:43:26 +00:00
Robert Osfield
460ea4586e
Added *,/,+ and - keyboard controls for toggling PolygonOffset factor and units
2006-07-17 11:37:51 +00:00
Robert Osfield
db395b18af
Added getNumLayers method
2006-07-17 11:36:50 +00:00
Robert Osfield
f16a78ad97
Increased the unit multiplier to 3 to avoid z fighting.
2006-07-17 10:25:01 +00:00
Robert Osfield
e8235f6967
Changed the Radeon defaults to 1, 128 for the factor and unit mulitpliers respectively.
2006-07-17 10:24:31 +00:00
Robert Osfield
9f81ef8561
Implemented Radeon workaround for polygonoffset
2006-07-14 14:38:55 +00:00
Robert Osfield
4bae225d39
Added s/getFactorMultiplier(), s/getUnitMultiplier(), areUnitAndMultipliersSet() and
...
setFactorAndUnitMultipliersUsingBestGuessForDriver() static methods to
osg::PolygonOffset to help implement workarounds for lack of portablity of
settings between different hardware.
2006-07-14 14:08:33 +00:00
Robert Osfield
524417f981
Removed debug info
2006-07-14 11:29:41 +00:00
Robert Osfield
e835ea5328
Speeded up merge geometry
2006-07-14 11:04:24 +00:00
Robert Osfield
47c7c43c64
Optimized the MERGE_GEODES pass
2006-07-13 20:42:10 +00:00
Robert Osfield
5d59ab8227
Updated wrappers
2006-07-13 15:56:54 +00:00
Robert Osfield
dd32e6425e
Added StatsVisitor to include/osg/Statistics, and usage of it in osgUtil::Optimizer.
...
Added --optimize <string> option to osgconv
2006-07-13 15:25:22 +00:00
Robert Osfield
541433c7be
Added share duplicates traversal to optimizer call
2006-07-13 14:58:37 +00:00
Robert Osfield
abe6260da4
Fixed management of Text's StateSet so that it works correctly when the DefaultFont is active.
2006-07-13 09:01:24 +00:00
Robert Osfield
5e9b7bef88
From Brede Johansen,
...
"I found some artifacts on some models and traced it back to the
external palette override feature. There are some changes in the
layout of the external record the loader have to take into
consideration.
The other fix is to remove the OF pools from the user data of the
external ProxyNode when it is no longer needed."
2006-07-12 09:40:03 +00:00
Robert Osfield
dd6a33da49
Removed StateSet::ENCLOSE_RENDERBIN_DETAILS since it is rendendent, and
...
implemented the OVERRIDE_RENDERBIN_DETAILS.
2006-07-11 21:53:57 +00:00
Robert Osfield
ad18b88848
From Antoine Hue,
...
"There was a typo in "int setNotifyOffset()", appear to be a getter =>
"int getNotifyOffset()".
Then I have added a switch to create GDALTermProgress only when the
current notify level + local offset permit message display. In fact, if
the offset is set to 0 and the notify level is at the default, DataSet
is quiet but for the GDALTermProgress. That is quite disturbing since
you think the progress is related to the complete processing but it is
actually only related to the GDAL Warp."
2006-07-11 10:34:41 +00:00
Robert Osfield
49dea3b589
Tweak for VS6.0 build
2006-07-06 20:43:23 +00:00
Robert Osfield
1c1fce8266
Fixed scoping for for loop varaible for VS6.0 build.
2006-07-06 15:47:59 +00:00
Robert Osfield
ee1b6a5dd6
Tweaks to try and fix VS6.0 problems.
2006-07-06 15:00:51 +00:00
Robert Osfield
df2d0e1ceb
Removed explict definition of osgUtil::Optimizer::StateVisitor to attempt
...
to get round VS 6.0 cruddiness.
2006-07-06 14:50:38 +00:00
Robert Osfield
6665e2a38a
Tweaked for loop variaible definition.
2006-07-06 14:43:30 +00:00
Robert Osfield
0b32213394
From Eric Sokolowsky,
...
"If a texture is used that is not a multiple of four, and compression
was requested through the texture's internal format, the texture's
internal format reverts to a non-compressed type and a NOTICE is given.
At present, compressed textures must have a multiple of four in each
dimension."
2006-07-06 14:14:19 +00:00
Robert Osfield
6b1f793ea7
Updated wrappers
2006-07-06 14:10:37 +00:00
Robert Osfield
865ee4429c
From Eric Sokolowsky,
...
"Attached is some fixes for Image::readImageFromCurrentTexture. It was
failing when used with a new Image object (some of the fields were
not set before they were used, and some were set to the wrong values).
A new optional parameter was added to give the desired data type, which
defaults to GL_UNSIGNED_BYTE, so programs should only need a recompile
to work properly."
2006-07-06 14:02:14 +00:00
Robert Osfield
c72530d2fd
Added setting of name from the .obj goup name and object names.
2006-07-06 11:40:41 +00:00
Robert Osfield
f693fa6d2d
Removed redundent debug message.
2006-07-06 11:33:07 +00:00
Robert Osfield
fd7ee0cf21
Add "hack" fix for black materials being exported from Maya.
2006-07-06 11:30:20 +00:00