Commit Graph

2268 Commits

Author SHA1 Message Date
Robert Osfield
e46d1cf941 Moved OpenThreads::Threads::Yield() calls across to new
OpenThreads::Threads::YieldCurrentThread() naming.
2003-08-21 09:52:12 +00:00
Robert Osfield
7b9de3ad91 From Marco Jez, improvement to the handling of coordinates frame in CubeMapGenerator. 2003-08-21 09:51:25 +00:00
Robert Osfield
1a68dd80d7 Added explicit calls cancel and wait until thread and no longer running to the
DatabasePager and TXP pager.
2003-08-20 12:52:33 +00:00
Robert Osfield
18abc3aff7 Renamed instances of Click to Tick for consistency. 2003-08-20 12:51:40 +00:00
Robert Osfield
1c3b2b2554 Standardised the culling flags between CullingSet and CullStack, and
made ENABLE_ALL_CULLING enable all culling including the near and far plane.
DEFAULT_CULLING is now used for the default as uses the same original
values as ENABLE_ALL_CULLING once did - view frustum culling with near and
far culling. SceneView now uses DEFAULT_CULLING.
2003-08-20 12:50:54 +00:00
Robert Osfield
bca7e4e73b Added osg::setGLExtensionDisableString && osg::getGLExtensionDisableString()
functions the GLExtensions file, and made the isGLExtensionSupported() function
use the extension disable string when extension are querried.
2003-08-20 10:38:54 +00:00
Robert Osfield
56044e6cf7 Moved the delete of expired subgraphs to the database thread to improve
the stability of the frame rate.
2003-08-20 07:36:47 +00:00
Robert Osfield
5b7d480c0a Fixes to the database paging. 2003-08-19 19:46:18 +00:00
Robert Osfield
e2a72f7e72 Fixed typo of getNumMatrixManipulators(). 2003-08-19 14:05:53 +00:00
Robert Osfield
75e4d43026 Removed inappropriate static_cast<>. 2003-08-19 13:01:01 +00:00
Robert Osfield
169eb0fd07 Changed applyTextParamaters() to set the wrap modes :
GL_TEXTURE_WRAP_S for all texture targets.
	GL_TEXTURE_WRAP_T for all texture targets except GL_TEXRTURE_1D
	GL_TEXTURE_WRAP_R for only GL_TEXTURE_3D

And changed the defaults to OpenGL defaults of GL_REPEAT.
2003-08-18 19:51:27 +00:00
Robert Osfield
0685c2a852 Added applyTexImage_subload() implemention into TextureRectangle class
to provide automatic support for texture subloading.
2003-08-18 19:36:50 +00:00
Robert Osfield
c334279935 Changed private to protected to allow Timer to be subclassed more easily. 2003-08-18 15:14:09 +00:00
Robert Osfield
ee0cce1679 Added getSecondsPerClick() method to Timer. 2003-08-18 15:12:04 +00:00
Robert Osfield
8d5aa5644d Added X_INC into the Make/makedefs and changed the *GNUmakefile* to use it. 2003-08-18 10:58:30 +00:00
Robert Osfield
8c65920c1f Fixes for Java build. 2003-08-18 09:24:17 +00:00
Robert Osfield
07f120fb1c Fixes to Cygwin/Mingw makedefs.
Converted unix line endinges to dos line endings in various VS project files.
2003-08-16 20:42:54 +00:00
Don BURNS
52819c3f25 Added check for byte swapping when writing RGB files so rgb files can be
created on big endian machines
2003-08-16 18:52:37 +00:00
Robert Osfield
3738c62cde Did a to_dos on examples, plugins and core libs. 2003-08-15 09:44:29 +00:00
Robert Osfield
282eb39ec5 Changed cout's to notufy(INFO). 2003-08-15 09:38:36 +00:00
Robert Osfield
4b7bde1440 Removed the deprecated NodeVisitor::getLocalToWorld/WorldToLocal methods as
this are replaced by the osg::computeLocalToWorld/WorldToLocal() functions
found in osg/Transform.

