Commit Graph

4471 Commits

Author SHA1 Message Date
Robert Osfield
550bb4b74e Improved handling of convex azim ranges. 2005-10-03 13:19:03 +00:00
Robert Osfield
c401e31bd8 Added test cases for SphereSegment intersection code. 2005-10-01 19:28:34 +00:00
Robert Osfield
e2f2960704 Added a dirtyDisplayList() to the setColor() and setTesselationHint() methods. 2005-10-01 19:27:52 +00:00
Robert Osfield
024b43b017 Adding handling of case of convex azimuth side ways of sphere segment. 2005-10-01 12:23:10 +00:00
Robert Osfield
06401ba129 Changed the line intersection algorithm to computer full line intersections then
trim down to size by intersecting with the sphere segmenet sufaces
2005-09-30 19:36:22 +00:00
Robert Osfield
913dccc14c Fix to intersection code. 2005-09-29 15:55:55 +00:00
Robert Osfield
e18cb598e6 Updated wrappers. 2005-09-29 13:07:26 +00:00
Robert Osfield
fc675f7706 From Marco Jez, fix for gcc build. 2005-09-29 13:00:23 +00:00
Robert Osfield
400b0ab809 Fixed typo of Primitive 2005-09-29 10:25:44 +00:00
Robert Osfield
7ac71b939f Added setOverlayClearColor and setTexEnvMode and automatic set up of TexEnv. 2005-09-29 10:22:06 +00:00
Robert Osfield
76058f747c From Marco Jez, added fallback to TextureCubeMap subloading that calls load
when mipmaps are required, but non are present.
2005-09-29 09:49:20 +00:00
Robert Osfield
d82d598115 Fixed typo of CameraNode::setRenderTargetImplementation(..) 2005-09-29 09:36:51 +00:00
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
3ef0406105 From Marco Jez, "Problems fixed:
1. type converters created automatically by the I_BaseType macro use
static_cast<> even for base-to-derived conversions. dynamic_cast<> should be
used instead.
2. as a consequence of the above fix, I_BaseType must now differentiate
between polymorphic and non-polymorphic base classes, because the latter
can't be dynamic_cast'd to derived classes. Some template magic (see
is_polymorphic<> in ReflectionMacros) is used to detect polymorphism at
compile time (I'm NOT sure it works on all platforms as it's partly
implementation-dependent. Please test!).
3. predefined custom property getters/setters/counters/etc. (as those
defined for STL containers) only work on Value objects that contain
non-pointer instances. This was an unwanted restriction that no longer
exists.

Wrappers will need to be recompiled. This is a good time to give them a
fresh update with genwrapper.

NOTE: fix #1 should get rid of those crashes and strange behaviours that
some users noticed while using osgIntrospection through osgTcl or in their
own code."
2005-09-28 14:18:31 +00:00
Robert Osfield
f26c3da074 From Chris Hanson, "The following files are drop-in replacements for the include/*/Export files to permit
building statically linked osg libraries under Win32."
2005-09-28 14:05:05 +00:00
Robert Osfield
97f6a82b1e From Leandro Motta Barros: fixed type of ATTRIBUTE_* 2005-09-28 13:55:22 +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
9e5eed280d From Joran Jessurun, comments explaining font search rules 2005-09-28 13:45:32 +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
3c88b0cae9 Added degugging methods. 2005-09-27 20:28:42 +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
07d7d39eb5 Added TexEnv DECAL mode. 2005-09-26 11:24:14 +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
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