Commit Graph

5727 Commits

Author SHA1 Message Date
Robert Osfield
ff61a20315 Added const version of getReadPBuffer() 2006-08-25 14:54:54 +00:00
Robert Osfield
f5d9443b78 Fixed const correctness of get shadow functions 2006-08-25 14:53:09 +00:00
Robert Osfield
ecee62e1c1 Updated wrappers 2006-08-25 09:03:26 +00:00
Robert Osfield
0900857333 From Farshid Lashkari,
"I was experiencing hard crashes of my application when using PBO's on
machines that don't support PBO's. I think osg incorrectly checks if
PBO's are supported.

I added a new method to the BufferObject::Extensions class which
returns if the "GL_ARB_pixel_buffer_object" string is supported. This
fixes the problem on my end. Machines without PBO support will
continue to work and machines with PBO support will still be able to
use it."
2006-08-25 08:48:16 +00:00
Robert Osfield
8365ec3217 From Eric Wing, updates to Xcode project 2006-08-25 08:42:17 +00:00
Robert Osfield
62edacece5 From David Guthrie, "I know there are 50,000 changes to osg/Math for OSX a day, but I
think it can be simplified quite a bit.  The old code includes
<cmath> for pre-10.2 and anything using something other than g++ 4
and then uses std::isnan.  For the most current version, it leaves
out cmath and uses isnan().  std::isnan and cmath work for the
current version, so I just made it include cmath if __APPLE__ is
defined and removed the ifdef between versions of OS X for isnan
related things.

This way the code is all the same, and it's not fragile to someone
including <cmath> prior to including osg/Math."
2006-08-24 20:16:25 +00:00
Robert Osfield
49e7607fa0 Simplified swap bytes code to make it more efficient. 2006-08-24 20:15:32 +00:00
Robert Osfield
1413eea52c Add error message report to catch attempts to flip mipmap images. 2006-08-24 16:33:23 +00:00
Robert Osfield
db08e3d61e Fixed COLLDADA plugin name and remove osgmove example 2006-08-24 13:16:38 +00:00
Robert Osfield
118161416f From Sebastien Grignard, fix to writing of dds files, write the source data
directly rather using a series of memcpy.
2006-08-23 15:25:43 +00:00
Robert Osfield
7b01f5a033 From Jeremy Moles, fixed typos 2006-08-23 15:11:18 +00:00
Robert Osfield
a33955a56b From Daniel Larimer, fix for OSX 10.4 when gcc != 4 2006-08-23 14:17:06 +00:00
Robert Osfield
d25735b6b9 From Andrew Lorino and Mike Weiblen, COLLADA 1.4.1 ReaderWriter, kindly developed and donated by Sony Computer Entertainment Inc. US R&D. 2006-08-23 13:32:03 +00:00
Robert Osfield
d1b14abb91 Added sizeof(short int) 2006-08-23 13:18:22 +00:00
Robert Osfield
ce8d8c09e1 Tweaks to osglogo to allow you to export alpha blended screenshots 2006-08-23 13:16:12 +00:00
Don BURNS
1fa331034c Added osgUtil::Tesselator for SHapeType Polygon to handle concave polygons. 2006-08-22 19:10:48 +00:00
Robert Osfield
8aceb4eec6 From Vaclav Bilek, "The purpose of this change is to suppress "re-reading" of osg::ProxyNodes
( in OF external references) after the OF file is loaded. The change do
conditional
execution of already existing code.

