"Fossies" - the Fresh Open Source Software Archive

Member "dx-4.4.4/help/dxall820" (5 Feb 2002, 2735 Bytes) of package /linux/misc/old/dx-4.4.4.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #!F-adobe-helvetica-medium-r-normal--18*
    2 #!N 
    3 #!N  #!Rcvolrnd 
    4 Coloring Objects for Volume Rendering #!N #!N #!N The volume renderer 
    5 interprets colors and opacities as values per unit distance. Thus the 
    6 amount of color and degree of attenuation seen in an image 
    7 object is determined in part by the extent of the object's 
    8 volume. The Color, AutoColor, and AutoGrayScale modules attach "color multiplier" and 
    9 "opacity multiplier" attributes to the object so that colors and opacities 
   10 will be appropriate to the volume, while maintaining "color" and "opacity" 
   11 components that range from 0 to 1 (so that objects derived 
   12 from the colored volume, such as glyphs and boundaries, are colored 
   13 correctly). See  #!Lrendmdl,dxall1133 h Rendering Model  #!EL  in IBM Visualization Data Explorer Programmer's Reference. #!N 
   14 #!N These attributes adjust the colors and opacities to values that 
   15 should be "appropriate" for the object being colored. However, if the 
   16 simple heuristics used by these modules to compute the attribute values 
   17 are not producing the desired colors and opacities, you have two 
   18 alternatives. #!N #!I0 #!N  #!F-adobe-times-medium-r-normal--18*   #!N #!N #!I30 #!N o One 
   19 is to modify the result by changing the multiplier values of 
   20 the color and opacity attributes: #!N #!I0 #!N  #!F-adobe-times-medium-r-normal--18*   #!N #!N 
   21 #!I30 #!N 1. extract the "color multiplier" and "opacity multiplier" with 
   22 the Attribute module; #!N #!I30 #!N 2. modify them with the 
   23 Compute module; and #!N #!I30 #!N 3. replace them in the 
   24 object with the Options module. #!N #!I0 #!N #!EF #!N #!N 
   25 #!I30 #!N o A second is to multiply the values in 
   26 the "color" or "opacities" component: #!N #!I0 #!N  #!F-adobe-times-medium-r-normal--18*   #!N #!N 
   27 #!I30 #!N 1. mark the component ("colors" or "opacities") with the 
   28 Mark module; #!N #!I30 #!N 2. modify the values with the 
   29 Compute module; and #!N #!I30 #!N 3. "unmark" them with the 
   30 Unmark module to return them to the appropriate component. #!N #!I0 
   31 #!N #!EF #!N #!N #!I0 #!N #!EF #!N #!N #!N Only 
   32 the first of these methods should be used for "delayed" colors. 
   33 #!N #!N Finally, if you color a group of volumes and 
   34 the resulting image is black, the reason is that the current 
   35 renderer does not support coincident volumes. #!N #!N #!T,1,161,321,646  #!F-adobe-times-bold-r-normal--18*   #!N 
   36 TAB Attribute TAB Type TAB Description #!EF #!N TAB color multiplier 
   37 TAB scalar TAB Multiplies values in the "color" component #!N TAB 
   38 opacity multiplier TAB scalar TAB Multiplies values in the "opacity" component 
   39 #!N #!N #!N  #!F-adobe-times-medium-i-normal--18*   Next Topic #!EF #!N #!N  #!Lshading,dxall821 h Shading  #!EL  #!N 
   40  #!F-adobe-times-medium-i-normal--18*   #!N