Robert Osfield
95cf62ec01
Removed catch
2009-11-16 15:47:32 +00:00
Robert Osfield
ee4e2afa76
From Philip Lowman, clean up of CMake files
2009-04-09 09:23:45 +00:00
Robert Osfield
908432c732
Replaced readImageFile() usage with readRefImageFile() to prevent threading issues with caching of imagery in the osgDB::Registry cache.
2009-01-21 18:23:55 +00:00
Robert Osfield
fa499dc55f
From Andy Skinner, fixes for Solaris build
2009-01-09 12:17:40 +00:00
Robert Osfield
6055dee411
Fixed warnings
2008-12-18 15:49:44 +00:00
Robert Osfield
720551d549
From Michael Platings, Converted std::fstream/ifstream/ofstream to osgDB::fstream/ifstream/ofstream and
...
fopen to osgDB::fopen to facilitate support for wide character filenames using UT8 encoding.
2008-11-07 15:08:08 +00:00
Robert Osfield
756b9c389a
From Mathias Froehlich, "This change is a result of a recent thread on osg-users.
...
The semantic change that went into the ac loader with the past patch was
incorrect wrt the document describing the behaviour of ac files and
inconsistent with what ac3d itself displays for that files.
This attached change reverts the behaviour to the original one. The
infrastructure to change this is left in place.
The change is based on rev 9045."
2008-10-27 11:08:54 +00:00
Robert Osfield
03cec07df8
From Mathias Froehlich, Wr.t AC3D Texture clamping "I had a quick look at the problem.
...
Attached is a change that is able to provide shared textures for the clamp and
the repeat case.
So this appears to be the best fix I guess ...
Also it additionaly shares the TexEnv StateAttribute in a whole ac3d model."
2008-10-03 08:35:59 +00:00
Robert Osfield
5ab4af80c5
Added missing ac3d supportsExtensions() constructor
2008-07-14 20:11:37 +00:00
Robert Osfield
161e01dc5d
From Mathias Froehlich, "Due to the recent data variance changes/discussion:
...
Change the ac3d loader that can as such only deliver static models to set the
data variance to static for the returned model.
"
2008-07-11 17:35:13 +00:00
Robert Osfield
110c761695
From Melchoir Franz, "ac3d.cpp does currently strip everything but the file name in
...
"texture" paths. This is to drop absolute paths that some
3d editors export (even AC3D itself!). But this also strips
directories of relative paths, which is wrong and contradicts
the ac3d reference implementation. (The reference implementation
doesn't strip anything, though, and so takes the absolute paths
as they are. Definitely not what we want.)
The attached solution checks absolute paths and only strips
those:
(1) A:\\foo\\bar.png -> bar.png (as before)
(2) /foo/bar.png -> bar.png (as before)
(3) foo/bar.png -> foo/bar.png (new)
(4) ../foo/bar.png -> ../foo/bar.png (new)
"
2008-03-13 16:18:03 +00:00
Robert Osfield
bae83fc69d
From Drederic Bouvier, "I noticed the AC3D loader resets database path given as Options,
...
preventing users to put textures in another directory. This patch adds
the model path to the path list instead of replacing it."
2008-01-21 14:42:52 +00:00
Robert Osfield
9e2fe92ef1
From Rudolf Wiedemann, "I need to link OpenSceneGraph statically to my application, so I
...
completed the new registration of the plugin-readerwriters
("REGISTER_OSGPLUGIN") according to your osgstaticviewer-example (see
attachment, based on today's svn)."
2007-07-06 13:54:26 +00:00
Robert Osfield
0ee2466f23
From Roger James, bug fix to counting of number geode with drawables
2007-06-29 16:00:53 +00:00
Robert Osfield
87c9b39c98
From Roger James, "These fix a couple of problems in the ac3d writer.
...
1. Number of child node of the world object set incorrectly in when scene contains shape drawables.
2. Incorrect handling of line primitives."
2007-06-06 11:34:19 +00:00
Robert Osfield
e346396abd
From Roger James, "Here is a small fix for the ac3d plugin geode.cpp. The fix is entirely localised to ac3d::Geode::OutputTriangleStripDARR.
...
It resolves an issue when processing a DrawArrayLengths with multiple lengths where the vertex indices were incorrect for all but the first chunk."
2007-05-22 14:00:51 +00:00
Robert Osfield
c7fc2e018e
From Andre Garneau, warnings fixes fo VC++
2007-05-17 10:59:05 +00:00
Robert Osfield
752942addb
From Mathias Froehlich, "This is an other small update for the ac3d loader:
...
- It avoids attaching texture coordinates if there is not texture attached.
- It uses DrawArrayLengths instead of multiple DrawElements."
2007-05-15 19:45:46 +00:00
Robert Osfield
eccc1f45e0
From Mathias Froehlich, "Attached is a change that does no longer set the render bin details in nodes
...
other than drawables. I guess that this way I am sure to not introduce
hierarchical render bins in loaded models."
2007-05-04 08:45:21 +00:00
Robert Osfield
2e6ee4bb39
Removed old gmake and VisualStudio build files
2007-04-10 13:10:25 +00:00
Robert Osfield
6d7b5e7ebd
From Eric Wing, pedantic warning fixes
2007-04-06 15:36:13 +00:00
Robert Osfield
282f4ce0b9
Moved the TARGET_NAME setting into the OsgMacroUtils.cmake.
2007-03-19 17:24:19 +00:00
Robert Osfield
da64127539
Ran dos2unix on CMakeLists.txt files.
2007-03-19 13:26:34 +00:00
Robert Osfield
be3f61c49f
From Luigi Calori, move to using local CMakeLists.txt files and explicit file lists.
...
From Robert Osfield, small ammendments of the above to seperate example and application installs, and fix the osgPlugins install directory.
2007-03-19 12:30:26 +00:00
Robert Osfield
f5cf560fe1
Renamed the follow plugins to facilitate CMake build
...
lib3ds -> 3ds
ac3d -> ac
directx -> x
ESRIShape -> shp
2007-03-11 13:23:06 +00:00