Robert Osfield
38ee7c1213
Updated wrappers
2006-08-31 10:37:27 +00:00
Robert Osfield
aaba1c6b23
Made the inheritance of osg::Object in the DrawCallback to be virtual.
2006-08-31 10:10:42 +00:00
Robert Osfield
dcf19c92fd
Added support for CameraNode's PostDrawCallback.
2006-08-31 10:08:05 +00:00
Robert Osfield
5988668cff
Added GPU stats to NEWS list
2006-08-30 19:33:13 +00:00
Robert Osfield
6302866781
Updated NEWS for rc2
2006-08-30 19:21:07 +00:00
Robert Osfield
102215afb5
To TextureAtlasBuilder add copying of border pixels into margins to help improve quality of lower mipmap levels.
2006-08-30 16:33:30 +00:00
Robert Osfield
c4731804b8
From Mike Wittman, changed release build options to reduce binary bloat.
2006-08-30 13:50:26 +00:00
Robert Osfield
e789ae6f54
In TextureAtlasVisitor code added catch for textures that have some geometry with texcoords within 0 to 1.0, but
...
others others out of the 0 to 1 range, these textures are automatically rejected from consideration for adding to a texture atlas.
2006-08-30 09:32:05 +00:00
Robert Osfield
25bf4a6626
To the TextureAtlasBuilder added detection of instance where a single drawable
...
has multiple textures on the same texture unit inherited down to it from above.
2006-08-29 15:05:05 +00:00
Robert Osfield
3615f681a9
Updated wrappers
2006-08-29 12:31:07 +00:00
Robert Osfield
9778e70869
Added GPU stats
2006-08-29 11:25:29 +00:00
Robert Osfield
22e94c9aaf
Added TexMat(Matrix) constructor.
2006-08-29 06:58:22 +00:00
Don BURNS
f74d3af391
Fixed a crash in removeInternalTriangles() for models without normals.
2006-08-29 00:10:43 +00:00
Robert Osfield
6be6bc2eaa
Added TexEnv object into Font and apply this in Text::drawImplementation to make
...
sure that a valid TexEnv is applied
2006-08-28 19:37:40 +00:00
Robert Osfield
c8e7a9ea40
From Roger James, improved mapping of AC3D lighting model to OSG
2006-08-28 19:07:30 +00:00
Robert Osfield
6b186a122f
Added support for logging StateSet usage in StatsVisitor.
2006-08-28 19:06:33 +00:00
Robert Osfield
66f40a1670
Added env var docs
2006-08-28 19:05:40 +00:00
Robert Osfield
70470bc84a
From Roger James, "I have been going through my modified osg files and came across this fix to the Tesselator. From memory it handles a problem with per primitive normal binding. I must have forgotten to submit it."
2006-08-28 19:01:03 +00:00
Robert Osfield
19f3d975dd
Futher work on TextureAtlasBuilder/Visitor, now functioning enough to deploy on real models.
2006-08-28 15:46:02 +00:00
Robert Osfield
1055bd013d
Updated wrappers
2006-08-28 10:49:37 +00:00
Robert Osfield
ee7f3fa375
Further work on TextureAlasBuilder and TextureAtlasVisitor.
2006-08-28 10:46:39 +00:00
Robert Osfield
9f6be131a4
Further work of TextureAtlasBuilder
2006-08-26 21:38:22 +00:00
Robert Osfield
7ebf8f1fa7
Updated wrappers
2006-08-25 16:31:28 +00:00
Robert Osfield
f86c824275
Further work on new TextureAtlasBuilder.
2006-08-25 16:30:23 +00:00
Robert Osfield
1f8c4874f6
Checking in first cut of new osgUtil::Optimizer::TextureAtlasBuilder class
...
for building texture atlas for sets of images or textures.
2006-08-25 15:53:16 +00:00
Robert Osfield
179f6100a0
Added missing setDataType and setPacking functions
2006-08-25 15:49:29 +00:00
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