Robert Osfield
7f8f4e331a
Completed changes to osgManipulator to make it more flexible w.r.t viewer usage, and
...
ported osgmanipulator example across of osgViewer
2007-02-26 13:01:17 +00:00
Robert Osfield
42689e83ef
Removed ReentrantMutex
2007-02-26 11:23:55 +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
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
96f567eff3
Added bool View::Slave::_useMastersSceneData to help manage HUD's and RTT
...
cameras that are embedded in the Viewer's View
2007-02-23 11:53:45 +00:00
Robert Osfield
2d05286dc2
Clean up the handling of views without camera manipulators, and cameras that
...
don't allow camera focus
2007-02-23 11:51:52 +00:00
Robert Osfield
03c198da4d
Removed the compile objects in init in the SceneView::setDefaults() setup.
2007-02-22 10:56:36 +00:00
Robert Osfield
b9eb2fcdee
Fixed calculation of inverted coordindates
2007-02-22 10:31:09 +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
455b046433
Removed debugging info
2007-02-21 20:47:32 +00:00
Robert Osfield
becd84c2f3
Added the default setting of the SceneView's camera onto the RenderStage to
...
allow SceneView to automatically support FBO, PBuffers, image and texture copies and
Camera post draw callbacks
2007-02-21 20:38:14 +00:00
Robert Osfield
987fe5d93b
Added ability to discount Camera's that arn't appropriate for event focus
2007-02-21 19:41:53 +00:00
Robert Osfield
ee9440d155
Added Camera::s/getAllowsEventFocus() method to allow osgViewer to have non interfactive cameras such as RTT ones
2007-02-21 19:06:43 +00:00
Robert Osfield
37e3114534
Wojciech Lewandowski: "TexGenNode::TexGenNode( TexGen * texGen ) constructor does not initialize ReferenceFrame. I am not sure maybe this was the intent but first constructor does it so I don't see a reson why third one shouldn't."
2007-02-21 15:15:55 +00:00
Robert Osfield
35a466f400
Removed debug messages
2007-02-21 14:17:15 +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
ffda14c669
Fixed inheritance check for copying clear colour to slave cameras
2007-02-20 20:56:03 +00:00
Robert Osfield
416e6486f7
Added inhertCullSettings before SceneView::cull() calls
2007-02-20 16:46:53 +00:00
Robert Osfield
bdfc9de345
Updated wrappers
2007-02-19 15:42:32 +00:00
Robert Osfield
37526e3bea
Implemented basic ShadowMap technique
2007-02-19 14:20:18 +00:00
Robert Osfield
d5c68cfa02
Moved CameraCullCallback into ShadowTechnique scope to make it more resusable between various Techniques
2007-02-19 12:13:30 +00:00
Robert Osfield
1964690baa
Wired up the texgen to complete the first iteration of ShadowTexture effect
2007-02-18 15:24:32 +00:00
Robert Osfield
d8e6436dc1
From Andre Garneau:
...
* Fix for the aspect ratio not being properly set when screens have
different aspect ratios.
* Minor fix for makeCurrentImplementation being called directly instead of
makeCurrent() causing the owning thread pointer not being tracked
* Fix for osglauncher so that it sets its update text regions to DYNAMIC to
prevent multi-threading issues.
2007-02-18 14:21:16 +00:00
Robert Osfield
9d1e6e107c
Added basic set up of the RTT camera.
2007-02-17 17:16:13 +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
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
a3594bc653
Added new osg::ComputeBoundsVisitor
2007-02-16 17:34:34 +00:00
Robert Osfield
808162d344
Added pushViewport/popViewport to CullVisitor::apply(Camera&)
2007-02-16 16:37:16 +00:00
Robert Osfield
d23b48fe3a
Updated wrappers
2007-02-16 15:29:47 +00:00
Robert Osfield
990417c9d1
Fixed typo
2007-02-16 15:14:16 +00:00
Robert Osfield
526ba8c506
From Stephan Huber, "I added a bool to GraphicsContext::Traits to indicate wether to use the
...
multithreaded-opengl-engine on os x or not. I set its default to false,
perhaps other os x users can test this setting with their data/apps, to
see if we can enable it by default.
I changed also the borderless-window-type, so expos?works correctly."
2007-02-16 13:33:29 +00:00
Robert Osfield
89fdc9fa37
Removed debugging readImageFile, and done further work on RTT setup.
2007-02-16 13:17:04 +00:00
Robert Osfield
fd3a0c25ba
Fleshed out a bit more of the ShadowTexture implementation
2007-02-16 10:20:10 +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
166d624c7f
Added support for using the scenes light source setting to set up the
...
ShadowVolume's effect light parameters
2007-02-15 17:25:14 +00:00
Robert Osfield
644c92218d
Addd an #ifdef _WIN32 to force SingleThreaded usage under Windows when no
...
threading model is specified.
2007-02-15 15:06:18 +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
3eb833c8b8
Twaaked comments
2007-02-15 14:47:06 +00:00
Robert Osfield
ed01ae9387
From André Garneau, Win32 build fixes
2007-02-15 14:04:22 +00:00
Robert Osfield
3fe4be6e70
Added context sharing support.
2007-02-15 12:24:04 +00:00
Robert Osfield
4f2474ece8
Fixed handling of warp pointer for when its called at startup and the
...
event queue isn't yet initialized the window range.
2007-02-15 12:11:16 +00:00
Robert Osfield
36b8ccacdd
Fixed warnings
2007-02-15 09:31:00 +00:00