📄 setuphaptictool.x3d
字号:
<?xml version="1.0" encoding="UTF-8"?><!----><Group> <!--ImportLibrary library="lib/libVHTK.so" /--> <ImportLibrary library="lib/VHTK.dll" /> <Background skyColor="0.5 0.5 0.5"/> <VolumeHaptics /> <Transform DEF="ICONS"> <LocalInfo DEF="INFO" /> </Transform> <Transform DEF="VOLUME" scale="1 1 1" rotation="1 0 0 0" > <VolumeRenderer planes="100" > <ImageObjectTexture> <ScalarVolume DEF="SCALAR" containerField="imageObject" url="data/sphere_128x128x128_u8.raw" > <ManipImageLoader padding="true"> <RawImageLoader width="256" height="256" depth="256" bitsPerPixel="8" pixelType="LUMINANCE" pixelComponentType="UNSIGNED" pixelSize="0.0008 0.0008 0.00056" /> </ManipImageLoader> </ScalarVolume> </ImageObjectTexture> <PiecewiseFunction containerField="scalar2red" continuous="true" segments="0.00 0.0 1.00 1.0" /> <PiecewiseFunction containerField="scalar2green" continuous="true" segments="0.00 0.0 1.00 1.0" /> <PiecewiseFunction containerField="scalar2blue" continuous="true" segments="0.00 0.0 1.00 1.0" /> <PiecewiseFunction containerField="scalar2alpha" continuous="true" segments="0.10 0.0 0.20 0.1 0.60 0.1 0.70 0.3 1.00 0.3" /> </VolumeRenderer> <ScalarSurfaceFrictionMode active="true" > <ScalarVolume USE="SCALAR" /> <WindowFunction level=".5" width="1" roof="5" containerField="strength" /> <WindowFunction level=".5" width="-1" containerField="friction" /> <PiecewiseFunction continuous="true" segments="0.0 0.0, 0.01 1.0, 100 1.0" containerField="distinctness" /> </ScalarSurfaceFrictionMode> </Transform> <!-- Clip Planes --> </Group>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -