Commit Graph

4391 Commits

Author SHA1 Message Date
Robert Osfield
30478f0fef From Mike Weiblen: support for OSGHANGGLIDE_REVERSE_CONTROLS env which reverses
the pitch and roll control to account from Mike's "unique" way of flying hang gliders :-)
2005-09-19 15:33:25 +00:00
Robert Osfield
871cc70c32 From Ravi Mathur, added extension checks for point sprite support.
From Robert Osfield, tweaks of the above to use osg::buffer_object and a local struct to store
initialized to help with multi-thread and out of order context usage.
2005-09-19 15:28:31 +00:00
Robert Osfield
d1108ea862 Added support for "-O OutputTextureFiles" options string in .osg plugin to
allow texture files to be written out when writing out a .osg file.
2005-09-19 14:07:44 +00:00
Robert Osfield
ea1ea88a17 Added countMultipleIntersections to help with debugging. 2005-09-19 13:15:59 +00:00
Robert Osfield
3a1ce55de6 Improved the region classifaction of the intersection code. 2005-09-17 18:50:26 +00:00
Robert Osfield
68d22f8de7 Improved accuracy of spheresegment to mesh intersections uses mathematical
models of surface geometry.
2005-09-16 14:52:56 +00:00
Robert Osfield
a154348d9a Added Azimuth and Elevation intersector functors. 2005-09-16 09:28:22 +00:00
Robert Osfield
34986dedf0 Changed destinationRowDelta and destination_pixelSpace to int's, solving a
memory corruption crash under 64 bit build.
2005-09-15 20:55:35 +00:00
Robert Osfield
d2f98ef56e Added line connectivity code. 2005-09-15 20:03:37 +00:00
Robert Osfield
b8ce046f88 Moved copyLeavesFromRenderGraphListToRenderLeafList into public. 2005-09-15 09:03:14 +00:00
Robert Osfield
8dc8dcb95f Added querry of video size during open() call and associated allocImage to
ensure that the imagestream passed back is of a valid size.
2005-09-12 19:42:36 +00:00
Robert Osfield
d2ae4d692d From Henrique Bucher, add check against null light entry in LightPool. 2005-09-11 19:12:54 +00:00
Robert Osfield
141f8a70d7 From Farshid Lashkari, append "\fonts" to end of windows font search path. 2005-09-11 19:08:41 +00:00
Robert Osfield
e2361865fc From Sondra Iverson, "The options to rewind/restart and to toggle looping in the osgmovie
example have been implemented. "
2005-09-11 19:05:30 +00:00
Robert Osfield
9eaaa55d05 converted hardware tabs to spaces. 2005-09-11 19:02:20 +00:00
Robert Osfield
f686395012 From Sonda Iverson, fix for repeated pause/unpause toggleing in Xine plugin 2005-09-11 19:00:57 +00:00
Robert Osfield
1def1e0d53 From Joran Jessurun, fix to let the Viewer::computeNearFarPoints
function work correctly when used with multiple camera's on one render
surface.
2005-09-10 13:07:08 +00:00
Robert Osfield
f32984fefe Removed some debugging messages 2005-09-10 12:51:18 +00:00
Robert Osfield
4a47a79c23 Added more intersection testing code. 2005-09-10 12:51:03 +00:00
Don BURNS
77ab99e23c Added initial ESRIShape file loader.
Untabbed and formated LOGO loader.  Removed extraneous noise from NET loader
2005-09-09 20:26:50 +00:00
Robert Osfield
196eafd70b Removed duplicate typedef. 2005-09-09 15:42:48 +00:00
Robert Osfield
745834c329 Added triangle index functor to src/osgUtil/SphereSegment.cpp for computing
the intersection between an indivual geometry and the sphere segment.