Made the ReleaseTextureAndDisplayListsVisitor a public nested class of
osgDB::DatabasePager to allow it to be used in the TXP plugin, and added
usage of this visitor to the TXP plugin to make sure that textures and
display lists are released during the update thread.
2003-08-14 00:05:34 +00:00
Robert Osfield
6a25da37f2 Added -lOpenThreads to the IRIX OTHER_LIBS definition. 2003-08-12 23:36:40 +00:00
Robert Osfield
7ed516e443 Fixed capitalization of QTtexture.h 2003-08-12 23:06:25 +00:00
Robert Osfield
1de167cd37 Fixed DrawVertex/DrawColors access of null arrays errors. 2003-08-12 10:15:59 +00:00
Robert Osfield
ef4535a2a4 Added s/getFastPathHint(). 2003-08-09 00:46:48 +00:00
Don BURNS
d6820a3f2b updates makedefs and makerules for Mac OSX submitted by Bob Kuehne 2003-08-08 14:41:37 +00:00
Robert Osfield
8a737dd2ca Added support for clampping the near and far values in othrographic projection.
Fixed the handling of anaglyphic/stereo state in SceneView::draw().
2003-08-08 00:36:51 +00:00
Robert Osfield
a11395feec Added missing copy ops in the copy constructor.
Added computeInternalOptimziedGeometry() and associated methods to Geometry
to support alternate versions of a geometry to be used to optimize rendering,
such as flattening indexed attributes to straight attribute arrays.
2003-08-08 00:21:30 +00:00
Robert Osfield
ca3f824410 Added convience constructor. 2003-08-08 00:19:06 +00:00
Robert Osfield
f4d093df36 Fixed computeFastPathsUsed() so that it includes a check for the presence
of _vertexIndices and disables fast paths in this case.
2003-08-04 22:03:55 +00:00
Robert Osfield
dd90d924d2 From Romano Magacho. add osg:: to Referenced() calls for IRIX build. 2003-08-04 21:09:40 +00:00
Robert Osfield
f214a4fc27 From Gideon May, added 'd' to end of osgdb_osgSim.lib for debug build. 2003-08-04 21:04:48 +00:00
Don BURNS
5671630f80 Removed a couple of stray PRODUCER_LIB_DIR definitions in the examples 2003-08-04 16:26:45 +00:00
Robert Osfield
372c5b636a Fixed VC6 for scoping problem in ive plugin. 2003-08-03 02:59:48 +00:00
Robert Osfield
5ec1458975 From Romano Magacho, fix for compile problem under IRIX. 2003-08-03 00:24:59 +00:00
Robert Osfield
e7abf75ab0 Post release revision change. 2003-07-26 23:44:55 +00:00
Robert Osfield
90d04b95a9 Updated dependencies. 2003-07-26 23:06:23 +00:00
Don BURNS
9c81de9c12 Small typo 2003-07-26 22:44:04 +00:00
Robert Osfield
cd305a97a2 Typos fixed. 2003-07-26 22:32:19 +00:00
Robert Osfield
a2eaa7bd0c Updated changelog for release. 2003-07-26 21:06:39 +00:00
Robert Osfield
2ff569aa4a Updated NEWS for release. 2003-07-26 21:01:43 +00:00
Robert Osfield
703eec05b2 Updated NEWS 2003-07-26 19:08:04 +00:00
Robert Osfield
79855cf669 Fixed warning in jpeg loader by replacing longjmp with throw/catch. 2003-07-26 18:57:12 +00:00
Robert Osfield
525cd9292d Fixed long jump warning.
CV: ----------------------------------------------------------------------
2003-07-26 14:15:24 +00:00
Robert Osfield
a8f950abff Added openthreads to list of dependencies.: 2003-07-26 04:51:38 +00:00
Robert Osfield
edeb32778c Fixed warnings. 2003-07-26 04:25:27 +00:00
Don BURNS
e96c0b735b Fixes to makedefs/makedirdefs ordering in some makefiles, and conditional
build for osgslideshow on Sun
2003-07-26 01:02:39 +00:00
Don BURNS
8ff217576a Removed command line definitions of OSG_VERSION and OSG_RELEASE 2003-07-26 00:12:17 +00:00
Don BURNS
49a93076c1 Removed references to PRODUCER_INCLUDE_DIR and PRODUCER_LIB_DIR in the
local makefiles.

Small change in txp loader for sun build
2003-07-25 23:49:03 +00:00
Robert Osfield
e26ef983c4 Fixed warnings. 2003-07-24 06:13:24 +00:00