Commit Graph

239 Commits

Author SHA1 Message Date
Robert Osfield
c6b6e200a4 Added supported for setting animation path on MatrixTransform's. 2002-12-16 09:55:30 +00:00
Robert Osfield
0148b05f7b Fixes to txp plugin for Windows. 2002-12-15 09:57:32 +00:00
Robert Osfield
20832bba70 Fixes for txp plugin. 2002-12-13 16:05:07 +00:00
Robert Osfield
f372efd194 Added osgSim to the dependancy list of the geo plugin. 2002-12-11 16:14:51 +00:00
Robert Osfield
392be2d010 Added space in bettern /D "OSGTXP_LIBRARY" and /YX to fix a compile problem under VisualStudio. 2002-12-11 10:03:50 +00:00
Robert Osfield
530b85c807 Updates from Geoff Michel to geo loader and demo. 2002-12-10 20:00:56 +00:00
Robert Osfield
bee892904a Fixes for VisualStudio build of txp plugin. 2002-12-08 19:45:03 +00:00
Robert Osfield
a91324e158 Added Brede Johansen's osgpbuffer demo, currently only runs under Windows,
requires the equivilant glx support to be added.
2002-12-05 14:30:57 +00:00
Robert Osfield
af400cb5ab Added first pass at a new logo, this time generated by a osglogo demo. 2002-12-05 12:04:38 +00:00
Don BURNS
bf0cbf6b10 Modified Files:
include/osgTXP/trPagePageManager.h src/Demos/osgtxp/osgtxp.cpp
 Added Files:
    VisualStudio/Demos/osgtxp/osgtxp.dsp
2002-11-29 22:10:12 +00:00
Robert Osfield
fc9a2c0e38 Added d to the end of the dll name for the debug build of the ac3d loader. 2002-11-22 08:05:20 +00:00
Robert Osfield
a545f3b48c Moved the shadow creation code into a seperate CreateShadowedScene header and source,
and exposed just the basic createShadowedScene function in the header.
2002-11-21 15:35:51 +00:00
Robert Osfield
2e1b827373 Added shadow texture demo .dsp under the correct name! 2002-11-21 14:38:55 +00:00
Robert Osfield
3864500e5b Fixed the references osgSim project file.
Added the osgshadowtexture demo project file.
2002-11-20 07:44:28 +00:00
Robert Osfield
2b957675d5 Added visual workspace files for osgSim nodekit and osglightpoint demo. 2002-11-19 12:23:45 +00:00
Robert Osfield
1050178c9f Added osgText to dependancy list of geo plugin. 2002-11-11 07:12:21 +00:00
Robert Osfield
e0452b8cbc Added TestManipulator into osgimpostor project file. 2002-11-08 08:00:28 +00:00
Robert Osfield
71bea99ba2 Added Geoff Michel's new osggeomdemo program which allows control of
geo models via the mouse.
2002-11-07 13:56:12 +00:00
Robert Osfield
6d09a50c6d Added shape drawable into dot osg plugin. 2002-11-07 08:49:12 +00:00
Robert Osfield
26875c965d Renamed ProceduralGeometry to ShapeDrawable to better reflect its current
purpose.
2002-11-06 10:46:34 +00:00
Robert Osfield
268e83c354 Added back in the missing flt.dsp. 2002-11-04 08:35:55 +00:00
Robert Osfield
ee9307b089 Added missing Shape and ProceduralGeometry references in the osg project file. 2002-11-01 12:40:33 +00:00
Robert Osfield
24746728e4 From Geoff Michel, added AC3D .ac and GEO .geo loaders. 2002-10-31 12:51:09 +00:00
Robert Osfield
da84f9b4aa Added first cut of new primtive shapes support. 2002-10-30 13:27:15 +00:00
Robert Osfield
cfcd7337b4 Added missing .cpp's. 2002-10-10 18:02:05 +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
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
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
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
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
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
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
Robert Osfield
ce51fb1841 Added PolygonStipple class from Mike, with mods from Robert to make data
management local.
2002-09-19 10:30:15 +00:00
Robert Osfield
4a54b7bdb1 From Daniel Sjölie - added support for multitexured flt files. 2002-09-18 11:11:10 +00:00
Robert Osfield
6c6fc36d7e Added opengl32.lib and glu32.lib links to osgGLUT.dsp 2002-09-12 19:59:05 +00:00
Robert Osfield
b731a90b73 Update LANDEXT.DAT to contain all the latest core OSG files. 2002-08-30 15:17:01 +00:00
Robert Osfield
79aaac4e0c Renamed the ConvexPlaner* classes to ConvexPlanar* and changed all the various
classes that reference it.

