Commit Graph

1526 Commits

Author SHA1 Message Date
Robert Osfield
a632652507 Added #include <TextureRectangle> 2003-06-27 14:33:37 +00:00
Robert Osfield
258ba3d806 Added #include<TextureRectangle> 2003-06-27 14:33:13 +00:00
Robert Osfield
8d4ab4668e From Tree, updates to osgText and freetype plugin to support are kerning paramter. 2003-06-26 16:21:49 +00:00
Robert Osfield
3f23a430fb Fixed from Pavel for the stats in RenderBin.cpp 2003-06-25 10:39:11 +00:00
Robert Osfield
aca924113f From Julia Oritz Rojas, support for detail textures. 2003-06-25 10:12:50 +00:00
Robert Osfield
46c5eec0d0 From Ulrich Hertlein, added support for TextureRectangle to .osg format. 2003-06-25 08:58:48 +00:00
Robert Osfield
277b6cf24a Spotted by Norman Vine - fixed typo in intersect visitor. 2003-06-25 08:50:57 +00:00
Robert Osfield
367750997b Test of cvs. 2003-06-25 07:59:59 +00:00
Robert Osfield
9d6341b620 Added TessellationHints. 2003-06-25 07:50:19 +00:00
Robert Osfield
d70ab592ed Additions since the CVS back up was made. 2003-06-24 21:57:13 +00:00
Don BURNS
15f88f35b2 *** empty log message *** 2003-06-24 15:40:09 +00:00
Robert Osfield
b444cc1ab3 Added support for scaling the projection in vertical and horizontal split stereo
modes.
2003-05-27 11:03:49 +00:00
Robert Osfield
4a804ebf32 Reverted recent changes so the set(Matrix&) method. 2003-05-27 11:02:45 +00:00
Robert Osfield
b17d2abc87 Adjustments to the horizontal and vertical split stereo code for better
handling of aspect ratio.
2003-05-26 15:00:38 +00:00
Robert Osfield
a12fd61266 Added missing std:: 2003-05-26 11:02:42 +00:00
Robert Osfield
f8ba149e19 Added 3dc plugin for reading Arias 3D point clouds. 2003-05-26 10:05:52 +00:00
Robert Osfield
7b657aed3a Adding support using istream and ostream with the reader writers. 2003-05-26 09:27:16 +00:00
Robert Osfield
289ae01420 From Geoff Michel, conversion from GeoSet to Geometry. 2003-05-25 16:08:57 +00:00
Robert Osfield
087944d343 Removed export macro. 2003-05-24 14:42:00 +00:00
Robert Osfield
5bfaf54292 Added missing std:: 2003-05-24 14:26:20 +00:00
Robert Osfield
5408077c3b Added ive reader/writer - from Rune Schmidt Jensen/Michael Gronager 2003-05-23 19:51:12 +00:00
Robert Osfield
efa16a34c5 Fixes to the Optimizer's handling of merging of osg::Geometry 2003-05-22 15:29:20 +00:00
Robert Osfield
058e4939fc Convert Performer plugin across to generate osg::Geometry directly. 2003-05-22 11:09:28 +00:00
Robert Osfield
fb55f6ffbc Improved the handling of scaled matrices in the Quat::set(Matrix&) method. 2003-05-21 21:32:56 +00:00
Robert Osfield
72b86dee82 Removed the _state.reset() call as it was doing OpenGL calls outside of the
thread with the graphics context.
2003-05-21 16:33:53 +00:00
Robert Osfield
4a6bdad3e1 Removed osg::GeoSet for core osg lib and osgPlugin.
Commented out OpenDX plugin as its still based on GeoSet.

