[info-performer] volumizer beginner

Date view Thread view Subject view Author view

From: Haiquan Yang (yang.haiquan++at++gmail.com)
Date: 07/30/2005 23:30:53


Hello, everyone,
    I am a newer for Volumizer. I downloaded Volumizer 2.8 and intall
it.I tried C:\Program Files\Silicon Graphics\OpenGL
Volumizer\src\apps\simple\xml\..., I met some problems.
1) When I open a .tif file, for example simple.vz, I met a runtime
error about libtiff as following.
    
    Assertion failed!
    ************************************************************************
    File ../../tiff-3.7.2-src/libtiff/tif_luv.c
    Expression: scheme=COMPRESSION_SGILOG24 || scheme == COMPRESSION_SGILOG
    ************************************************************************
    ************************************************************************
2)I also tried the binary file. It is well for the sample binary.vz,
it is ubyte format. But when I tried a ushort file, I got the
following warning,and the rendering is not right.

    Volumizer Warning:
    vzLUTManager::bindLUT(): OpenGL error 1285

I used the following vz file
    <?xml version="1.0"?>
    <!DOCTYPE vzShapeSet SYSTEM "vzxml.dtd">
    <vzShapeSet>
    <vzShape id="shape1">
        <vzAppearance>
                <vzShader>
                        <vzTMLUTShader/>
                </vzShader>
                <vzParameterVolumeTexture name="volume">
                        <filename>Pana_2_30m.rec</filename>
                        <module name="bin">
                                <userString>0 300 576 576 luminance ushort</userString>
                        </module>
                     </vzParameterVolumeTexture>
                <vzParameterLookupTable name="lookup_table">
                        <filename>DEFAULTLUT.lut</filename>
                </vzParameterLookupTable>
        </vzAppearance>
  </vzShape>
  </vzShapeSet>

And the DEFAULYLUT.lut is defined as
version_1.0
65536
LUMINANCE
Interpolation_mode: 1
2
0 0
65535 1
32768 32767
Interpolation_mode: 1
2
0 0
65535 1
32768 32767
Interpolation_mode: 1
2
0 0
65535 1
32768 32767
Interpolation_mode: 1
2
0 0
65535 1
32768 32767
Interpolation_mode: 1
2
0 0
65535 1
32768 32767

         Please help me, thank you.

                  Haiquan


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Jul 30 2005 - 23:31:06 PDT