Robert Osfield
7fb38ff42f
From Martin Amueller, Add libosgGA and libosgText for OSX build
2007-03-28 08:53:18 +00:00
Robert Osfield
b331b77269
From Martin Aumueller, "in order to remove a dependency on Coin3D (which is GPLed) and make it work
...
with SGI's OpenInventor, I had to change
OpenSceneGraph/src/osgPlugins/Inventor, as SoVRMLImageTexture is not avaible
in SGI's Inventor. "
From Robert Osfield, tweaked the above so that it uses Coin headers to switch on coin features:
#ifdef COIN_SOCALLBACKACTION_H
#define USE_COIN 1
#endif
2007-03-28 08:43:05 +00:00
Robert Osfield
5c780aada0
From Luigi Calori, "here is a patch to use Mike 3rdParty dependencies
...
It should not be introusive to any other palatform apart MSVC, but in order to link to debug-specific libs
I had to change plugins CMakeLists to differentiate debug/release linkage, I have used the same macro used in core libs
Now the macro used for plugin and examples linking test for existance of TARGET_LIBRARIES_VARS
that holds the names of the variables that have to be used for linking"
2007-03-27 21:44:02 +00:00
Robert Osfield
87461c2077
Removed the flt plugin from OpenSceneGraph/trunk, this project can now be found in the deprecated directory.
2007-03-27 16:05:13 +00:00
Robert Osfield
37dd2851e9
Added #include <unistd.h> for non Win32/Mingw build
2007-03-27 08:43:59 +00:00
Robert Osfield
33817a7e5d
From Philip Lowman, added support for Inventor
2007-03-20 09:50:24 +00:00
Robert Osfield
282f4ce0b9
Moved the TARGET_NAME setting into the OsgMacroUtils.cmake.
2007-03-19 17:24:19 +00:00
Robert Osfield
9b30cf2960
Added CMake support for txf, osgViewer and osgShadow plugins
2007-03-19 14:10:12 +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
b079c9eb3a
From Mathieu Narache, build fixes for IRIX64
2007-03-13 12:25:30 +00:00
Robert Osfield
386f3a091e
Fixed gif plugin entry so that it uses GIFLIB_ rather than GIF to match it up
...
to the CMakeModels/FindGIFLIB.cmake entry
2007-03-13 11:58:52 +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
Robert Osfield
426afa3e70
From Luigi Calori, fixed build of freetype and zlib.
2007-03-08 21:19:27 +00:00
Robert Osfield
bf3180018e
From Luigi Calori, added support macro based build of plugins
2007-03-08 15:29:53 +00:00
Robert Osfield
f50ed9667a
From Eric Wing and others, first cut of CMake build support
2007-03-04 13:05:33 +00:00
Robert Osfield
7c54b1b688
Changed the index value to 0 of the token vector, wheras original the 1 was used, the
...
later causing a crash when only one token was available. Also clean up #if #else #endif
block to help make the code more readable and maintainable. This bug and fix
was found by Anders Backman, but final implementation done by Robert Osfield.
2007-03-01 13:41:28 +00:00
Robert Osfield
c505e3d51e
From David Gurhrie, "Here is the updated txp loader code that we modified before to store
...
some of the material codes in the userdata field. It now takes an
option string to enable adding the extra data and doesn't add it by
default."
2007-03-01 12:10:52 +00:00
Robert Osfield
8a04605e01
Ran cleanup to fix tabs
2007-02-28 12:15:01 +00:00
Robert Osfield
b00cbe5a17
Moved include/osgTerrain/DataSet/.cpp, gdal plugin and osgdem out into the VirtualPlaneBuilder project.
...
Updated examples to remove DataSet/GDAL dependency.
Updated wrappers
2007-02-27 21:12:48 +00:00
Robert Osfield
f43cd7332c
Further work on add serialization support for osgViewer configurations
2007-02-25 20:05:23 +00:00
Robert Osfield
7174192444
Added new osgViewer plugin to help with serializing in/out of viewer configurtions
2007-02-25 19:59:27 +00:00
Robert Osfield
ad3cac84e9
Moved Block, ReentrantMutex and ReadWriteMutex into OpenThreads.
2007-02-23 16:31:34 +00:00
Robert Osfield
b14fc636e7
Added STATIC_OBJECT_DETECTION optimizer pass to OpenFlight plugin
2007-02-22 09:16:54 +00:00
Robert Osfield
8dc84d0a8f
From Brede Johansen, Thanks for the model it helped to understand the problem. In Creator the "Last Frame Duration" is performed on the last frame of the last loop iteration, I tried to use it for the last frame of every loop iteration. As you already have explained we need a custom Sequence node. In the osgSim nodekit we already have a couple of specialized nodes for the OpenFlight format. We need an osgSim::GroupAnimation but I don't have the time right now to take this challenge. Until then I have modified my last attempt to work with the current osg::Sequence node by ignoring the "Last Frame Duration".
2007-02-21 21:20:33 +00:00
Robert Osfield
228fd04a19
Removed the exclusion of CullSettings from the genwrapper.conf, and then changed the CullStack RefMatrix& methods to RefMatrix*
...
as the RefMatrix& versions caused the wrappers to fail.
2007-02-21 13:48:01 +00:00
Robert Osfield
664522fb02
Removed GL_TEXTURE_RECTANGLE_NV entries
2007-02-21 11:46:49 +00:00
Robert Osfield
291d687cc9
From Paul Martz, "Add GL_TEXTURE_RECTANGLE to list of acceptable texture modes"
2007-02-17 14:37:55 +00:00
Robert Osfield
8d8f15cf72
Fixed typo that was breaking the build
2007-02-16 05:46:50 +00:00
Robert Osfield
dbb7c3c74c
Added support for using the new osgShadow plugin as a psuedo loader such that:
...
osgviewer cow.osg.shadow
Or to ShadowVolume rechnique specifically:
osgviewer cow.osg.sv.shadow
2007-02-15 22:28:32 +00:00
Robert Osfield
1da57c124f
Added .osg support for osgShadow NodeKit
2007-02-15 17:31:30 +00:00
Robert Osfield
36b8ccacdd
Fixed warnings
2007-02-15 09:31:00 +00:00
Robert Osfield
d068ffb63a
From Michael Platings, "I was getting a 0 byte memory leak reported when loading 3ds files, so
...
I've changed line 196 from:
viewport->layout.viewL=(Lib3dsView*)calloc(sizeof(Lib3dsView),views);
to:
viewport->layout.viewL= views ?
(Lib3dsView*)calloc(sizeof(Lib3dsView),views) : 0;"
2007-02-14 15:25:04 +00:00
Robert Osfield
07411f3246
Introduced new osg::Object::DataVariance type of UNSPECIFIED, and changed the deafult
...
values of DataVariance to UNSPECIFIED to all types.
2007-02-14 13:18:58 +00:00
Robert Osfield
e8d6cec990
Fixed warning
2007-02-13 22:22:35 +00:00
Robert Osfield
9c434274be
Added support for ColorMask to .ive plugin
2007-02-13 14:42:00 +00:00
Robert Osfield
927dfc0a52
From Brede Johansen,
...
"Geometry.cpp
Make sure number of normals match number of vertices when lit or
vertex-normal pairs are separated when geometries are merged by the
optimizer.
Ancillary.cpp
Improved support for multitexture effect field and use texture
environment from .attr file.
PaletteRecords.cpp
Use search path when looking for shader files.
PrimaryRecords.cpp
Added preset uniforms "TextureUnit0", "TextureUnit1", "TextureUnit2"
and "TextureUnit3" for GLSL shaders."
2007-02-13 14:19:39 +00:00
Robert Osfield
b695160483
Added support for osg::Stencil into .ive
2007-02-13 13:47:37 +00:00
Robert Osfield
e4ffa968a2
From Ulrich Hertlein, added support for osg::BlendColor to .ive format.
2007-02-13 12:17:33 +00:00
Robert Osfield
5fddbfe85c
Added support for osg::BlendColor to .osg plugin
2007-02-13 12:11:32 +00:00
Robert Osfield
d6f3befdcf
From Carlo Camporesi, "In attach there is a little bug fix to net plugin. The modify allow the plugin to accept url with port number in this way:
...
http://"address ":"portnumber"/
"
2007-02-09 16:31:27 +00:00
Robert Osfield
0d48e62811
Cleaned up readString
2007-02-08 15:01:27 +00:00
Robert Osfield
4f1a1c8b16
Fixed return in readString.
2007-02-08 14:59:20 +00:00
Robert Osfield
0f4cd568f6
From Donn Mielcarek, "We generated some bad ive files in our database. In
...
some of the files, the function readInt() would return
a 0 size. While linux will happily continue on,
creating 0 sized arrays, Windows immediately
blows up, with sparks sometimes flying out the
side of the machine!
I added a simple check for zero size in
each of the functions that allocates arrays
based on the size variable, and I thought
I'd pass it along. Now the program will
not die if it encounters an ive file with bad
data."
2007-02-08 10:46:58 +00:00
Robert Osfield
c52207b637
Added new Transform::ReferenceType enum ABSOLUTE_RF_INHERIT_VIEWPOINT to support
...
internal RTT cameras that wish to use the main cameras view/eye point for LOD and other
distance based tests.
2007-02-07 16:32:14 +00:00
Robert Osfield
4f441771f0
Fixed Suse9.3 build problem due to different handling Quat copy constuctor
2007-02-06 13:44:20 +00:00
Robert Osfield
246b28e752
From Gordon Tomlinson, "I have attached the 3 files we had to change to fix a proble we were seeing with using Symbol Fonts
...
// GT: fix for symbol fonts (i.e. the Webdings font) as the wrong character are being
// returned, for symbol fonts in windows (FT_ENCONDING_MS_SYMBOL in freetype) the correct
// values are from 0xF000 to 0xF0FF not from 0x000 to 0x00FF (0 to 255) as you would expect.
// becuase Microsoft uses a private field for its symbol fonts ........
"
2007-02-05 11:48:02 +00:00
Robert Osfield
3c5c4ae242
From Brede Johansen, "I have made some changes to support light sources in the new
...
OpenFlight loader."
2007-02-05 11:14:23 +00:00
Robert Osfield
bee545b82d
From Eric Sokolowski, added support for the new Text line spacing parameter to the .osg and .ive formats.
2007-02-02 16:51:59 +00:00
Robert Osfield
7232a831da
Added osg::FrameStamp::set/getSimulationTime().
...
Added setting of osg_SimulationTime and osg_DeltaSimulationTime to the uniforms set by SceneView
Added frame(double simulationTime) and advance(double simulationTime) parameters to
osgViewer::SimpleViewer, Vewer and CompositeViewer.
Updated various examples and Nodes to use SimulationTime where appropriate.
2007-01-25 12:02:51 +00:00