Added support for loading and converting GeoSet into the osgconv example.
2003-05-21 12:15:45 +00:00
Robert Osfield
fcbbf12b75 Added usage of the InputRectangle into setting up of the EventAdapter. 2003-05-20 20:45:10 +00:00
Robert Osfield
eb3169634a Removed spurious editing file. 2003-05-20 19:48:07 +00:00
Robert Osfield
094e0f2e48 Fixes to the handling of mouse coords after changes in the default behavior
of Producer.
2003-05-20 13:21:05 +00:00
Robert Osfield
e2ec462fab Changed the fusion distance update code to use OsgCameraGroup::setDistanceDistance()
rather than going through the SceneView's by hand. This should ensure that values
are kept consistent betwen OsgCameraGroup and SceneView's.
2003-05-20 08:47:21 +00:00
Robert Osfield
ab1b199da8 Removed the now redundent osg::Camera. 2003-05-20 08:09:36 +00:00
Robert Osfield
00e94b86d8 Removed all KeySwitchCameraManipulator class, replacing it
with the KeySwitchMatrixManipulator
2003-05-19 20:18:37 +00:00
Robert Osfield
940ce67133 Removed remaining dependancies on osg::Camera. 2003-05-19 15:15:17 +00:00
Robert Osfield
4151312dc5 Removed redundent const 2003-05-17 13:15:54 +00:00
Robert Osfield
715ba6fb66 Renamed png pnm 2003-05-17 09:03:06 +00:00
Don BURNS
b6d6759337 Small operation precedence bug fixed in Text.cpp 2003-05-14 16:07:39 +00:00
Robert Osfield
57af40ee95 Updates to the handling of vertex attributes. 2003-05-09 13:07:06 +00:00
Robert Osfield
876e40802e Memory leak fixes from Joseph Steel. 2003-05-08 14:02:50 +00:00
Robert Osfield
cda2c90315 From Romano José Magacho da Silva, support for vertex attributes in vertex program. 2003-05-07 13:13:13 +00:00
Robert Osfield
ba8bf1e94c From Eric Sokolowsky, support for mouse scroll wheel in osgGA/osgProducer. 2003-05-07 11:13:49 +00:00
Robert Osfield
aa0d5fc52e Changed the CullVisitor::popProjection() so that it doesn't adjust orthorgraphic
projection matrices.
2003-05-07 09:35:43 +00:00
Robert Osfield
fa0333b6fe Aded extra constructors to BlendFunc and Depth to help set them up convieniently.
Added a background quad to osghud.
2003-05-06 18:04:27 +00:00
Robert Osfield
06054d9520 Added support for multibuffering of tex coordinates. 2003-05-06 13:13:31 +00:00
Robert Osfield
6c60fa233e Fixed accept(PrimitiveFunctor&) so it uses the transform coords correctly. 2003-05-05 14:30:12 +00:00
Robert Osfield
ee550382c8 Fixed build. 2003-05-02 18:24:56 +00:00
Robert Osfield
895a722842 Addd support for maximum screen text size into osgText when auto scale to
screen is active.

Added osgautotransform demo.
2003-05-01 21:06:18 +00:00
Robert Osfield
d2d9b97953 Added set/getNearFarRatio() to CullVisitor. 2003-05-01 19:56:02 +00:00
Robert Osfield
2d360c344c Remved exit(). 2003-05-01 08:51:03 +00:00
Robert Osfield
86254927b9 From Eric Sokolowsky - pnm (ppm, pgm, pbm) plugin 2003-04-30 15:40:57 +00:00
Robert Osfield
0ab467483f Added support for automatic scaling of text to screen coords. Optimized
the text implementation to provide better speed, especially by using the
alignement to screen option.

Deprecated the Text::setFontSize(,) method, which is now being replaced
by setFontResolution(,)

Fixed typos in Texture*.cpp.

Removed old deprecated methods from osg headers.
2003-04-30 11:40:17 +00:00
Robert Osfield
821313d102 From Ben, promoted floats to doubles to produce better stability in the
invert method.
2003-04-29 14:24:11 +00:00
Don BURNS
e1468428e3 set glDrawBuffer( GL_BACK ) in SceneView::draw() when not drawing in
stereo mode.  Without this, we end up drawing to the wrong buffer when
toggling stereo off.
2003-04-29 00:55:12 +00:00
Robert Osfield
c1b1a091fa From Tree, addition of ; after MACRO_'s to help with Java port.
From Tree + Robert, Addition of LEFT_BASE_LINE,RIGHT_BASE_LINE,CENTER_BASE_LINE
Alignment options in Text.
2003-04-27 10:58:39 +00:00
Robert Osfield
89b1365b2b Added support for gather information on which vertices have been intersected with. 2003-04-25 13:47:33 +00:00
Robert Osfield
af1eae0418 cout -> notify. 2003-04-24 13:45:10 +00:00
Robert Osfield
341fa340ce Added check for camera's sharing the same RenderSurface, if so switches off
multi-threading of cull and draw.
2003-04-23 09:59:08 +00:00
Robert Osfield
a79fada938 Mannually computes the mipmap levels to ensure correct loading of dds
images which arn't square.
2003-04-19 06:57:07 +00:00
Robert Osfield
b6ee5445b7 Changed the ordering of the picking intersections. 2003-04-18 21:44:48 +00:00
Robert Osfield
1cf0be9963 Fixes to BlendFunc - adding missing ZERO handling.
Improved handling of alpha values in DXT1 compression.
2003-04-18 19:46:46 +00:00
Robert Osfield
bc8bd29646 Updated NEWS for the release.
Fixed warnings.
2003-04-18 15:59:34 +00:00
Robert Osfield
1c8db044f1 Removed various assert() instances since these were causing crashes.
From Alberto, changed the use of the DynGeoSet to it was querried on demand
rather than used as a pointer which was originally being invalidate before
use.
2003-04-18 10:10:14 +00:00
Robert Osfield
ba575396a4 Added setting of the RenderSurface name to the application name. 2003-04-17 15:57:05 +00:00
Robert Osfield
d0aac6e6f0 Added an alternate compile path for Windows in the toggle of fullscreen
for the first time.
2003-04-17 13:57:15 +00:00
Robert Osfield
67f5cc46c1 Changed the maxx initializiation to use (*points)[last_valid_index].x(); 2003-04-17 13:36:41 +00:00
Robert Osfield
fd262554ac Moved the managing of frame stamp from osgProducer::Viewer into
osgProducer::OsgCamaraGroup.

Added setting of trackball in osgcameragroup so its starts in the
correct place for different models.
2003-04-17 11:14:25 +00:00
Don BURNS
6fc19084ac Changed Rect('s to Rectangle('s 2003-04-16 21:16:23 +00:00
Robert Osfield
0b0c6c4e60 Added support for set/getColor to ShapeDrawable. 2003-04-16 20:02:15 +00:00
Robert Osfield
cad160fbe6 From Marco Jez, added DelaunayTriangulator class. 2003-04-16 19:21:27 +00:00
Robert Osfield
d9ddd0bb06 Changed near and far instances into near_point, far_point to avoid
problems with Win32 build.
2003-04-16 19:20:15 +00:00
Robert Osfield
3bd03476f4 Moved the PickVisitor from osgUtil into the implementation of
osgProducer::Viewer.  Removed methods in PickVisitor which wern't being
used by osgProducer::Viewer.  This has been done because the PickVisitor
interface and implementation weren't ready for general usage.
2003-04-16 15:14:25 +00:00
Robert Osfield
2e659c9ebf Renamed computeNearFar to computeNearFarPoints. 2003-04-16 14:22:36 +00:00
Robert Osfield
904aceec22 Added convinence methods to osgProducer::Viewer:
/** compute, from normalized mouse coords, for sepecified Camera, the pixel coords relative to that Camera's RenderSurface.*/
        bool computePixelCoords(float x,float y,unsigned int cameraNum,float& pixel_x,float& pixel_y);

        /** compute, from normalized mouse coords, for sepecified Camera, the near and far points in worlds coords.*/
        bool computeNearFar(float x,float y,unsigned int cameraNum,osg::Vec3& near, osg::Vec3& far);

        /** compute, from normalized mouse coords, for sepecified Camera, intersections with the scene.*/
        bool computeIntersections(float x,float y,unsigned int cameraNum,osgUtil::IntersectVisitor::HitList& hits);

        /** compute, from normalized mouse coords, for all Cameras, intersections with the scene.*/
        bool computeIntersections(float x,float y,osgUtil::IntersectVisitor::HitList& hits);
2003-04-16 14:17:49 +00:00
Robert Osfield
f9eb43083a Changed OsgSceneHandler so it re-uses osgUtil::SceneView project and modelview
matrices.

Changed the osgpick demo so that it uses the OsgSceneHandler's projection and
modelview matrices where possible.
2003-04-16 09:22:33 +00:00
Robert Osfield
63628ce099 From Romano, extra methods/variables for controlling tesselation. 2003-04-15 09:33:11 +00:00
Robert Osfield
0036018507 Added -I/usr/X11R6/include to osgProducer and all the examples GNUMakefiles.
From Bob, mods to GNUMakefile and Make/makedefs for the extra includes for
freetype.
2003-04-14 19:39:22 +00:00
Robert Osfield
95636af81c Added using namespace Producer to get round namespace issue with CameraGroup
call.
2003-04-14 18:53:50 +00:00
Robert Osfield
deac5b8d4a Updated osgstereoimage and osgimpostor to handle the new default
orientation of normalized mouse coords.
2003-04-14 18:49:41 +00:00
Robert Osfield
5df7118d6d Updates to the osgpick code.
Updates to osgGA::CameraManipulors.
2003-04-14 15:44:30 +00:00
Robert Osfield
b66f464a1b Tweak to the debug output. 2003-04-14 15:03:55 +00:00
Robert Osfield
39a5cf3ad9 Added extra debugging details to help track down IRIX64 & Solaris64 problems. 2003-04-14 15:02:13 +00:00
Robert Osfield
f543d69881 Improved the handling of Producer's no dimensional mouse coords. 2003-04-14 13:23:12 +00:00
Robert Osfield
3df0401007 Addd new computeLocalToWorld(NodePath) etc methods. 2003-04-14 13:22:21 +00:00
Robert Osfield
a202cfa4f3 Changed push back to a += to try and fix compile on hopeless OSX g++ version. 2003-04-14 08:16:55 +00:00
Robert Osfield
026dc2cbb7 Added Geoff Michel's osgpick and osgUtil::PickVisitor code. 2003-04-13 13:26:41 +00:00
Robert Osfield
1a943c69ba Convertex a std::copy() into a for loop to get round compile problems under
OSX.
2003-04-11 18:57:35 +00:00
Robert Osfield
0c9b652f31 Changed the uint arrays to GLuint to keep OSX build compiling. 2003-04-11 15:33:40 +00:00
Robert Osfield
c2a9234cc5 Updated the version numbers to 0.9.4 2003-04-11 10:04:53 +00:00
Robert Osfield
83fb3f40c9 Added afterescher back into the example list in runexamples.bat.
Added osgSim and osgText into the geo/GNUmakefile LIBS.
2003-04-11 10:00:56 +00:00
Robert Osfield
50d1fcfea2 From Romano, added support in osg::VertexProgram for deleting the flushed
vertex programs.
2003-04-11 09:54:27 +00:00
Robert Osfield
aaa761e333 Added tests for presense of extensions to osgcubemap, osgvertexproram and
osgmultitexture examples.

Added osg::VertexProgram::Extensions class to better handle multiple graphics
context vertex program extensions.
2003-04-10 19:32:32 +00:00
Robert Osfield
52d2d8eaff Moved the osgcameragroup example across to being just based on
osgProducer::OsgCameraGroup with no usage of osgGA manipulators.

Removed redundent files from osgProducer.
2003-04-10 15:23:49 +00:00
Robert Osfield
8b03d59be3 Added support for modifying the osg::Texture*:Extensions stuctures.
Added an example modifying osg::Texture::Extensions to osgtext.  Optionally
compiled out by default.
2003-04-10 13:41:45 +00:00
Robert Osfield
bc4fd5b051 Added usage of Producer::CameraGroup::isValidForRendering() to the Viewer::done()
implemention so apps automatically close if one of the windows is killed.
2003-04-10 12:55:48 +00:00
Robert Osfield
22546b8085 Added support for multiple graphics context to osg::VertexProgram and osg::Impostor 2003-04-10 12:11:40 +00:00
Robert Osfield
5c88b5ff8b Fix to the CameraGroup::setViewByMarix usage. 2003-04-10 10:16:39 +00:00
Robert Osfield
e1e54570cb Fixed Viewer and OsgCameraGroup classes so that work properly with the
Prodicer::setViewByMatrix calls.
2003-04-10 10:02:24 +00:00
Robert Osfield
0a68608bc4 From Brede, added
if (cv->getComputeNearFarMode() != osgUtil::CullVisitor::DO_NOT_COMPUTE_NEAR_FAR)
to protect
  cv->updateCalculatedNearFar(matrix,_bbox);
call to avoid inapporpriate near/far warnings.
2003-04-10 08:25:30 +00:00
Robert Osfield
2166f9b701 Fixes to the Impostor implementation. 2003-04-09 21:53:09 +00:00
Robert Osfield
3dc180f3fd From Romano, ' ' now sets pause to false. 2003-04-09 13:29:12 +00:00
Robert Osfield
eb995684fb Added using namespace std; 2003-04-09 11:45:41 +00:00
Robert Osfield
38cccb696b Added environmental variable usage to OsgCameraGroup. 2003-04-09 10:51:13 +00:00
Robert Osfield
692283100c Added support for osg::Node::get/setNodeMask() into .osg format. 2003-04-09 10:30:24 +00:00
Robert Osfield
ca4b558994 Made the AnimationPathManipulator::home() reset the timming of the
animation path so that the timing always starts at the begining of the loop.
2003-04-09 10:26:50 +00:00
Robert Osfield
2c030170ff Added a setting of OsgCameraGroup::_applicateUsage to
ApplicationUsage::instance() by default.
2003-04-09 10:13:07 +00:00
Robert Osfield
e377424752 Added fallback in RenderBin::createRenderBin(const std::string& binName) which
return a new RenderBin when the no prototype is found with className of binName.
2003-04-09 10:10:57 +00:00
Robert Osfield
b02917e7a2 Fixed type of osg::ApplicationUsage::set/getApplictionName(), updated
demos accordingly.

Made OsgCameraGroup set the _applicationUsage to the
osg::ApplicationUsage::instance() when no ArgumentParser is supplied.

Added export to osgProducer::ViewerEventAdapter.
2003-04-09 08:20:08 +00:00
Robert Osfield
1e689ae57a Added support for key modifiers to osgProducer::EventAdapter. 2003-04-08 20:39:47 +00:00
Robert Osfield
c3fd384eb1 From Romano José Magacho da Silva, added 'p' toggle to animation path
manipulator to allow animations to be paused and resumed.

Added frame rate stats which are output on each repetition of the path.
2003-04-08 20:06:37 +00:00
Robert Osfield
8a3d731739 Added support for Viewer::setViewer::setView so that the internal old
style osg::Camera and camera manipulators are updated correctly.
2003-04-08 15:47:45 +00:00
Robert Osfield
e928bca4c9 Changed the Viewer::realize() calls across to not using the threading paramter
leaving it up to the Viewer to specify the mode (which by default is MultiThreaded).
Added a check for the presence of osgParticle systems so that threading is
disabled in this case.
2003-04-08 15:18:45 +00:00
Robert Osfield
afef5ad2fa Set the static mouse position values in osgProducer::EventAdater to the same
value as warp pointer to ensure that the now roll is encountered on warping
of the pointer.
2003-04-08 13:53:28 +00:00
Robert Osfield
5f8411ac5c Changed the KeySwichCameraManipulator::setNode() so it set all camera's
attached to it.
2003-04-08 13:10:47 +00:00
Robert Osfield
4fd2352afa Cleaned up some warnings and added :
LINKARGS += -Wl,multiply_defined -Wl,suppress

To GNUmakefile for the OSX build.
2003-04-08 10:17:44 +00:00
Robert Osfield
18ab95a294 Added support for snaping screen images from osgProducer::Viewer apps. 2003-04-07 19:19:01 +00:00
Robert Osfield
e04b36b467 Fixes to dds plugin from Rune. 2003-04-07 15:11:29 +00:00
Robert Osfield
6a178f76c4 Set the hardware mip map generation to false in TextureCubeMap since this
extension is not implemented when texture cube mapping.
2003-04-07 15:07:45 +00:00
Robert Osfield
7af174fadb From Ulrich Hertlien, new osg::TextureRectangle class. 2003-04-07 13:20:53 +00:00
Robert Osfield
9f0fa75484 Added support for unref image data after apply in the osg::Texture*
classes.  Only unref's after all graphics context have been applied.
2003-04-07 12:51:00 +00:00
Robert Osfield
0df1b28672 Added osgwindows example which sets up and Producer::CameraConfig up
and uses that to create multiple windows.
2003-04-07 10:20:34 +00:00
Robert Osfield
7e58786b11 Moved the modified tag's from osg::Texture into the osg::Texture1D,2D,3D and
CubeMap classes.
2003-04-07 09:46:06 +00:00
Robert Osfield
98f691f693 Added if (!_kbmcb) to handle the case where the keyboard mouse callback
is pre set.
2003-04-06 21:46:48 +00:00
Robert Osfield
49a28660dc Added the usage report to the examples for when no arguments are passed
to the examples.
2003-04-06 21:32:44 +00:00
Robert Osfield
8a3b81f00d Fixed handling of pixel and internal images formats. 2003-04-06 10:07:44 +00:00
Robert Osfield
c7a7bd03cb Added support for recording animation paths in the osgProducer::Viewer. 2003-04-05 22:24:48 +00:00
Robert Osfield
cac6642de5 Improvements to the handling of warp pointer call on start up. 2003-04-05 07:19:40 +00:00
Robert Osfield
c6e3cb044b Fixed the drive manipulator so its height is now 1.5m and the buffer size if
2.0m.
2003-04-05 07:11:07 +00:00
Robert Osfield
169bf25f77 Implemented support for float x and y mouse positions, and normalization of
mouse coords in osgGA::GUIEventAdapter, and ported osgGA camera manaipulators
to use the new normalized values.

Moved osgProducer across to tracking the window dimensions and ensure that the
internals values in osgProducer::EventAdapter are kept consistent.  Moved
the warp pointer in Viewer across to using KeyboardMouse::positionPointer().
2003-04-04 19:10:37 +00:00
Robert Osfield
e9e0b4304d Improved support for toggle between full screen and non fullscreen in
the osgProducer::Viewer.
2003-04-04 11:06:09 +00:00
Robert Osfield
7473bf573d Suported for mip mapping added by Rune. 2003-04-03 21:00:12 +00:00
Robert Osfield
a47a6f0310 Fixes to the multipipe initialization. 2003-04-03 14:12:09 +00:00
Don BURNS
03a0b4f5de Changes to fix compiles on Mac OS X 2003-04-03 08:14:49 +00:00
Robert Osfield
78d95b2414 Fixes for Win32 - removed second copy constructor from protected section
in ReaderWriterLOGO.cpp, and add osgText as a dependancy to osgtexture3D example app.
2003-04-03 07:37:08 +00:00
Robert Osfield
12e2e1968a Fixes to the dds plugin. 2003-04-02 19:41:18 +00:00
Robert Osfield
0f3eaeba46 From Rune Schmidt Jensen - new dds loader. 2003-04-02 18:26:34 +00:00
Robert Osfield
7aab621405 Added support for min pixel size, max pixel size and max visable distance to
osgSim::LightPointNode, the max pixel size from was originally in osg::LightPoint.

Added additional get/set methods to osg::LightPointNode.

Increased the compute pixel size by a ratio 1.41 (sqrtf(2)) to correlate the
computed size with the actual size seen on screen.
2003-04-02 10:50:15 +00:00
Robert Osfield
d3d32edfcd Added prefix's to ApplicationUsageProxy's and made them static to help
prevent problems under OSX.
2003-04-02 08:22:47 +00:00
Robert Osfield
732dad0e6e Fixed std::string usage so that std::string::size_type is used where
appropriate.
2003-04-01 20:52:56 +00:00
Robert Osfield
5a974ab091 Fixes to osg::Texture's handling of anisotropy updating and
hardware generate mip mapping.

Added switching off generate mip map from osgText::Font.cpp.

Changed savedmodel.osg to saved_model.osg in ViewerEventHandler.
2003-04-01 20:32:57 +00:00
Robert Osfield
b59760482f Changed unsigned int to std::string::size_type. 2003-04-01 18:50:36 +00:00
Robert Osfield
5b36049f33 Added convinience constructor. 2003-04-01 18:42:38 +00:00
Robert Osfield
060b9f7150 Added futher debugging messages to track down the x86-64 crash. 2003-04-01 18:42:17 +00:00
Robert Osfield
49b62ff92c Moved the logo plugins from the osgPlugins/logos directory to osgPlugins/logo
to make it consistent with the naming of the plugin.
2003-04-01 15:13:26 +00:00
Robert Osfield
43f1c0121b Bug spotted and fix by Sébastien Kuntz. Changed < to <= on Geometry.cpp, in removePrimitiveSet(),
if( i+numElementsToRemove<_primitives.size() )
2003-04-01 15:08:30 +00:00
Robert Osfield
fee0debfde Added timer code to the init in OsgCameraGroup.
Made the stats view 20 frames rather than 6.
2003-04-01 11:55:29 +00:00
Robert Osfield
763ee7f086 Cleaned up the reset of the vertex arrays in osg::State. 2003-04-01 11:53:34 +00:00
Robert Osfield
3975fc9b01 Improved handling of subloading.
Removed the rescalling of images in osg::Image during texture apply, moving
the rescale so it is locally calculated.  This solves an outstanding threading
problem which occured by multiple draw threads all tried to rescale the same
image at one time.

Made osg::Image ptr in osg::Texture2D non mutable as it is no longer modified
during apply.
2003-04-01 11:49:09 +00:00
Robert Osfield
90a2c93e50 Added extra debugging messages into the ArgumentParser::reportRemainingOptionsAsUnrecognized(ErrorSeverity severity)
method to help track down a crash under x86-64.
2003-04-01 08:47:11 +00:00
Robert Osfield
b728b1dd99 Implemented load and subload methods in osg::Texture/Texture2D. 2003-03-31 21:41:17 +00:00
Robert Osfield
11a38e12f2 Made the default transparent bin be bin number 10 rather than 1 to allow
more bins between it and the default opaque bin of 0.

Added a check for compressed image format in osg::Texture.
2003-03-31 12:48:33 +00:00
Robert Osfield
60e16ea044 Added Escape to the help list.
Changed the help key from '?' to 'h'
2003-03-28 10:04:58 +00:00