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