Added MUST_READ_ME.txt to the VisualStudio directory.
2002-08-29 11:02:01 +00:00
Robert Osfield
3065f35ae2 Fixed the optimized library name of the osgText plugin. 2002-08-28 19:46:56 +00:00
Robert Osfield
c2884ee2ad Fixed typo on osgunittests project name. 2002-08-28 15:35:17 +00:00
Robert Osfield
8353fc0ed6 Removed deprecated code from the distribution.
Added .osg support for Texture1D and Texture3D.
2002-08-28 15:28:11 +00:00
Robert Osfield
7d6197441e Added Neil Salter's osgUtx library into the distribution, have put all the
orignal seperate headers and source into include/osg/UnitTestFrameWork
and src/osg/UnitTestFramework.cpp respectively.  I have done this to
keep the include and source directories focused on the scene graph rather
than the test framework.

Have added a very simple unit test to Vec3.cpp, which are optionally
compiled in with the OSG_COMPILE_UNIT_TESTS define, which is only
currently defined in debug builds under unix.  It should be fine to
add it in under Windows project files as well.

Finally, a new demo app osgunittests runs the tests and reports success
or failure of the tests.
2002-08-28 14:26:09 +00:00
Robert Osfield
83af5e7a95 Added osgtexture3D demo, renamed osgtexture demo to osgtexture2D, and have
added osgtexture1D demo which currently is simply copy of osgtexture2D. I
will be modifying it to do 1D texturing next.

Fixed a bug in osg::Texture3D relating to checking of existance of
texturing.

Merged some fixes to the pfb loader from Ulrich Hertlein.
2002-08-27 10:06:57 +00:00
Robert Osfield
239068f223 Added new osg::TextureBase, osg::Texture1D, osg::Texture2D, and osg::Texture3D
classes, and changed osg::Texture and osg::TextureCubeMap so that they now derive
from osg::TextureBase.
2002-08-24 19:39:39 +00:00
Robert Osfield
814dcc9677 Added IO Support for TexEnvCombine state attribute. 2002-08-20 18:00:22 +00:00
Robert Osfield
7234f7274c Fixes to new osgText and osgParticle project files. 2002-08-20 14:12:51 +00:00
Robert Osfield
df9a899d9e Moved the IO support for the osgText and osgParticle libraries into seperate
plugin libraries.
2002-08-20 11:27:08 +00:00
Robert Osfield
1e2f198c5b Added new osg::TexEnvCombine state attribute. 2002-08-19 15:11:09 +00:00
Robert Osfield
b23a48a763 Renamed the osg::EarthSky to osg::ClearNode to make it more obvious what
role it has play and make it more relevant to non vis-sim applications.
2002-08-19 11:42:37 +00:00
Robert Osfield
61e3b34bc7 Submission from Perry Miller for support of OpenFlight15.7's local vertex pool
and mesh primitives.  Converted Perry's code to work with the osg::Geometry
instead of osg::GeoSet.
2002-08-15 11:25:23 +00:00
Robert Osfield
0bee7dd3d9 Renamed osgsequence.cpp to osgsequence.dsp, as it was clearly a typo... 2002-08-07 10:10:33 +00:00
Robert Osfield
c5898e7f48 Fixed type of DOFTransform.cpp 2002-08-07 10:08:42 +00:00
Robert Osfield
e01f9eb891 Added shells for DOFTransform and PositionAttitudeTransform to the .osg
loader, still need to fill in the saving and loading of paramters.

