Commit Graph

2514 Commits

Author SHA1 Message Date
Robert Osfield
4571238459 From Joakim Simonsson, add s/getHPROrder method 2004-09-06 14:59:11 +00:00
Robert Osfield
a36b10ac24 From Marco Jez, added missing TexGenNode constructor. 2004-09-06 14:30:25 +00:00
Don BURNS
83b94144b4 Fixed .net plugin errors on Mac 2004-09-02 20:42:28 +00:00
Robert Osfield
506c5a6743 Added usage of carbon pathway in appendPlatformSpecificLibraryFilePaths. 2004-09-02 10:01:24 +00:00
Robert Osfield
452cfa7744 Added comments from Eric 2004-09-02 07:44:33 +00:00
Robert Osfield
1f53745511 From Uwe Woessner 2004-09-01 15:14:55 +00:00
Robert Osfield
ac6d25a840 Added Don's new osgDB::makeDirectory() code FileUtils. 2004-09-01 14:49:18 +00:00
Robert Osfield
d9af748b78 From Tom Jolly, add detection for whether multi-texturing is supported before
checking for number of texture units supported, using 1 as a fallback value
2004-09-01 10:41:50 +00:00
Robert Osfield
da5fa4cbcd Added bool paramter to MatrixManipulator::setHomePosition(,,,bool) to allow
the autocomputehomeposition to be controlled.
2004-09-01 10:18:46 +00:00
Robert Osfield
19bf7bb1ce From Eric Sokolsky, add support for recording default values for env vars 2004-09-01 09:48:17 +00:00
Robert Osfield
cc4a22a117 Added crude #ifdef COIN_BASIC_H around ::REPLACE usage as this is only
available under Coing
2004-09-01 09:10:15 +00:00
Robert Osfield
da6993fc77 Added support for CONSTANT_COLOR and ONE_MINUS_CONSTANT_COLOR into .osg 2004-09-01 09:00:20 +00:00
Robert Osfield
e5cfe0a27a From Marco Jez, addition of new interal texture formats to osg/Texture and Image.cpp 2004-09-01 08:49:48 +00:00
Don BURNS
573079fbae Added Visual Studio files for osgPlugin net 2004-08-31 21:06:01 +00:00
Don BURNS
3c0ea75e28 added makeDir - temporary UNIX only 2004-08-31 20:49:23 +00:00
Don BURNS
b7b3c7cd10 Fixes (hopefully) for windows and other platforms... 2004-08-31 20:26:54 +00:00
Robert Osfield
de686f409b Added support for spherical texture mapping and better file search support
for meterial files.
2004-08-31 14:48:05 +00:00
Robert Osfield
1da72da167 Simplified the TrackMode options 2004-08-31 14:21:46 +00:00
Robert Osfield
08017daf37 Added rescale of quaternion in Matrix::set(Quat), a copy operation in osg::Quat and
extra tracking options in NodeTrackerManipulator.
2004-08-31 09:20:31 +00:00
Don BURNS
15def16d43 Added cache_mode option to Net plugin 2004-08-31 01:12:56 +00:00
Robert Osfield
6578655ff3 Added trackmode support for handling rotation of tracked node 2004-08-30 18:53:44 +00:00
Robert Osfield
2733324701 Fixed the Matrix::get(Quat&) method 2004-08-30 18:51:42 +00:00
Robert Osfield
146f4cd573 Remamed TrackerManipulator to NodeTrackerManipulator 2004-08-30 10:03:18 +00:00
Don BURNS
0724243959 Added the local_cache_dir option to the net plug-in allowing for the
keeping and populating of a local cache.  With this option, the cache
is checked first before fetching from the network.
2004-08-30 01:15:49 +00:00
Robert Osfield
6a82bb28fc Added handling of $ comment line, and 'g' empty group name 2004-08-29 15:09:26 +00:00
Don BURNS
2f4a384fa9 Added two options to the .net loader:
hostname=<hostname>  - Specify the host to connect to to retreive files
  server_prefix=<directory> - Specify a prefix to each file indicating
                              a directory for the server to look into
Also, the .net server now does not require a file to have the .net
suffix.  ALl this together now means that you can do this:

    osgviewer -e net -O "hostname=openscenegraph.org server_prefix=BlueMarble" earth.ive

And view the whole earth streamed from a server.
2004-08-29 00:57:02 +00:00
Don BURNS
3e74db50e5 Changes for IRIX build and fix to build system 2004-08-28 23:04:47 +00:00
Don BURNS
2a3f7b2799 Added the .net plug-in. This allows the reading of files by
specifying <host>:file.<ext>.net for example:

    osgviewer osgcvs.no-ip.com:OSGModels/cow.osg.net
