Commit Graph

5362 Commits

Author SHA1 Message Date
Robert Osfield
87aff3d92c Further work on osgText::FadeText implementation. 2006-09-19 20:19:29 +00:00
Robert Osfield
45dc4572a9 Fixed reading/writing of non C string osg::Text::String's. 2006-09-19 13:54:04 +00:00
Robert Osfield
b296e10a0d Added osgfadetext example to VS projects 2006-09-18 21:03:23 +00:00
Robert Osfield
def74d3471 Introduced new osg::View, and osg::RenderInfo classes into the core OSG to help
handle scenes with multiple views with elements that need coordinating on a per view basis.

Added beginings of new osgText::FadeText class (not functionality yet).
2006-09-18 20:54:48 +00:00
Robert Osfield
fa791e99b8 From Per Fahlberg, "I've fixed the dae plugin so it is only using one instance of the DAE.
The crashes seen earlier are gone, it is now possible to read multiple
.dae files and converting both to and from .dae files."
2006-09-15 13:11:00 +00:00
Robert Osfield
fa76f7e973 Added a _threadHoldingMutex = 0; to ReentrantMutex::unlock() to avoid a potential
bug with the mutex being aquired by two threads.
2006-09-15 10:21:24 +00:00
Robert Osfield
6f3962f42d Returning revion number to 0 to signify CVS version 2006-09-13 16:38:17 +00:00
Robert Osfield
ebd2bb6a19 Added extra comment explaining where state reset() should be called. 2006-09-13 14:55:53 +00:00
Robert Osfield
05d218e990 From Eric Wing, updates to OSX build notes. 2006-09-13 14:00:19 +00:00
Robert Osfield
af32446f92 Fixed GPU stats display bug. 2006-09-13 13:50:38 +00:00
Robert Osfield
2f112af91d Correct HP's AIX to IBM's AIX. 2006-09-13 13:33:36 +00:00
Robert Osfield
4ecafe5db2 Updated version for 1.2 release 2006-09-12 19:15:04 +00:00
Robert Osfield
3c4a4ea00d Updated ChangeLog for 1.2 release 2006-09-12 19:09:59 +00:00
Robert Osfield
515225cfb9 Fixed the drawArrays() method checking of _drawArrayPtr 2006-09-12 15:21:41 +00:00
Robert Osfield
c7906d5412 Added a check for zero length line segment in bool LineSegment::intersect(const BoundingSphere& bs,float& r1,float& r2) const. 2006-09-12 12:35:20 +00:00
Robert Osfield
bd5a40d82c Updated ChangeLog fro 1.2 release 2006-09-12 10:52:32 +00:00
Robert Osfield
cf7cee46ca Updated AUTHORS file for 1.2 release 2006-09-12 10:46:59 +00:00
Robert Osfield
f0db51895a Updated NEWS for 1.2 release 2006-09-12 09:28:00 +00:00
Robert Osfield
5915584b37 Revised the osg::ClampColor API to allow vertex, fragment and read color clamping to
be applied together.
2006-09-12 09:26:42 +00:00
Robert Osfield
63907dbbaf From Bryan Thrall, fix to Optimizer::MergeGeometryVisitor so that it checks
the permissable operation status on Drawables.
2006-09-08 20:08:01 +00:00
Robert Osfield
db33ae97eb Updated ChangeLog and AUTHORS file for 1.2 release 2006-09-08 14:31:50 +00:00
Robert Osfield
132a66630c Cleaned up NEWS for 1.2 release 2006-09-08 13:24:03 +00:00
Robert Osfield
127ec2a690 From Eric Wing, updated to Xcode projects 2006-09-08 10:46:05 +00:00
Robert Osfield
6c7ac73d9d Added link to website for build docs. 2006-09-08 10:07:41 +00:00
Robert Osfield
41708fdf16 From Mike Wittman, perl script to help remain project files for dumb VisualStudio 6.0 limitations. 2006-09-08 10:07:04 +00:00
Robert Osfield
292eee4c1e From Mike Weiblen, added missing export to fix osgTerrain wrapper linking under VS 2006-09-07 10:41:38 +00:00
Robert Osfield
ac36cca060 Updated osgTerrain wrapper project file with gdal dependencies. 2006-09-06 20:11:02 +00:00
Robert Osfield
edbc1c1e49 Tweak to NEWS 2006-09-06 14:10:13 +00:00
Robert Osfield
c1a0df32b6 Made get methods const 2006-09-06 13:53:48 +00:00
Robert Osfield
5a08afeb07 From Brede Johansen, "The previous submission didn't handle Objects with transforms. The
attached file corrects this.

