Robert Osfield
578f385760
From Mike Weiblen, support for geometry shaders, and osgeometryshaders example to demonstrate them.
2008-01-08 14:29:44 +00:00
Robert Osfield
ff565128af
Introduced new osg::discardDeletedOpenGLObjects() methods, and usage of it in
...
GrpahicsContext::close() to handle cases where deletingOpenGLObjects is no possible,
such as when GraphicsWindowEmbedded is used.
2008-01-08 13:24:29 +00:00
Robert Osfield
9f412d684c
Added OSGUTIL_EXPORTs
2008-01-07 09:47:36 +00:00
Robert Osfield
2caf460300
Added missing #include <osgUtil/Export>
2008-01-06 17:53:21 +00:00
Robert Osfield
57475ed8fe
Added exports for Windows build
2008-01-06 10:52:23 +00:00
Robert Osfield
35d9107d81
Added catch for handling cases where undefined settings for dislayNum and screenNum are used
2008-01-04 13:57:36 +00:00
Robert Osfield
d5db983b90
Updated version number for 2.3.1 release
2008-01-04 11:45:25 +00:00
Robert Osfield
b222d4201c
From Paul Martz, "The osgocclusionquery example contained some duplicate code that was also in the core OSG occlusion query code. This change removes the need for that."
2007-12-26 22:00:28 +00:00
Robert Osfield
2aca19a4e6
From David Callu, further work in support of shapefile support in VirtualPlanetBuilder
2007-12-26 21:39:29 +00:00
Robert Osfield
e39bb04c62
From Jason Daly, "I'm still having a problem with SWING animations on sequences. Here's
...
the fix again, merged with this morning's svn (including the other
Sequence fixes from J-S)."
2007-12-24 14:45:31 +00:00
Robert Osfield
ce5388a8bc
Convert osgText and freetype plugin across to keeping the font size as state that
...
is passed into the getGlyph and getKerning methods rather than a current state of the font itself.
2007-12-23 18:15:54 +00:00
Robert Osfield
f290b75bc9
Moved Font code across to using FontSizePair internally and on Font methods, but
...
still using original implemetations.
2007-12-23 13:45:37 +00:00
Robert Osfield
dea067050c
Renamed osgText::Font::SizePair to osgText::FontSizePair in prep for use this more
...
widely within osgText/freetype plugin.
Added support for inserting loading models into --mt multithreaded implementation.
2007-12-23 13:18:40 +00:00
Robert Osfield
8c5a9ac218
Fixed indentation
2007-12-23 13:08:14 +00:00
Robert Osfield
5a79032599
Added copyright notice and tweaked genwrapper
2007-12-21 17:33:00 +00:00
Robert Osfield
095288bb47
Removed inappropriate inline
2007-12-21 15:46:50 +00:00
Robert Osfield
4889342c4a
From Paul Martz, Introduced osg::OcclusionQueryNode with support for OpenGL occlusion query extension
2007-12-21 14:45:16 +00:00
Robert Osfield
5f7a2968ac
From Bryan Thrall, "UFOManipulator ignores any attached CoordinateFrameCallback; the
...
attached files fix this (based on 2.2 release).
"
2007-12-21 14:21:21 +00:00
Robert Osfield
cf1a30841a
From David Callu, various classes in support of VirtualPlanetBuilder
2007-12-21 13:07:54 +00:00
Robert Osfield
2cab28c3b8
Added support for min to max level ranges for Layers in support of VirtualPlanetBuilder usage of this.
2007-12-20 15:51:13 +00:00
Robert Osfield
2c0842c7b7
Added an optional use of doubles for computing error metrics to help investigate precision issues seen in VPB when working with small segments of geographic data.
2007-12-20 15:50:07 +00:00
Robert Osfield
a1ce3ffd9d
Updated version number for 2.3.0 dev release
2007-12-17 21:08:52 +00:00
Robert Osfield
d7a2728fea
From David Cullu, added various mathematical operators
2007-12-17 17:43:57 +00:00
Robert Osfield
49696d776a
From Stephan Huber, "attached you'll find an updated carbon-implementation, which implements
...
the missing functionality for setWindowName and useCursor
"
2007-12-17 10:24:20 +00:00
Robert Osfield
0cdc3e9506
Added intializers.
2007-12-16 17:01:40 +00:00
Robert Osfield
af922cc355
Added separate unform variable to keep track of abmient contribution.
2007-12-15 15:19:18 +00:00
Robert Osfield
f7e91fa28e
Added Locator::s/getTransformScaledByResolution(bool) to assist with VPB integration
2007-12-13 17:51:43 +00:00
Robert Osfield
b6f32a3ed0
Added copy operator to ShapeAttribute to prevent problems when assigned them or use within a vector
2007-12-13 12:30:31 +00:00
Robert Osfield
6cca3b8f49
Added a osgViewer::setSceneData(ref_ptr<Node>) method.
2007-12-12 17:59:06 +00:00
Robert Osfield
213a370c25
Added new setFont(ref_ptr<>) variants to Text and Text3D
2007-12-12 17:48:20 +00:00
Robert Osfield
256391c3b4
From Serge Lages, introduce readRef*File() methods which pass back ref_ptr<> rather than C pointers.
2007-12-12 17:04:48 +00:00
Robert Osfield
88f3a864ac
Updated copyright notices
2007-12-12 16:56:28 +00:00
Robert Osfield
6bb7935dea
From Andy Skinner, build fixes for Solaris.
2007-12-12 16:55:13 +00:00
Robert Osfield
6ca74544bc
Added const to operators.
2007-12-12 10:47:58 +00:00
Robert Osfield
1c2726fd07
From Paul Martz, "Function declaration returns a bool, function body was returning a pointer. Changed body to return (pointer != NULL)."
2007-12-12 09:45:29 +00:00
Robert Osfield
ffab16ba2f
From Karl Heijdenberg, moved set/getFrameStamp() from osgViewer::View to osg::View.
2007-12-11 16:34:37 +00:00
Robert Osfield
be5f709bdb
From Mike Garrity, "There was an on again/off again thread on OSG users about
...
creating subclasses of osg::Array that referenced data
stored an application's internal data structures. I took
a stab at implementing that and ran into a couple of
downcasts in Geometry.cpp. Enclosed is my take at fixing
those along with a simple example of how to do this."
2007-12-11 15:55:02 +00:00
Robert Osfield
640999dea6
From Tim More, "This submission tries to optimize redundant compilation of StateSets and Drawables
...
in the DatabasePager. The practical effects of these are to greatly reduce startup time
and the time to load an individual scenery tile in FlightGear.
- From my log message:
Minimize the number of StateSets and drawables that are compiled by checking
if they have already been compiled or will be elminated by the
SharedStateManager.
Move the sorting of the dataToCompile queue out of compileGLObjects
into the man pager run function.
Change the SharedStateManager to use maps instead of vectors."
2007-12-11 12:32:31 +00:00
Robert Osfield
298e07fc72
From Mathias Froechlich, "I have extended the StateSet api with a
...
StateSet::removeAssociatedModes(const StateAttribute*)
and a
StateSet::removeAssociatedTextureModes(unsigned, const StateAttribute*)
call. These funktions are just missing for a complete api IMO."
2007-12-11 11:42:02 +00:00
Robert Osfield
b467fdeb6c
From Alberto Luaces, "it seems that include/osgParticle/BoxPlacer was created from the SectorPlacer
...
file. The code works well but the SectorPlacer comments stayed in the new
file. I have altered those comments so they now contain valid information for
the BoxPlacer class and the doxygen generated documentation is correct.
"
2007-12-11 11:37:03 +00:00
Robert Osfield
4e5ce63c85
From Per Fahlberg, "Attached is a fix allowing removal of shaders from a program after it is
...
first compiled. It will also allow new shaders to be attached after the
program is first compiled."
2007-12-11 11:21:13 +00:00
Robert Osfield
c5704586f9
From Richard Schmidt, "attached you will find a set of small fixes and features.
...
CullVisitor/SceneView:
*Feature: This version supports multiple clearnodes in the graph, one per renderstage.
Text:
*Feature: Performance Enhancement when calling SetBackdropColor
Material:
*Fix: OpenGL calls are now made according to the OpenGL Standard
"
2007-12-10 20:30:05 +00:00
Robert Osfield
eef88e7e83
From David Callu, Text3D
2007-12-10 19:49:17 +00:00
Robert Osfield
f4afa427a7
From Roland Smeenk, "Attached you will find a large set of small typo fixes (mainly in the comments)."
2007-12-10 17:30:18 +00:00
Robert Osfield
f69a48e552
From David Callu, added support of 3D text to osgText and associated plugins.
2007-12-10 15:15:56 +00:00
Robert Osfield
9946cb3b24
Added export macro for windows build
2007-12-10 11:20:22 +00:00
Robert Osfield
457d3fd7e4
Removed redundent OpenFlightOptimizer
2007-12-09 16:23:19 +00:00
Robert Osfield
78c1fd4844
From David Callu, added DBase attribute support for shapefiles
2007-12-09 15:43:49 +00:00
Robert Osfield
5e6bab7de1
Updated wrappers
2007-12-09 14:54:02 +00:00
Robert Osfield
65bef96a6e
From Peter Hrenka, "Due to popular demand I would like to submit this
...
enhanced version of PolytopeIntersector.
New features of PolytopeIntersector :
* Dimension mask: The user may specify the dimensions of the
primitives to be tested. Checking polytope-triangle and
polytope-quad intersections is rather slow so this can
be turned off.
* Reference plane: The resulting intersections are sorted
by the distance to this plane.
New memebers of PolytopeIntersector::Intersection :
* distance: Distance of localIntersectionPoint to the reference plane
* maxDistance: Maximum distance of all intersectionPoints to the
reference plane.
* intersectionPoints: The points intersecting the planes of the polytope
or points completely inside the polytope.
* localIntersectionPoint: arithmetic mean of all intersection points
* primitiveIndex: Index of the primitive that intersected
I added some more output to the example osgkeyboardmouse."
2007-12-08 16:37:05 +00:00