Robert Osfield
5684a130b7
From Alberto Farre, addition of ProxyNode, with support in .osg, .ive and .flt loaders
2005-03-07 14:06:09 +00:00
Robert Osfield
f7f61627a8
Fixed tabbing.
2005-03-07 12:32:58 +00:00
Robert Osfield
8993190ec7
From Marco Jez, "Current version of the LWO plugin creates one Geode with a single Geometry
...
for each Lighwave surface, in order to keep surface names (geometries can't
have names). The attached fix adds a plugin option named "COMBINE_GEODES"
that allows to place all geometries under a single Geode whenever possible,
thus offering better chances of further optimization through
osgUtil::Optimizer. The downside is that surface names are no longer stored
in the scene graph when using this option."
2005-03-07 12:14:24 +00:00
Robert Osfield
f4b864f37b
Added looping
2005-03-07 11:58:41 +00:00
Robert Osfield
dd30c457bd
Added checking for video file via normal file path checking and handling of
...
.xine extension as a special case for XINE style filenames.
2005-03-03 12:40:15 +00:00
Robert Osfield
79833fa704
Added pause, rewind and play support into xine plugin.
2005-02-24 17:07:37 +00:00
Robert Osfield
e2f6dc5bf4
Removed the default play() in the MPEG, QuickTime and Xine plugins, moving
...
it into the osgmovie application, and into readNodeFile method where
--movie is now available for detecting movie code.
2005-02-22 20:56:56 +00:00
Robert Osfield
1223e4c8ca
From Alberto Farre, fix to nested OpenFlight file problem.
2005-02-14 15:17:20 +00:00
Robert Osfield
1b805f7bdb
Made conversion use BGRA.
2005-02-13 18:10:05 +00:00
Robert Osfield
912cb9386e
Added usage of the new xine_register_plugins() call.
2005-02-13 16:35:52 +00:00
Robert Osfield
5aa2f1e7e7
Disable the MMX usage
2005-02-13 15:07:41 +00:00
Robert Osfield
0420222ce5
From Sebastien Grignard, fixed memory leak where header and databuffers
...
wern't deleted.
2005-02-11 10:09:06 +00:00
Robert Osfield
192daa0408
Added support into passing the ReaderWriter::Options structure onto readImageFile
2005-02-11 10:00:50 +00:00
Robert Osfield
d706e9e795
From Igor Kravtchenko, new HDR plugin.
2005-02-10 20:38:50 +00:00
Robert Osfield
eb803a420e
Fixed the pixelFormat to be RGBA.
2005-02-10 15:53:19 +00:00
Robert Osfield
3ce382fd45
Changed the mpeg plugin to read movies the original way up rather than the
...
OpenGL way up to keep them consistent with the xine and quicktime movie codes
2005-02-09 16:18:44 +00:00
Robert Osfield
e5e2cf2d30
Created local XineImageStream class to ensure xine streams are cleaned up correctly.
2005-02-09 15:31:33 +00:00
Robert Osfield
c842dce38c
Added setting of the filename
2005-02-09 14:27:54 +00:00
Robert Osfield
58120d0bc9
Added getenv OSG_XINE_AUDIO_DRIVER to xine plugin to allow users to
...
set what the default audio to use
2005-02-09 13:22:23 +00:00
Robert Osfield
021440b9a4
Commented out the debug messages, added back in the audio into the xine plugin
2005-02-09 12:29:09 +00:00
Robert Osfield
117c791a3b
Added osg::BufferObject and a made a number associated to accomodate this
...
new class. osg::BufferObject wraps up OpenGL pixel and array buffer objects.
Currently implementation is work in progress.
2005-02-09 10:39:45 +00:00
Robert Osfield
802940aec7
Temporarily added xine video_out_rgb xine-plugin inline to the OSG's xine plugin
2005-02-07 15:00:02 +00:00
Robert Osfield
9b7678138f
Changed the LightSource::setReferenceFrame() read code so that it doesn't
...
enable the culling active flag if its was already set to false.
2005-02-06 10:14:26 +00:00
Robert Osfield
3054a612bd
Added prototype xine movie plugin.
2005-02-04 19:34:46 +00:00
Don BURNS
7573cc6036
Added Viewport State Attribute to .osg reader/writer
2005-02-02 22:13:07 +00:00
Robert Osfield
e668acce27
Added support for internalTextureMode
2005-02-01 10:38:08 +00:00
Robert Osfield
049d2055a5
Moved the template function into the global namespace.
2005-01-27 20:26:51 +00:00
Robert Osfield
384e647f56
Fixes for Win32 build
2005-01-27 15:54:10 +00:00
Robert Osfield
a086a6d01b
Changed Font::setSize to Font::setFontResolution
2005-01-27 11:10:50 +00:00
Robert Osfield
67a5a020bf
From Donn Mielcarek, change of long and unsigned long to int32 and uint32 to
...
avoid 32bit vs 64bit issues.
2005-01-25 22:15:40 +00:00
Robert Osfield
bcbd5c7786
From Kevin Moiule, rewrote PNM plugin to handle grayscale PNM images.
2005-01-21 19:33:56 +00:00
Robert Osfield
f7166c4541
Fixed the input/output handling of ReferenceFrame values to be RELATIVE and ABSOLUTE
...
rather than long original names.
2005-01-21 19:21:01 +00:00
Robert Osfield
8ac0211b81
From Tugkan Calapoglu, bugfix to prevents reloading already loaded images.
2005-01-21 19:15:13 +00:00
Robert Osfield
e41f24ff80
From Fredrick Mammond, fix to 64 bit build.
2005-01-12 10:32:36 +00:00
Robert Osfield
80a6b54ddc
From Per Fahlberg, support for 16bit imagery.
2005-01-07 20:36:04 +00:00
Robert Osfield
48ef6136f2
From Kevin Moule, fix to memory overwrite error.
2005-01-07 20:24:36 +00:00
Robert Osfield
4955343c76
From Marco Jez, fixed handling of loading of relative file paths.
2005-01-03 13:49:35 +00:00
Robert Osfield
89b8a8a921
Added stripping of trailing spaces to readline call to fix problems associated
...
with eroneous spaces hanging around at ends of lines causing string matching
problems
2005-01-03 12:27:58 +00:00
Robert Osfield
8c5842115f
Added check against ac as extension.
2005-01-03 11:20:21 +00:00
Robert Osfield
a0ba625cb0
Property API clean to smooth the task of generating wrappers.
2004-12-17 01:06:33 +00:00
Robert Osfield
66396e9452
Teaks to API to make it easier to generate wrappers automatically
2004-12-13 01:07:24 +00:00
Don BURNS
fd403f9476
Update of IVe version files
2004-12-08 19:45:07 +00:00
Don BURNS
ebdff5aefe
Memory leak spotted and fixed by Sebastien Grignard
2004-12-02 17:44:50 +00:00
Don BURNS
463b47f020
Fixes for SOlaris build
2004-11-29 03:05:27 +00:00
Don BURNS
c7e8386707
Fixes for IRIX build
2004-11-29 01:12:25 +00:00
Don BURNS
860bc59f8e
Changes for IRIX build
2004-11-28 23:49:01 +00:00
Don BURNS
0558fb024c
Fixed osgDB:: prefix for Windows build
2004-11-27 20:35:19 +00:00
Don BURNS
81ff3e16d6
Added Marco's fix for data path for the .ive plugin
2004-11-27 19:23:41 +00:00
Don BURNS
03b9ebe56a
Fixed bug in .net loader. Added hostname to file fetch.
2004-11-27 19:20:32 +00:00
Robert Osfield
1b488d6757
Fixed typo in acceptsExtension
2004-11-24 15:41:36 +00:00
Robert Osfield
23ec051821
Moved the initPeformer to the constructor to avoid const issues when compiling
2004-11-24 06:57:34 +00:00
Robert Osfield
4a1e494eb5
From John Shue, reordering of tiffio.h to avoid compile error.
2004-11-23 16:52:59 +00:00
Robert Osfield
d9b9a6f1f8
Made read/write methods in ReaderWriter all const to facilate multi-threading
2004-11-23 15:29:52 +00:00
Robert Osfield
ffcd95b004
Tripped out experiemental threadSafe_ methods in ReaderWriter
2004-11-23 12:57:00 +00:00
Robert Osfield
5c5ceef90d
Added support for local relative paths
2004-11-23 10:46:37 +00:00
Robert Osfield
ce07879e2e
Moved plugins across to using ReaderWriter::Options* for search paths in addition
...
to standard osgDB::DataFilePaths
2004-11-22 23:54:45 +00:00
Robert Osfield
a6369da4f4
Moved Registry::CacheHintOptions into ReaderWriter::Options
2004-11-22 14:10:12 +00:00
Robert Osfield
8d44f7b15e
Fixed indentation.
2004-11-20 11:48:01 +00:00
Robert Osfield
3b092690ff
From Johan Nouvel, added support for range mode
2004-11-20 11:45:14 +00:00
Robert Osfield
8cc9d650a1
Added friend usage for inner classes to try and get round compile problems
...
under Solaris.
2004-11-18 12:07:28 +00:00
Robert Osfield
7b543a5009
Added check for extension.
2004-11-18 11:53:51 +00:00
Robert Osfield
595dda6fe4
From Vivek Rajan, fixes to Solaris build.
2004-11-18 10:08:29 +00:00
Robert Osfield
8dd892259d
Removed debug info as it was causing VS6.0 compile problem
2004-11-16 14:21:02 +00:00
Robert Osfield
7a933ebf72
From David Spilling, fix for VS6.0 build.
2004-11-16 14:20:39 +00:00
Robert Osfield
8254be2962
Added using namespace osgDB to try and resolve some of the VS6.0 problems.
2004-11-16 12:40:45 +00:00
Robert Osfield
2b310c6926
Added support for serialization of calls to ReaderWriter plugins.
2004-11-15 19:46:10 +00:00
Robert Osfield
98a1108696
Added support for opening an istream archive
2004-11-13 21:39:29 +00:00
Robert Osfield
ddb0d6bd4f
Added prelimarny support for reading archives via the .net plugin
2004-11-13 16:21:48 +00:00
Robert Osfield
de4dc63ca7
Fixed openArchive so that it only enforces the checking of the archive's existance
...
when in READ mode.
2004-11-13 10:24:07 +00:00
Robert Osfield
fb631059fe
Remove unistd.h include
2004-11-12 21:07:17 +00:00
Robert Osfield
43f528fd41
From Ulrich Heirtlein, added STL plugin
2004-11-12 14:49:22 +00:00
Robert Osfield
b60304f8ad
Improvements to support for archives
2004-11-12 08:55:11 +00:00
Robert Osfield
a0eb4c72a1
Added write to ostream to ReaderWriterDDS
2004-11-11 16:05:55 +00:00
Robert Osfield
6f96cf4ad2
Moved the .osga implementation into the src/osgPlugins/osga plugin and made
...
osgDB::Archive a pure virtual base class.
2004-11-11 13:22:55 +00:00
Don BURNS
67aa3792e5
More cleanups for CYGWIN from Norman Vine
2004-11-10 16:56:58 +00:00
Robert Osfield
4973824b1d
Added new osga plugin for reading OSG native archives
2004-11-10 16:40:08 +00:00
Robert Osfield
bb3d651453
Fixed tabbing
2004-11-09 16:49:29 +00:00
Don BURNS
ec319e663f
Fixes to the .net plugin for Cygwin, submitted by Norman Vine
2004-11-09 07:34:28 +00:00
Robert Osfield
91af37573a
Added public access to VertexProgram's LocalParamters and added .osg support
...
for these.
2004-11-08 17:12:36 +00:00
Robert Osfield
2718058173
Removed the font cache from the FreeType plugin, moving the support across to
...
osgDB::Registry.
2004-11-02 11:10:44 +00:00
Robert Osfield
41823a115d
Added handling of endian in DrawElementsUShort/UInt implementations
2004-11-01 10:04:40 +00:00
Robert Osfield
90e5586777
Updates to osgDB::Archive, and IVE plugin to support usage via the Archive.
2004-10-28 12:16:47 +00:00
Don BURNS
dc6dc022cd
Removed link to X11
2004-10-26 15:31:33 +00:00
Robert Osfield
1f5b044c71
Made ReaderWriter::className const
2004-10-26 10:26:43 +00:00
Don BURNS
e464bcae81
Small warning fix by Marco.
2004-10-25 18:08:34 +00:00
Robert Osfield
b70ff91eaf
Changed ABSOLUTE and RELATIVE to ABSOLUTE_RF and RELATIVE_RF to avoid stooppid Win32 #define
2004-10-24 20:04:00 +00:00
Robert Osfield
1dd682f6b4
From Fred Mammond, fixes for x86_64 build
2004-10-24 17:50:54 +00:00
Robert Osfield
f347703370
fixes to tabs
2004-10-24 14:31:18 +00:00
Robert Osfield
a62b4e58c7
From Pavel Moloshtan, speed improvments in reading and writing index arrays
2004-10-24 14:31:07 +00:00
Robert Osfield
2252e9e851
From Eric Sokolowsky, support for 2 channel tiff images
2004-10-24 14:19:27 +00:00
Don BURNS
12a1ef5552
don - Small changes to support Mac OSX CGL build
...
small unused variable warning fix.
2004-10-24 05:50:59 +00:00
Don BURNS
1e8ee75b66
Added default: case for both switch() statements
2004-10-22 21:01:10 +00:00
Robert Osfield
6821a80e14
Changed the ReferenceFrame enums to be RELEATIVE and ABSOLUTE, and
...
deprecated the RELATIVE_TO_ABSOLUTE and RELATIVE_TO_PARENTS.
2004-10-22 19:26:45 +00:00
Robert Osfield
93c439ba01
Generalised the osg::ClusterCullingCallback so that it coud be attached
...
to Node as well as Drawables.
Changed the osgTerrain::DataSet so that it moves the ClusterCullingCallback
up to the Node level.
Added support to the .ive plugin for attaching the ClusterCullingCallback to nodes.
2004-10-21 09:36:34 +00:00
Robert Osfield
6c7c2e32df
From Marco Jez, "makes the LWS loader store LWO object names as node names, for easier recognition and retrieval by scene graph visitors.
...
With this fix, each PositionAttitudeTransform node that corresponds to an entry in the LWS file carries the name of the loaded object plus the layer number (for example, "objects/myobj.lwo.2")."
2004-10-18 14:51:21 +00:00
Robert Osfield
6e55d48352
From Sohey Yamamoto, addition of TexEnvFilter support.
2004-10-18 14:42:32 +00:00
Don BURNS
597e2cc0bd
Fixed small typo.
2004-10-15 20:13:33 +00:00
Robert Osfield
9d67383621
Added population and access of the ReaderWriter::Options::s/getDatabasePath()
...
to enable paged database to accessed without setting file paths explictly
2004-10-13 14:13:17 +00:00
Robert Osfield
840ae915e9
Added a direct call to the osgUtil::Optimizer in GeoSetBuilder.cpp so that
...
the resultant geomety would be more efficiently packed.
2004-10-12 09:00:51 +00:00
Robert Osfield
d7ab56e31f
From Sondra Iverson, with mods by Robert Osfield. Support for copying texenv
...
from the source StateSet when multi-texturing.
2004-10-12 07:54:45 +00:00
Robert Osfield
0fcc08d867
From Sondra Iversion "Loading a single model from an externally
...
referenced file is a standard option for OpenFlight and is specified by
including the modelname in angle brackets, such as: filename<modelname>.
The attached code identifies and handles this case."
2004-10-07 10:03:27 +00:00
Robert Osfield
d77e6a0829
Added new clear, removeAttribute, removeMode, removeTextureAttribute and
...
removeTextureMode method and deprecated the setToInherit equivilants.
2004-10-07 09:40:03 +00:00
Robert Osfield
c27bf441e2
Improved the osg::Geometry::computeCorrectBindingsAndArraySizes() implemention
...
so that it produce more optimal settings.
Changed flt/GeoSetBuilder so that it doensn't merge geometry, as it was
merging geometry even when inappropriate.
2004-10-06 20:32:09 +00:00
Robert Osfield
a907042618
From Jason Daly, fix to multi-texturing/detail texture handling.
2004-10-06 19:19:22 +00:00
Robert Osfield
b4cfc3656d
Generalised the .net plugin so it could handle object, image, heightfield and node
...
file reads.
2004-10-06 14:44:11 +00:00
Robert Osfield
c4e5e0fa30
Added passing on of Options object
2004-10-06 13:10:29 +00:00
Robert Osfield
024044094e
Added support for readNode(istream,Options*) into OBJ to allow loading
...
over the internet
2004-10-06 13:09:35 +00:00
Robert Osfield
7e4d34c57a
Added :
...
osg::PagedLOD::s/getDatabasePath() and support in PagedLOD::traverse().
osgDB::ReaderWriter::Options::s/getDatabasePath()
osgDB::Input::s/getOptions()
setting of osgDB::Input::setOptions() in ReaderWriterOSG.cpp
src/osgPlugins/ive/DataInputStream::s/getOptions()
setting of src/osgPlugins/ive/DataInputStream::setOptions() in ReaderWriterIVE.cpp
2004-10-06 09:31:34 +00:00
Robert Osfield
0e119ec26c
Added support for write to ostream into .osg plugin
2004-10-01 07:39:15 +00:00
Robert Osfield
a8739f952a
Added support for ClipPlane, ClipNode, TexGenNode to .ive
2004-09-29 19:10:00 +00:00
Robert Osfield
eb346bed13
Added Texture3D implementation.
2004-09-29 14:31:06 +00:00
Robert Osfield
0e4f7077ab
Removed erroneous casts that would have been causing uneccessary copying.
2004-09-26 19:01:27 +00:00
Don BURNS
fc68ccacb7
Fixed warnings
2004-09-23 16:05:24 +00:00
Don BURNS
eea9ddccf5
removed makeDir.h
2004-09-20 17:42:59 +00:00
Don BURNS
95b9ec54e9
Removed temporary makeDir files and call in ReaderWriterNet.cpp
2004-09-20 17:42:40 +00:00
Robert Osfield
e68cfd1965
From Sebastien Grignard, add writing out/reading in of drawable components of
...
a ShapeDrawable.
From Robert, add versioning of the above change to allow old files to still
work.
2004-09-15 19:14:00 +00:00
Robert Osfield
6d7a046160
Added usage of std::vector<> and ref_ptr<>'s to avoid memory leaks
2004-09-15 15:09:46 +00:00
Robert Osfield
99332ef11a
Added missing LightModel.h and .cpp from Stansilav.
2004-09-10 17:49:50 +00:00
Robert Osfield
217fa3ec0e
From Stanislav Blinov, addition of LightModel support for .ive format.
2004-09-09 13:07:18 +00:00
Robert Osfield
2c60114a94
From Martin Aumueller, added ref() and unref() to Inventor node handling.
2004-09-09 08:18:43 +00:00
Robert Osfield
568bd8f945
Fixed keyword used for setting the database name.
2004-09-08 18:14:04 +00:00
Robert Osfield
a9c731eff2
Quick fix to crash in TXPNode.
2004-09-08 15:14:18 +00:00
Robert Osfield
e0a3e687ec
Changed the wrap mode from CLAMP to CLAMP_TO_EDGE
2004-09-07 10:09:52 +00:00
Robert Osfield
4571238459
From Joakim Simonsson, add s/getHPROrder method
2004-09-06 14:59:11 +00:00
Don BURNS
83b94144b4
Fixed .net plugin errors on Mac
2004-09-02 20:42:28 +00:00
Robert Osfield
452cfa7744
Added comments from Eric
2004-09-02 07:44:33 +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
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
Don BURNS
15def16d43
Added cache_mode option to Net plugin
2004-08-31 01:12:56 +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
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
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
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
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
Robert Osfield
ffc5dfb83b
Changed the "flip" keyword to "dds_flip"
2004-08-17 07:44:31 +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