Commit Graph

372 Commits

Author SHA1 Message Date
Robert Osfield
74e968df76 Clean up comments and rebuilt wrappers.
Added extra event handlers to osgsimulator example
2007-05-14 16:14:40 +00:00
Robert Osfield
9e60a5d222 Updated wrappers and version numbers for 1.9.4 dev release 2007-05-14 09:33:32 +00:00
Robert Osfield
e7509cda87 Updated wrappers 2007-05-11 19:28:41 +00:00
Robert Osfield
35d4cb509c UPdated wrappers 2007-05-11 13:43:00 +00:00
Robert Osfield
7cf78fa99e Updated wrappers 2007-05-11 09:05:59 +00:00
Robert Osfield
66fe3e18df Updated wrappers 2007-05-09 12:08:30 +00:00
Robert Osfield
963cd837e3 Added s/getLightingMode and s/getLight to osg::View to allow control of the viewers
global light source.
2007-05-07 22:07:23 +00:00
Robert Osfield
dadb92ea64 Reorganised the managment of margins around glyphs so that is done entirely
with src/osgText/Font.cpp rather than the font plugins or Text.cpp
2007-05-04 12:05:29 +00:00
Robert Osfield
9a74282767 Updated wrappers 2007-05-03 15:21:30 +00:00
Robert Osfield
85e5ec7579 Added OpenThreads wrappers 2007-05-02 19:57:05 +00:00
Robert Osfield
859bcf3c4b Further perfomrmance optimizations and clean up on new VBO/EBO/PBO API. 2007-05-01 18:03:32 +00:00
Robert Osfield
914763b77a Updated wrappers 2007-05-01 07:31:30 +00:00
Robert Osfield
d625a5e114 Implementated new dirty buffer mechansim for BufferObjects to make it more efficient 2007-04-30 12:18:27 +00:00
Robert Osfield
3054dd166c Updated wrappers 2007-04-29 20:19:12 +00:00
Robert Osfield
4968eb7136 Further work on the new VBO support 2007-04-27 14:52:30 +00:00
Robert Osfield
0df82ba60f Updated wrappers 2007-04-26 08:26:10 +00:00
Robert Osfield
4b71e3948b Added VertexBufferObject and ElementBufferObject class interfaces, and wired
up osg::Array and osg::DrawElements* to these respectively.

Updated wrappers
2007-04-25 18:50:11 +00:00
Robert Osfield
e316a8617c Updated wrappers 2007-04-25 10:32:41 +00:00
Robert Osfield
c0bd295db2 Updated wrappers 2007-04-16 12:21:07 +00:00
Robert Osfield
b358a73d99 Updated wrappers 2007-04-13 19:28:11 +00:00
Robert Osfield
3deda9f2a7 Updated wrappers 2007-04-13 13:28:10 +00:00
Robert Osfield
0d4dd3da8e Updated wrappers 2007-04-12 09:32:48 +00:00
Robert Osfield
73f980bd49 Prep work on new TerrainGeometry Drawable which supports selective display list/VBO's usage.
Updated wrappers
2007-04-11 17:39:13 +00:00
Robert Osfield
2e6ee4bb39 Removed old gmake and VisualStudio build files 2007-04-10 13:10:25 +00:00
Robert Osfield
0909bd04e4 Updated wrappers 2007-04-06 15:35:27 +00:00
Robert Osfield
6c12c71337 Added constructor argument to ShadeModel 2007-04-05 16:12:10 +00:00
Robert Osfield
62ce8b72c1 Updated wrappers 2007-04-04 08:05:45 +00:00
Robert Osfield
a2ecb93c2b Converted osg::HeightField across to using a osg::FloatArray internally to enable
it to be assigned as a vertex attribute array to an osg::Geometry.

Removed the osgTerrain::ArrayLayer as its no longer required thanks to the above change
which makes the osgTerrain::HeightFieldLayer more flexible.  

Updated wrappers
2007-03-29 19:42:07 +00:00
Robert Osfield
e8ede168c9 Updated wrappers 2007-03-29 12:41:18 +00:00
Robert Osfield
677358c049 Removed the d during debug build of wrappers on non MSVC platforms 2007-03-28 14:50:35 +00:00
Robert Osfield
7fc714ada1 Removed deprecated drawImplementation(State&) method from Drawable and Drawable::DrawCallback 2007-03-28 11:30:38 +00:00
Robert Osfield
90f355bd4e Updated wrappers 2007-03-27 19:39:00 +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
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
74f21c0b0d Updated wrappers 2007-03-19 11:47:49 +00:00
Robert Osfield
72b348ea91 Updated wrappers 2007-03-16 14:27:30 +00:00
Robert Osfield
c000f77502 Updated wrappers 2007-03-14 12:31:53 +00:00
Robert Osfield
54127cea20 Fixed install paths of wrappers and plugins 2007-03-12 12:46:36 +00:00
Robert Osfield
e310198860 From Luigi Calori, fixes for building wrappers with lib prefix. 2007-03-12 08:32:56 +00:00
Robert Osfield
a291537a21 Changed the output directory for wrappers to osgPlugins and the name to osgwrapper_ to
make it consitent with the previous places used for wrappers.  

Note, the wrappers still compile to libosgwarapper_, this will need fixing.
2007-03-11 13:15:15 +00:00
Robert Osfield
4aeec214c7 Updated wrappers 2007-03-10 12:27:01 +00:00
Robert Osfield
bff1b51361 Added preliminary work on osg::TransferFunction 2007-03-10 11:53:31 +00:00
Robert Osfield
16ba0a2fa1 Updated wrappers 2007-03-10 11:38:26 +00:00
Robert Osfield
c39f5f5188 From Luigi Calori, CMakeLists.txt support for wrappers 2007-03-10 11:38:13 +00:00
Robert Osfield
62ac5301c9 Updated wrappers 2007-03-05 17:46:50 +00:00
Robert Osfield
9b70538264 Updated wrappers 2007-03-01 11:58:36 +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
eb4ad4229f Moved osgProducer and osgproducerviewer out into their own repository.
Clean up the source for remaining references to osgProducer/Producer.
2007-02-27 13:16:18 +00:00
Robert Osfield
62e247fbd1 Added makefile 2007-02-24 09:04:27 +00:00
Robert Osfield
ad3cac84e9 Moved Block, ReentrantMutex and ReadWriteMutex into OpenThreads. 2007-02-23 16:31:34 +00:00
Robert Osfield
968a8d1118 Updated wrappers 2007-02-23 12:14:52 +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
bdfc9de345 Updated wrappers 2007-02-19 15:42:32 +00:00
Robert Osfield
afab03a0fa Fixed genwrapper so that it handles .svn directories, updated wrappers 2007-02-16 17:45:53 +00:00
Robert Osfield
049f907aad Updated wrappers 2007-02-16 17:35:52 +00:00
Robert Osfield
d23b48fe3a Updated wrappers 2007-02-16 15:29:47 +00:00
Robert Osfield
272ab99767 Reorganised the text comments so that they are shorter length, and hopefully will
avoid VS2003's silly text string limits when compiling osgIntrospection wrappers
2007-02-15 14:53:54 +00:00
Robert Osfield
b0ab6b49bf Updated wrappers 2007-02-15 08:29:27 +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
89c99a88fa Added computeDataVariance method into osg::Object and implementations in Drawable and StateSet,
and calling of osgUtil::StaticObjectDetectionVisitor in osgViewer::Viewer
2007-02-14 11:24:42 +00:00
Robert Osfield
3a48c95fc5 Updated wrappers 2007-02-12 18:02:15 +00:00
Robert Osfield
4ed84daf2f Updated wrappers 2007-02-12 15:59:53 +00:00
Robert Osfield
4e97901622 Updated wrappers 2007-02-11 22:01:57 +00:00
Robert Osfield
29e2abca64 Updated wrappers 2007-02-11 12:23:19 +00:00
Robert Osfield
7a6d68e9d3 Updated wrappers 2007-02-09 16:27:43 +00:00
Robert Osfield
d03e9aee0b Updated wrappers 2007-02-08 20:27:02 +00:00
Robert Osfield
614331ce63 Updated wrappers 2007-02-07 21:56:36 +00:00
Robert Osfield
f81251bc77 Updated wrappers 2007-02-06 17:00:20 +00:00
Robert Osfield
eeaad74021 Updated wrappers 2007-02-06 14:20:21 +00:00
Robert Osfield
cfe737c552 Tweak API and updated wrappers to get wrappers to build 2007-02-05 14:56:41 +00:00
Robert Osfield
ebd68ba063 Added Camera's s/getCameraThread() and updated wrappers 2007-02-05 13:44:16 +00:00
Robert Osfield
ea67cc7a50 Updated wrappers 2007-02-05 12:13:52 +00:00
Robert Osfield
69da91620f Convert GraphicsThread/GraphicsOperation to more generic OperationsThread/Operation.
This paves the way to running cull traversals in seperate threads.