2004-08-28 07:25:21 +00:00
Robert Osfield
f2f1543a88 Fix of OSX build 2004-08-27 16:52:23 +00:00
Robert Osfield
617f6d4585 Fix for OSX build. 2004-08-27 16:19:05 +00:00
Robert Osfield
255c27d552 Added a new osgDB::appendPlatformSpecificLibraryFilePaths() method to FileUtils.cpp
Includes a new OSX code from Eric Wing
2004-08-27 16:14:21 +00:00
Robert Osfield
79bcd892bd Added .tif extension to handled extension list 2004-08-27 14:56:08 +00:00
Robert Osfield
2bfc9c855c Removed eroneous cancel() and join() from the DatabasePager::run() method. 2004-08-27 12:04:29 +00:00
Robert Osfield
5d8d05970e Added handling of short (<=4 points) polygons as tri fans and the rest
as polygons which are tesselated, to improve load and build time, yet
still resselating the large polygons that need it.
2004-08-27 08:03:26 +00:00
Robert Osfield
b50f0db0a9 Added handling of DrawArrayLengths PrimitiveSet. 2004-08-27 08:01:17 +00:00
Robert Osfield
b5c2d85962 Improvements to handling of winding of polygons. 2004-08-26 16:20:26 +00:00
Robert Osfield
71149635fc Removed debugging output. 2004-08-26 14:52:14 +00:00
Robert Osfield
889704964b Rewrite of OBJ parser + converter to OSG 2004-08-26 14:33:38 +00:00
Robert Osfield
8c92d043ad Removed "interlace" debugging message 2004-08-24 18:27:47 +00:00
Robert Osfield
f15877f89b Changed the AnimationPathCallback::reset() to reset the _firstTime to DBL_MAX
so that it resets on the next update traversal.
2004-08-24 18:23:53 +00:00
Robert Osfield
91dfbf1f06 Added support for looping mode 2004-08-24 13:25:45 +00:00
Robert Osfield
b2d39d7f5b Added s/getLoopingMode() to ImageStream and MPEG plugin 2004-08-24 12:55:15 +00:00
Robert Osfield
314874cf81 Made the command buffer have 20 elements in it to protect against wrapping
around.
2004-08-24 08:43:53 +00:00
Don BURNS
3326454650 Fixed error for when screen width * 0.75 is greater than screen height
for compute of window size when coming from fullscreen when 'f' key is pushed.
2004-08-23 20:29:42 +00:00
Don BURNS
360de7f15b Fixed assumption that the users's screen is 1280x1024 when toggling
full screen with the 'f' key.
2004-08-23 17:17:46 +00:00
Robert Osfield
4dd1c6688a Added protection to prevent crashes on calls when no data is set up 2004-08-23 08:44:47 +00:00
Robert Osfield
1a455e1aad Rejigged the __int* definitions to try and get round Mingw compile errors 2004-08-18 06:06:02 +00:00
Robert Osfield
5460013a92 From Bruce Clay, fixes for VS6.0 build. 2004-08-17 19:42:45 +00:00
Robert Osfield
a1fc4b986c Changed sizeof(..) references to 1,2,4 respectively. 2004-08-17 18:56:24 +00:00
Robert Osfield
ca61c11134 From David Fries, "I added code to also check the local up vector, but
only if one of the rotation modes is selected, because autoscale isn't
affected by the camera rotations. "
2004-08-17 07:58:32 +00:00
Robert Osfield
ffc5dfb83b Changed the "flip" keyword to "dds_flip" 2004-08-17 07:44:31 +00:00
Robert Osfield
d565d92cc8 Removed computeMipMaps call 2004-08-17 06:15:54 +00:00
Robert Osfield
4f376529b7 Added support for "flip" option string, which if present flips incoming
images about the vertical axis.  Accessed via -O flip on the commandline.
2004-08-16 21:14:19 +00:00
Robert Osfield
a9cb803404 Added a handling of different hex long long handling for VS and non
VS.
2004-08-16 21:03:41 +00:00
Robert Osfield
cf99c3c9bd Added support in Image::flipVertical for flipping mipmapped imagery
and for flipping compressed imagery.
2004-08-16 20:57:24 +00:00
Robert Osfield
bb6fe74738 Fixed _MSC_VAR reference 2004-08-16 16:43:17 +00:00
Robert Osfield
8c1f1e05c8 Added fxtctool in prep for adding compressed imagery swap 2004-08-16 15:43:12 +00:00
Robert Osfield
7d41c7f4c3 Cleaned up output level of debugging messages 2004-08-16 14:21:31 +00:00
Robert Osfield
dc0bc861b2 Fix to order of materials 2004-08-16 14:03:17 +00:00
Robert Osfield
87a2a282be From Michael Gronager, addition of NodeCallback support in .osg format. 2004-08-16 13:54:40 +00:00
Robert Osfield
a8c05e9342 Improvements to the handling of OBJ files 2004-08-16 13:17:29 +00:00
Robert Osfield
6c3eb95f7b Disabled the culling for clear node. 2004-08-16 08:55:48 +00:00
Robert Osfield
d64aa24449 Changed the length multiple to be 2x the bounding sphere radius 2004-08-16 08:32:16 +00:00
Robert Osfield
f62d0e4dd2 From Michael Gronager, fix to an orientation bug. 2004-08-16 07:29:07 +00:00
Robert Osfield
907f6361ca From Corbin Holtz, addition of support for reading imagery with color tables,
including code from Frank Warmerdam on the GDAL side, and integration/reworking
work form Robert Osfield.
2004-08-13 14:42:26 +00:00
Robert Osfield
14d9013699 Removed redundent include/ReadFile call 2004-08-13 13:27:29 +00:00
Robert Osfield
3568e60718 Changed the "Reading a byte swapped file" message to info level. 2004-08-13 12:38:12 +00:00
Robert Osfield
195a1be76e Fix for VS6.0 build 2004-08-13 12:05:08 +00:00
Robert Osfield
61033103bc Removed inappropriate #ifdefs 2004-08-13 10:49:45 +00:00
Robert Osfield
6227aa6251 Fixes for OSX. 2004-08-13 10:46:04 +00:00
Robert Osfield
821b0991d9 From Ben Discoe, build fix for float version of Matrix. 2004-08-11 08:25:14 +00:00
Robert Osfield
e871adae1a Changed the database pager run message to only output at an info level 2004-08-10 18:31:43 +00:00
Robert Osfield
bd68cf9f50 Changed binding warnings to be reported as info rather than as warnings. 2004-08-07 19:08:12 +00:00
Robert Osfield
857d8e2435 Added the ability to set the global stateset, as use this RenderStageLighting 2004-08-07 09:42:19 +00:00
Robert Osfield
740524bb56 Added support for the "precision <value>" options string 2004-08-06 08:56:18 +00:00
Robert Osfield
3579506fa8 Added support for osg::AutoTransform::setAutoRotateMode(AutoRotateMode) deprecating
the previous setAutoRotateToScreen().  Added support for ROTATE_TO_CAMERA mode.

