Go to AVS Home Page
 Recent Releases
AVS/Express 7.3 Released
OpenViz 2.9 Released
Toolmaster 7.5.3 Released
AVS 5.7 Released
 Contact Support
 Licensing
Information on licensing AVS 
products
 
Interact with the AVS Developer 
community. Takes you out of 
the support web site

 


Q. How can I specify that AVS/Express not take all the colors in the colormap when it starts up?

A. The environment variable NE_VIRTPAL_CUBE_SIZE controls the size of the color cube. You can set NE_VIRTPAL_CUBE_SIZE to a value between 2 and 6. The default value is 5, which causes the NE to grab 125 colors for drawing ports, connections, and pixmaps. The GD Kit also uses this color cube if it needs to render in the default visual (the GD Kit will try to use the best visual on the system, regardless of what the default visual is). Under UNIX, Motif grabs around 20 more colors for drawing widgets.