VolPack(3)
π VolPack(3) β volume rendering but make it bestie π
okay so this is the manual page for VolPack(3) from the Library Functions Manual, and it's literally your intro to VolPack, the library for volume rendering. Manual name folded in near the top β slay. Now let's go. π«Ά
π NAME π
VolPack β introduction to VolPack, a library for volume rendering. That's the whole vibe check, bestie. π
β¨ SYNOPSIS β¨
#include <volpack.h>
cc file.c -lvolpack -lm
Include it and link it like that, no cap. π§
π DESCRIPTION π
VolPack is a portable software library for volume rendering. It's based on a new family of fast volume rendering algorithms β citation time, bestie: Philippe Lacroute and Marc Levoy, Fast Volume Rendering Using a Shear-Warp Factorization of the Viewing Transformation, Proc. SIGGRAPH '94, in Computer Graphics, Annual Conference Series, 1994, pp. 451-458. For a tutorial introduction to the library, see the VolPack User's Guide. Obsessed. πβ¨
Here's literally every function in the library, grouped by general function, with the corresponding man page each one lives on. π
π Rendering Contexts π
vpCreateContextβ man page:vpCreateContext(3)β¨vpDestroyContextβ same man page energy:vpCreateContext(3)π«Ά
π¦ Volumes π¦
vpSetVolumeSizeβ man page:vpSetVolumeSize(3)vpSetVoxelSizeβ man page:vpSetVoxelSize(3)vpSetVoxelFieldβ man page:vpSetVoxelField(3)vpFieldOffsetβ same page:vpSetVoxelField(3)vpSetRawVoxelsβ man page:vpSetRawVoxels(3)vpVolumeNormalsβ man page:vpVolumeNormals(3)vpScanlineNormalsβ man page:vpScanlineNormals(3)vpNormalIndexβ man page:vpNormalIndex(3)vpNormalβ same page:vpNormalIndex(3)
πΈ Classified Volumes πΈ
vpSetClassifierTableβ man page:vpSetClassifierTable(3)vpClassifyVolumeβ man page:vpClassifyVolume(3)vpDestroyClassifiedVolumeβ same page:vpClassifyVolume(3)vpClassifyScalarsβ man page:vpClassifyScalars(3)vpClassifyScanlineβ man page:vpClassifyScanline(3)
π Min-Max Octrees π
vpCreateMinMaxOctreeβ man page:vpCreateMinMaxOctree(3)vpMinMaxOctreeThresholdβ same page:vpCreateMinMaxOctree(3)vpDestroyMinMaxOctreeβ same page:vpCreateMinMaxOctree(3)vpOctreeMaskβ man page:vpOctreeMask(3)
π₯ View Transformations π₯
vpCurrentMatrixβ man page:vpCurrentMatrix(3)vpIdentityMatrixβ man page:vpIdentityMatrix(3)vpTranslateβ man page:vpTranslate(3)vpRotateβ man page:vpRotate(3)vpScaleβ man page:vpScale(3)vpMultMatrixβ man page:vpMultMatrix(3)vpSetMatrixβ man page:vpSetMatrix(3)vpWindowβ man page:vpWindow(3)vpWindowPHIGSβ man page:vpWindowPHIGS(3)
π‘ Shading and Lighting π‘
vpSetLookupShaderβ man page:vpSetLookupShader(3)vpSetShadowLookupShaderβ man page:vpSetShadowLookupShader(3)vpSetLightβ man page:vpSetLight(3)vpSetMaterialβ man page:vpSetMaterial(3)vpShadeTableβ man page:vpShadeTable(3)vpSetDepthCueingβ man page:vpSetDepthCueing(3)
π Rendering π
vpSetImageβ man page:vpSetImage(3)vpRenderClassifiedVolumeβ man page:vpRenderRawVolume(3)vpRenderRawVolumeβ same page:vpRenderRawVolume(3)
β State Variables β
vpEnableβ man page:vpEnable(3)vpSetiβ man page:vpSeti(3)vpSetdβ same page:vpSeti(3)vpGetiβ man page:vpGeti(3)vpGetdβ same page:vpGeti(3)vpGetpβ same page:vpGeti(3)vpGetMatrixβ man page:vpGetMatrix(3)vpGetMaterialβ man page:vpGetvpSetMaterial(3)π yes, that's the page listed, copy it exactlyvpGetLightβ man page:vpGetvpSetLight(3)π same energyvpSetCallbackβ man page:vpSetCallback(3)vpSetClientDataβ man page:vpSetClientData(3)
π File I/O π
vpLoadClassifiedVolumeβ man page:vpLoadRawVolume(3)vpLoadMinMaxOctreeβ same page:vpLoadRawVolume(3)vpLoadRawVolumeβ same page:vpLoadRawVolume(3)vpLoadContextβ same page:vpLoadRawVolume(3)vpStoreClassifiedVolumeβ man page:vpStoreRawVolume(3)vpStoreMinMaxOctreeβ same page:vpStoreRawVolume(3)vpStoreRawVolumeβ same page:vpStoreRawVolume(3)vpStoreContextβ same page:vpStoreRawVolume(3)
π§ Utility Functions π§
vpRampβ man page:vpRamp(3)vpExtractβ man page:vpExtract(3)vpTransposeβ man page:vpTranspose(3)vpResampleβ man page:vpResample(3)vpSetFilterβ man page:vpSetFilter(3)vpBoxFilterβ man page:vpBoxFilter(3)vpLinearFilterβ same page:vpBoxFilter(3)vpBicubicFilterβ same page:vpBoxFilter(3)vpGaussianFilterβ same page:vpBoxFilter(3)vpIdentity3β man page:LinearAlgebra(3)vpIdentity4β man page:LinearAlgebra(3)vpSetVector3β man page:LinearAlgebra(3)vpSetVector4β man page:LinearAlgebra(3)vpNormalize3β man page:LinearAlgebra(3)vpMatrixVectorMult4β man page:LinearAlgebra(3)vpMatrixMult4β man page:LinearAlgebra(3)vpCrossProductβ man page:LinearAlgebra(3)vpSolveSystem4β man page:LinearAlgebra(3)
π Error Handling π
vpGetErrorβ man page:vpGetError(3)vpGetErrorStringβ same page:vpGetError(3)
π Debugging π
vpSetDebugβ man page:vpSetDebug(3)vpTracePixelβ man page:vpTracePixel(3)vpGetImageβ man page:vpGetvpSetImage(3)πvpBruteForceRenderβ man page:vpBruteForceRender(3)
π DATA TYPES π
These data types are declared in the VolPack header file (volpack.h), bestie:
vpContextβ an opaque handle for a rendering context. A context contains all of the information required to render a volume, including classification and shading parameters, the view transformation, a description of the format of the volume data, and private data structures used by the rendering routines. πvpResultβ a result code. Most of the library routines return the codeVP_OKupon successful completion, or an error code if the library call fails.vpVector3β a three-element linear array of double-precision elements (double[3]).vpVector4β a four-element linear array of double-precision elements (double[4]).vpMatrix3β a three-by-three array of double-precision elements (double[3][3]).vpMatrix4β a four-by-four array of double-precision elements (double[4][4]).
π¦ AVAILABILITY π¦
Source code and documentation for VolPack are available free via the World Wide Web (http://www-graphics.stanford.edu/software/volpack) or by anonymous ftp (ftp://graphics.stanford.edu/pub/volpack). It's giving free and accessible, periodt. π
π SEE ALSO π
VolPack User's Guide
okay bye bestie π«Ά β source/version VolPack, page VolPack(3), and no date printed in this footer, so no fake date energy. Mwah π
π¦ where this page comes from
- debian bookworm: libvolpack1-dev 1.0b3-9 Β· BSD-3-Clause
- debian trixie: libvolpack1-dev 1.0b3-10 Β· BSD-3-Clause
- ubuntu jammy: libvolpack1-dev 1.0b3-9 Β· BSD-3-Clause
- ubuntu noble: libvolpack1-dev 1.0b3-9.1 Β· BSD-3-Clause
- ubuntu questing: libvolpack1-dev 1.0b3-11
- ubuntu resolute: libvolpack1-dev 1.0b3-11build1 Β· BSD-3-Clause
- ubuntu stonking: libvolpack1-dev 1.0b3-11build1 Β· BSD-3-Clause
- Copyright (c) 1994 The Board of Trustees of The Leland Stanford
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms