Robert Osfield
cfcd7337b4
Added missing .cpp's.
2002-10-10 18:02:05 +00:00
Robert Osfield
bfd614f907
Fixed the names of the ControlPoint parameters so they weren't capitals, to avoid
...
the clash with the parameter type itself.
Addd a PER_PRIMTIIVE_SET handling to the existing PER_PRIMTIIVE code, this code
is still flacky though and needs a rewrite as it doens't handle all attributes or
the full consequences of per primitive and per primitive set bindings.
2002-10-10 14:58:44 +00:00
Robert Osfield
6ba195efea
Added a little more info into the State contextID docs.
2002-10-10 13:06:24 +00:00
Robert Osfield
50652f389b
Added Macro's new cube map generation classes and osgcubemap demo.
2002-10-10 12:44:38 +00:00
Robert Osfield
6c0861ef80
Maded the "flt::Registry::getPrototype: Unkown opcode:" message a INFO level
...
notify message rather than a NOTICE.
2002-10-10 09:42:41 +00:00
Robert Osfield
2e92e7d242
Made the warning about a mis-matching in the number of children in a switch
...
a INFO level notify message rather than a WARN.
2002-10-10 09:39:09 +00:00
Robert Osfield
50e8ea423c
Added remapping of special keys to be handle like a convential key press.
2002-10-10 09:29:07 +00:00
Robert Osfield
41893927c1
From Gabor Dorka, Fixes to memory leaks.
2002-10-10 09:00:31 +00:00
Robert Osfield
16291da3b0
Fixes to smoothing visitor and tesselator to handle indexed Geometry.
2002-10-09 15:43:56 +00:00
Robert Osfield
88ecacfd7a
Changed the default value of StandardOrientation to true, to fix orientation
...
problems which commonly occur with png files. Leaves the quesition of how to set
this value automatically.
2002-10-09 15:41:22 +00:00
Robert Osfield
f210e13944
Fixed bug in osg::LOD::addChild() which was forcing all ranges to be identical
...
values.
2002-10-08 16:02:09 +00:00
Robert Osfield
c59fc9a2b7
Fixed a bug in the Optimizer where BIND_PER_PRIMITIVE_SET primitives where being eroneously merged.
...
Added missing support for reading geometry indices from the .osg format.
Added handling of geometry indices into the primitive functor in osg::Geometry.
Moved the method implementions of AnimationPathManipulator into src/osgGA and added extra convinience
methods for setting the manipulator with an hand built AnimationPath.
FCVS: VisualStudio/osgPlugins/iv/iv.dsp
2002-10-08 14:10:55 +00:00
Don BURNS
bfedea5636
osgdb_osg loader had more issues with const/non-const discrepancies on
...
Solaris. Modified Geoset.cpp and Point.cpp
2002-10-08 08:39:42 +00:00
Don BURNS
588bc1da3c
Solaris didn't like filebuf. Using old FILE
2002-10-08 08:36:48 +00:00
Don BURNS
16e3a3c182
Added AnimationPathManipulator to osgGA and modified sgv to use it.
2002-10-08 07:39:38 +00:00
Don BURNS
ab580f1e3b
Fixed some inconsistencies between header files and function definitions
...
where the header file declared a parameter non-const, but the function
definition expected a const. The Solaris linker was coming up with
undefined symbols.
2002-10-08 05:41:19 +00:00
Robert Osfield
04a9a09a8b
Added extra convinience methods to LOD - addChild(child,min,max).
...
Added osganimate to test scripts.
2002-10-07 21:23:37 +00:00
Robert Osfield
41768f6824
Fixes to Switch so that it defaults to adding children switched on, and adds
...
a flag to control whether children and added as true or false.
2002-10-07 20:17:57 +00:00
Robert Osfield
525fc2f746
Set the default values for scale to 1,1,1. This fixes the bug obsevered when
...
using AnimationPath with MatrixTransform without setting the scale value of
the osg::AnimationPath::ControlPoint's.
2002-10-07 20:01:28 +00:00
Robert Osfield
b7372fb4cb
Added new osganimate demo which demonstrate the osg::AnimationPath in action.
...
Added extra parameters to the AnimationPath callbacks to allow finer control.
2002-10-07 19:51:11 +00:00
Robert Osfield
478f736f63
Added missing osg::TextureCubeMap::getAssociatedMode().
2002-10-07 11:06:37 +00:00
Robert Osfield
5f1a5f0c41
Added code to Viewer::addViewport(..) to force the sharing of a single
...
osg::State object between viewports.
2002-10-07 10:02:47 +00:00
Robert Osfield
65934ef824
From Daneil Sjölie - modifications to the support of custom GUIEventHandlers in osgGLUT
2002-10-07 09:41:30 +00:00
Robert Osfield
70861ef70e
Converted osg::LOD from used n+1 successive ranges to n min/max ranges,
...
one min/max pair per child. Converted the rest of the OSG to use the new
osg::LOD node.
2002-10-06 20:33:13 +00:00
Robert Osfield
84332f5b77
Fixes for Win32 build.
2002-10-04 16:40:45 +00:00
Robert Osfield
4a3cc5c182
Implemented OpenFlight style switches so that each child of a switch can now
...
be individually turned on or off. Moved the OpenFlight code across to use the
new scheme, removing the old hack of using node masks to achieve the same end
result.
2002-10-04 14:50:33 +00:00
Robert Osfield
14e9be42c2
Changed the include of MatrixTransform to Transform.
2002-10-04 13:53:41 +00:00
Robert Osfield
65ab5f7b62
Added osgteapot demo to show how to implement custom Drawables to
...
wrap up OpenGL code.
2002-10-02 15:28:17 +00:00
Robert Osfield
06022febff
Added back in the old osg::Geometry::addPrimitive(..) methods for backwards
...
compatibility and have placed them within a #ifdef USE_DEPREACATED_API block.
2002-10-02 13:16:39 +00:00
Robert Osfield
0a5ed26940
Moved the new osg::IndexedGeometry class over the top of the the existing
...
osg::Geometry class, and removed the temporary IndexedGeometry. Port the rest
of the OSG across to account for the change in method calls -
osg::Geometry::addPrimitive(..) becomes osg::addPrimitiveSet(..)
2002-10-02 13:12:16 +00:00
Robert Osfield
29e998c1f8
Removed inappropriate inline keyword from getOrCreateStateSet().
2002-09-30 18:12:54 +00:00
Robert Osfield
6f6e237429
Added setActiveTextureUnit(0) to State::reset().
2002-09-30 18:11:34 +00:00
Robert Osfield
af5f5e5a3f
Added traverse the AnimationPath callbacks.
2002-09-30 16:50:16 +00:00
Robert Osfield
5fd86440b3
Added support for per primitive bindings in osg::IndexedGeometry. Added a
...
convertToIndexedGeometry() method to GeoSet to allow datasets with per primitive
bindings to be be mapped to across to osg::IndexedGeometry for testing purposes.
2002-09-30 13:30:46 +00:00
Robert Osfield
3fc5b0fdc9
From Macro, added a setActiveTextureUnit(0) to osg::Text::drawImmediateMode() to
...
prevent the wrong OpenGL mode being used.
2002-09-29 17:55:46 +00:00
Robert Osfield
d176f752a5
From Daniel, Fixes for warnings under Win32.
2002-09-29 12:33:30 +00:00
Robert Osfield
da3739ebfc
Fixes to IndexedGeometry.cpp to repair bugs introduced with Win32 build fixes.S
2002-09-28 19:09:42 +00:00
Robert Osfield
098e34ece0
Added a dirtyAllVertexArrays() to State::reset().
2002-09-28 07:47:10 +00:00
Robert Osfield
b57b0b16b9
Fixes for Win32 build.
2002-09-28 07:43:04 +00:00
Robert Osfield
2a94879fcc
Fix build after change in GLExtensions.
2002-09-27 19:04:46 +00:00
Robert Osfield
df027e1bab
Fixes to IndexGeometry for Win32 build.
2002-09-27 19:01:59 +00:00
Robert Osfield
f8edf16c40
Improvements to IndexedGeometry.
2002-09-27 17:47:47 +00:00
Robert Osfield
2a28a4297f
Futher work on the IndexedGeometry class. Indexed coordinates should now
...
work.
2002-09-26 15:26:22 +00:00
Robert Osfield
f7c7740327
Changed the linux linking of -lgif to -lungif.
...
Fixed a typo in the Images name.
2002-09-24 20:14:08 +00:00
Robert Osfield
9546c73e39
Changed the image file so that use the Images/ prefix to help locate the files
...
within the OpenSceneGraph-Data directory.
2002-09-24 20:04:20 +00:00
Robert Osfield
c7001dd041
Removed redundent /
...
--------------------------------------------------------------------
2002-09-24 19:41:18 +00:00
Robert Osfield
98dcb0623a
Renamed Primitive to PrimitiveSet.
2002-09-22 07:09:50 +00:00
Robert Osfield
fb629ae87d
From Gideon, support for tracking the number of objects constructed and deleted,
...
only compiled in when unit tests are compiled in.
2002-09-20 15:55:50 +00:00
Robert Osfield
444a6eaf97
From Ulrich Hertlien, supported add to textures in the .lwo format.
2002-09-20 15:54:17 +00:00
Robert Osfield
55215651d7
Renamed osg::Primitive to osg::PrimitiveSet which better reflect what it
...
encapsulates.
Added new osg::IndexGeometry implemention, *not* complete yet.
Changed the rest of the OSG to handle the renaming og Primitive to PrimitiveSet.
2002-09-20 14:51:59 +00:00