I use this for optimized preprocessing of large databases what can not
be loaded
in one pass because of memory limits."
2006-08-22 13:07:20 +00:00
Robert Osfield
c8a5dc86a2 From Gary Quinn, updated to take account of new bin directory structure. 2006-08-22 12:49:02 +00:00
Robert Osfield
794a36f30f From Joran Jessurun, updated to look for lib/win32. 2006-08-22 12:46:13 +00:00
Robert Osfield
26e3424195 Changed the default implementation of backdrop text to DEPTH_RANGE and
tweaked the depth range values to minimize the depth rage witout causing z fighting
on osgtext example.
2006-08-22 12:33:35 +00:00
Robert Osfield
98cdf9b3c7 From Eric Wing, fix for compute of the bounding box when handling outline/backdrop text. 2006-08-22 10:23:58 +00:00
Robert Osfield
71c79506e9 From Eric Wing, compile fix for OSX 2006-08-21 21:09:40 +00:00
Robert Osfield
b286a380fb From Eric Wing, updates to Xcode projects 2006-08-21 21:00:14 +00:00
Robert Osfield
6f23173c05 Added comments on the meaning of button value 2006-08-21 20:29:32 +00:00
Robert Osfield
a50d812d9a Fixed 64 bit support 2006-08-21 15:07:31 +00:00
Robert Osfield
be60b32add Fixed texture optimization problem associated with mixing already compiled scene graphs - resulting
in incorrect texture assignment.  Solution was to a compareTextureObjects() test to the Texture*::compare(..) method that
the osgUtil::Optimizer::StateSetVisitor uses to determine uniqueness.
2006-08-14 19:42:22 +00:00
Robert Osfield
fb27b27e5e Ran dos2unix to fix inconsistent line endings 2006-08-14 11:03:43 +00:00
Robert Osfield
7b53511251 From Paul Martz, "The gist of this change is, if the OpenFlight version of the
parent file is so old that it doesn't support Light Point palettes or Shader
palettes, then the parent file is not allowed to override those palettes in
the child."
2006-08-14 07:59:28 +00:00
Robert Osfield
85b39a7894 Updated ChangeLog for 1.1.1 release 2006-08-13 20:12:49 +00:00
Robert Osfield
9774c30178 Updated ChangeLog, NEWS, osgversion and AUTHORS.txt for 1.1.1 release 2006-08-13 08:40:06 +00:00
Robert Osfield
c3313b99b2 Changed the texture wrap mode to repeat 2006-08-13 08:24:19 +00:00
Robert Osfield
25a91d97f0 From Chuck Sembroski, fixes for IRIX 2006-08-13 07:37:55 +00:00
Robert Osfield
a16568254c Moved reset to 0 of _createReuseMatrixIndex from CullVistor.cpp to CullStack.cpp so that
CullStack::reset works correctly for all subclasses - fixing a memory consumption issue with occluders
2006-08-12 18:19:43 +00:00
Robert Osfield
132f9ead45 Updated version number for 1.1.1 release 2006-08-12 08:29:16 +00:00
Robert Osfield
dbc5fc9f4d Updated ChangelLog and AUTHORS file 2006-08-12 07:59:36 +00:00
Robert Osfield
108a557d72 Removed Xcode 1.x projects 2006-08-12 07:43:37 +00:00
Robert Osfield
469c195a1c From Radu Mihai, removed osgfbo and osgpbuffer projects 2006-08-11 21:48:24 +00:00
Robert Osfield
ad2b719dc0 Added osg:: to Referenced() to fix IRIX build. 2006-08-11 21:39:41 +00:00
Don BURNS
36fcb93b0f removed CRLF and replaced with LF in ReaderWriteNET.cpp 2006-08-11 19:56:03 +00:00
Robert Osfield
c00b708c0c Updated wrappers 2006-08-11 18:23:10 +00:00
Robert Osfield
38c70042a5 Fixed if (numProcessors>1), was originally >= 2006-08-11 18:22:16 +00:00
Don BURNS
2bed6e60a1 Added comments to support use of Proxy in the .net plugin. 2006-08-11 17:39:10 +00:00
Don BURNS
a456538e3c Submission by Carlo Camporesi - Added Proxy support to .net loader 2006-08-11 17:34:04 +00:00
Robert Osfield
0220448af3 Fixed value of FLATTEN_BILLBOARDS enum. 2006-08-11 16:03:04 +00:00
Robert Osfield
6b3fbb53f8 Added file search path to ESRI reader. 2006-08-11 13:06:36 +00:00
Robert Osfield
306743c903 Fixed bug in Group::setChild relating to the accounting for OccluderNode. 2006-08-11 12:53:57 +00:00
Robert Osfield
1e742f1064 Moved the OpenThreads::GetNumberOfProcessors() inside the if (_enableProcessAffinitHint) block to
avoid slowing down init of apps that don't require procesor affinity.
2006-08-11 12:39:42 +00:00
Robert Osfield
d1fe85caf6 Fixed pbuffer usage cross multiple graphics contexts 2006-08-11 11:05:09 +00:00
Robert Osfield
dd85c271a9 Updated NEWS for rc1 2006-08-11 11:04:49 +00:00
Robert Osfield
da46fd5002 Updated AUTHORS file 2006-08-11 09:50:32 +00:00