Converted the terrain in osgspheresegment to be an osg::Geometry based
drawable rather than a osg::ShapeDrawable/osg::HeightField one to make it
more practicle to use as a test for the new SphereSegment intersection code.
2005-09-09 11:13:40 +00:00
Robert Osfield
67e8e0b287 Added PolytopeVisitor to SphereSegment.cpp to help cull down to only drawables
that intersect with the frustum of the SphereSegment. PolytopeVisitor may
eventually be pulled out to be more generally used along the lines of osgUtil::IntersectVisitor.
2005-09-08 18:56:37 +00:00
Robert Osfield
559219f519 Added initial interface for computing intersections between sphere segments
and terrain.
2005-09-08 13:10:04 +00:00
Robert Osfield
765db1998c Added support for cullable state, that uses a polytope to define the extents
of objects that will be influenced by it.
2005-09-07 16:18:43 +00:00
Robert Osfield
58112d9591 Added a grid of lines into the OverlaySubgraph to demonstate use the
OverlayNode for applying general drawing onto terrain.
2005-09-06 20:28:53 +00:00
Robert Osfield
4e6a8cfcd5 Added s/getContinousUpdate(bool) method to OverlayNode. 2005-09-06 19:54:29 +00:00
Robert Osfield
5283c11f8a Added osgSim::OverlayNode to osganimate and osgspheresegment examples, and
added support for setting texture size hint and coping with scene graphs
with CoordinateSystemNode in them.
2005-09-06 15:48:18 +00:00
Robert Osfield
db24ea247c Changed #if 2005-09-05 13:27:48 +00:00
Robert Osfield
4795fb88e6 Added checking of EventVisitor type 2005-09-05 13:26:50 +00:00
Robert Osfield
48c83869c6 Fixed VisitorType of EventVisitor 2005-09-05 13:23:27 +00:00
Robert Osfield
b8d7a3bf44 Added event handler to shader code so that alphaCuttOff, transparency and
sampleDensity are controlled via 'a', 't' and 'd' respectively.
2005-09-05 13:19:20 +00:00
Robert Osfield
efc4f2436f Integrated shaders into source. 2005-09-05 10:40:04 +00:00
Robert Osfield
ab879525ef Added all sides of the shader cube 2005-09-05 09:14:30 +00:00
Robert Osfield
7ed8bab8d4 Added preliminary GLSL shader path for volume rendering. 2005-09-05 07:48:55 +00:00
Robert Osfield
14980872a7 Standardised the Vec* class interfaces, and added num_components enum to aid
generic programming.
2005-09-04 11:17:00 +00:00
Robert Osfield
e404b95dc3 Added support in osgTerrain/osgdem for setting the image format to use when writing tiles out to disk 2005-09-04 06:36:52 +00:00
Robert Osfield
d58487c763 Changed red()/green()/blue()/alpha() to r()/g()/b()/a() for greater consistency
across Vec* classes and with OpenGL Shander Lanaguage.
2005-09-03 20:56:25 +00:00
Robert Osfield
6391691be6 Added release() to all GraphicsOperations in GraphicsThread. 2005-09-03 20:54:32 +00:00
Robert Osfield
2ea5d71d82 Added commandline arguments for controlling number of cameras through to the windowing library to use. 2005-09-02 20:06:11 +00:00
Robert Osfield
4167a3f980 Added clean up class to help improve the exit of GraphicsThread 2005-09-02 13:10:46 +00:00
Robert Osfield
21cabaf5f6 Renamed osgUtil::RenderStageLighting osgUtil::PositionalStateContainer 2005-09-02 10:35:38 +00:00
Robert Osfield
ce3bfff46a Removed redundent code. 2005-09-01 19:55:41 +00:00
Robert Osfield
caaeaee321 Fixed typo 2005-09-01 19:12:06 +00:00
Robert Osfield
2bafaea60a Added osgcamera projects 2005-09-01 06:19:03 +00:00
Robert Osfield
727e55a63a Removed circular reference of osg::CameraNode, fixing memory leak. Added
a auto exit after a maximum number of frames are completed.
2005-08-31 20:39:05 +00:00
Robert Osfield
a420782199 Added osgSim::OverlayNode setup in osgsimulation, and added preliminary test
code to the osgSim::OverlayNode to test osgsimulation/the architecture.
2005-08-31 15:04:27 +00:00
Robert Osfield
af7eba1a7f Set number of cameras to 3. 2005-08-31 13:43:29 +00:00
Robert Osfield
7fc95ddae7 Added graphics context pointer to osg::Texture in prep for support for Pbuffer
Render To Texture.
2005-08-31 12:56:15 +00:00
Robert Osfield
8686ed3136 Disable the glFinishBarrierOp usage as glFinish was spin locking the CPU :-| 2005-08-31 12:49:23 +00:00