osg(osg中文社区)-osgEarth-osgViewer-基于OpenGL-开源三维渲染引擎-图形引擎-虚拟仿真工具-osg教程-osg仿真

osgvolume

当前位置:首页 > 关于osg > 使用指南 > 用户指南

演示了OSG进行体渲染的能力,需要序列的2D图像或3D图像的支持。

PROGRAM ARGUMENTS

argument

description

default

--alphaFunc


0.02

--clip <ratio>

clip volume as a ratio, 0.0 clip all, 1.0 clip none.

1.0

--compressed

Enable the usage of compressed textures.


--compressed-arb

Enable the usage of OpenGL ARB compressed textures


--compressed-dxt1

Enable the usage of S3TC DXT1 compressed textures.


--compressed-dxt3

Enable the usage of S3TC DXT3 compressed textures.


--compressed-dxt5

Enable the usage of S3TC DXT5 compressed textures.


--images [filenames]

Specify a stack of 2d images to build the 3d volume from.


--maxTextureSize <size>

Set the texture maximum resolution in the s,t,r (x,y,z) dimensions.


--modulate-alpha-by-luminance

For each pixel multiple the alpha value by the luminance.


--num-components <num>

Set the number of components to in he target image.


--r_maxTextureSize <size>

Set the texture maximum resolution in the r (z) dimension.


--replace-alpha-with-luminance

For each pixel mSet the alpha value to the luminance.


--s_maxTextureSize <size>

Set the texture maximum resolution in the s (x) dimension.


--shader

Use OpenGL Shading Language.


--t_maxTextureSize <size>

Set the texture maximum resolution in the t (y) dimension.


--xMultiplier <multiplier>

Tex coord x multiplier.


--xSize <size>

Relative width of rendered brick.


--yMultiplier <multiplier>

Tex coord y multiplier.


--ySize <size>

Relative length of rendered brick.


--zMultiplier <multiplier>

Tex coord z multiplier.


--zSize <size>

Relative height of rendered brick.


-h or --help

Display this information


-n

Create normal map for per voxel lighting.


-s <numSlices>

Number of slices to create.

500