Robert Osfield
d35ea68f3e
Renamed Byte2,3,4 and Short2,3,4 and UByte4 to use the Vec*b, Vec*s and Vec4ub form
2005-07-15 14:41:19 +00:00
Robert Osfield
70647b8801
Fixed bug in ProxyNode write out where non existant children were written out.
2005-07-15 09:56:36 +00:00
Robert Osfield
cfac4c74bc
Added reference frame to TexGenNode
2005-07-15 08:32:36 +00:00
Robert Osfield
0e4b263ddb
Fix PagedLOD::addChild(,,) so that they allocate the correct size of range data.
2005-07-14 20:32:25 +00:00
Robert Osfield
0956674292
Added back in the call to drawPreRenderStages() as this shouldn't interfere
...
with the stereo code in SceneView as RenderStage should automatically only
allow themselves to be draw on per frame.
2005-07-14 13:21:11 +00:00
Robert Osfield
aece690d8e
Removed the set culling active flag setting
2005-07-14 10:34:46 +00:00
Robert Osfield
53347812cb
From Mike Weiblen, addiding of Program::validateProgram and osg::isNotifyEnabled() method
2005-07-14 10:27:00 +00:00
Robert Osfield
638c928e30
From Paul Martz, fix to memory leak of StateSet's
2005-07-09 09:56:49 +00:00
Robert Osfield
fafbb43bf9
From Jason Beverage, fix to setting of grey band.
2005-07-08 19:45:18 +00:00
Robert Osfield
99279fbf61
From Marco Jez, added missing method implementations to CameraNode and
...
added check to ensure FBO extension is support to RenderToTextureStage.
2005-07-08 14:46:13 +00:00
Robert Osfield
0d8e38f9ee
Tweaks for better OSX paging support, 6 and 9 keys for control drive manipulator
...
up and down looking, and removed redundent API from osg::Geometry.
2005-07-07 14:14:38 +00:00
Robert Osfield
facb0e2638
From Pavel Moloshtan, Byte2,3,4 and Short2,3,4 classes and their Array counterparts.
...
With a few build tweaks and bug fixes by Robert Osfield.
2005-07-05 15:57:53 +00:00
Robert Osfield
ba5f3ce99a
Changed notice to be an info message
2005-07-03 19:58:21 +00:00
Robert Osfield
72488d274f
Added support for equalizing the normals along tile boundaries.
2005-07-02 08:11:55 +00:00
Robert Osfield
1c8aca5a00
Added smoothing and tri strip pass.
2005-06-29 15:52:01 +00:00
Robert Osfield
cefa62097f
Added support nesting the parameter specification within a [x,y,z] block and
...
float parameters
2005-06-29 10:23:34 +00:00
Robert Osfield
b6e2653d4f
From Colin McDonald, build fix for Solaris
2005-06-29 10:21:49 +00:00
Robert Osfield
4e0a5e5069
Added missing dirtyBound().
2005-06-27 08:54:43 +00:00
Robert Osfield
042ca70866
From David Spilling, fixed the incircle test so it handles colinear points.
2005-06-24 20:19:12 +00:00
Robert Osfield
57eb631654
From Colin McDonald,
...
"On fixing the pointer access I discovered that reading osga archives
containing ive files went into a cpu loop. This turned out to be a
problem with proxy_streambuf on Solaris. Public methods in the Solaris
streambuf standard library implementation rely on the gptr() being set,
which proxy_streambuf was not doing. So I have modified
proxy_streambuf to set the input sequence pointers, and have also
aligned it more with the standard library streambuf implementation
where all input is through underflow(), not uflow() which merely calls
underflow() and advances the pointer."
From Robert Osfield, change from using pointer cast and assignment to using
a templated _write and _read method to avoid pointer aliasing to 2/4/8
byte boundaries that some computer system may produce. These changes
where inspried by Colin McDonalds change to using memcpy, these
changes weren't merged as memcpy is not as clear in naming as _read,
_write and memcpy will incurr a function call just for copy a
uint.
2005-06-24 19:50:14 +00:00
Robert Osfield
e8cc8f06c5
From Martijn Kragtwijk: "I ran into the same problems as Karl Martensson
...
(http://openscenegraph.org/archiver/osg-users/2005-June/0575.html );
after switching children of a Switch node off and on again, they become
unpickable. This issue occurs first in 0.9.9, with 0.9.8 everything is fine.
My fix involves calling dirtyBound() every time the on/off-values of the
Switch are changed"
2005-06-24 15:34:46 +00:00
Robert Osfield
bad47e0fe0
From David Guthrie, "The call NSLookupAndBindSymbol was changed to
...
NSLookupSymbolInModule. The former call would lookup the named
symbol NOT in the current dynamic library, but in the entire running
program while the call NSLookupSymbolInModule, takes the handle to
the library the symbol should be found in. This means the current
code will fail if one loads multiple bundles at runtime and attempts
to load the same named symbol from each one."
2005-06-24 15:30:11 +00:00
Robert Osfield
914b16c9e9
Moved the working createPagedLODScene() implemention into createScene()
...
method replacing the original flaky code.
2005-06-24 15:15:55 +00:00
Robert Osfield
3baa8cdad2
Disabled NPO2T on GeforceFX.
2005-06-22 11:02:37 +00:00
Robert Osfield
7453711267
From Mike Weiblen,
...
" - adjustments to improve namespacing on VS
- clarify compilation status message"
2005-06-20 10:36:06 +00:00
Robert Osfield
c5cad6982e
Further FBO support work.
2005-06-16 14:01:38 +00:00
Robert Osfield
1641cd7b54
From Pavel Moloshtan, added support of Drawable::Extensions::glDeleteQueries()
2005-06-16 13:53:52 +00:00
Robert Osfield
3a0b742461
Added copyright notices.
2005-06-16 11:45:50 +00:00
Robert Osfield
d702fed0ef
Moved FBO support from osgfbo example into core osg.
2005-06-16 11:42:59 +00:00
Robert Osfield
77a4cef9d6
Futher work on FBO support
2005-06-15 20:06:10 +00:00
Robert Osfield
bc76fbf60d
Added automatic creation of texture when size is set but not osg::Image is assigned.
...
This is useful for FBO usage.
2005-06-15 20:05:47 +00:00
Robert Osfield
92087ee5ac
From David Guthrie, " In the constructor
...
in removes any options beginning with "-psn" from argv on OSX by
calling the "remove" method. When a .app run is created in OSX,
which is required to get a fully functioning UI application, the OSX
finder passes a -psn_XXXX option to the application where the XXXX
refers to a unique process number. An example option would be "-
psn_0_37617665". The argument parser was choking on this option in
all the osg example applications."
2005-06-15 11:49:25 +00:00
Robert Osfield
dfaed083ea
Added osgmultiplecameras example and support for pre/post multiplaction.
2005-06-15 10:59:10 +00:00
Robert Osfield
71122ff38f
Work on the RenderToTexture usage of the new osg::CameraNode. Both osghud
...
and osgprerender now ported across to osg::CameraNode.
2005-06-14 20:51:35 +00:00
Robert Osfield
868d381528
Added osg::CameraNode.
2005-06-14 13:16:58 +00:00
Robert Osfield
4fb9039d0c
Fixed position of glBindBuffer.
2005-06-14 08:48:48 +00:00
Robert Osfield
486f5c1a30
Fixed with the reprojection so that it doesn't promote all source data to
...
RGBA, but only does this for RGB data.
2005-06-13 20:03:26 +00:00
Robert Osfield
80a99a2559
From Ken Sewell, fixed for x86_64 build.
2005-06-13 11:14:42 +00:00
Robert Osfield
38528c4952
Updated wrappers.
2005-06-08 13:20:09 +00:00
Robert Osfield
27c4c6a956
Moved the set/getName() support from osg::Node etc into the osg::Obejct
...
base class
2005-06-08 13:16:19 +00:00
Robert Osfield
e0cf176590
From Mike Weiblen, added GLSL datatypes mat2 and mat3 to osg::Uniform, with .osg and .ive support
2005-06-08 10:36:56 +00:00
Robert Osfield
f87d09b64d
From Mike Weiblen, "modified .rot pseudoloader plugin so rotation order actually matches the embedded documentation"
2005-06-08 08:33:59 +00:00
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
a799cdca2f
From Tim Daust, "I fixed the getScale functions in matrixf and
...
matrixd. It was returning the values of the diagonal
of the matrix, which only returns the scale if there
is not a rotation. I fixed this by returning the
length of the vectors that form the basis.
I also added a function to orthonormalize the
rotation component of the matrix. I seem to always run
into situations where non uniform (or even uniform)
scale complicate my calculations, and I thought other
members of the community could use this function as
well."
2005-05-31 06:21:16 +00:00
Robert Osfield
fee1e75fe0
Changed char* to const char*
2005-05-31 05:47:40 +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
44b8b0177c
Added ability to toggle on/off the pre compile of OpenGL objects in the
...
DatabasePager via the setDoPreCompile(bool) method or via the env var
OSG_DO_PRE_COMPILE=ON or OFF.
2005-05-31 05:37:13 +00:00
Robert Osfield
ac5ffa2bec
Added support for reading:
...
OSG_MINIMUM_COMPILE_TIME_PER_FRAME <float>
and
OSG_MAXIMUM_OBJECTS_TO_COMPILE_PER_FRAME <int>
environmental variable during the initialization of the DatabasePager
to allow apps to be tweaked for best database pager behavior.
2005-05-30 16:15:11 +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
2b08f729f3
Updated change log.
...
From Fredric Marmond, changed unsigned int to unsigned long to avoid compile errors under 64 bit compile.
2005-05-25 15:35:51 +00:00
Robert Osfield
40ef0026df
Updated doxgen docs.
2005-05-25 11:45:02 +00:00
Robert Osfield
59be8c19f3
Changd unsigned int's to unsigned char* to fix gcc3.4 64 bit issues.
2005-05-25 09:50:11 +00:00
Robert Osfield
e229a8cb67
Updates to clean up wrapper generation, and to update wrappers
2005-05-24 15:34:23 +00:00
Robert Osfield
fcd2f504e6
Added check for an empty compile lists.
2005-05-24 10:46:21 +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
00c3c5dc61
Tweaked wrappers by hand to get them to compile
2005-05-20 22:15:57 +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
f6298daae4
Added env var report.
2005-05-20 06:39:41 +00:00
Robert Osfield
276dfbd0ad
Added support for setting the default render bin sort mode via the
...
env OSG_DEFAULT_BIN_SORT_MODE variable or via or RenderBin::setDefaultRenderBinSortMode()
method.
2005-05-19 15:17:53 +00:00
Robert Osfield
b71472e592
From Alberto Farre, added support for caching of ProxyNode children.
2005-05-19 09:22:45 +00:00
Don BURNS
702944b67a
Fixed fullscreen toggle in ViewerEventHandler that assumed the first
...
RenderSurface was a window (not a pbuffer).
2005-05-18 21:45:30 +00:00
Robert Osfield
9e91e1e01b
Updated wrappers.
2005-05-18 21:17:31 +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
51458ceea7
Fixed copy and paste mistakes in setEventCallback methods
2005-05-18 18:31:03 +00:00
Robert Osfield
4645217733
Added RADEON as render type for disabling mipmapped NPO2T
2005-05-17 20:12:13 +00:00
Robert Osfield
5947b97cde
Improved the handling of data attached to proxy nodes
2005-05-17 14:25:11 +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
895ed7916c
Updated wrappers.
2005-05-17 11:11:58 +00:00
Robert Osfield
2e4b266c39
Added differentiation between Non power of two textures when mip mapped vs
...
when not mipped mapped to get round the issue of incomplete support under
ATI cards.
2005-05-17 11:00:13 +00:00
Robert Osfield
cc7bb579b0
From Thom DeCarlo, build fixes for Cygwin.
2005-05-17 09:06:12 +00:00
Robert Osfield
1dd553ed0e
Bumped version numbers to 0.9.9 in rediness for 0.9.9 release.
2005-05-16 17:17:53 +00:00
Robert Osfield
428608e781
Warning fixes for IRIX
2005-05-16 15:51:57 +00:00
Robert Osfield
af0abf58ef
Updated wrappers
2005-05-16 15:50:35 +00:00
Robert Osfield
fa0f53e2d5
Workaround for Mipspro compiler bug.
2005-05-16 14:09:39 +00:00
Robert Osfield
8a6aaba351
Updated wrappers.
2005-05-16 11:22:25 +00:00
Robert Osfield
10232cf81a
Fixed method signatures.
2005-05-16 11:18:11 +00:00
Robert Osfield
74bce0e410
Updated wrappers
2005-05-16 09:41:10 +00:00
Robert Osfield
4f71be21d4
Yet another using namespace osg to try and work out the spat betwen MipsPro and VS.6.0.
2005-05-13 21:39:34 +00:00
Robert Osfield
2f91acdf98
Updated wrappers.
2005-05-13 14:36:42 +00:00
Robert Osfield
3b4636311b
Moved BaseOptimizerVisitor out of Optimizer into osgUtil namespace to try and
...
get round MipsPro compile problems.
2005-05-13 13:29:45 +00:00
Robert Osfield
3a4b09940b
Refinement of includes to help IRIX build
2005-05-13 12:06:58 +00:00
Robert Osfield
e82a63ca81
Cross platform build fixes.
2005-05-13 11:11:52 +00:00
Robert Osfield
ec2adb2477
Added #include "dxfBlock.h"
2005-05-13 09:52:17 +00:00
Robert Osfield
cb1f2f4761
Removed unused function.
2005-05-13 08:54:11 +00:00
Robert Osfield
2dc54fc61d
fixed warning.
2005-05-12 20:46:12 +00:00
Robert Osfield
ec12a1091b
Updated wrappers.
2005-05-12 20:06:39 +00:00
Robert Osfield
a8550e6536
Fixed pairing of write and read of Matrixd
2005-05-12 20:03:55 +00:00
Robert Osfield
a209542c60
Added missing Uniform(Matrixd) constructor implementation
2005-05-12 19:05:33 +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
ad2bd31ac8
Added setTextureFileName method.
2005-05-12 08:58:28 +00:00
Robert Osfield
fe384e53c7
Added clear of lazy uniform updating structure on relink, also added debug
...
output of shader being compiled.
2005-05-12 08:54:11 +00:00
Robert Osfield
8b60ee74d4
Updated wrappers.
2005-05-11 21:36:04 +00:00
Robert Osfield
6abe4c8f8c
Updated wrappers
2005-05-11 20:05:51 +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
679c44f4ae
Changed the info log so that it output to INFO on success, to WARN when an
...
error has occured.
2005-05-11 19:32:57 +00:00
Robert Osfield
afb92b2372
Added .osg support for new ParticleEffect::s/getDefaultParticleTemplate.
2005-05-11 16:05:27 +00:00
Robert Osfield
52666a6dee
Added support for setting the texture filename and more fine control over
...
the particle template used in ParticleEffects
2005-05-11 15:26:16 +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
d681d47c72
Moved the infolog to the error handling block and upping its notification
...
level to WARN to provide better feedback on failure with needing to use
DEBUG notification level.
2005-05-10 18:21:31 +00:00
Robert Osfield
5e0a5b39e0
Added tab to space converted to .obj plugin
2005-05-10 16:13:37 +00:00
Robert Osfield
1afd5e48a7
Added support for PROTECTED and OVERRIDE to uniforms.
2005-05-10 13:56:05 +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
44c363dd3f
Added code to prevent ProxyNode's from been "flattened" by
...
osgUtil::Optimizer::FlattenStaticTransforms.
2005-05-09 15:29:18 +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
5e23536683
Added osgUtil, osgDB, osgFX, osgParticle, osgSim, osgTerrain, osgGA
...
and osgProducer to osgWrappers directory.
Enabled the build of osgWrappers/osg, osgWrappers/osgPartile and osgWrappers/osgSim,
but not osgUtil, osgDB, osgFX, osgTerrain, osgGA and osgProducer due to compile
errors. I am assuming that these compilers are fixable so I'm checked all the
source code so that members of the community can help fix them.
2005-05-09 10:17:56 +00:00
Robert Osfield
a6e8378a72
Removed debug info
2005-05-08 19:21:43 +00:00
Robert Osfield
cf6e081b93
Updated osgWrappers.
2005-05-08 18:37:13 +00:00
Robert Osfield
7d6c90aaa4
Added missing copy of _stereo
2005-05-08 15:24:26 +00:00
Robert Osfield
d1a1b1d95c
Added more comprehensive releaseGLObjects(State*=0) throughout Nodes,
...
Drawables,StateSet, and osgDB::Registry.
Added cleanup_frame() from to osgProducer::OsgCamerGroup to help with proper
clean of OpenGL objects before exit, and modified osgviewer, osghangglider,
osgwindows examples to do the extra frame call to cleanup_frame() before exit.
2005-05-07 20:47:09 +00:00
Robert Osfield
08d5f9f85a
From Tim Daoust/Robert Osfield, added Font::releaseGLobjects(State*state=0) to
...
facilate clean up of scene when a graphics context is deleted/reused.
2005-05-07 09:17:55 +00:00
Robert Osfield
52e036f425
Added handling of sharing of graphics context data which is now supported
...
by Producer. You can get the osgProducer::Viewer to share graphics contexts
by using the env var OSG_SHARE_GRAPHICS_CONTEXTS set to ON or OFF i.e.
setenv OSG_SHARE_GRAPHICS_CONTEXTS ON
2005-05-06 19:44:24 +00:00
Robert Osfield
2ea6de3d0b
Made OSX default to using single threaded keyboard mouse.
2005-05-06 14:28:43 +00:00
Robert Osfield
cdab058b32
Added osg_DeltaFrameTime uniform to default set.
2005-05-06 10:32:31 +00:00
Robert Osfield
7480d51830
From Mike Weiblen, further work on GLSL support
2005-05-06 09:58:49 +00:00
Robert Osfield
fc585cd33d
From Farshid Lashkari, support for non power of two extension.
2005-05-06 09:04:41 +00:00
Robert Osfield
fd9f5c0f43
Fix for OSX build across both Tiger and 10.3.x
2005-05-05 21:21:14 +00:00
Robert Osfield
9534cd8638
Removed rgb alias for Quicktime mapping since the Quicktime is not reliable
...
at loading all rgb files that the standard OSG rgb reader can read.
2005-05-05 20:05:11 +00:00
Robert Osfield
a44e33795d
Removed the defaulting to setting the camera threading model to MultiThreaded,
...
instead leave it to Producer's defaults.
2005-05-05 14:03:54 +00:00
Robert Osfield
2798d58a41
Added support for osg_FrameNumber, osg_FrameTime, osg_ViewMatrix, osg_InverseViewMatrix
...
into SceneView, controlled via a setActiveUniforms(.) method.
2005-05-05 12:30:54 +00:00
Robert Osfield
c4e2e85aa1
From Farshid Lashkari, added Texture::Extension support for non power of two extension.
2005-05-05 09:18:03 +00:00
Robert Osfield
f8c855a576
Fix for Tiger build
2005-05-04 11:38:34 +00:00
Robert Osfield
a1f23bbccd
Fixed bug where the Optimizer::StateVisitor was trying to optimize
...
non existant StateSet's.
2005-05-04 09:11:32 +00:00
Robert Osfield
1571209a82
Updated wrappers
2005-05-03 22:02:37 +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
2a3831ff41
Removed the default compile of single threaded KeyboardMouse
2005-05-03 21:49:21 +00:00
Robert Osfield
97daa561f4
Added support for lazy state updating of uniforms.
2005-05-03 21:46:47 +00:00
Robert Osfield
2bb2d9bb37
From Bob Kuehne, fixes for OSX 10.4 build.
2005-05-03 14:31:01 +00:00
Robert Osfield
003329fd10
Updated wrappers
2005-05-03 10:09:51 +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
8cbba9dc00
Improvements to the repojection code so that it can generate RGBA reprojected
...
data.
2005-05-02 19:42:13 +00:00
Robert Osfield
015c9a9765
Added support for generating RGBA, RGBA-16 and RGBA-compressed texture databases
2005-05-02 14:16:25 +00:00
Robert Osfield
991feca6cc
Added support for reading from RGBA source textures
2005-05-02 13:00:17 +00:00
Robert Osfield
b85d4d4e7e
Added support for optimization of Uniforms
2005-05-02 10:18:37 +00:00
Robert Osfield
938d13ecc7
Improved the handling of update/event callbacks on Drawable and Geodes
2005-05-02 09:57:58 +00:00
Robert Osfield
4e67b2c989
Moved Impostor from osg to osgSim .osg plugin
2005-05-01 21:33:12 +00:00
Robert Osfield
e10b9a74d4
Added include<osg/AlphaFunc> for OSX build
2005-05-01 20:56:44 +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
adba6fa559
Added RemoveLoadedProxyNodes pass to Optimizer, set on by default at present.
2005-04-30 15:16:05 +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
67baa30218
Combine LOD fixed properly this time :)
2005-04-30 07:25:15 +00:00
Robert Osfield
bf03f094c2
fixed combined LOD bug
2005-04-30 07:22:56 +00:00
Robert Osfield
a5fcddc5e5
From Mike Weiblen, Progra/Shader fixes
2005-04-30 07:02:02 +00:00
Robert Osfield
7d69b5e562
Updated wrappers
2005-04-29 20:57:04 +00:00
Robert Osfield
7117ff4bd3
Added support for controlling the frequency of checking for OpenGL errors
...
via:
enum CheckForGLErrors
{
/** NEVER_CHECK_GL_ERRORS hints that OpenGL need not be checked for, this
is the fastest option since checking for errors does incurr a small overhead.*/
NEVER_CHECK_GL_ERRORS,
/** ONCE_PER_FRAME means that OpenGl errors will be checked for once per
frame, the overhead is still small, but at least OpenGL errors that are occurring
will be caught, the reporting isn't fine grained enough for debugging purposes.*/
ONCE_PER_FRAME,
/** ONCE_PER_ATTRIBUTE means that OpenGL errors will be checked for after
every attribute is applied, allow errors to be directly associated with
particular operations which makes debugging much easier.*/
ONCE_PER_ATTRIBUTE
};
/** Set whether and how often OpenGL errors should be checked for.*/
void setCheckForGLErrors(CheckForGLErrors check) { _checkGLErrors = check; }
/** Get whether and how often OpenGL errors should be checked for.*/
CheckForGLErrors getCheckForGLErrors() const { return _checkGLErrors; }
2005-04-29 20:56:20 +00:00
Robert Osfield
68032dafc8
Commented out notify messages to prevent crash under OSX at start up.
2005-04-29 13:30:59 +00:00
Robert Osfield
f2d696f871
Moved osgIntrospection across to standard OSG coding style.
2005-04-29 11:19:58 +00:00
Robert Osfield
af13199e05
Added Copyright
2005-04-29 10:06:50 +00:00
Robert Osfield
6b5238c294
Moved osgParticle across to standard OSG coding style.
2005-04-29 09:47:57 +00:00
Robert Osfield
98126f1706
Moved to standard OSG coding style.
2005-04-29 06:32:13 +00:00
Robert Osfield
178a0b5c7e
Reduced the verboseness of the notifaction messages
2005-04-28 19:50:07 +00:00
Robert Osfield
bf13c8ca14
Changed the default texture size to 512x512 to reduce the number of textures
...
required when rendering text.
2005-04-28 19:24:09 +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
7f3d46e110
Added check to see if autoTransformCache had been initialized before
...
using it in the computeBound.
2005-04-28 05:58:20 +00:00
Robert Osfield
30d20fcf55
From Farshid Lashkari, removed redundent fusion distance calculations from computeRightEyeProjectionImplementation and
...
computeLeftEyeProjectionImplementation methods.
2005-04-28 05:21:27 +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
a47a6a4886
Added $(GL_LIBS) to link line to get things linking ok under OSX.
2005-04-26 18:55:51 +00:00
Robert Osfield
63c81a3539
Updated wrappers.
2005-04-26 14:29:25 +00:00
Robert Osfield
a1bda0dab8
Added support for per context extension string.
...
Note, this required adding a unsigned int context ID to the osg::isGLUExtensionSupported(,)
and osg::isGLExtensionSupported(,) functions. This may require reimplementation
of end user code to accomodate the new calling convention.
2005-04-26 13:15:27 +00:00
Robert Osfield
59ebf86dd0
Added #include <algorithm> for VS.NET build
2005-04-26 11:20:19 +00:00
Robert Osfield
3c90a5f694
Added support notification of Drawable parents of StateSet that event/update callbacks have been called.
2005-04-26 09:58:19 +00:00
Robert Osfield
38bf740ef4
From Vivek Rajan, "osg::Text was getting stretched when the CharacterSizeMode was set to
...
SCREEN_COORDS and the SceneView's projection matrix was set to an
Ortho2D matrix (sceneView->setProjectionMatrixAsOrtho2D(-1,1,-1,1)).
Computing the pixel size separately vertically and horizontally, and
setting the scaling factors appropriately based on that fixed the
problem."
2005-04-26 07:49:18 +00:00
Robert Osfield
edf142222b
Updated wrappers using Marco Jez's genwrapper utility.
2005-04-25 20:46:46 +00:00
Robert Osfield
fa996d0745
From Mike Weiblen, added support for --clear-color r,g,b,a and --clear-color r,g,b
...
to osgProducer::Viewer.
2005-04-25 20:34:23 +00:00
Robert Osfield
baa9af49c4
Reduced the verbosness of debugging messages
2005-04-25 14:28:16 +00:00
Robert Osfield
e24cfa0370
Futher work on supporting update and event callbacks in StateSet, Uniform and StateAttribute
2005-04-25 13:37:12 +00:00
Robert Osfield
78f88247f8
Added SINGLE_THREADED_KEYBOARDMOUSE pathway as a means of testing
...
exit issues.
2005-04-25 13:27:56 +00:00
Robert Osfield
bc83e63bb4
Futher work on adding event and update callbacks to StateSet, Uniform and StateAttributes
2005-04-25 11:05:02 +00:00
Robert Osfield
193c83cb9c
Added ParentList's into StateSet, Uniform and StateAttribute in preparation for
...
providing update and event handling.
2005-04-24 21:04:54 +00:00
Robert Osfield
4262366f62
Added THREAD_ infront of PRIORITY_MIN settings to reflect changes to OpentThreads
2005-04-24 19:30:01 +00:00
Robert Osfield
0d9887462a
Added MergeGeometryVisitor::setTargetMaximumNumberOfVertices(uint);
2005-04-23 16:09:20 +00:00
Robert Osfield
f91efb7f31
Added missing bodes of Uniform::operator = and setEvent/UpdateCallback in StateSet.
2005-04-23 10:41:30 +00:00
Robert Osfield
57c87d644a
Added support for using TextureRectangle in --move support in readNodeFile
2005-04-23 10:31:52 +00:00
Robert Osfield
819d2c6c56
Preliminary steps to adding update and event callbacks to StateSet, StateAttribute
...
and Uniform.
2005-04-22 22:45:39 +00:00
Robert Osfield
b35ded6fb9
Improved handling of unsupported file formats.
2005-04-22 15:44:03 +00:00
Robert Osfield
2914f7c342
Improved handling of invalid imagery in BufferObject
2005-04-22 15:43:34 +00:00
Robert Osfield
bba76cfa31
From Tree, removed dependency on Producer
2005-04-22 14:40:06 +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
Robert Osfield
7f2ab883f5
Added initialize of version number
2005-04-21 21:07:27 +00:00
Robert Osfield
7182713dcf
From Garrat Potts, fixed face memory leak in FreTypeFont destructor.
2005-04-21 21:05:48 +00:00
Robert Osfield
496227d239
From Mike Weiblen, removed Uniform not quite ready notice,
...
and added .h files into osgshaders project file.
2005-04-20 18:50:50 +00:00
Robert Osfield
e2a85f6bc6
From Brede Johnansen, adding support for EXT, ARB and GL version 1.4 point parameters.
2005-04-20 12:32:43 +00:00
Robert Osfield
3ab9867264
Removed increment of the cursor position by the bearing value in the compute
...
last character code as this should not be used when moving the cursor.
2005-04-20 09:55:24 +00:00
Robert Osfield
06dc3ebb34
From Reinhard Sainitzer, bug fix, added missing break;
2005-04-19 07:37:59 +00:00
Robert Osfield
b699c8e9ab
Further work on uniforms support in .osg
2005-04-18 13:36:10 +00:00
Robert Osfield
59ec503fc9
Added more complete support for writing out data of Uniforms
2005-04-18 13:29:59 +00:00
Robert Osfield
648677ce44
Added next stage of support for osg::Uniform in .osg plugin
2005-04-18 12:34:28 +00:00
Robert Osfield
0a995f8093
Removed mpeg plugin from CVS, now moved to the Community section of
...
openscenegraph.org as a seperate project.
2005-04-18 09:17:56 +00:00
Robert Osfield
6a22af590a
Fixed warnings.
2005-04-17 19:10:32 +00:00
Robert Osfield
000e5f8d10
Changed the animation on default to false, so things only move if you ask them to.
2005-04-17 11:35:26 +00:00
Robert Osfield
6017b810eb
From Marco Jez, osgWrappers updates to latest changes in core osg.
2005-04-17 11:30:33 +00:00
Robert Osfield
88e8477cbf
Moved istream/ostream includes out of Vec3f, and reimpleted osg::Matrix*::compare.
2005-04-17 10:41:23 +00:00
Robert Osfield
20f26ee011
Fixed wrapping of text string to allow internal "" strings
2005-04-16 10:18:56 +00:00
Robert Osfield
1525a00e1f
From Mike Weiblen,added debug info to osg::Program and changed shader uniform names to
...
avoid conflict with built in functions
2005-04-16 10:11:18 +00:00
Don BURNS
a676f67337
CHanged line 101 in PageLOD.cpp to read
...
if ( in->getVersion() >= VERSION_0006 ) {
setDatabasePath(in->readString());
}
instead of
if ( in->getVersion() > VERSION_0006 ) {
setDatabasePath(in->readString());
}
Seems DatabasePath _is_ present in ive files of version 6.
2005-04-16 04:00:18 +00:00
Robert Osfield
f4be038d46
Moved Plane and Quat << operators into the io_utils headers
2005-04-15 20:59:24 +00:00
Robert Osfield
47a2b3aa23
From Paul de Repentinguy, DXF loader plugin. Ported to Linux by Robert Osfield.
2005-04-15 20:39:06 +00:00
Robert Osfield
08f593a54b
From Joran Jessurun, Added setting of original node mask to flatten transforms
2005-04-15 20:11:50 +00:00
Robert Osfield
066c829768
Added setValue and setSwitchSet methods
2005-04-15 20:05:30 +00:00
Robert Osfield
e67ed01612
From Mike Weiblen, fix for Win32 build
2005-04-15 18:28:44 +00:00
Robert Osfield
78577e1aa6
In the ldexp(,) call removed the /256.0f by replacing it with a -8 on the exponent.
2005-04-15 09:56:28 +00:00
Robert Osfield
0503712fe4
Removed osgGL2 from CVS, osgGL2 now can be found on the Community/NodeKits section on the OSG website.
2005-04-15 08:35:06 +00:00
Robert Osfield
678b22ce83
Updated Copyright notices to 1998-2005.
2005-04-14 21:41:28 +00:00
Robert Osfield
25d1fa2e2c
Changed uint for unsigned int.
2005-04-14 20:34:59 +00:00
Robert Osfield
086efcdff1
Removed setProgram from osg::StateSet as Program works just fine right now
...
as a standard osg::StateAttribute and set in a StateSet with setAttribute.
2005-04-14 15:53:28 +00:00
Robert Osfield
16c55531da
Preparation for moving osgGL2 out of the core OSG into its own seperate distribution.
2005-04-14 11:28:23 +00:00
Robert Osfield
6b86d2d70d
From Joson Daly, fix for forward/backward/swing animation handling both 15.8 and
...
versions prior to 15.8, and...
" Here's another fix for OpenFlight. The symptom was that ATTR files were
not being read correctly, and the TexEnv on a texture that should have
been set to DECAL was instead defaulting to MODULATE. The cause is that
the ATTR reader cannot tell by itself what version it's reading (the
version information isn't present in the ATTR files), and instead relies
on the ReaderWriter::Options passed in to get the OpenFlight version.
My change clones the current ReaderWriter::Options and prepends the
appropriate FLT_VER option before the ReaderWriterATTR object is
called. I also made the parsing of the FLT_VER string and value more
robust in the ReaderWriterATTR itself. I think I commented things OK,
but let me know if you need me to explain anything."
2005-04-14 07:55:45 +00:00
Robert Osfield
d6d764a729
From Terry Welsh, added copy texture support to TextureRectangle
2005-04-13 18:19:38 +00:00
Robert Osfield
789cb7dea7
Added applying of all parents uniforms
2005-04-13 14:31:25 +00:00
Robert Osfield
0015a31de8
Added basic support for applying uniforms to programs, non lazy state updating
...
is yet applied though.
2005-04-13 14:12:06 +00:00
Robert Osfield
2e10cffb4d
Work in progress on shader language uniform support
2005-04-13 12:00:28 +00:00
Robert Osfield
9c55486746
Added inline to float convertComponent(,)
2005-04-12 08:59:33 +00:00
Robert Osfield
25f738a8ee
From Olaf Flebbe, change from powf to ldexp.
2005-04-12 08:55:52 +00:00
Robert Osfield
d268cf46fa
Renamed SG_LIBRARY and SG_EXPORT macro's to OSG_LIBRARY and OSG_EXPORT
2005-04-11 17:14:17 +00:00
Robert Osfield
813bb559aa
Changed optimization flag to -O instead of -O2 to aid compile speed.
2005-04-11 15:40:30 +00:00
Robert Osfield
4fec031e6c
Moved #include <osg/State> from header into .cpp to clean up build.
2005-04-11 15:17:24 +00:00
Robert Osfield
a9270a7c89
Build fix
2005-04-11 15:01:57 +00:00
Robert Osfield
2fb3d9aae5
Fixed warning, and sorted entries in GNUmakefile
2005-04-11 10:12:32 +00:00
Robert Osfield
20882b6b4b
From Olaf Flebbe, Fixed cross platform compile error
2005-04-11 07:51:43 +00:00
Robert Osfield
0d8bd24250
Fixed typo
2005-04-09 11:17:12 +00:00
Don BURNS
e3091ac4bd
Added check for _last_of for fileName and merged all definitions for socklen_t
...
to one line.
2005-04-08 19:39:05 +00:00
Robert Osfield
72a0e38ed0
From Stephan Huber, changed fixed string sizes for dynamically allocated ones in OSX file system gets.
2005-04-08 18:46:51 +00:00
Robert Osfield
d52e02aaeb
From James French, a tweak with fix a compile problem related to STLport.
2005-04-08 14:44:44 +00:00
Robert Osfield
2ae269c447
From Olad Flebbe, compile fix for HP-UX.
2005-04-08 14:11:15 +00:00
Robert Osfield
b401b97bce
From James French, fix to header guard
2005-04-08 14:09:32 +00:00
Robert Osfield
cd8634776d
From Stephan Huber (contains Registry.cpp changes from David Guthrie):
...
"Attached is the new source for the Quicktime-Plugin which adds the
ability to write pictures in various formats (tested: jpg, png, tif,
psd) (24bit + 32bit only, 8bit not tested)
There are changes in the attached osgDB::Registry, which allows osg to
find resources/plugins in the right folders under OS X"
Note, from Robert Osfield, changed the FilePathList* filepath + delete to a
FilePathList filepath to avoid possible memory leaks when expections are thrown/
make it more maintainable. Also didn't merge the automatic playing of movies.
2005-04-08 13:52:03 +00:00
Robert Osfield
d31cd3dce6
From Mike Weiblen, updates to GL Shadler Language support
2005-04-08 13:10:44 +00:00
Robert Osfield
dd3db860a2
From Carlo Camporesi, add support for text into .ive plugin, tweak by
...
Robert Osfield to allow font names to be exported correctly with extension
2005-04-08 13:06:14 +00:00
Robert Osfield
7d24d9fdd5
Added #include <algorithm>
2005-04-08 12:22:03 +00:00
Robert Osfield
fed42a46ed
Added #include <osg/io_utils>
2005-04-08 09:59:40 +00:00
Robert Osfield
a8d4da8163
Added #include <osg/io_utils>
2005-04-08 09:36:42 +00:00
Robert Osfield
cc47a520ae
Added #include <osg/io_utils>
2005-04-08 09:18:15 +00:00
Robert Osfield
3c76c9fd60
Added io_utils include
2005-04-08 09:14:50 +00:00
Robert Osfield
fcab21f9cc
Added osg/io_utils include
2005-04-08 09:13:07 +00:00
Robert Osfield
a2974de978
Moved the istream and ostream support from Vec* and Matrix* into a seperate io_utils file.
2005-04-08 09:01:23 +00:00
Robert Osfield
84e8338be1
From Mike Weiblen, "adds sourcefiles for beginnings of .osg fileformat i/o support
...
> - enhancemens to core GLSL classes to support file i/o"
2005-04-07 20:23:58 +00:00
Robert Osfield
923048fdb6
Warning fixes by Mike Weiblen + Robert Osfield
2005-04-07 20:08:54 +00:00
Robert Osfield
7a27a0bef7
From Marco Jez, improvements to osgIntrospection, and new automatically generated
...
osgWrappers/osg set.
2005-04-07 20:00:17 +00:00
Robert Osfield
9dd9464638
Fix to compute coordinate frame callback so that it can handle scaled
...
coordinate frames, rescaling as required.
2005-04-07 16:09:34 +00:00
Robert Osfield
d160b4977b
Fixed the MatrixTransform(Matrix&) constructor so that it correct sets _inverseDirty = true;
2005-04-07 15:27:53 +00:00
Robert Osfield
83e21611f6
Fixed sort of sources so that the layer number is taken into account.
2005-04-07 10:55:17 +00:00
Robert Osfield
88d65263ec
Fixed layer and levels handling in reprojection of source imagery.
2005-04-07 10:19:47 +00:00
Don BURNS
af3ac699aa
Rolled in Olaf's changes for HP-UX build
2005-04-05 19:08:48 +00:00
Robert Osfield
9e5d905b05
Renamed _A and _B to make them more meanigful
2005-04-04 20:25:57 +00:00
Don BURNS
ed0f780321
Removed annoying "Can't find the ground" message
2005-04-04 18:07:27 +00:00
Robert Osfield
56787b4195
Fixed output of MultiTextureControl.
2005-04-04 16:06:28 +00:00
Robert Osfield
5f75f765f0
From Marco Jez, updates to osgIntrospection.
2005-04-04 13:50:07 +00:00
Robert Osfield
816df3a1d0
Fixes for VS6.0 build
2005-04-04 12:24:18 +00:00
Robert Osfield
2e32a7cb78
From Carlo Camporesi,fixed for loop bug
2005-04-04 11:47:50 +00:00
Robert Osfield
ed0200162c
From Alberto Farre, nested files bug fix.
2005-04-04 11:22:43 +00:00
Robert Osfield
d9828731d8
From Alberto Farre:
...
"Here there are fixes for several flt loader problems.
First one was an small bug when root database was an empty string we got a database path "/" instead of "./".
Second one is more complex. Flt loader works in two passes, first one reads flt database and second one builds osg scenegraph. Special care must be taken for properly tracking database path as nested files are entered. Because textures are loaded in second pass, mentioned care should be taken once again. I wrote time ago a piece of code and I placed it in both files fltFile.cpp and flt2osg.cpp. After a long period offline I have seen the portion of code at flt2osg was missing, I just made some tests and I could see it is still required.
Finally, I have seen that pool.cpp always try to make IMAGE cache instead of reading what Options says.
Aditonally, I recently wrote an osg change, now it has external references "a la flt" what is called osg::ProxyNode. As part of the change now flt loader builds external references as ProxyNodes. I made the same mistake like pool.cpp and always made ARCHIVE cache instead of see what Options says, it has also been fixed."
2005-04-04 11:18:02 +00:00
Robert Osfield
aa8dbea11c
From Mike Weiblen, updates to Shander Language support
2005-04-04 10:08:15 +00:00
Robert Osfield
2e91a74f14
Added FluidProgram
2005-04-04 10:05:35 +00:00
Robert Osfield
22e446dbc9
Improved ParticleEffects
2005-04-04 07:54:52 +00:00
Robert Osfield
e4580f2028
From Farshid Laskari, addiition of FrontFace support to .ive
2005-03-26 10:04:31 +00:00
Robert Osfield
0123cdbe8f
From Waltice (don't have full name at time of submission), added support for 16bit tiff files
2005-03-25 11:17:33 +00:00
Robert Osfield
60cecb8959
Added State::getActiveUnit and usage of it in the glTexCopyImage*() implementations
2005-03-25 11:07:48 +00:00
Robert Osfield
9de5dc38f1
Made the ground intersection warning just output to INFO level.
2005-03-25 11:06:44 +00:00
Robert Osfield
7883574d28
From Mike Weiblen,
...
"updates for GLSL core integration:
Code compiles and runs on win32.
Basic functionality of Program and Shader in place.
Program derived from StateAttribute.
Uniform value propagation is not yet functional (in development)
Includes some patches by Nathan Cournia.
includes example testcase to demo use of new classes."
2005-03-24 09:37:45 +00:00
Robert Osfield
2ab78cfe38
From Marco Jez, fixed constness of data return type
2005-03-23 21:00:28 +00:00
Robert Osfield
58d60476f0
From Mike Weiblen, " Move update of shader values after shader rebuild opportunity, to ensure uniform
...
state of shaders is consistent"
2005-03-23 20:31:42 +00:00
Robert Osfield
aee1e88f15
Added extra controls for ParticleEffects.
2005-03-23 17:05:21 +00:00
Robert Osfield
60597f4bbb
Fixed the scaling in pixelSize computation and the autoscale usage of it.
2005-03-23 10:46:08 +00:00
Robert Osfield
476a83bb9c
Added MatrixManipulator::s/getIntersectTraversalMask(uint) to allow control
...
of which subgraphs should be used in intersection calculations. Updated
Terrain,Drive and UFO manipulator to use this new flag.
2005-03-22 21:06:06 +00:00
Robert Osfield
0b2ac40fe8
Moved ParticleSystemUpdater into ParticleEffect nodes to simplify usage
...
of nodes.
2005-03-22 20:26:45 +00:00
Robert Osfield
1c808e4959
Fixed the double transform of ParticleEffects
2005-03-22 17:00:41 +00:00
Don BURNS
8eb0e8ca88
Added getCameraByName method to viewer
2005-03-21 00:33:37 +00:00
Don BURNS
5d10547ac5
Added getCameraByName method to viewer and home(double currentTime) to
...
MatrixManipulator, UFO, Trackball and ANimation manipulator.
2005-03-20 23:57:17 +00:00
Robert Osfield
7951be9573
Added support for handling transparent geometries and textures.
2005-03-18 11:21:01 +00:00
Robert Osfield
2e67fee738
updates to reflect changes to StateAttribute::Types
2005-03-18 10:27:49 +00:00
Robert Osfield
667ecd91f1
From Alberto Farre, fixes to ProxyNode.
2005-03-18 10:00:16 +00:00
Robert Osfield
c30141d6be
From Mike Weiblen, "minor patches to osgFX consisting of changing from
...
"state.matrix.modelview[0]" to the equivalent "state.matrix.modelview".
Per ARB_vertex_program, the "[0]" syntax is supported only when
EXT_vertex_weighting or ARB_vertex_blend are supported."
2005-03-18 09:37:46 +00:00
Robert Osfield
d801593d35
Improvements to the handling of textures and texture coords.
2005-03-18 02:45:54 +00:00
Robert Osfield
dd4427d1e3
Made the can't find ground intersection message only appear as INFO.
2005-03-18 02:45:02 +00:00
Robert Osfield
d52f4ea23a
Added support for a new IsOperationPermissibleForObjectCallback in osgUtil::Optimizer.
2005-03-18 02:44:08 +00:00
Robert Osfield
8bb4649cd5
Added extra controls into osgDB::DatabasePager for customizing how
...
much time is allocated to compiling and deleting OpenGL objects, also
added support into osgProducer::OsgSceneHandler.cpp for these new parameters.
The new cotrols are:
DatabasePager::s/getTargetFrameRate(..)
DatabasePager::s/getMinimumTimeAvailableForGLCompileAndDeletePerFrame()
DatabasePager::s/getMaximumNumOfObjectsToCompilePerFrame()
2005-03-17 19:32:09 +00:00
Robert Osfield
6904696573
Added check against node.getName() into isNodeEmpty(Node&) method so that nodes
...
with names arn't assumed to be empty.
2005-03-17 10:24:22 +00:00
Robert Osfield
4beb385d2d
Changed tabs to four spaces
2005-03-14 09:28:31 +00:00
Robert Osfield
8c7f71ef39
Added osgGL2 to .ive list of dependencies
2005-03-13 17:26:52 +00:00
Don BURNS
c332d1f751
Chagned osg::Matrix to osg::Matrixd
2005-03-13 05:02:02 +00:00
Don BURNS
4904c20889
Added M_PI definition for winders
2005-03-12 15:57:44 +00:00
Don BURNS
fce7f24347
Added a few things to osgProducer::Viewer to support UFO manipulator and
...
cleaned up UFOManipulator.
2005-03-12 05:31:26 +00:00