Went through the distribution remove old API usage.
2002-08-06 17:07:05 +00:00
Robert Osfield
25740b5c7f Added new osg::DOFTransform node from Sasa Bistrovic, designed to mirror
the OpenFlight DOF transform nodes.
2002-08-05 15:07:18 +00:00
Robert Osfield
6b52e17c48 Fix to iv/vrml loader so that it correctly passes back the right ReadResult
and checks the validity of the file extension being passed to the plugin.
Removed main.cpp * .h moving all its functionality into readerwriter.cpp.
2002-08-04 21:11:00 +00:00
Robert Osfield
fb0d87b29c Added Sequence.cpp to osg plugin workspace file. 2002-08-03 19:42:39 +00:00
Robert Osfield
6a04fc3dee Integrated Ulrich Hertlien's osg::Sequence node, and osgsequence demo, and
support for osg::Sequence in the pfb loader.
2002-08-03 18:11:21 +00:00
Robert Osfield
0977e68727 Fixes to NodeCallback and RenderBin from Alberto Barbati. 2002-07-28 12:49:01 +00:00
Robert Osfield
5622b8c48b Added support for LWO2, send in by Pavel Moloshtan. 2002-07-26 16:33:25 +00:00
Robert Osfield
6728edaa34 Added project file for inventor plugin. 2002-07-26 16:02:57 +00:00
Robert Osfield
6da157599c Added MatrixTransform.cpp. 2002-07-19 10:18:29 +00:00
Robert Osfield
442b266f2e Added the beginings of an osglight demo. 2002-07-16 15:12:36 +00:00
Robert Osfield
5a8ae07035 Renamed hangglide to osghangglide 2002-07-15 10:53:51 +00:00
Robert Osfield
02f0995ef3 Renamed the hangglide demo osghangglide to make it consistent with the rest
of the demos.
2002-07-15 10:43:32 +00:00
Robert Osfield
8128265e09 Have added a #define USE_DEPRECATED_API to include/osg/Export, and
various
osg header and source files to optional compile in deprecated parts of
the
OSG API.

Have renamed osg::Transparency osg::BlendFunc to bring it in line with
the
rest of the OSG's StateAttribute classes which are named after their
OpenGL counterparts.  include/osg/Transparency still exists and is
simply
a typedef to BlendFunc and is enclosed in a #ifdef USE_DEPRECTATED_API
block.

The matrix methods in the osg::Transform class have been
moved/replicated in
a osg::MatrixTransform sublcass from osg::Transform.  The old matrix
functionality is still present in the osg::Transform class but is guard
by #ifdef USG_DEPRECATED_API blocks.  One should now think of
osg::Transform
as being a Transform Node base class.  MatrixTransform has all the
functionality of the original Transform class, so should be used
instead.
2002-07-12 14:25:10 +00:00
Robert Osfield
8219a0a63a Added support for multitexturing to osg::State and added osgmultitexture
demo which adds as spherical environment map using texture 1 to any model.
2002-07-11 16:12:24 +00:00
Robert Osfield
76d4b4bdf9 Fixed the pathname for the osgprerender demo. 2002-07-11 11:08:34 +00:00
Robert Osfield
b3ac26f3dc Updates to osgprerender to support use of rendering to an image, rather then
just a texture.
2002-07-10 13:33:25 +00:00
Robert Osfield
7f56ceaea1 Rejigged the line endings. 2002-07-10 11:26:48 +00:00
Robert Osfield
46af97727a Added Yefei He's RoadRecords to the flt loader, these records will be
ignored by the loader, but will allow the loader to skip over them and
continue reading the rest of the file correctly.
2002-07-10 09:32:44 +00:00
Robert Osfield
3ab727713d Added new demo osgprerender to demonstrate how to prerender a scene and use
the result in the main rendering for special effects.
2002-07-09 13:17:42 +00:00
Robert Osfield
2baeea6cae Added winsock32 libs to osgcluster demo. 2002-07-07 22:08:27 +00:00
Robert Osfield
eb361bc047 Rehashed the osgcluster project file to see if it solves the failure under
windows.
2002-07-07 20:16:30 +00:00
Robert Osfield
4696d319e5 Did a to_dos on osgcluster.dsp since it was original saved with unix file endings. 2002-07-07 17:30:48 +00:00
Robert Osfield
9787641512 Added VisualStudio files for Win32 port of osgcluster demo. 2002-07-04 18:47:33 +00:00
Robert Osfield
fa8fbc225d Added osgUtil dependency to the flt project. 2002-07-03 11:16:43 +00:00
Robert Osfield
532a32416f Moved the AttributeArray and Primitive classes into their own header and
source files.
2002-06-27 10:50:19 +00:00
Robert Osfield
cbb95d0445 Checked in .osg support for the new osg::Geometry class. 2002-06-24 21:37:34 +00:00
Robert Osfield
bbc129e5c6 Compile Fixes for Win32. 2002-06-22 15:46:43 +00:00
Robert Osfield
49ab8f4706 Added new osggeometry demo to test the work on the new osg::Geometry Drawable. 2002-06-21 16:45:45 +00:00
Robert Osfield
476f931eaa Addd new experimental osg::Geometry Drawable which will eventually replace
GeoSet.  Currently doesn't draw anything, and is very much in the
early design stages.
2002-06-20 19:54:08 +00:00
Robert Osfield
d31624d54a Fixed incorrect naming of ConvexPlanerOccluder. 2002-06-19 20:38:08 +00:00
Robert Osfield
77e1fb7f80 Added support for reading and writing OccluderNode's to the .osg file format. 2002-06-19 16:06:03 +00:00
Robert Osfield
61df1ed6b7 Further work on occlusion culling. 2002-06-13 23:46:02 +00:00
Robert Osfield
c7e99ff77a Further work on occludision code. 2002-06-12 09:22:30 +00:00
Robert Osfield
247cb3ff7e Checked in Macro Jez's additions to osgText to support .osg IO make it
a fully functioning NodeKit.