Updated wrappers
2007-02-02 22:30:36 +00:00
Robert Osfield
f8213d1c53 Updated wrappers 2007-01-30 14:47:13 +00:00
Robert Osfield
116e7f49a4 Updated wrappers 2007-01-30 11:47:44 +00:00
Robert Osfield
ecedc8d86a Added Stats::collectStats(string,bool) controls, getAveragedAttribute methods into osg::Stats class, and
related support into osgViewer::Viewer and osgViewer::StatsHandler.

Added lazy updating of text in StatsHandler HUD to minimize the impact of
slow text updating on observed frame rates.
2007-01-30 11:40:23 +00:00
Robert Osfield
25e4fd32ac Updated wrappers 2007-01-28 09:53:02 +00:00
Robert Osfield
b8994d4707 Updated wrappers 2007-01-27 17:52:11 +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
Robert Osfield
577313ae7d Updated wrappers 2007-01-24 12:59:11 +00:00
Robert Osfield
3c6eec78f9 Updated wrappers 2007-01-23 16:28:59 +00:00
Robert Osfield
2e7e114aba Updated wrappers 2007-01-20 09:48:50 +00:00
Robert Osfield
552293eb03 Added extra methods WindowSystemInterface for controlling frame rate and resolution, and adde useCursor flag. 2007-01-17 21:11:57 +00:00
Robert Osfield
65e1a5cda3 Updaed wrappers 2007-01-16 22:10:52 +00:00
Robert Osfield
0873a8cea0 Work on CompositeViewer and related calsses to implement viewers with multiple views 2007-01-16 08:56:33 +00:00
Robert Osfield
6fda4a927a Updated wrappers 2007-01-15 16:12:34 +00:00
Robert Osfield
694b304c00 Added Viewer::setEndBarrierPosition method, change Viewer::setKeySetsDone(int) to setKeyEventSetDone(int),
added support for toggling threading model and end barrier position into osgviewer
2007-01-12 21:05:39 +00:00
Robert Osfield
7249d5c122 Updated wrappers 2007-01-11 15:54:11 +00:00
Robert Osfield
7626169283 From Jan Ciger, Tolga Abaci, Bruno Herbelin : OpenVRML 0.14.3 based .wrl/VRML plugin 2007-01-09 14:35:59 +00:00
Robert Osfield
462803fd57 From Paul Martz, speeling fixes for Tessellator/Tessellation. 2007-01-08 21:29:49 +00:00
Robert Osfield
536f9d65b1 Updated wrappers 2007-01-08 19:33:31 +00:00
Robert Osfield
fdc6e675aa Updated wrappers 2007-01-08 11:37:09 +00:00
Robert Osfield
ee5adcdae5 Fixed genwrapper to add include of osg/Camera. 2007-01-05 20:28:35 +00:00
Robert Osfield
2913cb9422 Updated wrappers 2007-01-05 17:21:35 +00:00
Robert Osfield
96071fd1b1 Removed osgViewer::GraphicsWindowProxy as its was causing wrapper compile
problems and also no longer has a key role in osgViewer.
2006-12-28 08:16:36 +00:00
Robert Osfield
640e3b623d Updated wrappers 2006-12-27 23:32:49 +00:00
Robert Osfield
d7e3ed3fb2 Updated wrappers 2006-12-27 23:19:37 +00:00
Robert Osfield
2255771b74 Further work osgViewer::Viewer and related classes. 2006-12-20 21:13:29 +00:00
Robert Osfield
bcda53acb1 Updated wrappers 2006-12-19 16:47:34 +00:00
Robert Osfield
afc77f9b39 Added support WindowingSystemInterface for querring the number of screens, the screen size and creating GraphicsContexts. 2006-12-17 20:49:01 +00:00
Robert Osfield
982a4db9e2 Added ViewPoint support into NodeVistor/CullStack/CullVisitor/LOD/PagedLOD etc to facilate
management of LOD settings for RTT cameras.
2006-12-15 17:27:18 +00:00
Robert Osfield
152c999f99 Updated wrappers 2006-12-05 22:10:36 +00:00
Robert Osfield
cf41b3128c Updated wrappers 2006-12-05 13:06:02 +00:00
Robert Osfield
56b7268c72 Added copying of plane to surface intersections in the osgUtil::PlaneIntersector class, and update wrappers. 2006-12-03 11:44:12 +00:00
Robert Osfield
8d85636b50 Fixed typo and updated wrappers 2006-11-30 18:42:38 +00:00
Robert Osfield
b7b4fd5928 Updated wrappers 2006-11-29 14:33:17 +00:00
Robert Osfield
55d1f65102 Still required for backwards compatibility 2006-11-28 20:45:24 +00:00
Robert Osfield
1c6565b4f5 Updated wrappers 2006-11-28 20:37:27 +00:00
Robert Osfield
9eedf4df1e Removed redundent wrapper 2006-11-28 16:50:51 +00:00
Robert Osfield
73fc7a0c1f Updated wrappers 2006-11-28 16:49:31 +00:00
Robert Osfield
fd2ffeb310 Renamed osg::CameraNode to osg::Camera, cleaned up osg::View.
Added beginnings of new osgViewer::Scene,View,Viewer,CompositeViewer and GraphicsWindowProxy files.
2006-11-27 14:52:07 +00:00
Robert Osfield
a22bede80f Added new HeightAboveTerrain.cpp LineOfSight.cpp wrapper files 2006-11-22 09:10:14 +00:00
Robert Osfield
2aec799d98 Updated wrappers 2006-11-15 20:23:15 +00:00
Robert Osfield
2fbda800b7 Updated wrappers 2006-11-14 17:24:37 +00:00
Robert Osfield
d23c04018b Updated wrappers 2006-11-08 11:49:35 +00:00
Robert Osfield
c607a6dd7f Updated wrappers 2006-11-07 14:26:48 +00:00
Robert Osfield
5be6995022 Added IntersectionVisitor to wrappers 2006-11-02 18:58:01 +00:00
Robert Osfield
984ac93749 Updated wrappers 2006-11-02 12:32:41 +00:00
Robert Osfield
c615f7345c Updated wrappers 2006-10-30 12:39:05 +00:00
Robert Osfield
d5aaa6e530 Updatd wrappers 2006-10-26 16:02:38 +00:00
Robert Osfield
c892fafa1c Updated wrappers 2006-10-24 09:45:50 +00:00
Robert Osfield
5163c4a762 First cut at class interfaces and stubs for implementations for the new osgShadow NodeKit 2006-10-06 14:16:11 +00:00
Robert Osfield
fe575de98f Updated wrappers 2006-10-06 11:02:34 +00:00
Robert Osfield
f95a913daa Removed osgGA::GUIEventHandlerVisitor and osgGA::SetSceneVistor classes/headers as
this classes weren't being actively used the distribution, effectively being noops.
2006-10-06 09:54:45 +00:00
Robert Osfield
7c6b528588 Fixed bug related to clean up of text fonts. 2006-10-03 11:14:34 +00:00
Robert Osfield
ba7d27c9b2 From Chris Hanson, "These changes break out the implementation of the fill/wireframe/point, texture,
lighting and backface culling settings from the event handling code in StatesetManipulator
into public methods. The event handler now calls the public methods. This allows user code
to invoke this same functionality from non-keyboard event inputs without clashing with the
keyboard-invoked functionality."

From Robert Osfield, tweaks to the above to kepp the coding style the same as the rest of the OSG, also
made getPolygonMode() const, and updated the wrappers.
2006-10-01 19:19:31 +00:00
Robert Osfield
ef2498f3d1 Updated wrappers 2006-09-30 20:05:56 +00:00
Robert Osfield
e6b08dcda3 Various clean ups to comments 2006-09-30 16:30:31 +00:00
Robert Osfield
5c0eb0b013 Added bare bones osgGA::SimpleViewer class to help simplify OSG setup when embedding the OSG
into existing GUI applications, and for one one a single camera, single window is required.
2006-09-25 16:25:53 +00:00
Robert Osfield
78444878c3 Updated wrappers 2006-09-21 15:09:10 +00:00
Robert Osfield
5915584b37 Revised the osg::ClampColor API to allow vertex, fragment and read color clamping to
be applied together.
2006-09-12 09:26:42 +00:00
Robert Osfield
b2c244af59 Updated wrappers 2006-09-05 08:56:27 +00:00
Robert Osfield
22a5a8802c Updated wrappers 2006-09-04 13:22:51 +00:00
Robert Osfield
d2533dfcc0 Updated wrappers 2006-09-01 13:34:05 +00:00
Robert Osfield
38ee7c1213 Updated wrappers 2006-08-31 10:37:27 +00:00
Robert Osfield
3615f681a9 Updated wrappers 2006-08-29 12:31:07 +00:00
Robert Osfield
1055bd013d Updated wrappers 2006-08-28 10:49:37 +00:00
Robert Osfield
7ebf8f1fa7 Updated wrappers 2006-08-25 16:31:28 +00:00
Robert Osfield
ecee62e1c1 Updated wrappers 2006-08-25 09:03:26 +00:00
Robert Osfield
c00b708c0c Updated wrappers 2006-08-11 18:23:10 +00:00
Robert Osfield
4e2ce78e35 Added Vec4ub and removed UByte4 2006-08-09 12:56:37 +00:00
Robert Osfield
2616174b06 Added support for --affinity command line option for switch on procesor affinity where supported, 2006-08-08 11:27:36 +00:00
Robert Osfield
5889052f5a Updated wrappers 2006-08-03 16:04:43 +00:00
Robert Osfield
7eb7bbdb84 Updated wrappers 2006-08-02 21:09:25 +00:00
Robert Osfield
564ee34f76 Added Matrix*::getRotate()/setRotate(Quat), deprecating Matrix*::get(Quat&), Matrix*::set(Quat&) 2006-07-31 17:31:21 +00:00
Robert Osfield
b1994cc60d Fixed multi-threaded/multi-pipe crash when primitive stats where output in osgProducer::Viewer's stats. 2006-07-29 16:47:28 +00:00
Robert Osfield
f977d7c606 Updated osgunittests with a matrix invert unit test, and added a conditional
calling of invert_4x4 or invert_4x3 depending on the the right hand column of the matrix.

Updated wrappers
2006-07-28 13:48:08 +00:00
Robert Osfield
dbf1e05a71 UPdated wrappers 2006-07-19 19:49:28 +00:00
Robert Osfield
882a909df8 Updated wrappers 2006-07-18 20:53:16 +00:00
Robert Osfield
1efa9a01d7 Updated wrappers 2006-07-18 20:51:28 +00:00