File: dxall589

package info (click to toggle)
dx 1%3A4.4.4-4
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 49,864 kB
  • sloc: ansic: 365,482; cpp: 156,594; sh: 13,801; java: 10,641; makefile: 2,373; awk: 444; yacc: 327
file content (28 lines) | stat: -rw-r--r-- 1,888 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!F-adobe-helvetica-medium-r-normal--18*
#!N 
#!N  #!Rtall589 Cache Control: Display #!N #!N 
#!N Some modules use the caching system to cache their own 
data. The Display and Image tools are such tools. When using 
software rendering, they cache the images they display in the X 
windows. This is an optimization that can be seen when using 
the Sequencer. When this tool starts repeating itself (in loop or 
palindrome mode), the images are displayed much faster. That is, Display 
(or Image) is pulling them out of the cache instead of 
rerendering the input objects each time. You can observe this effect 
by running the example program MovingCamera.net with software rendering. #!N #!N 
Most of the time this caching behavior is desirable, but in 
some cases it is better turned off. To do that, use 
the Options module to add a "cache" attribute with the integer 
value of 0 (zero), as follows: #!CForestGreen #!N #!N  #!F-adobe-courier-bold-r-normal--18*   #!N 
o = Options(o, "cache", 0); #!N Display(o, camera); #!EF #!N #!N 
#!EC #!N #!N The Image tool's Configuration dialog box has an 
 #!F-adobe-times-bold-r-normal--18*   option #!EF menu that lets you control its caching. This 
can be useful when one is running a batch job to 
generate an animation in which none of the frames will be 
displayed a second time. #!N #!N Note that the -cache off 
command line option mentioned above has no effect on the internal 
caching that modules themselves perform. Note: You can use the Data 
Explorer command line option -optimize memory, which will automatically set the 
DXDELAYEDCOLORS and DXPIXELTYPE environment variable to the options that consume the 
least memory. The alternative is -optimize precision. #!N #!N #!N  #!F-adobe-times-medium-i-normal--18*   
Next Topic #!EF #!N #!N  #!Lall589,dxall590 h System Tuning  #!EL  #!N  #!F-adobe-times-medium-i-normal--18*   #!N