Robert Osfield
290e0b6eed
From Alberto Jaspe, added double precision interpolation method
2005-10-10 09:17:22 +00:00
Robert Osfield
34dd065d66
Added into CVS missing PolgonMode files.
2005-10-07 07:46:48 +00:00
Robert Osfield
18d680d01f
Improved the UpdateCameraAndTexGenCallback so it properly handles rotation and
...
translations within the reflector nodepath.
2005-10-06 20:02:18 +00:00
Robert Osfield
808511468b
From Brede Johansen, added support for PolygonMode into .ive format.
2005-10-06 15:43:29 +00:00
Robert Osfield
449333b5d3
Changed the fallback code to use the result form the realize() call, removed
...
the code path from running a PBuffer as a seperate graphics context (this
was found to be slower than running single threaded so its not worth the
extra complexity).
2005-10-06 15:41:47 +00:00
Robert Osfield
3bf7cba453
Added env var reporting for the OSG_CAMERA_THREADING and OSG_SHARE_GRAPHICS_CONTEXTS env vars.
2005-10-06 13:31:23 +00:00
Robert Osfield
1a152afda0
Added catch for disabling ThreadPerCamera when contexts are shared.
2005-10-06 13:20:08 +00:00
Robert Osfield
a380a49509
Improved the fallback mechanism from FBO, down to PBuffer_RTT down to PBuffer down to frame buffer.
2005-10-06 11:26:07 +00:00
Robert Osfield
5cb66efc86
Moved the testing and setting up of FBO/Pbuffer extension from CullVisitor to
...
support into RenderStage to allow better fallback implementations.
2005-10-05 16:21:51 +00:00
Robert Osfield
4b43b22c5a
Added support for CameraView into NodeVistor, and support for CameraNode and CameraView
...
into the AnimationPathCallback so you can now animate both via animation paths.
2005-10-05 09:48:53 +00:00
Robert Osfield
cf2974329f
Added code paths for PBuffer RTT support.
2005-10-04 18:50:00 +00:00
Robert Osfield
8e9ffd09af
Added osg::CameraView to help application/modellers position their cameras in scenes. Note,
...
CameraView is *not* a camera, it isn't an active object, but a passive one that
camera must track each frame to following the path of the CameraView.
2005-10-04 13:41:20 +00:00
Robert Osfield
ff9ace16b4
From Keith Steffen, fixed bug in StateSet::clear() where parents of texture attributes
...
where not being reset correctly due to incorrect ordering of _textureAttributeList.clear().
2005-10-03 19:37:54 +00:00
Robert Osfield
e749839061
From MFM, Added FreeBSD specific implementation for getGLExtensionFuncPtr using dlsym(RTLD_DEFAULT, xxx)
2005-10-03 19:33:54 +00:00
Robert Osfield
436521e205
Added a couple of (double) casts for VS7 build.
2005-10-03 19:24:12 +00:00
Robert Osfield
ef093bd5e5
Added closing of loops.
2005-10-03 19:18:53 +00:00
Robert Osfield
ba5c7cdc91
Added fusing of ends of lines
2005-10-03 16:13:26 +00:00
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