Also reimplement notify() to try an prevent a crash which has been caused by
to objects in notify.cpp being initiliazed twice, the second time the auto_ptr
holding the dev/null ofstream was being initilized to 0.
2002-06-11 18:41:57 +00:00
Robert Osfield
e1ba8a6292 Added osg::CollectOccludersVisitor which is a helper class for finding active
occluder in the view frustum, to be used as pre cull traversal.
2002-06-10 13:50:25 +00:00
Robert Osfield
348419219d Created new helper class osg::CullStack to handle the accumulation of projection,
modelview and culling sets, to be used during travesal of the scene graph, such
as the cull traversal.
2002-06-10 11:21:21 +00:00
Robert Osfield
d91b848a63 Checked in migration from osgUtil based GUIAdapter code to Neil Salter's
osgGA (Gui Abstraction).  This may break users code, but all it should
require to fix the builds should be a change from
osgUtil::CameraManipulator (etc) to osgGA::CameraManipulator and
include <osgUtil/CameraManipulator (etc) to osgGA/CameraManipulator and
the extra dependency of the link line.
2002-06-09 13:10:09 +00:00
Robert Osfield
0a8d0a255f More more occlusion culling. 2002-06-08 19:58:05 +00:00
Robert Osfield
77aabc5b36 Renamed the osgparticle demo so that it wouldn't clash with the osgParticle library. 2002-06-05 16:00:23 +00:00
Robert Osfield
c70f5240eb Added OSGPARTICLE_LIBRARY define. 2002-06-05 13:51:14 +00:00
Robert Osfield
cc2f3d1d99 Another try at fixing wayward VisualStudio.dsw file. 2002-06-05 13:11:26 +00:00
Robert Osfield
83c239cee8 Fixed typo. 2002-06-05 13:06:44 +00:00
Robert Osfield
a0f3d90fce Updated VisualStudio files for osgParticle. 2002-06-05 13:00:31 +00:00
Robert Osfield
9ba7505d1e Checked in osgParticle, writtten by Marco Jez. 2002-06-05 12:44:55 +00:00
Robert Osfield
5feba17410 Added new osg::OccluderNode which subclasses from osg::Group, and will
provide hooks for adding ConvexPlanerOccluders to the scene.
2002-06-05 09:39:04 +00:00
Robert Osfield
3f84849210 Additions for the support for ConvexPlaneOccluder. Work still underway. 2002-06-03 15:39:41 +00:00
Robert Osfield
518dd5710a Did a to_dos on all the VisualStudio project files, and changed them to
use the cvs admin -ko and each file to prevent keyword expansion.
2002-06-03 11:16:58 +00:00
Robert Osfield
3fa6401c8f Changed file endings to dos. 2002-06-03 10:40:53 +00:00