Robert Osfield
b38f491c12
From Volker Walkiewicz (with tweaks from Robert Osfield):
...
Fix to the update of the error metrics on the edges in the simplification mesh that are affected by an edge collapse.
Addition of 'n' and 'p' keyboard control in osgsimplifier example to allow users to control the sample ratio manually.
2005-09-28 16:05:35 +00:00
Robert Osfield
52dea86a3e
From A. Botorabi, "slightly modified osgUtil's TangentSpaceGenerator class to allow the
...
option for using or not using geom's indices for tangent space vectors
generation. now, Ruben's code is also used (it was disabled before). in
order to keep backward compatibility, the compute method behaves as before
in default case."
2005-09-28 13:53:54 +00:00
Robert Osfield
b5c4605d1c
From Joran Jessurun, added font search fallbck that strips the leading path from the font file and then looks again.
2005-09-28 13:39:26 +00:00
Robert Osfield
05528abf25
From Chris Hanson:
...
Spelling fixes in include/osg/LOD
Negated priority in PagedLOD when using _rangeMode==PIXEL_SIZE_ON_SCREEN
Added clampedPixelSize() methods to CullStack and CullingSet to return fabs()ed values.
Changed LOD and PagedLOD ::traverse to use clampedPixelSize() methods.
2005-09-28 13:33:58 +00:00
Robert Osfield
2092016c7b
From Don Tidrow, Added support for locally referenced origins.
2005-09-27 14:48:09 +00:00
Robert Osfield
600349dce8
Various improvements to the sphere segment intersection code.
2005-09-27 12:15:40 +00:00
Robert Osfield
5731ea2352
Set the defaul clear colour to 0,0,0,0.
2005-09-26 11:24:37 +00:00
Robert Osfield
0fb2e7adc0
From Mike Weiblen, fixes from VS 7.1 build.
2005-09-25 20:41:56 +00:00
Don BURNS
e17ac7a8d9
Brede's changes for limited morphed vertex support. These changes allow
...
a model with morphed vertecies to load correctly with LOD switches, but
does not implement the vertex morphing.
2005-09-24 16:11:55 +00:00
Robert Osfield
f1125f7b4d
Improvements to the clipping of polygons at boundary edges.
2005-09-24 14:53:22 +00:00
Robert Osfield
e77ec7f96b
Further work on intersection code.
2005-09-21 14:38:36 +00:00
Robert Osfield
d13306e885
Added multiple intersect triangle visualization for testing purposes.
2005-09-19 19:49:23 +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
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
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
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
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
48c83869c6
Fixed VisitorType of EventVisitor
2005-09-05 13:23:27 +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
6391691be6
Added release() to all GraphicsOperations in GraphicsThread.
2005-09-03 20:54:32 +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
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
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
c02e91c1b4
Added support for GrapicsOpeations that are reused each frame, cleaned up
...
osgcamera example.
2005-08-30 22:28:30 +00:00
Robert Osfield
994192657a
Compile fix.
2005-08-30 19:20:19 +00:00
Robert Osfield
07c7e37426
From Colin McDonald, fix for big endian systems
2005-08-30 19:19:49 +00:00
Robert Osfield
f9bcde3cf0
Added name and keep member variables to osg::GraphicsThread::Operation to allow
...
the names of the operations to be logged for stats purposes, or used when
do searches of the operation list. The keep member variable tells the graphics
thread run loop wether to remove the entry from the list once its been called.
2005-08-30 19:03:02 +00:00
Robert Osfield
aba3b4fa67
Clean up and fixes to GraphicThread class, and osgcamera example.
2005-08-30 14:41:08 +00:00