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
25307305a0
Added an example of the use of the PROTECTED modes and attributes into
...
the osgreflect demo so that toggling texturing on or off won't affect
the mirror planes texturing.
2002-08-05 13:12:09 +00:00
Robert Osfield
70724c353f
Fixed compile errors under IRIX.
2002-08-05 12:52:18 +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
fae159df08
Forced the use of non mip mapped texture during subloading in the osgprerender
...
demo.
2002-07-29 21:29:41 +00:00
Robert Osfield
067dc6cddf
Fixes to the new texture subloading methods.
2002-07-29 00:04:07 +00:00
Robert Osfield
80afddc08d
Checked in Tino Schwarze's port to HP-UX.
2002-07-23 10:48:22 +00:00
Robert Osfield
389dd8adbb
Futher changes to remove unitialized variables/reordering of initialization to
...
prevent unitialized warnings.
2002-07-21 01:29:11 +00:00
Robert Osfield
48b3be40e9
Various fixes to constructors to ensure that all variables are initialized.
2002-07-20 23:54:55 +00:00
Robert Osfield
b498e74078
Changed the "reflect.rgb" path to "Images/reflect.rgb" to the help find the
...
file required.
2002-07-19 09:10:41 +00:00
Robert Osfield
ff8b4c001d
Rewrote the osg::Drawable::AttributeFunctor and PrimtiveFunctor to make
...
them more consistent with each other. This does mean an API change, so
dependanct code in the OSG has been updated accordingly.
2002-07-18 15:36:14 +00:00
Robert Osfield
1d9dd54d11
From Randall Hopper, warning fixes for IRIX.
2002-07-18 15:28:26 +00:00
Robert Osfield
09bdb10af5
Various fixes to the flt loader, and knock on changes to the osgUtil::Optimizer
...
to better support removal of seperate osg::Geometry instances where they
share the same state and bindings.
2002-07-18 00:53:03 +00:00
Robert Osfield
8c0d510571
Several items of work related to adding a manual creation of occluders
...
option to the osgoccluder demo.
First the osgGA classes have been generalised a little to better support
new GUIEventHandler subclasses.
Second osgGLUT has a new option for registering a user defined event handler,
the allows the application to add externally extra options to the osgGLUT viewer.
Third, the osgoccluder demo now works in two modes. The original create
four occluder sides to wrap an loaded model, the second an interactive
mode which allows the users to add occluders to the model by pointing
to points and pressing 'a' to add a point, the 'e' to end the occluder
polygon, polygons must be convex, planer and be defined in an anitclockwise
order. To start the osgoccluder in this mode one simple runs it with the
'-c' option. Run osgoccluder with no parameter to get a list of options.
2002-07-17 10:00:50 +00:00
Robert Osfield
e0c95723f2
Added SpotExponent to the spot light.
2002-07-16 19:17:30 +00:00
Robert Osfield
442b266f2e
Added the beginings of an osglight demo.
2002-07-16 15:12:36 +00:00
Robert Osfield
5530406c9a
Removed the second texture from the prerender demo so as not over complicate
...
the final image.
2002-07-15 13:39:11 +00:00
Robert Osfield
e9f30add38
Added a MatrixTransform to tilt the osgreflect demo so that the reflection
...
plane is seen clearly.
2002-07-15 13:14:28 +00:00
Robert Osfield
0a6fdb6ae0
Fixed the optimization of the orientation conversion.
2002-07-15 13:13:46 +00:00
Robert Osfield
08f5b7cbdd
Removed the old hangglide directory.
2002-07-15 10:51:45 +00:00
Robert Osfield
6e40d676a2
Renamed osghangglide demo.
2002-07-15 10:45:13 +00:00
Robert Osfield
e7657f6b51
Added Drawable::AppCallback example and fixed a warning.
2002-07-14 20:48:30 +00:00
Robert Osfield
9792aa09dc
Tweaked the color and aspect ratio settings of the pre rendering bin.
2002-07-14 20:32:05 +00:00
Robert Osfield
32a4625e59
Copy and Paste bug where an for() loop was repeated within itself, which
...
was introduced when moving across to use osg::Geometry.
2002-07-14 08:35:35 +00:00
Robert Osfield
4895b22da1
Fixed various warnings which were appearing under MacOSX.
2002-07-13 21:17:40 +00:00
Robert Osfield
717dab9389
added glutInit to osgparticle demo to fix crash under MacOSX.
2002-07-12 21:45:08 +00:00
Robert Osfield
5504f51774
Added second texture to osgprerender demo to test out multitexture in
...
osg::Geometry, it works!!
2002-07-12 21:42:27 +00:00
Robert Osfield
1f9e4547e7
Changed the osgmultitexture demo so that it uses a TexEnv::BLEND mode
...
with a colour. This lightens the resultant models.
2002-07-12 19:50:52 +00:00
Robert Osfield
995f6f9e21
Added using namespace osgUtil to get round IRIX/Windows compiler differences.
2002-07-12 18:14:45 +00:00
Robert Osfield
6f392cdbfa
Ported distribution across to use the new osg::MatrixTransform and osg::BlendFunc
...
class instead of osg::Transform and osg::Transparancy respectively.
2002-07-12 18:12:01 +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
0d84d3ed15
Fixed indenting.
2002-07-12 09:16:49 +00:00
Robert Osfield
0ea6a7af4a
Fixes for Win32 build
2002-07-11 21:08:02 +00:00
Robert Osfield
840df13438
Added Makefile for osgmultitexture demos.
2002-07-11 18:33:30 +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
c4c97a0f64
Moved the code referencing osg::BoundingBox::isValid() and
...
osg::BoundingSphere::isValid() across to use the valid() methods, the later
being more consitent with other classes such as osg::ref_ptr<>.
2002-07-11 14:32:21 +00:00
Robert Osfield
8b1e9345df
Updates to osg::Drawable::AppCallback and osgprerender demo.
2002-07-10 20:30:57 +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
c1fc3dcdb9
Ported all the demos and loaders across to use the new multitexturing API.
2002-07-10 11:22:24 +00:00
Robert Osfield
842eb59e1f
Implemented more code for the new osgprerender demo.
2002-07-09 19:23:53 +00:00
Robert Osfield
68540f5fb1
Updates to the osgprerender code. Still doesn't do anything interesting yet..
2002-07-09 13:31:50 +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
aca7f7b216
Fixes for IRIX build.
2002-07-09 10:23:48 +00:00
Robert Osfield
e23b40e316
Added include<unistd.h> to __DARWIN_OSX__ build.
2002-07-07 17:40:34 +00:00
Robert Osfield
0dcd5cb017
Added support for Win32 broadcast and recience over lan. Changes sent in
...
by Michael Gronager.
2002-07-04 18:41:13 +00:00
Robert Osfield
5957c21082
Fixed the TriangleFunctor QUAD_STRIP code so that it produces consistent
...
results.
2002-07-04 09:49:12 +00:00
Robert Osfield
3700e7e2cd
Reimplemted the osgUtil::SceneView::setCalcNearFar() functionality to bring
...
it inline with the CullStack/CullVisitor implementation. Also added the
setSmallFeatureCullingPixelSize() method and wired them up inside
SceneView.cpp so they set the corresponding CullVisitor paramters.
Intergrated pfImage copying change in the Performer plugin, submission sent in by Ulrich Hertlein
2002-07-02 19:53:18 +00:00
Don BURNS
304e56db51
osgcallback required fixes for new osg::Drawable::CullCallback
2002-07-02 06:28:41 +00:00
Robert Osfield
ee6444c643
Added to the osggeometry demo.
2002-06-28 14:42:34 +00:00
Robert Osfield
f809ef8a7b
Rewriting the osggeomtry demo to illustrate more primitive types.
2002-06-28 11:11:20 +00:00