icetEnable(3)
π icetEnable(3) β the IceT Reference glow-up π
okay bestie, welcome to the icetEnable / icetDisable page of the IceT Reference manual. this is the one where you flip IceT's lil feature switches on and off. no cap, it's giving control freak in the best way π
β¨ NAME β¨
icetEnable, icetDisable β turn an IceT feature on or off, that's the whole job, periodt.
β¨ Synopsis β¨
#include <IceT.h>
void icetEnable ( IceTEnum pname );
void icetDisable ( IceTEnum pname );
β¨ Description β¨
so like, icetEnable and icetDisable are the two functions that turn all the various IceT features on and off. pname is a symbolic constant that says which feature you're flipping. here are the valid values for pname, and bestie you're gonna wanna read all of them:
ICET_COLLECT_IMAGESβ when this one is on (and it's the default, she's always on first), image partitions are always collected to display processes. when you turn it off, the strategy gets the option of leaving images partitioned among processes. every process holding part of a tile's image will return the entire buffer fromicetDrawFrame,icetGLDrawFrame, oricetCompositeImagein anIceTImageobject. but β and this is the important part β only certain pixels will be valid π. the state variablesICET_VALID_PIXELS_TILE,ICET_VALID_PIXELS_OFFSET, andICET_VALID_PIXELS_NUMtell you which tile the pixels belong to and what range of pixels are valid.ICET_COMPOSITE_ONE_BUFFERβ turn this one on when you're doing z-buffer compositing of a color image and the only result you need is the color image itself (not the depth buffer). this is super common if you're just creating an image and you literally do not care about depth queries. on by default β¨ICET_CORRECT_COLORED_BACKGROUNDβ okay so colored backgrounds are a whole problem when you're doing color blended compositing, because the background color gets additively blended from each image π. enabling this flag internally causes the color to be reset to black and then causes the color to be blended back into the resulting images. disabled by default.ICET_FLOATING_VIEWPORTβ the floating viewport π¦ if enabled, the projection gets shifted so the geometry is rendered in one shot whenever possible, even if the geometry straddles up to four tiles. enabled by default.ICET_INTERLACE_IMAGESβ if enabled, pixels in images (might be) shuffled to better load balance the compositing work. enabled by default. she's doing her little balancing act πICET_ORDERED_COMPOSITEβ if enabled, the image composition is performed in the order specified by the last call toicetCompositeOrder, assuming the current strategy (specified by a call toicetStrategy) supports ordered composition. generally you want to enable ordered compositing if you're doing color blending, and disable it if you're doing z-buffer comparisons. and if it's enabled, you should callicetCompositeOrderbetween each frame to update the image order as camera angles change. disabled by default.ICET_RENDER_EMPTY_IMAGESβ if disabled, IceT will never invoke the drawing callback if all the geometry is outside the clipping planes of the current projection. if enabled, IceT will still invoke the drawing callback if the compositing strategy has requested the tile. however β most compositing strategies do not request images for all tiles. the floating viewport can also consolidate up to four renderings into one. so to guarantee the drawing callback gets invoked for all tiles on all processes, you gotta enableICET_RENDER_EMPTY_IMAGES, disableICET_FLOATING_VIEWPORT, and set the strategy (usingicetStrategy) toICET_STRATEGY_SEQUENTIAL. disabled by default.
and also, if you're using the OpenGL layer (i.e., you've called icetGLInitialize), these options β defined in IceTGL.h β are available too π
ICET_GL_DISPLAYβ if enabled, the final, composited image for each tile is written back to the frame buffer before the return oficetGLDrawFrame. enabled by default.ICET_GL_DISPLAY_COLORED_BACKGROUNDβ if this andICET_GL_DISPLAYare enabled, IceT uses OpenGL blending to make sure all the background is set to the correct color. disabled by default. this option does not affect the images returned fromicetGLDrawFrame; it only affects the image in the OpenGL color buffer.ICET_GL_DISPLAY_INFLATEβ if this andICET_GL_DISPLAYare enabled, and the renderable window is larger than the displayed tile (as determined by the current OpenGL viewport), then the image gets resampled to fit within the renderable window before writing back to the frame buffer. disabled by default. this option does not affect the images returned fromicetGLDrawFrame; it only affects the image in the OpenGL color buffer. and if this option is not enabled, images are written at their natural size in the lower left corner of the window.ICET_GL_DISPLAY_INFLATE_WITH_HARDWAREβ this one decides how images get inflated. when enabled (the default), images are inflated by creating a texture and letting the hardware do the inflating. when disabled, images are inflated on the CPU. this option has no effect unless bothICET_GL_DISPLAYandICET_GL_DISPLAY_INFLATEare also enabled.
β¨ Errors β¨
ICET_INVALID_VALUEβ ifpnameis not a feature to be enabled or disabled. yeah, that's the "bestie what are you even doing" error π
β¨ Warnings β¨
None. nothing to warn you about here, we're all good π«Ά
β¨ Bugs β¨
the check for a validpnameis not thorough, and thus theICET_INVALID_VALUEerror may not always be raised. so like, don't rely on it to catch you every time, okay? π
β¨ Copyright β¨
Copyright (C)2003 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 β¨
and that's the page, bestie π this was the IceT Reference's icetEnable(3) manual, and the footer said September 26, 2014 β so go forth, flip those switches, and slay your compositing β¨π
π¦ where this page comes from
- debian bookworm: paraview 5.11.0+dfsg-1+b1 Β· BSD-3-Clause
- debian trixie: paraview 5.13.2+dfsg-3 Β· BSD-3-Clause
- ubuntu jammy: paraview 5.10.0~rc1-1build3 Β· BSD-3-Clause
- ubuntu noble: paraview 5.11.2+dfsg-6build5 Β· BSD-3-Clause
- ubuntu questing: paraview 5.13.2+dfsg-3
- ubuntu resolute: paraview 6.0.1+dfsg1-7 Β· BSD-3-Clause
- ubuntu stonking: paraview 6.1.1+dfsg1-2build1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms