[[TracNav(TracNav/TOC)]] [wiki:osgVisualConfiguration << Back to XML configuration overview] = List of modules with available XML configuration options = == Data In/Output == {{{ #!xml }}} == Distortion == You can enable the distortion module to distort the final image for projection on non-planar surfaces. The channel name is the suffixname of the required configuration files. The distortion requires three files: * distort_.bmp: The distortion map, with the distortion vector encoded in the RGB values of each pixel of the distortion map. * blend_.bmp: The blend map which contains the soft edge blending mask for seamless blending between video projectors. * view_.cfg: The configuration file, which contains the frustum and the rotational and translational offset of the projector (and hence of the !OpenGL "camera"). The XML configuration is as followed: {{{ #!xml }}} You can select the technique which should be used to distort the images. The available renderImplementations are: * fbo : renderImplementation = osg::Camera::FRAME_BUFFER_OBJECT * pbuffer : renderImplementation = osg::Camera::PIXEL_BUFFER * pbuffer-rtt : renderImplementation = osg::Camera::PIXEL_BUFFER_RTT * fb : renderImplementation = osg::Camera::FRAME_BUFFER * window : renderImplementation = osg::Camera::SEPERATE_WINDOW You have to select the heights and width of the distortion map you want to use. The flag "useshader" indicates to use shaders instead of plain OpenGL. To distort HDR renderings enable the flag "hdr". The Flag "usetexturerectangle" indicated whether a texture rectangle should be used to display the distorted image. '''OPTIONAL'''[[br]] If your distortion- or blendmap are named different from the standard naming scheme, you can define the names explicit insinde the XML entry (parallel to the XML entry): {{{ #!xml }}} == Sky Silverlining == Currently sky_silverlining has no module dependend configuration. It only allows to enable or disable the sky framework.[[br]] The XML entry is: {{{ #!xml }}} == Vista 2D == The vista2D module works, but regarding to its architecture the usage in !OpenSceneGraph (and hence in osgVisual) is quite performance degrading. Nevertheless, for testing purposes or for prototype usage it is available. In the XML Entry, you have to specify the vista2D project file and the position and zoom factor it should use. To enable the animation you have to enable the attribute "playanimation". You can control the background of the vista2D project by en- or disable the attribute "paintBackground". {{{ #!xml }}}