Robert Osfield
6fc00a2613
From Mathia Walker: bug fix to LOD ranges in TXP plugin to avoid cracks:
...
"I took a closer look at the conditional code in
SeamFinder::seamReplacement().
Because _info.minRange is a double and lod->getMinRange(0) is a float,
the difference will be calculated with double precision. If
_info.minRange is cast as a float it is exactly the same value as
lod->getMinRange(0) and the difference is exactly zero.
So if you change
if((fabs(_info.minRange-lod->getMinRange(0))<0.001)&&(fabs(_info.lod0Range-lod->getMaxRange(0))<0.001))
to
if((fabs((float)_info.minRange-lod->getMinRange(0))<0.001)&&(fabs((float)_info.lod0Range-lod->getMaxRange(0))<0.001))
it works a lot better."
2005-06-06 10:18:33 +00:00
Robert Osfield
4d960e9ecd
From Tom Jolly, fixes to the mapping of the billboard rotate mode.
2005-05-31 05:46:41 +00:00
Robert Osfield
55ba67ab76
From James French, fix for multiple definitionwhen compiling osg + plugins into monolithic dll.
2005-05-26 13:56:23 +00:00
Robert Osfield
6385630407
From Blake Williams, fix for VS8.0 build
2005-05-25 17:19:47 +00:00
Robert Osfield
24849f3c70
Renamed ExplosionDebriEffect to ExplosionDebrisEffect
2005-05-25 16:42:36 +00:00
Robert Osfield
3ba6ce887b
Added re-entrent mutex to serialize access to OpenFlight plugin to prevent
...
any multi-threaded issues.
2005-05-24 10:37:18 +00:00
Robert Osfield
f609185e03
Updated wrappers.
2005-05-20 21:12:57 +00:00
Robert Osfield
b23d3965df
Removed long unused and out of date DX writer plugin from distribution, will now
...
be placed on the wiki just in case its needed.
2005-05-20 11:33:22 +00:00
Robert Osfield
b71472e592
From Alberto Farre, added support for caching of ProxyNode children.
2005-05-19 09:22:45 +00:00
Robert Osfield
955cc1ec2a
Added s/getClearMask() support to osg::ClearNode, osgUtil::SceneView and the
...
.osg plugin.
2005-05-18 19:55:14 +00:00
Robert Osfield
a83f7a245d
From Joakim Simonsson, DOFTransform multiplication order support added to .ive format.
...
With tweak from Robert Osfield to wrap new read and write with a new version number
to allow old files contain DOFTransforms to continue to work.
2005-05-18 19:04:35 +00:00
Robert Osfield
2ad67b1727
From Joakim Simonsson:
...
"DOFAnimation's default state could now be controlled by the RW option.
The option string is "dofAnimation"
If the option string is omitted the default animation state is off."
2005-05-18 18:43:03 +00:00
Robert Osfield
83d3f7639f
Changed the default behavior to not writing out proxynode children.
2005-05-17 13:50:07 +00:00
Robert Osfield
f9bc0454f8
Improved the handling of writing out of proxy node files.
2005-05-17 13:47:13 +00:00
Robert Osfield
9c27121f77
From Daniel Sjölie, for the purpose of maintainability, made the load proxy nodes code the standard, remove the older
...
code that remained as part of #else #endif blocks, and remove the erroneous
implementation of caching of proxynodes.
2005-05-17 13:34:04 +00:00
Robert Osfield
cc7bb579b0
From Thom DeCarlo, build fixes for Cygwin.
2005-05-17 09:06:12 +00:00
Robert Osfield
3a4b09940b
Refinement of includes to help IRIX build
2005-05-13 12:06:58 +00:00
Robert Osfield
ec2adb2477
Added #include "dxfBlock.h"
2005-05-13 09:52:17 +00:00
Robert Osfield
2dc54fc61d
fixed warning.
2005-05-12 20:46:12 +00:00
Robert Osfield
a8550e6536
Fixed pairing of write and read of Matrixd
2005-05-12 20:03:55 +00:00
Robert Osfield
d44977490c
From Alberto Farre,
...
"ConvertFromFLT::addMultiTexture makes ENDIAN conversion for SMultiTexture
struct attributes.
When an flt object is multi-instantiated y should be done just first time,
because SMultiTexture struct is always the same, currently is being done for
each instance.
Attached file fix the problem but perhaps a more clean fix would be making
ENDIAN conversion at writing attributes time instead of at reading time. "
2005-05-12 15:51:28 +00:00
Robert Osfield
54abc6f471
Added IO support for new intialBound and callbacks to .osg, and initialBound to .ive
2005-05-12 14:48:56 +00:00
Robert Osfield
bf4d63f6ea
Added new Node/Drawable::s/getInitialBound and Node/Drawable::s/getComputeBoundCallback
...
methods and reimplement computeBound so that it passes back a bounding volume rather
than modifying the local one.
2005-05-12 14:03:22 +00:00
Robert Osfield
bdc7e8b4a9
From Don Tidrow, "I added some code to assign the archive pointer in TXPnode
...
with the archive that ReaderWriterTXP actually loads. I also added a
function in TXPArchive to help in manipulating the lightpoints."
2005-05-11 19:34:03 +00:00
Robert Osfield
afb92b2372
Added .osg support for new ParticleEffect::s/getDefaultParticleTemplate.
2005-05-11 16:05:27 +00:00
Robert Osfield
4c613896ff
Fixed compile warning.
2005-05-11 13:40:07 +00:00
Robert Osfield
aa6ea8c047
Completed GLSL support in .ive
2005-05-11 13:37:38 +00:00
Robert Osfield
8d31e75364
Further work on GLSL support in .ive
2005-05-11 11:42:09 +00:00
Robert Osfield
fb34b22e34
Cleaned up API of BindAttributeLocation, added deletion of shader objects.
2005-05-11 11:41:44 +00:00
Robert Osfield
d9c50ee7c4
Put in place the class to implement GLSL support in .ive
2005-05-10 20:20:20 +00:00
Robert Osfield
5e0a5b39e0
Added tab to space converted to .obj plugin
2005-05-10 16:13:37 +00:00
Robert Osfield
aa61f87abe
From Farshid Lashkari, bumped IVE version number to 9, and added support in Texture for
...
_borderWidth
_useHardwareMipMapGeneration
_unrefImageDataAfterApply
_clientStorageHint
_resizeNonPowerOfTwoHint
2005-05-10 10:01:13 +00:00
Robert Osfield
4811adda0a
From Farshid Lashkari, and non power of two resize hint support to .osg ascii
2005-05-10 08:07:37 +00:00
Robert Osfield
538ced579e
Removed deprecated API in preparation for 0.9.9 release.
2005-05-09 13:09:07 +00:00
Robert Osfield
f8c855a576
Fix for Tiger build
2005-05-04 11:38:34 +00:00
Robert Osfield
56882a7413
From Alberto Farre, "Missed a FilepathList pop_back line from my last submission.
...
I have also commented out the option string set with FLT_VER because it
overwrites other option string and I found it redundant and not needed."
2005-05-03 21:53:25 +00:00
Robert Osfield
2bb2d9bb37
From Bob Kuehne, fixes for OSX 10.4 build.
2005-05-03 14:31:01 +00:00
Robert Osfield
a0ccaf5f95
Removed Impostor.cpp
2005-05-03 06:23:02 +00:00
Robert Osfield
ce902afa7c
Fixed TIFF readers handling of interleaved data
2005-05-02 20:00:42 +00:00
Robert Osfield
4e67b2c989
Moved Impostor from osg to osgSim .osg plugin
2005-05-01 21:33:12 +00:00
Robert Osfield
03232ec667
Moved osg::Impostor to osgSim::Impostor, as Impostor isn't a core feature.
2005-05-01 19:48:49 +00:00
Robert Osfield
7de1265059
From Don Tidrow, spelling fixes
2005-05-01 10:34:48 +00:00
Robert Osfield
81f60233a9
From Geoff Michel :
...
ac3d loader - better sharing of states between objects and Roger James' bug fix for missing normals.
Tesselator.cpp - faster processing of polygon tesselation for single triangles (which dont need to be tesselated)
osgtesselate.cpp - added wrap for texture so that appearance is as originally. Default texture behaviour has changed to clamp."
2005-04-30 13:54:21 +00:00
Robert Osfield
84aef32552
Removed old LUMINANCE_ALPHA code pathways since they are no longer used.
2005-04-28 19:08:44 +00:00
Robert Osfield
10607dd690
Added proper handling of freeing of font implememtation either when unloading
...
the freetype plugin or deleting osgText::Font first.
2005-04-28 18:55:08 +00:00
Robert Osfield
968f54b5db
From Ruben, fix for PIV executation by disabling MMXEXT selection.
2005-04-26 20:35:53 +00:00
Robert Osfield
b35ded6fb9
Improved handling of unsupported file formats.
2005-04-22 15:44:03 +00:00
Robert Osfield
bf317d9cea
Removed ViewPoint.h and .cpp from the ive plugin
2005-04-22 13:47:54 +00:00
Robert Osfield
483242c9db
Cleaned up the xine plugin to better handle unsupported video files.
2005-04-22 13:32:46 +00:00
Robert Osfield
8b4f9dce60
From Mike Weiblen, added support for samplers and mat4 to .osg
2005-04-22 07:13:50 +00:00