I also removed the multitexture macro for the Object record.  Only
Face and Mesh records are valid targets."
2006-09-06 09:46:32 +00:00
Robert Osfield
5868bab4d9 From Eric Wing, updates to Xcode projects 2006-09-05 20:18:21 +00:00
Robert Osfield
aab6f86e99 Removed reference to Sony in COLLADA news entry. 2006-09-05 17:15:58 +00:00
Robert Osfield
80892030b8 Updated NEWS, AUTHORS file and osgversion for the 1.2-rc1 2006-09-05 15:22:54 +00:00
Robert Osfield
805065b983 Updated ChangeLog 2006-09-05 15:09:14 +00:00
Robert Osfield
9d02b2314f From Mike Weiblen, build fixes for Windows. 2006-09-05 09:51:33 +00:00
Robert Osfield
09b8c7d103 Updated to compile against changes to osgTerrain 2006-09-05 09:13:19 +00:00
Robert Osfield
b2c244af59 Updated wrappers 2006-09-05 08:56:27 +00:00
Robert Osfield
a39485729e From Paul Martz, warning fixes for Cygwin. 2006-09-05 08:46:34 +00:00
Robert Osfield
aab03c3c6d From Brede Johansen, "I have added an optimization to the OpenFlight plugin. By default it
ignores the Object records if it's safe to do so.  The reader option
preserveObject prevents this optimization.

I have also removed the flat shading attribute set by the Object
record.  This flag is only intended for the "Calculate Shading"
operation in Creator."
2006-09-05 08:44:51 +00:00
Robert Osfield
5c1b0f1bbd Added support for imagery and DEM's that wrap around the dateline, this required
two passes over the copying of imagery and DEM's to the destination graphs, once for
the original position, and once for the wrap around 360 degrees on or before.

Also fixed the GeospationExtents constructor that was setting the _max to DBL_MIN rather
than -DBL_MAX.  This bug causesd the y axis to be computed incorrectly.
2006-09-04 20:43:07 +00:00
Robert Osfield
625c0173b2 Missing part of Farshid Laskari's submission relating to CameraNode RenderOrder. 2006-09-04 13:35:26 +00:00
Robert Osfield
22a5a8802c Updated wrappers 2006-09-04 13:22:51 +00:00
Robert Osfield
daa54a3b09 From Farshid Lashkari,
"I've made some changes to osg which I think make it easier to control
the render order of CameraNode's. Instead of using the built-in orders
(PRE_RENDER, POST_RENDER, NESTED_RENDER), you can specify an integer
order. Values less than zero are pre rendered in order. Values greater
than zero are post rendered in order. And a value of 0 is equivalent
to NESTED_RENDER.

The changes should be fully backward compatible. Also, I changed the
RenderStageList type from a vector to a list because I needed to be
able to insert values anywhere in the list.

The reason I made these changes was because I wanted to be able to set
the render order of a CameraNode at runtime without having to reorder
it in the scenegraph."

and later in the final submission message (relating to what has been finally been merged)    :

"I've rethought my implementation and came up with something a little
better. The setRenderOrder will continue to take an enum, but will
have an optional orderNum parameter which can be both positive and
negative. I think this method is more intuitive and flexible."
2006-09-04 13:15:08 +00:00
Robert Osfield
5212d66cab Cleaned up the texture setup code. 2006-09-04 12:52:09 +00:00
Robert Osfield
f0277df858 Added osg::TexMat::s/getScaleByTextureRectangleSize feature that allows
one to use the osg::TexMat to automatically scale non dimensional tex coordinats to
the size of the last texture rectangle applied.
2006-09-04 12:46:49 +00:00
Robert Osfield
a93ca5a089 From Farshid Lashkari, removed debug message being written to the console. 2006-09-04 06:51:07 +00:00
Robert Osfield
ac41066733 Removed typedef TypeList from osgintrospection 2006-09-04 06:47:05 +00:00
Robert Osfield
a135650086 Added setting of position.w to 1.0 and removed zscale hack. 2006-09-02 14:27:42 +00:00
Robert Osfield
d2533dfcc0 Updated wrappers 2006-09-01 13:34:05 +00:00
Robert Osfield
47f64a6060 From David Callu, add reflection of std::wstring in the DefaultReflector 2006-09-01 13:22:37 +00:00