Skip to content
  • David E. DeMarle's avatar
    make default captures look more like paraview · ef8e63c7
    David E. DeMarle authored
    since we only handle RGB luts, I exported the lut from paraview
    like so:
    from paraview.simple import *
    SuperQuadric()
    r = Show()
    Render()
    pvl = r.LookupTable.SMProxy.GetClientSideObject()
    rgb = [0,0,0]
    for x in range(0,256):
        v = x/255.0 #should be get range, but superquadric TCoord is 0.0,1.0
        pvl.GetColor(v, rgb)
        print "%f, %f, %f, %f," % (v, rgb[0], rgb[1], rgb[2])
    ef8e63c7