Cleaned up the autotransform demo to use a sensible number of labels
2004-08-06 08:22:58 +00:00
Robert Osfield
e9f4ed87bc From Jay Zuckerman, fixes to AutoTransform so that it includes checking of
previous position value.
2004-08-05 15:15:51 +00:00
Robert Osfield
009cda4134 From Marco Jez, updates to work with latest StateAttrbiute::compileGLObjects method 2004-08-05 15:14:50 +00:00
Robert Osfield
4d2c08b39a From Marco Jez, commented out info debugging messages 2004-08-05 15:02:51 +00:00
Robert Osfield
b57a4ec323 From Marco Jez, VS.NET warning fixes. 2004-08-05 13:41:52 +00:00
Robert Osfield
66397b3962 Changed the popProjectionMatrix so that it didn't allow modification on the near
and far values when clamping the projection matrix.
2004-08-05 12:47:55 +00:00
Robert Osfield
53dc96bb50 Added s/getClearColor and deprecated s/getBackgroundColor(). Re-implemented
setClearColor so that it passes on its value to Camera::setClearColor(), and
changed OsgSceneHandler to use the Camera::getClearColor() on each new frame
to ensure that it reflects the settings of the camera correctly.
2004-08-05 10:01:32 +00:00
Robert Osfield
ddb7423e46 Set version numbers for 0.9.7 release 2004-08-05 08:02:48 +00:00
Robert Osfield
e59fcfe6ce Cleaned up the gdal-config usage to work with gdal-1.1.9 2004-08-04 10:03:57 +00:00
Robert Osfield
7eb3f2646e From Norman Vine (with small tweaks by Robert Osfield), build fixes for Cygwin 2004-08-04 08:27:43 +00:00
Robert Osfield
5cfe2e2d91 From Don Tidrow, build fix for Peformer 2004-08-04 06:57:03 +00:00
Robert Osfield
98d30a8ce0 From Pavel Moloshtan, fix to Image copy constructor so that it used the
correct size of image including mipmaps.
2004-08-03 18:06:36 +00:00
Robert Osfield
7da65a859e Added include of scoped lock 2004-08-03 12:38:11 +00:00
Robert Osfield
7126ca44e9 Better macro support for switching on/off use of mutex 2004-08-03 11:01:39 +00:00
Robert Osfield
67df9af7d1 Fixed warnings 2004-08-02 15:56:18 +00:00
Robert Osfield
7a7358553f Fixed warning 2004-08-02 15:52:50 +00:00
Robert Osfield
2d901bf7ee Fixed warnings 2004-08-02 14:52:24 +00:00
Robert Osfield
79bc32ad7c Removed warings 2004-08-02 14:42:20 +00:00
Robert Osfield
ebad31c3dd Fixed warnings 2004-08-02 13:57:47 +00:00
Robert Osfield
9b33dee6ac Made the member variables in RenderStage and RenderBin protected 2004-08-02 12:19:50 +00:00
Robert Osfield
364d40061d Added glReadBuffer after each instance of glDrawBuffer to ensure that
the any reads are done to the appropriate buffer.
2004-08-02 09:30:13 +00:00
Robert Osfield
6524fe1293 From Norman Vine, fixes for Mingw 2004-08-02 09:11:31 +00:00
Robert Osfield
e122b34858 From Tom Jolly. a couple of small changes to osgParticle.
"The first is with
Particle.cpp.  I made a change so that when the lifetime is 0 (lasts
forever) the sizeRange, colorRange, and alphaRange are used to create
a random size, color, and alpha."

"The second change is with range and SectorPlacer.  The distribution of
particles across the sector was not uniform.  I added get_random_sqrtf()
function where it is used in SectorPlacer::Place().  This seems to make
the distribution uniform (at least when minimum radius is 0)."
2004-08-02 07:25:28 +00:00
Robert Osfield
f206abcd43 From Geoff Michel, new osgtesselate example, and new features in osgUtil::Tesselator. 2004-08-01 10:36:02 +00:00
Robert Osfield
4d9bd4d825 Build fixes for gcc 3.4.1 support 2004-08-01 08:26:44 +00:00
Robert Osfield
8d1b390c7e Removed old iv plugin 2004-08-01 04:10:54 +00:00
Robert Osfield
b790fa59a8 Added beginnings of new TrackballManipulator 2004-07-30 15:44:59 +00:00
Robert Osfield
9b9cb9cdb0 Added detection and disabling of flattening of static transforms which a
LightPointNode exists in the scene graph.
2004-07-29 10:13:02 +00:00
Robert Osfield
3d61e25cce Fixed compare(ProgramObject) and added UniformeValue::compare and ShaderObject::compare
to support proper sorting of shaders.
2004-07-28 19:56:22 +00:00
Robert Osfield
40a1a39bff Replaced GL_PACK_ROW_LENGTH by GL_UNPACK_ROW_LENGTH 2004-07-28 12:38:54 +00:00
Robert Osfield
cb31021ab0 From Corbin Holtz, addition of GDAL_INCLUDE and GDAL_LIB env vars for setting
a non standard location of GDAL
2004-07-28 12:29:15 +00:00
Robert Osfield
aa619be4c1 Added initializer for _videoWriteData and _rows pointers 2004-07-28 12:27:25 +00:00
Robert Osfield
90ee9fa7cd Commented out debugging messages 2004-07-28 10:26:44 +00:00
Robert Osfield
1ec5b48148 Fixed the flatten static transform visitor so that it checks to see
if a drawable can be flattened or not.
2004-07-28 10:26:14 +00:00
Robert Osfield
0073978894 Added double buffer of video imagery so that the OpenGL never reads as Mpeg writes 2004-07-28 08:28:31 +00:00
Robert Osfield
1ae521981e From David Fries, divide by zero fix on text with a pixel size of 0.0 2004-07-28 07:24:13 +00:00
Robert Osfield
29d21dabec Made the static mutex a pointer to a static mutex to get round a exit
problem on deletion of the plugin.
2004-07-27 15:14:52 +00:00
Robert Osfield
7deea8531e Clean up of debugging messages 2004-07-27 13:32:15 +00:00
Robert Osfield
654764a0e9 Fixed unref image so it only unref's when images are STATIC 2004-07-27 13:24:35 +00:00
Robert Osfield
2e524ed9d7 Changes to fix multiple thread start. 2004-07-27 10:23:11 +00:00
Robert Osfield
bb5576bef8 Added support s/getImage(uint i) and getNumImages(). 2004-07-27 10:11:45 +00:00
Robert Osfield
a4f93740d1 Fixed double thread start problem. 2004-07-27 09:04:56 +00:00
Robert Osfield
8837d667f0 Made the handling of types more consistent 2004-07-26 19:40:02 +00:00
Robert Osfield
f6274d0f20 Added setting of block_on_vsync of both CameraGroup and all the Camera's that it contains. 2004-07-26 14:25:41 +00:00
Robert Osfield
7c05fe8906 Fixed iddle update. 2004-07-23 09:49:04 +00:00
Robert Osfield
cf62f7097d Added ImageStream::quit(bool) for exiting from video threads, and added
clean up to OsgCameGroup to quit movie threads automatically.
2004-07-23 09:15:22 +00:00
Robert Osfield
6f605d031f Added support for OSG_OPTIMIZER="OFF" 2004-07-22 18:34:38 +00:00
Robert Osfield
1fa4bd8ab4 Fixed build 2004-07-22 15:41:13 +00:00
Robert Osfield
f75d109e12 Added more usage mutex to serialize access to Quicktime. 2004-07-22 15:11:14 +00:00
Robert Osfield
c9f5749c12 Added preliminary support for thread safety in various delete GLobjects code 2004-07-21 19:16:49 +00:00
Robert Osfield
b0a371ddb0 Added missing tex env mode 2004-07-21 19:15:34 +00:00
Robert Osfield
1963fac426 Replaced STOPPED by PAUSED. 2004-07-21 19:14:15 +00:00
Robert Osfield
9232aac60d Removed the stop method, replacing it by pause 2004-07-21 19:01:40 +00:00
Robert Osfield
d1981df21f Removed the stop method 2004-07-21 19:01:16 +00:00
Robert Osfield
24df4b93d6 Clean up of thread handling. 2004-07-21 10:01:56 +00:00
Robert Osfield
70ea29f1cb Double intersections distance for intersects. 2004-07-21 08:55:17 +00:00
Robert Osfield
dfaed29d6b From Geoff Michel, fixes. 2004-07-20 18:50:30 +00:00
Robert Osfield
3bca9ec9cf Added SceneView::Options for SceneView::setDefaults(options) and
OsgCameraGroup::setRealizeSceneViewOptions(options) to allow better control
of what functionality is compiled in by default.
2004-07-20 10:17:22 +00:00
Robert Osfield
aed65903db From Bob Kuehne, add usage of version number to differentiate between
rev's of the LOD.
2004-07-20 07:46:05 +00:00
Robert Osfield
aa833acfd3 Added support for releasing GLObjects, and renamed DisplayListVisitor the
GLObjectVisitor to better fit its function, and added support for releasing
objects as well as compiling them.
2004-07-20 05:37:59 +00:00
Robert Osfield
12a315ec1d From Eric Sokolosky, added INVENTOR_INCLUDE and INVENTOR_LIB vars. 2004-07-20 05:36:44 +00:00
Robert Osfield
d5aea35895 From Geoff Michel, fix for handling of texture filenames enclosed in quotes. 2004-07-19 18:35:01 +00:00
Robert Osfield
422aab8e3f Added handling of the case when texture objects are released from underneath
the osgText::Font::GlyphTexture - something which requires a full rebuild
of the texture object.
2004-07-19 14:34:12 +00:00
Robert Osfield
4a8c090bf8 Lowered level of debugging message 2004-07-19 09:39:58 +00:00
Robert Osfield
0fb5733f13 Added support for --tile-image-size <size>, --tile-terrain-size <size> and --comment <string>
command line options into osgTerrain::DataSet + osgdem.
2004-07-19 09:03:50 +00:00
Robert Osfield
9885d15ff6 From Mike Weiblen, switched of alpha test on anisotropic effect, due to missing
write of colour.
2004-07-17 10:38:09 +00:00
Robert Osfield
f9ea73fbe2 From Mike Weiblen, updates to the psuedo loaders to add documentation. 2004-07-17 10:33:26 +00:00
Robert Osfield
d57697fefa Fixed the computePosition so it find intersections more easily. 2004-07-12 21:32:33 +00:00
Robert Osfield
0acbe077fa Added support for matix manipulator setHomePosition(,,) 2004-07-12 19:54:54 +00:00
Robert Osfield
47910f2c2e Removed enabling of use client stage storage hint. 2004-07-12 17:30:36 +00:00
Robert Osfield
6fd4677868 Added OPTIMIZER_TEXTURE_SETTINGS pass to Optimizer, which enables
unref image data after apply, client storage hint.
2004-07-12 13:20:18 +00:00
Robert Osfield
3e5c491f54 Added debugging message, currently commented out. 2004-07-12 13:13:58 +00:00
Robert Osfield
ed08f7a5a9 Added unref image data on apply automatically to all textures being loaded. 2004-07-12 10:23:15 +00:00
Robert Osfield
69caf104d8 Reduced the pan sensitive on the trackball 2004-07-12 09:43:45 +00:00
Robert Osfield
7fdf18a768 Reduced the sensitivity of the pan. 2004-07-12 09:17:21 +00:00
Robert Osfield
ba295ccab7 Added a more flexible variable on the textured quad generation function 2004-07-12 01:01:00 +00:00
Robert Osfield
788a19d3b5 Made debugging message write to osg::INFO instead of osg::NOTICE 2004-07-11 23:07:47 +00:00
Robert Osfield
363d13d7ce Added CLUSTER_CULLING mask to CullSettings, and modified the ClusterCullingCallback
to use the mask to see if cluster culling is enabled or disabled.
2004-07-11 21:46:23 +00:00
Robert Osfield
3f4b8e9034 Fixed cluster culling. 2004-07-09 20:58:43 +00:00
Robert Osfield
504dd515d3 Improvements to the handling of coordinate system nodes 2004-07-09 15:21:33 +00:00
Robert Osfield
9cb7bb0f4a Clean up of debugging information. 2004-07-09 12:14:25 +00:00
Robert Osfield
0869da6e67 From Mike Weiblen, "mods based on those Bob Kuehne posted.
- updated to the latest ARB-approved GLSL version query mechanism.
- updated enums to the latest official glext.h
- fixed some TODOs"
2004-07-09 08:22:24 +00:00
Robert Osfield
8d325c24ff Added new coputeActiveCooridnateSystemNodePath method 2004-07-08 22:28:15 +00:00
Robert Osfield
8a44435e4d Made the local storage of a StateAttribute* be a ref_ptr<> 2004-07-08 22:11:42 +00:00
Robert Osfield
e81d3ea000 Made the constructor's default value for _lightingMode be NO_SCENEVIEW_LIGHT 2004-07-08 22:10:44 +00:00
Robert Osfield
787792077c From Vasily Radostev, fixed Billboard compute near/far bug due to typo of bbCornerFar. 2004-07-07 13:19:07 +00:00
Robert Osfield
c6ca80f2c5 Added automatic scaling of the minimum distance to cope with models of
small dimensions.
2004-07-07 11:29:58 +00:00
Robert Osfield
1634cc47c6 Added automatic setting of the verical scale when the destination coordinate
system is geographic (i.e. lats and longs.).
2004-07-07 11:28:21 +00:00
Robert Osfield
a3f7547cf7 Added support for automatically computing the local skirt orientation 2004-07-07 09:04:21 +00:00
Robert Osfield
3c7dfa389d Added mutex to image stream thread to serialize calls to Quicktime. 2004-07-06 15:10:33 +00:00
Robert Osfield
105c3568f8 From Geoff Michel, replaced used C style FILE with iostream. 2004-07-06 13:00:14 +00:00
Robert Osfield
ba20259794 Removed debugging message 2004-07-06 12:32:09 +00:00
Robert Osfield
b8aa8bfc40 Fixed warning. 2004-07-06 12:15:03 +00:00
Robert Osfield
d0aa593292 Changed the default mipmapping mode to record the mipmaps in the
images in the generated databases.
2004-07-06 12:14:52 +00:00
Robert Osfield
518cedf6c7 Added dealloc or previous image data into readImageFromTexture 2004-07-05 21:46:02 +00:00
Robert Osfield
cce00c475b Added suppor for copying mipmaps of compressed textures 2004-07-05 21:09:30 +00:00
Don BURNS
4c5f33d397 Changed internal formatt on jpeg loader to be GL_RGB, GL_RGBA, etc. rather
than numComponents.
2004-07-05 16:21:43 +00:00
Robert Osfield
1c2c5c4f43 From Ulrich Hertlein, added check for detailRatio<=0.0 2004-07-05 09:04:53 +00:00
Robert Osfield
c58891d168 Fixed missing member variable initialized varaibles 2004-07-05 07:42:46 +00:00
Robert Osfield
2ce192f0ae Change the light in LightSource from a generic osg::StateAttribute to
a osg::Light.
2004-07-02 14:46:24 +00:00
Robert Osfield
2598b02243 Changed the generation of primtive set to use DrawElementsUShort for even
index sets that can be represented by UBytes, thisis to try to keep to
fast paths more likely to be supported by graphics drivers.
2004-07-01 14:27:22 +00:00
Robert Osfield
a0eead991f Fixed indenting 2004-07-01 14:22:11 +00:00
Robert Osfield
0c38189018 Moved the radius parameter from PageLOD into LOD. 2004-07-01 13:53:30 +00:00
Robert Osfield
a8ee967f14 Added support for using pixel size control of LOD levels. 2004-06-30 19:07:05 +00:00
Robert Osfield
b22de2eba0 Maded the image filename handling more consistent. 2004-06-30 14:43:40 +00:00
Robert Osfield
ae3b1454e8 Completed support for "--levels min max" option where the levels that a
source imager or DEM contributes to.
2004-06-30 14:37:06 +00:00
Robert Osfield
c45138f977 Fixed handling of PROCTED/OVERRIDE 2004-06-30 09:02:41 +00:00
Robert Osfield
888d9e2a25 From Pavel Moloshtan, added support for storing primitive sets in VBO's 2004-06-29 15:04:38 +00:00
Robert Osfield
d4c46df7ce Fixed parsing of internalTextureFormat. 2004-06-29 08:03:28 +00:00
Robert Osfield
fdbb1fe021 Re-organised Texture::computeInternalFormatWithImage() to avoid testing
for extensions when not required.
2004-06-28 22:09:52 +00:00
Robert Osfield
9b03d8c67e Fixed warnings. 2004-06-28 21:39:31 +00:00
Robert Osfield
0887e22c3f Added .osg support for new TexGenNode 2004-06-28 15:09:49 +00:00
Robert Osfield
124f64c55f Fixed warning 2004-06-28 14:18:48 +00:00
Robert Osfield
ca96c9e731 From Michael Logan, build fix for Performer plugin 2004-06-28 13:18:31 +00:00
Robert Osfield
db43e34bce From Michael Gronager, added support for alpha channel in writing of BMP images 2004-06-28 13:18:10 +00:00
Robert Osfield
6de63f097b From Eric Sokolowsky. Added missing blend modes into .osg reading and writing
and fixed typo.
2004-06-28 12:52:13 +00:00
Robert Osfield
20de9666dd From Terry Welsh, added support for reading and writing osg::FragmentProgram
local parameters.
2004-06-28 10:00:21 +00:00
Robert Osfield
4c0aa24526 Added handling of GL_INTENSITY in osg::Image::computeNumComponents() 2004-06-17 15:07:50 +00:00
Robert Osfield
63aa9b857d Added first stage of support for "--levels min max" in osgdem/osgTerrain where
this option controls which levels that an associated imager or DEM contributes
to the final model.
2004-06-17 14:39:16 +00:00
Robert Osfield
06aa06d686 Added support for setting texture units in the new TexGenNode. 2004-06-17 14:02:15 +00:00
Robert Osfield
840d5d4930 From Loic Dachary, added missing copy contructor operations. 2004-06-16 15:05:01 +00:00
Robert Osfield
ad6bf73037 From David Fries, small treak to debugging output. 2004-06-16 06:02:12 +00:00
Robert Osfield
8b0a98f03c Added Marco's AutoTransform.cpp 2004-06-15 12:26:39 +00:00
Robert Osfield
616ee0928a From Marco Jez, implemented I/O support for the AutoTransform node. 2004-06-14 20:12:04 +00:00
Robert Osfield
ade10ccebc Improved precision of AnimationPath IO. 2004-06-14 20:10:08 +00:00
Robert Osfield
2d35b3cc27 Changed Billboard::g/setPos(..) to g/setPosition(..). 2004-06-14 19:34:43 +00:00
Robert Osfield
78d075eb24 Added new TexGenNode class for positioning tex gens. 2004-06-14 19:11:04 +00:00
Robert Osfield
0153764aa9 Fixed handling of skylight and headlight options in osgProducer::Viewer. 2004-06-11 21:27:36 +00:00
Robert Osfield
773ffc0c05 Added better debugging messages for verify bindings. 2004-06-11 21:05:50 +00:00
Robert Osfield
6f03f991b3 Changed the color binding to better reflect the settings in the OpenFlight file. 2004-06-11 21:05:07 +00:00
Robert Osfield
eda1bf544d Added further checks for _node validity. 2004-06-11 21:00:06 +00:00
Robert Osfield
c63f0e2fce Added checks against null to prevent crashes when the terrain manipulator is set up before
a node has been attached.
2004-06-11 20:57:36 +00:00
Robert Osfield
09d585561a Added missing setColorBinding() into ConvertFromFLT::setMeshColors(). 2004-06-11 14:49:22 +00:00
Robert Osfield
343fa27fcd From Troy Yee, fixes to handling meshes.
From Robert Osfield, replaced assert(0)'s with error messages.
2004-06-10 15:43:56 +00:00
Robert Osfield
3adacbdeb7 Changed the *(itr++) instances with *(itr), *(itr+1) with a seperate itr+=n etc. This
has been done to avoid VC6.0 optimization ordering problems.
2004-06-09 16:28:51 +00:00
Robert Osfield
f75a7c6294 Added CoordinateSystemNode::set(const CoordinateSystemNode&) method to conviniently
set up a coordindate system.
2004-06-09 15:11:27 +00:00
Robert Osfield
84c66b7c2e Added proper mapping of format and coordinate system. 2004-06-09 15:06:19 +00:00
Robert Osfield
a8ce6b01d6 Added CoordinateSystem::s/getFormat(). 2004-06-09 15:00:03 +00:00
Robert Osfield
6f82b37dd0 Improved the precision of animation paths. 2004-06-08 14:30:48 +00:00
Robert Osfield
65d0293778 Added options for controlling mipmapping and aniso-tropic filtering. 2004-06-08 13:58:36 +00:00
Robert Osfield
dbba29e35c From Boris Bralo, reimplementation of dereference_less functor to use
two input types, to attempt to avoid VC compile problems and redundent
copies of ref_ptr<>.
2004-06-08 09:29:56 +00:00
Robert Osfield
22ec86114d Updates to the terrain manipulator. 2004-06-08 07:32:08 +00:00
Robert Osfield
eec378a885 Moved the osg::ClusterCullingCallback into into own header and source file. 2004-06-07 15:05:22 +00:00
Robert Osfield
48d671352d Changed the terrain manipulator so the intersection ray is only
computed near to the current center point during panning.
2004-06-07 14:49:39 +00:00
Robert Osfield
4bb147aed4 Added haveAppliedAttribute to allow draw callbacks to get access to the
current active lights.
2004-06-04 12:27:04 +00:00
Robert Osfield
bfd1286b25 Add clamping to 0..1 bounds for each of the r,g,b,a components in
the CubeMapGenerator::set_pixel() method.
2004-06-04 11:35:13 +00:00
Robert Osfield
c69a8a5b80 Added check to Quat::makeRotate(,,,) to catch zero lengh axis. 2004-06-04 10:05:18 +00:00
Robert Osfield
2cf45b50c9 From Terry Welsh, added checks to incoming Geometry for existance of normals,
and if they are present use these to compute the tanget and binormals
vectors perpendicular to existing normals.
2004-06-04 08:24:13 +00:00
Robert Osfield
0fac56f56a From Max Behensky, fixes to the computation of the number of primitives 2004-06-04 08:13:36 +00:00
Robert Osfield
e8a3ba8a9f Fixed spelling of Equivalent. 2004-06-03 20:06:17 +00:00
Robert Osfield
a92a9d0f22 Added handling of case when only one colour is used. 2004-06-03 10:16:19 +00:00
Robert Osfield
5d97f7ec92 Added support for a single color in a ColorRange 2004-06-03 10:10:41 +00:00
Robert Osfield
1526281793 Added room for tail of text. 2004-06-03 09:36:49 +00:00
Robert Osfield
b5366cbda6 Added DataSet::s/getSkirtRatio() method to allow control of how deep to
make the skirts around tiles.
2004-06-02 14:15:08 +00:00
Robert Osfield
344beecede Added derived reqiestRedraw() and requestContinueUpdate() methods for
debugging purposes.
2004-06-02 14:13:11 +00:00
Robert Osfield
7f94839e94 Added setPosition and setWidth methods into ScalarBar and changed the
implementation to use these values to position and set the size of the
scalar bar.  Also made the characterSize value a float rather than
the previous int.
2004-06-02 12:37:14 +00:00
Robert Osfield
673244a60c Fixed setCoordinateFrame method 2004-05-26 00:27:00 +00:00
Robert Osfield
205a6a105e Made the drive and flight manipulators more sensitive to de/acceleration 2004-05-26 00:26:43 +00:00
Robert Osfield
9236f6daa8 From George Tarantilils, add missing handling of alpha channel. 2004-05-25 20:40:26 +00:00
Robert Osfield
9990650cc9 Changed screen grab filename back to a saved_image.jpg 2004-05-25 20:39:49 +00:00
Robert Osfield
eb3917060f From George Tarantilis, fixes to DDS size computations.
From Robert Osfield, addition of constructors for internal DDS structures.
2004-05-25 16:10:28 +00:00
Robert Osfield
5312bcc54a Updates the movie support 2004-05-25 14:32:20 +00:00
Robert Osfield
6303b87e9a Added better handling of clamping of projection matrix 2004-05-25 07:40:18 +00:00
Robert Osfield
eac7fdff76 From Alberto Farre, fixes to the computation of sizes 2004-05-24 19:50:13 +00:00
Robert Osfield
ab2b817e61 Made improvements to the handling of small rotations in Quat and
TerrainManipulator
2004-05-20 23:25:26 +00:00
Robert Osfield
f8daf206ab Improved support for new double Vec* classes 2004-05-20 12:57:06 +00:00
Robert Osfield
f02c75f5ea Added Vec2d, Vec3d and Vec4d classes, and remapped Vec2, Vec3 and Vec4 to
Vec2f, Vec3f an Vec4f respectively, with typedef's to the from Vec* to Vec*f.
2004-05-20 10:15:48 +00:00
Robert Osfield
2cd4bd513a Changed how the rotation and panning are managed, therby improving the
handling of the center point going over a pole.
2004-05-17 22:22:24 +00:00
Robert Osfield
a62699b015 Improved the panning support, and added s/getRotationMode(..) to allow
users flip between a trackball rotation style and an azim,elevation style.
2004-05-17 15:50:44 +00:00
Robert Osfield
867a1ae105 From Bob Kuehne, more general checks for existance of extensions. 2004-05-17 13:20:41 +00:00
Robert Osfield
01b504bc2f Improved the pan controls on the terrain manipulator 2004-05-17 12:08:52 +00:00
Robert Osfield
ae5aefac0e Added the beginings of new osgParticle Explosion, Fire and SmokeEffects.
Added support for generation explosion, fire and smoke effects in osgsimulation
2004-05-13 22:09:23 +00:00
Robert Osfield
45998cfdf7 Revert the computeNearFar mode to using bounding volumes as default. 2004-05-13 22:06:20 +00:00
Robert Osfield
642253b731 From Bruce Clay, cross platform implemention of fileType(..) 2004-05-13 13:37:55 +00:00
Robert Osfield
f4a290cdff From Donny Cipperly, completed Windows support for fileType() 2004-05-13 08:11:31 +00:00