Robert Osfield
462803fd57
From Paul Martz, speeling fixes for Tessellator/Tessellation.
2007-01-08 21:29:49 +00:00
Robert Osfield
16d1c00a3d
Changed the return types of makeCurrent to bool, and added a bool GraphicsContext::releaseContext method
...
along with implementations in osgViewer.
2007-01-08 19:29:59 +00:00
Robert Osfield
4a5eda6522
Added GraphicsContext::ResizedCallback and GraphicsContext::resizedImplementation.
...
Added message on non implementation of GraphicsContext::valid().
Added prelimary GraphicsContext clean up support.
2007-01-08 16:20:10 +00:00
Robert Osfield
773fbd1b16
Added setThreadSafeRefUnref to LightSource
2007-01-07 10:00:50 +00:00
Robert Osfield
9fcace0e73
Added GraphicsContext support for clearing the graphis context. The clearing
...
is off by default (ClearMask is 0), but can be switched on when ClearMask is
non zero. GraphicsContext::clear() is called after each swap buffers
2007-01-05 15:24:06 +00:00
Robert Osfield
9e30014634
Removed inappropriate comment about normal orientation.
2007-01-05 09:55:04 +00:00
Robert Osfield
73fffe1800
Made Refernced::setThreadSafeReferenceCounting(bool) a virtual then overrode
...
this in various scene graph classes to ensure that the scene graph gets
updated as well as the objects that the initialial call is made from.
2007-01-04 16:49:58 +00:00
Robert Osfield
ff195bddf5
Added Object::resizeGLObjectBuffers(uint) method to help improve the ability
...
to change the number of active graphics contexts on the fly during an applications
life.
2007-01-04 14:11:51 +00:00
Robert Osfield
7155f7d1b0
Various work on osgViewer library, including warp point and graphics window resize support
2007-01-01 18:20:10 +00:00
Robert Osfield
93dbfa04b7
Aded new convinience methods to osg::Timer - s/getStartTick and time_s(), time_m() etc
...
to help get time reletive the new start tick.
2006-12-26 17:37:06 +00:00
Robert Osfield
39c0c2df76
Unified the osg::GraphicsThread::Operation and osg::GraphicsContext::Operation classes
...
as osg::GraphicsOperation. Unpdated parts of OSG depending upon these.
Added a virtaul bool valid() method to osg::GraphicsContext to allow apps to
test whether a valid graphis context has been created or not.
2006-12-24 16:40:19 +00:00
Robert Osfield
76461b3ab2
Added support for sample and sampleBuffers to osg::GraphicsContext::Traits and
...
cleaned up the Traits naming
2006-12-22 21:53:44 +00:00
Robert Osfield
4fc9af7ea0
Moved rendering support into GraphisContext, osgViewer::Viewer/View, and
...
added frame stamp updating and update traversal to osgViewer::Scene/Viewer.
Updated osgcamera example to use new Viewer API calls instead of using local
rendering calls.
2006-12-21 16:56:20 +00:00
Robert Osfield
d9d3b99c2e
From Paul Martz, "minor code comment cleaup/rewording"
2006-12-19 17:16:14 +00:00
Robert Osfield
c9c2950759
Moved UnitTestFramework from core osg lib into osgunittests example
2006-12-19 17:06:59 +00:00
Robert Osfield
dcebe4daa0
Added initial GraphicsWindowX11 implementation, and fleshed out more of the
...
osgViewer and osg::GraphicsContext/osg::View infrastructure.
2006-12-19 16:00:51 +00:00
Robert Osfield
afc77f9b39
Added support WindowingSystemInterface for querring the number of screens, the screen size and creating GraphicsContexts.
2006-12-17 20:49:01 +00:00
Robert Osfield
982a4db9e2
Added ViewPoint support into NodeVistor/CullStack/CullVisitor/LOD/PagedLOD etc to facilate
...
management of LOD settings for RTT cameras.
2006-12-15 17:27:18 +00:00
Robert Osfield
81213d47d8
From Andy Skinnder, warning fix
2006-12-14 14:44:10 +00:00
Robert Osfield
afa96fff0e
Added more accurate computation of local height above sea level in the plane intersections routines
2006-12-05 12:58:29 +00:00
Robert Osfield
ab7d1ecc42
Further work on PlaneIntersector
2006-11-29 14:21:59 +00:00
Robert Osfield
345810ef22
Added support for float or double osg::Plane, and the default osg::Plane to double.
...
Performance tests on big models did not indicate any performance penalty in using doubles over floats,
so the move to doubles should mainly impact precision improvements for whole earth databases.
Also made improvements to osgUtil::PlaneIntersector and osgSim::ElevationSlice classes
2006-11-28 16:00:52 +00:00
Robert Osfield
fd2ffeb310
Renamed osg::CameraNode to osg::Camera, cleaned up osg::View.
...
Added beginnings of new osgViewer::Scene,View,Viewer,CompositeViewer and GraphicsWindowProxy files.
2006-11-27 14:52:07 +00:00
Robert Osfield
4ab9c6f5f4
Removed check from objectDeleted(void*) method as this was not catching cases
...
where the registered ptr was different from the deleted ptr - something that
can happen with multiple inheritance.
2006-11-26 22:27:09 +00:00
Robert Osfield
2a8c48c13c
Added isIdentity() method
2006-11-24 21:10:57 +00:00
Robert Osfield
5044a85c9e
Improved handling of bounding polytope
2006-11-24 17:20:01 +00:00
Robert Osfield
1f3a851cfc
From Farshid Lashkari, Added missing initialization of the _scaleByTextureRectangleSize
...
variable in two of its constructors.
2006-11-22 20:39:44 +00:00
Robert Osfield
b67de41991
Rearranged the #ifdef's to prevent compile problems under NVidia 2.1 OGL drivers
2006-11-17 20:45:29 +00:00
Robert Osfield
d0cc014f1b
Further migration to using RenderInfo
2006-11-14 12:51:31 +00:00
Robert Osfield
7cb1bcbd7d
From Farshid Lashkari, "This patch adds a CoordOriginMode to the osg::PointSprite attribute.
...
The mode needs to be changed to LOWER_LEFT when rendering point
sprites to pbuffers or FBOs, otherwise the points will be transformed
on the CPU."
2006-11-14 12:29:54 +00:00
Robert Osfield
c3f3093ecc
From John Kelso, add support for default frame time for children of a Sequence node
2006-11-10 15:25:04 +00:00
Robert Osfield
8983544a86
Further work on osgShadow::GeometryOccluder
2006-11-10 15:07:13 +00:00
Robert Osfield
1c91b505dd
Fixed bug in Polytope::contains(const std::vector<Vec3>& vertices) which resulted
...
in false positives.
2006-11-02 15:22:38 +00:00
Robert Osfield
f257285efc
From Chuck Seberion, added support reading ARB float format textures.
2006-10-14 21:50:29 +00:00
Robert Osfield
660cda57c8
From Terry Welsh, mplemented POINT_ROT_EYE.
2006-10-14 21:47:13 +00:00
Robert Osfield
8e3a092a00
Removed the redundent relaseGLObjects() method declerations
2006-10-03 20:42:57 +00:00
Robert Osfield
e0599f652e
Added releaseGLObjects to NodeCallbacks, Drawable::DrawCallbacks and wired up
...
osgProducer to use it when doing cleanup_frame.
2006-10-02 15:38:31 +00:00
Robert Osfield
f97759405a
From Farshid Lashkari, "Here is the patch we discussed previously about adding a flag to
...
CullSettings which allows CameraNode to inherit the clear color."
2006-10-02 14:11:40 +00:00
Robert Osfield
3bfa8a27a8
From Edgar Ellis, "Changed return type of osg::equivalent methods from float/double to bool.
...
"
2006-10-02 13:11:32 +00:00
Robert Osfield
35d134f712
From Farshid Lashkari, added function for querring whether a mode is a texture related mode or not.
2006-09-21 10:01:27 +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
515225cfb9
Fixed the drawArrays() method checking of _drawArrayPtr
2006-09-12 15:21:41 +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
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
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
5d1de02afa
Updated Version number for 1.2 release
2006-08-31 20:55:46 +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
22e94c9aaf
Added TexMat(Matrix) constructor.
2006-08-29 06:58:22 +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