Hello,
I have a couple xml colormaps I want to load as presets but the import
option does not do anything; no error messages.
<ColorMap name="Haxby" space="RGB">
<Point x="0" o="1" r="0.0392156862745098" g="0" b="0.474509803921569"/>
<Point x="1" o="1" r="0.0392156862745098" g="0" b="0.474509803921569"/>
<Point x="1" o="1" r="0.156862745098039" g="0" b="0.588235294117647"/>
.......
<Point x="30" o="1" r="1" g="0.92156862745098" b="0.92156862745098"/>
<Point x="31" o="1" r="1" g="0.92156862745098" b="0.92156862745098"/>
<Point x="31" o="1" r="1" g="1" b="1"/>
<Point x="32" o="1" r="1" g="1" b="1"/>
</ColorMap>
These worked before, but not in 5.0.0
Pretty sure the file structure is right, but be good if someone could
test. Tried removing the duplicate line entries and still no joy.
Thanks
Lester
<ColorMap name="haxby reversed model" space="RGB">
<Point x="0" o="1" r="1" g="1" b="1"/>
<Point x="1" o="1" r="1" g="0.92156862745098" b="0.92156862745098"/>
<Point x="2" o="1" r="1" g="0.843137254901961" b="0.843137254901961"/>
<Point x="3" o="1" r="1" g="0.768627450980392" b="0.768627450980392"/>
<Point x="4" o="1" r="0.96078431372549" g="0.701960784313725" b="0.682352941176471"/>
<Point x="5" o="1" r="1" g="0.619607843137255" b="0.619607843137255"/>
<Point x="6" o="1" r="1" g="0.486274509803922" b="0.486274509803922"/>
<Point x="7" o="1" r="1" g="0.352941176470588" b="0.352941176470588"/>
<Point x="8" o="1" r="0.933333333333333" g="0.313725490196078" b="0.305882352941176"/>
<Point x="9" o="1" r="0.956862745098039" g="0.458823529411765" b="0.294117647058824"/>
<Point x="10" o="1" r="1" g="0.627450980392157" b="0.270588235294118"/>
<Point x="11" o="1" r="1" g="0.741176470588235" b="0.341176470588235"/>
<Point x="12" o="1" r="0.968627450980392" g="0.843137254901961" b="0.407843137254902"/>
<Point x="13" o="1" r="0.941176470588235" g="0.925490196078431" b="0.474509803921569"/>
<Point x="14" o="1" r="0.874509803921569" g="0.96078431372549" b="0.552941176470588"/>
<Point x="15" o="1" r="0.803921568627451" g="1" b="0.635294117647059"/>
<Point x="16" o="1" r="0.674509803921569" g="0.96078431372549" b="0.658823529411765"/>
<Point x="17" o="1" r="0.541176470588235" g="0.925490196078431" b="0.682352941176471"/>
<Point x="18" o="1" r="0.486274509803922" g="0.92156862745098" b="0.784313725490196"/>
<Point x="19" o="1" r="0.415686274509804" g="0.92156862745098" b="0.882352941176471"/>
<Point x="20" o="1" r="0.380392156862745" g="0.882352941176471" b="0.941176470588235"/>
<Point x="21" o="1" r="0.266666666666667" g="0.792156862745098" b="1"/>
<Point x="22" o="1" r="0.196078431372549" g="0.745098039215686" b="1"/>
<Point x="23" o="1" r="0.0980392156862745" g="0.686274509803922" b="1"/>
<Point x="24" o="1" r="0.0509803921568627" g="0.505882352941176" b="0.972549019607843"/>
<Point x="25" o="1" r="0.101960784313725" g="0.4" b="0.941176470588235"/>
<Point x="26" o="1" r="0" g="0.156862745098039" b="0.87843137254902"/>
<Point x="27" o="1" r="0" g="0.0980392156862745" b="0.831372549019608"/>
<Point x="28" o="1" r="0" g="0.0392156862745098" b="0.784313725490196"/>
<Point x="29" o="1" r="0.0784313725490196" g="0.0196078431372549" b="0.686274509803922"/>
<Point x="30" o="1" r="0.156862745098039" g="0" b="0.588235294117647"/>
<Point x="31" o="1" r="0.0392156862745098" g="0" b="0.474509803921569"/>
</ColorMap><ColorMap name="haxby model" space="RGB">
<Point x="0" o="1" r="0.0392156862745098" g="0" b="0.474509803921569"/>
<Point x="1" o="1" r="0.156862745098039" g="0" b="0.588235294117647"/>
<Point x="2" o="1" r="0.0784313725490196" g="0.0196078431372549" b="0.686274509803922"/>
<Point x="3" o="1" r="0" g="0.0392156862745098" b="0.784313725490196"/>
<Point x="4" o="1" r="0" g="0.0980392156862745" b="0.831372549019608"/>
<Point x="5" o="1" r="0" g="0.156862745098039" b="0.87843137254902"/>
<Point x="6" o="1" r="0.101960784313725" g="0.4" b="0.941176470588235"/>
<Point x="7" o="1" r="0.0509803921568627" g="0.505882352941176" b="0.972549019607843"/>
<Point x="8" o="1" r="0.0980392156862745" g="0.686274509803922" b="1"/>
<Point x="9" o="1" r="0.196078431372549" g="0.745098039215686" b="1"/>
<Point x="10" o="1" r="0.266666666666667" g="0.792156862745098" b="1"/>
<Point x="11" o="1" r="0.380392156862745" g="0.882352941176471" b="0.941176470588235"/>
<Point x="12" o="1" r="0.415686274509804" g="0.92156862745098" b="0.882352941176471"/>
<Point x="13" o="1" r="0.486274509803922" g="0.92156862745098" b="0.784313725490196"/>
<Point x="14" o="1" r="0.541176470588235" g="0.925490196078431" b="0.682352941176471"/>
<Point x="15" o="1" r="0.674509803921569" g="0.96078431372549" b="0.658823529411765"/>
<Point x="16" o="1" r="0.803921568627451" g="1" b="0.635294117647059"/>
<Point x="17" o="1" r="0.874509803921569" g="0.96078431372549" b="0.552941176470588"/>
<Point x="18" o="1" r="0.941176470588235" g="0.925490196078431" b="0.474509803921569"/>
<Point x="19" o="1" r="0.968627450980392" g="0.843137254901961" b="0.407843137254902"/>
<Point x="20" o="1" r="1" g="0.741176470588235" b="0.341176470588235"/>
<Point x="21" o="1" r="1" g="0.627450980392157" b="0.270588235294118"/>
<Point x="22" o="1" r="0.956862745098039" g="0.458823529411765" b="0.294117647058824"/>
<Point x="23" o="1" r="0.933333333333333" g="0.313725490196078" b="0.305882352941176"/>
<Point x="24" o="1" r="1" g="0.352941176470588" b="0.352941176470588"/>
<Point x="25" o="1" r="1" g="0.486274509803922" b="0.486274509803922"/>
<Point x="26" o="1" r="1" g="0.619607843137255" b="0.619607843137255"/>
<Point x="27" o="1" r="0.96078431372549" g="0.701960784313725" b="0.682352941176471"/>
<Point x="28" o="1" r="1" g="0.768627450980392" b="0.768627450980392"/>
<Point x="29" o="1" r="1" g="0.843137254901961" b="0.843137254901961"/>
<Point x="30" o="1" r="1" g="0.92156862745098" b="0.92156862745098"/>
<Point x="32" o="1" r="1" g="1" b="1"/>
</ColorMap>
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Search the list archives at: http://markmail.org/search/?q=ParaView
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview