Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

icetglsetreadbuffer(3) [debian man page]

icetGLSetReadBuffer(3)						  IceT Reference					    icetGLSetReadBuffer(3)

NAME
icetGLSetReadBuffer -- set OpenGL buffer for images Synopsis #include <IceTGL.h> void icetGLSetReadBuffer( GLenum mode ); Description Set the OpenGL buffer from which to read images to composite. After the draw callback (specified by icetGLDrawCallback) returns, IceT grabs the rendered image from the OpenGL buffer specified by mode. This buffer is also used to write back fully composited images if the ICET_GL_DISPLAY option is on. mode is an OpenGL value that specifies the buffer. It is passed to glReadBuffer and glDrawBuffer. Accepted values are GL_FRONT, GL_BACK, GL_LEFT, GL_RIGHT, GL_FRONT_LEFT, GL_FRONT_RIGHT, GL_BACK_LEFT, GL_BACK_RIGHT, and any of the GL_AUXi identifiers. The current read buffer used is stored in the ICET_GL_READ_BUFFER state variable. The default value is GL_BACK. Errors ICET_INVALID_OPERATION icetGLInitialize has not been called for this IceT context. ICET_INVALID_ENUM mode is not a known OpenGL buffer identifier. Warnings None. Bugs The check of mode is perfunctory. It just checks mode against a list of known buffers. It does not check to see if the buffer actually exists or for any other buffers that might be defined in an OpenGL extension. Copyright Copyright (C)2010 Sandia Corporation Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains certain rights in this software. This source code is released under the New BSD License. See Also icetGLDrawCallback(3) IceT Reference August 9, 2010 icetGLSetReadBuffer(3)

Check Out this Related Man Page

icetCompositeMode(3)						  IceT Reference					      icetCompositeMode(3)

NAME
icetCompositeMode -- set the type of operation used for compositing Synopsis #include <IceT.h> void icetCompositeMode( IceTEnum mode ); Description Sets the composite mode used when combining images. IceT enables parallel rendering by allowing each process in your code to independently render images of partial geometry. These partial-geometry images are then ``composited'' to form a single image equivalent to if all the geometry were rendered by a single process. IceT supports multiple operations that can be used to combine images. The operator you use should be equivalent to that used by your ren- dering system to resolve .ighidden surfacehidden surfaces or mix occluding geometry with that behind it. The argument mode is one of the following enumerations: ICET_COMPOSITE_MODE_Z_BUFFER Use the .igz-bufferz-buffer hidden-surface removal operation. The compositing operation compares the distance of pixel fragments from the viewpoint and passes the fragment closest to the user. In order for this operation to work, images must have a depth buffer (set with icetSetDepthFormat). ICET_COMPOSITE_MODE_BLEND Blend two fragments together using the standard .igover operator.igunder operatorover/under operator. in order for this operation to work, images must have a color buffer (set with icetSetColorFormat)that has an alpha channel and there must be no depth buffer (as the operation makes no sense with depth). Also, this mode will only work if ICET_ORDERED_COMPOSITE is enabled and the order is set with icetCompositeOrder. The default compositing mode is ICET_COMPOSITE_MODE_Z_BUFFER. The current composite mode is stored in the ICET_COMPOSITE_MODE state vari- able. Errors ICET_INVALID_ENUM mode is not a valid composite mode. Warnings None. Bugs icetCompositeMode will let you set a mode even if it is incompatible with other current settings. Some settings will be checked during a call to icetDrawFrame. For example, if the image format (specified with icetSetColorFormatand icetSetDepthFormat)does not support the com- posite mode picked, you will get an error during the call to icetDrawFrame. Other incompatibilities are also not checked. For example, if the composite mode is set to ICET_COMPOSITE_MODE_BLEND, IceT will happily use this operator even if ICET_ORDERED_COMPOSITE is not enabled. However, because order matters in the blend mode, you will probably get incor- rect images if the compositing happens in arbitrary order. Copyright Copyright (C)2010 Sandia Corporation Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains certain rights in this software. This source code is released under the New BSD License. See Also icetCompositeOrder(3), icetSetColorFormat(3), icetSetDepthFormat(3) IceT Reference August 9, 2010 icetCompositeMode(3)
Man Page