Robert Osfield
4688d5ae8e
Rearranged the traversal and initialization of TerrainTechnique
2007-03-27 16:01:01 +00:00
Robert Osfield
e76e4e82db
Added EllipsoidLocator.
2007-03-27 11:23:57 +00:00
Robert Osfield
37dd2851e9
Added #include <unistd.h> for non Win32/Mingw build
2007-03-27 08:43:59 +00:00
Robert Osfield
ee563ee5c3
Added -lgdi32 to CYGWIN path
2007-03-27 08:40:25 +00:00
Robert Osfield
a77d3fe9d2
Fixed header files specification
2007-03-26 19:38:04 +00:00
Robert Osfield
404d583b3e
Added return false; to default implementations of convert functions
2007-03-26 19:24:18 +00:00
Robert Osfield
0c4060674f
Added GeometryTechnique
2007-03-26 16:32:31 +00:00
Robert Osfield
8dc2a28945
Removed WindowData parameter from init().
2007-03-26 16:28:26 +00:00
Robert Osfield
1cdda0654f
Added Locator and layer setting to osgterrain example
2007-03-26 15:52:22 +00:00
Robert Osfield
b419fa93ef
From Luigi Calori, "when we link against something that comes out from a Find... we ususally have a variable <LINK_VAR_NAME>available like OPENTHREADS_LIBRARY,
...
so I' ve set up a macro that uses the variable name expanded for linking, and test if a variable ${LINK_VAR_NAME}_DEBUG
like OPENTHREADS_LIBRARY_DEBUG exists and in case uses it for linking in debug mode.
I' ve also set up FindOpenThreads to set up these variables.
I had to edit the core libraries CMakeLists to add the calls to the macros used.
I' ve tested under MSVC"
2007-03-26 13:02:38 +00:00
Robert Osfield
7013c12a0d
From Mike Wittman, "This is another weirdo change to support code generation. It brings all the Drawable::supports and Drawable::accepts overloads into the ShapeDrawable scope to avoid errors invoking the ones that are not defined in ShapeDrawable. Currently you'll get compilation errors if you pass a Drawable::AttributeFunctor or PrimitiveIndexFunctor to the "accept" function invoked on a ShapeDrawable pointer or reference, since those overloads are only defined in the base class. You'll also get the same error passing a PrimitiveIndexFunctor to the "supports" function. These errors occur because C++ function overload resolution does not cross inheritance boundaries."
2007-03-26 13:00:29 +00:00
Robert Osfield
4e2eaf4d0d
Changed the external library specification to use TARGET_EXTERNAL_LIBRARIES
2007-03-26 09:48:02 +00:00
Robert Osfield
aa73c4a00f
Removed OpenThreads from the list of TARGET_COMMON_LIBRARIES to prevent double
...
linking of OpenThreadsd and OpenThreads during debug build.
2007-03-25 11:47:08 +00:00
Robert Osfield
bfed1b784e
From Mike Wittman, "This change fixes a couple bugs in the osgIntrospection protected function support. I missed adding the protected/public specifier on a couple recursive invocations, so those functions are not currently returning protected functions for base classes when they should."
2007-03-23 17:37:49 +00:00
Robert Osfield
37f4740c45
From Mike Wittman, remove redundent const from in front of unsigned int.
...
From Robert Osfield, updated wrappers
2007-03-23 17:27:53 +00:00
Robert Osfield
92865923f3
Added missing StencilTwoSided header
2007-03-23 10:11:09 +00:00
Robert Osfield
6e0ea2bef9
Added automatic creation of lib bin and lib/osgPlugins
2007-03-23 08:53:06 +00:00
Robert Osfield
d685b0663d
Added osgPlugins as a temporary work around for keeping cmake build compiling plugins
2007-03-22 15:39:59 +00:00
Robert Osfield
8b683c93c9
Added CMake build suppport for osgsimpleviewerQT4
2007-03-22 14:45:13 +00:00
Robert Osfield
c000d8e94c
Added CMake QT3, FLTK and osgintrospection example build support.
2007-03-22 14:44:05 +00:00
Robert Osfield
e457914a40
Added CMake build support for GLUT and SDL examples
2007-03-22 14:06:27 +00:00
Robert Osfield
6eee949142
From Eric Wing, added ${MATH_LIB} to osg CMakeLists.txt and definition of this to m under unix
2007-03-22 13:38:23 +00:00
Robert Osfield
ebd04bbbbf
Updated the header list
2007-03-22 13:37:47 +00:00
Robert Osfield
3a429b3f18
Fixed link name
2007-03-22 12:58:01 +00:00
Robert Osfield
56a1808794
Added ImageLayer, ArrayLayer and HeightFieldLayer classes
2007-03-21 17:18:53 +00:00
Robert Osfield
541c3f13e9
Added GeometryTechinque to osgTerrain. Added usage of GeometryTechnique into osgterrain example
...
Added --width and --height command line options to osgdistortion to allow users
to control the window size.
2007-03-21 16:34:04 +00:00
Robert Osfield
2b52de5e9c
Removed erroneous entry of GNUmakefile
2007-03-21 09:42:14 +00:00
Robert Osfield
bab9938a5c
Added osg:: to computeLocalToWorld to fix build under VS7.
2007-03-20 17:07:37 +00:00
Robert Osfield
c0f3c80a2b
From Luigi Calori, clean up CMakeLists.txt
2007-03-20 11:19:00 +00:00
Robert Osfield
33817a7e5d
From Philip Lowman, added support for Inventor
2007-03-20 09:50:24 +00:00
Robert Osfield
7039ff4af4
From Andreas Goebel, build fix
2007-03-19 19:05:18 +00:00
Robert Osfield
282f4ce0b9
Moved the TARGET_NAME setting into the OsgMacroUtils.cmake.
2007-03-19 17:24:19 +00:00
Robert Osfield
d9a94f7890
Moved the TARGET_NAME setting into the SETUP_APPLICATION/EXAMPLE macro
2007-03-19 17:18:59 +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
74f21c0b0d
Updated wrappers
2007-03-19 11:47:49 +00:00
Robert Osfield
6d49904170
From Andreas Goebel, add -lgdi to GNUmakefile
2007-03-19 11:35:36 +00:00
Robert Osfield
c66252ca3a
Further work on TerrainNode
2007-03-19 11:25:41 +00:00
Robert Osfield
32166ca631
Build fixes
2007-03-19 10:54:39 +00:00
Robert Osfield
794553700f
Further work on osgterrain example
2007-03-19 10:38:44 +00:00
Robert Osfield
ed9aa1c6bf
Removed now redundent method
2007-03-18 11:04:12 +00:00
Robert Osfield
069adcf555
From David Callu, " bug:
...
Lost the functionality to find the real type pointed by a pointer.
Ex: a osg::Node pointer point on a osg::Group, if I look for information
on the pointer type, the introspection say it is a "osg::Node*".
But if I want information on the pointed type,
the introspection must return the "osg::Group".
This bug come from the osgIntrospection::Value::Ptr_instance_box::ptype() function.
In the original version, this function use the member "Instance_base *inst_"
like this :
typeof(*static_cast<Instance<T> *>(inst_)->_data)
But in the new version, this function use the template argument "T":
typeof(typename remove_pointer<T>::type)
This is a good meta-programming use, but here we need a dynamic request.
Moreover the "typeof" macro define in "Reflection" header accept only a type in parameter with the new version.
fix:
Add the macro "typeofvalue" in "Reflection" header which accept a value or a type in parameter.
Restore original code in osgIntrospection::Value::Ptr_instance_box::ptype() function.
"
2007-03-16 14:28:27 +00:00
Robert Osfield
72b348ea91
Updated wrappers
2007-03-16 14:27:30 +00:00
Robert Osfield
aa28f60357
Added WindowData structures to GraphicsWindowX11,Win32 and Carbon to help support
...
GraphicsWindow inheriting their window handles from an external toolkit
2007-03-16 13:22:05 +00:00
Robert Osfield
bfdc645a09
From Per Fahlberg, "To get the latest OSG to build under IRIX with the MIPSpro compiler I
...
had to add -LANG:libc_in_namespace_std=OFF to DEF in the makedefs file.
The modified file is attached."
2007-03-16 10:02:44 +00:00
Robert Osfield
d4db767ec5
From Philip Lowman, added gdi32 entry fro Mingw build
2007-03-15 13:17:05 +00:00
Robert Osfield
7f2586d9db
Name fixes
2007-03-14 12:59:06 +00:00
Robert Osfield
2c3ead29fa
Added osgterrain example
2007-03-14 12:43:29 +00:00
Robert Osfield
fc02f7f8dc
Added osgterrain to build
2007-03-14 12:42:21 +00:00