3a48c95fc5Updated wrappers
Robert Osfield
2007-02-12 18:02:15 +00:00
d28a6011f1From Mike Wittman, "Here is the next in the series of changes I'm making to OSG introspection to support the attributes needed for C# bindings. This change adds virtual/pure virtual attributes to MethodInfo and an explicit attribute to ConstructorInfo using the implementation strategy that David Callu recommended a few months back (thanks David!). This change updates both genwrapper and osgIntrospection, and assumes the osgIntrospection reference support that's still pending in your submission queue."
Robert Osfield
2007-02-12 17:59:18 +00:00
a725e0af7dFrom Mike Wittman, "These changes add support for reflection of reference and const reference type representations via osgIntrospection::Type. This covers just the static type information; the dynamic behavior via Type::createInstance/Type::InvokeMethod should not be affected."
Robert Osfield
2007-02-12 17:14:46 +00:00
4ed84daf2fUpdated wrappers
Robert Osfield
2007-02-12 15:59:53 +00:00
d5f2a35a20Added automatic scaling and translation of help to make sure it always fits on screen
Robert Osfield
2007-02-12 13:51:24 +00:00
fe177e42d5Added osgViewer::HelpHandler
Robert Osfield
2007-02-12 13:39:18 +00:00
4e97901622Updated wrappers
Robert Osfield
2007-02-11 22:01:57 +00:00
320599b3d5Incresed the resolution of the trackball dragger geometry
Robert Osfield
2007-02-11 21:24:38 +00:00
3006bb14f4Changed osgManipulator::Dragger::handle(..) method to use a nested PointerInfo class to encapsulate the pixel coords, SceneView and picking operations in prep for making the code more general purpose, and less reliant on classes like osgUtil::SceneView and osgUtil::IntersectVisitor.
Robert Osfield
2007-02-11 21:12:34 +00:00
004e150ad7Added osgText to dependency of osgmanipualator example.
Robert Osfield
2007-02-11 15:42:55 +00:00
9fc417aac0Fixed Producer lib entry
Robert Osfield
2007-02-11 15:41:47 +00:00
29e2abca64Updated wrappers
Robert Osfield
2007-02-11 12:23:19 +00:00
1484ab515eChanged the osg::Shape related projectors so that they used pointers rather than references.
Robert Osfield
2007-02-11 12:22:58 +00:00
19db0c1674From Vivek Rajan, new osgManipulator library, with a few minor tweaks and rename for osgDragger to osgManipulator for build by Robert Osfield. Vivek's email to osg-submissions:
Robert Osfield
2007-02-11 10:33:59 +00:00
f1a82f35b2From Vivek Rajan, MatrixDecomposition implementaion, adapted by Robert Osfield to be part of osg::Matrixf and osg::Matrixd classes.
Robert Osfield
2007-02-10 18:01:37 +00:00
760cfeaadbCleaned up osgshadow example so that it now relies upon osgShadow for its shadow implementation
Robert Osfield
2007-02-09 21:31:29 +00:00
d6f3befdcfFrom 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:
Robert Osfield
2007-02-09 16:31:27 +00:00
7a6d68e9d3Updated wrappers
Robert Osfield
2007-02-09 16:27:43 +00:00
9aae37e357Moved the basic ShadowVolume code into osgShadow
Robert Osfield
2007-02-09 16:03:29 +00:00
4c5eb02ec5From Yefei He, " I wrote a class derived from CopyOp that preserves the multi-parent structure of scene graphs. I only considered the case of DEEP_COPY_NODES, but it is sufficient for me. It is not the most elegant way -- I used a map to list all the already cloned nodes with multiple parents, to be looked up whenever such a node is revisited. The good part is, it works."
Robert Osfield
2007-02-09 14:54:54 +00:00
7b8483e1beFrom Paul Martz, "Make DelaunayTriangulator less verbose - It was outputting a non-warning with notify level set to WARN; changed it to INFO to make it less verbose."
Robert Osfield
2007-02-09 14:21:03 +00:00
2a9d2bb25aChanged GraphicsWindowX11 so that it creates two Display* connextions to the Xserver, one for the graphics thread, one for the main thread that querries events
Robert Osfield
2007-02-09 13:51:28 +00:00
162d08f541Added #if #else #endif blocks to Viewer::realize() and run() for the purposes of testing
Robert Osfield
2007-02-09 13:36:44 +00:00
a3832d9b78Removed debug message
Robert Osfield
2007-02-09 12:08:46 +00:00
4f79634bcdFrom André Garneau, "Attached is a fix for the hang occuring on Win32 when the thread model is changed.
Robert Osfield
2007-02-08 22:36:16 +00:00
2f1bad5b2bFrom Brian Keener, fixes for Cygwin filename handling
Robert Osfield
2007-02-08 22:31:02 +00:00
e623f57822From Charles Cole, "The program database filename was changed for the osgviewer application such as to not conflict with the program database file generated by the core osgViewer library. This change allows for both the application and library to be used in debugging mode within Visual Studio. This change has been tested with Visual Studio 2005 (VS8)."
Robert Osfield
2007-02-08 20:30:51 +00:00
d03e9aee0bUpdated wrappers
Robert Osfield
2007-02-08 20:27:02 +00:00
c2665963bbFurther work on osgShadow::ShadowTechnique API
Robert Osfield
2007-02-08 19:34:38 +00:00
95befaf1edFlesh out more of basic ShadowTechnique and ShadowedScene API.
Robert Osfield
2007-02-08 17:23:40 +00:00
47622e6134Fixed the FlattenStaticTransform visitor so that it excludes subgraphs that contain PagedLOD nodes
Robert Osfield
2007-02-08 15:47:05 +00:00
0d48e62811Cleaned up readString
Robert Osfield
2007-02-08 15:01:27 +00:00
4f1a1c8b16Fixed return in readString.
Robert Osfield
2007-02-08 14:59:20 +00:00
19608966d0Added the threading model to stats
Robert Osfield
2007-02-08 12:47:35 +00:00
12dfddea68Added threading model option to command line parameters
Robert Osfield
2007-02-08 12:24:33 +00:00
0c59589038Added check in setThreadingModel so that it only sets up threading if the viewer is realized
Robert Osfield
2007-02-08 12:21:37 +00:00
9eb4beea52Fixed setThreadModel method so that is doesn't try to set up threading unless the viewer is realized
Robert Osfield
2007-02-08 12:20:40 +00:00
b3b420de5dUpdated the handling of closing of windows
Robert Osfield
2007-02-08 12:14:26 +00:00
34847e4135Added better clean up of paramters on X display in GraphicsWindowX11:closeImplementation
Robert Osfield
2007-02-08 11:30:57 +00:00
10593edfd0From Stefan Eilemann, addd more extensive XErrorHandler output
Robert Osfield
2007-02-08 11:26:04 +00:00
6d323f235aAdded setting of the DatabasePager's affinity.
Robert Osfield
2007-02-08 11:24:29 +00:00
0f4cd568f6From 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!
Robert Osfield
2007-02-08 10:46:58 +00:00
614331ce63Updated wrappers
Robert Osfield
2007-02-07 21:56:36 +00:00
958b8d74ddChanged the setting of need to traverse during the update traverse so it is only enabled when animation is switched on.
Robert Osfield
2007-02-07 21:48:53 +00:00
e2d4581443Disabled the toggling to ThreadModel CullThreadPerCameraDrawThreadPerContext
Robert Osfield
2007-02-07 21:16:22 +00:00
c52207b637Added 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.
Robert Osfield
2007-02-07 16:32:14 +00:00
c2e79a2d89Set the DataVariance to DYNAIMC for the StateSet of with the dynamically updating Uniform
Robert Osfield
2007-02-07 16:27:48 +00:00
945faf0133Fixed bug in AutoTransform::accept() that was related to the accept() method checking the nodemask as it should.
Robert Osfield
2007-02-07 14:53:58 +00:00
2826dafa80From Stephan Huber, "thomas kirk schrieb: > I put this at the end of realizeImplementation; someone with better knowledge > of Carbon programming may see a more appropriate place for the call.
Robert Osfield
2007-02-06 20:03:13 +00:00
e0163c6ae5From André Garneau, "Attached is an improved Win32 keyboard handler that should now map key events similarly to the X11 implementation:
Robert Osfield
2007-02-06 17:34:28 +00:00
c5776b1bf3From Stefan Eileman, fixes for OSX gmake build to allow AGL or X11 implementation of osgViewer
Robert Osfield
2007-02-06 17:01:20 +00:00
f81251bc77Updated wrappers
Robert Osfield
2007-02-06 17:00:20 +00:00
2236c0576eRe-enabled processor affinity
Robert Osfield
2007-02-06 16:23:19 +00:00
3de205ec45Added new Viewer threading model options
Robert Osfield
2007-02-06 14:38:08 +00:00
eeaad74021Updated wrappers
Robert Osfield
2007-02-06 14:20:21 +00:00
424bc9b997Clean up getDrawable() method
Robert Osfield
2007-02-06 14:20:04 +00:00
4f441771f0Fixed Suse9.3 build problem due to different handling Quat copy constuctor
Robert Osfield
2007-02-06 13:44:20 +00:00
bad2a4cc7cFurther work on support for ThreadPerCamera, and improved the efficiency of SingleThraeded
Robert Osfield
2007-02-06 11:03:13 +00:00
cfe737c552Tweak API and updated wrappers to get wrappers to build
Robert Osfield
2007-02-05 14:56:41 +00:00
ebd68ba063Added Camera's s/getCameraThread() and updated wrappers
Robert Osfield
2007-02-05 13:44:16 +00:00
ea67cc7a50Updated wrappers
Robert Osfield
2007-02-05 12:13:52 +00:00
246b28e752From Gordon Tomlinson, "I have attached the 3 files we had to change to fix a proble we were seeing with using Symbol Fonts
Robert Osfield
2007-02-05 11:48:02 +00:00
3c5c4ae242From Brede Johansen, "I have made some changes to support light sources in the new OpenFlight loader."
Robert Osfield
2007-02-05 11:14:23 +00:00
98b0eb889aFrom Brede Johansen, added OSG_EXPORT to DeleteHandler for windows build
Robert Osfield
2007-02-05 10:48:20 +00:00
4914d3974aFrom Paul Martz, "Here's my changes to Registry to allow extension alias mapping via a config file. I also attached a sample file that tests the parsing, but this is just FYI and not for inclusion in CVS.
Robert Osfield
2007-02-05 10:44:10 +00:00
69da91620fConvert GraphicsThread/GraphicsOperation to more generic OperationsThread/Operation. This paves the way to running cull traversals in seperate threads.
Robert Osfield
2007-02-02 22:30:36 +00:00
bee545b82dFrom Eric Sokolowski, added support for the new Text line spacing parameter to the .osg and .ive formats.
Robert Osfield
2007-02-02 16:51:59 +00:00
6d9641a78bAdded a concrete osg::DeleteHandler implementation which provides support for retain objects for several frames before deleting them. Also added RenderStageCache into CullVistor.cpp that is used for handling RTT osg::Camera's that are being used in double buffered SceneView usage.
Robert Osfield
2007-02-02 12:41:13 +00:00
158921574cImproved the toggling on/off of thrading modes
Robert Osfield
2007-02-01 11:07:53 +00:00
a7c448a585Moved the init traversal from cull() to the draw() to prevent graphics context calls being made during the cull traversal - something that breaks the ThreadPerCamera model in osgViewer
Robert Osfield
2007-02-01 11:07:26 +00:00
8dfc5155f4Further work on new threading model.
Robert Osfield
2007-01-31 22:24:20 +00:00
019cdd9116Removed old #if #else #end block
Robert Osfield
2007-01-31 11:12:58 +00:00
493f799a6eRefactored the ViewerRenderingOperation so that the timer querry code is in a separate ViewerQuerySupport class
Robert Osfield
2007-01-30 17:38:02 +00:00
55661041d7Added display listing of ShadowVolume
Robert Osfield
2007-01-30 17:12:33 +00:00
03dbbd5048Added automatic aspect ratio adjustmeent to View::setUpViewAcrossAllScreens() and setUpViewOnSingleScreen.
Robert Osfield
2007-01-30 15:37:30 +00:00
f8213d1c53Updated wrappers
Robert Osfield
2007-01-30 14:47:13 +00:00
77b9a7ae19From Eric Sokolwsky, "osgText is a useful node kit, but when longer paragraphs are displayed on the screen, it looks more aesthetically pleasing to have a larger gap between lines than is given by default. I added a new parameter, lineSpacing, in the Text class to allow the line spacing to be adjustable by the application. The default value is 0 meaning there is no extra spacing given. The value should be given as a percentage of the character height. A good value for longer paragraphs is 0.25 (25%) or more."
Robert Osfield
2007-01-30 14:32:12 +00:00
35c720420eFrom Bryan Thrall, "The osgDB::ReaderWriter and osgDB::ReaderWriter::Options classes have copy constructors that take a const osg::CopyOp rather than a osg::CopyOp&, forcing an unnecessary copy. The attached header fixes this, based off OSG 1.2.
Robert Osfield
2007-01-30 14:18:39 +00:00
b8d98a2cfeAdded support for compute average stats attributes in inverse space to improve the quality of frame rate reporting.
Robert Osfield
2007-01-30 13:48:04 +00:00
6acd0e89a1Disabled the alternating directions of drawing of state sorted render leaves as it was interferring with anaglyphic stereo used in the osgstereimage example.
Robert Osfield
2007-01-30 12:09:30 +00:00
116e7f49a4Updated wrappers
Robert Osfield
2007-01-30 11:47:44 +00:00
ecedc8d86aAdded Stats::collectStats(string,bool) controls, getAveragedAttribute methods into osg::Stats class, and related support into osgViewer::Viewer and osgViewer::StatsHandler.
Robert Osfield
2007-01-30 11:40:23 +00:00
7b9b13b6c0Added support for per frame alternating the direction that SORT_BY_STATE bins are rendered. The alternation makes it more likely that OpenGL objects will still be in video ram.
Robert Osfield
2007-01-30 09:55:34 +00:00
b887226775Made _useMainThreadForRenderingalTraversal(false)
Robert Osfield
2007-01-29 22:59:04 +00:00
fd0ea388c2Began work on providing support for threading camera cull traversals in parallel with the previous frames draw traversal. Changes range from osg::State, through osgUtil::RenderBin, through to osgViewer
Robert Osfield
2007-01-29 22:44:29 +00:00
6835996c21Added very simple relaxing of traits by dividing required red, green, blue, alpha and depth by 2.
Robert Osfield
2007-01-28 17:32:41 +00:00
44dceef503Added use of Viewe Realize graphics operation.
Robert Osfield
2007-01-28 17:12:57 +00:00
af6de09ab4Added set/getRealizeOperation() to Viewer and CompositeViewer
Robert Osfield
2007-01-28 17:11:21 +00:00
25e4fd32acUpdated wrappers
Robert Osfield
2007-01-28 09:53:02 +00:00
9168d1130eFrom Mike Wittman, "This file removes the virtual destructor of osgText::String. It seemed wrong that osgText::String should have a vtable since it is treated like a value type, and any subclasses containing additional data would effectively be subject to slicing during standard usage. This stuck out as an anomaly when classifying the OSG types for C# bindings."
Robert Osfield
2007-01-28 09:17:10 +00:00
689578c13aAdded osg::PolygonMode to local StateSet to protect it from being affected by stateset manipulator.
Robert Osfield
2007-01-27 17:57:58 +00:00
b8994d4707Updated wrappers
Robert Osfield
2007-01-27 17:52:11 +00:00
27f6f7c790Added access methods to PositionStateContainer
Robert Osfield
2007-01-27 14:27:54 +00:00
f2c782dda4Added light source.
Robert Osfield
2007-01-27 14:27:29 +00:00
137d9c1a6aFurther work on shadow CullCallback
Robert Osfield
2007-01-27 12:54:58 +00:00
5bf2dfe3b1Added _sorted flag into RenderBin to prevent a bin being sorted twice in one frame
Robert Osfield
2007-01-27 12:54:33 +00:00
36330f7e40Changed osgUtil::RenderBin and osg::State to allow nesting of StateSet's associated with RenderBin's.
Robert Osfield
2007-01-27 11:13:01 +00:00
8625598e00Further work on building the rendering back end from the intial traversal of the scene graph
Robert Osfield
2007-01-26 21:22:35 +00:00