source: trunk/packages/vizservers/nanovis/transfer-function/README.txt @ 1200

Last change on this file since 1200 was 379, checked in by qiaow, 18 years ago

Hooked a simple transfer function editor GUI to the render engine.

File size: 919 bytes
Line 
1************README*****************
2By Wei Qiao <qiaow@purdue.edu> 
3***********************************
4
5Hot Keys:
6"W" print interpolation of Y
7"A" Add points. Press "A" then click the screen to add point
8"D" Delete points. Click the point to select it, the press "D" to delete
9"P" Print coordinates of all control points. (FOR DEBUGGING)
10
11
12**************
13float* output
14**************
15Interpolation of control points are stored in an array of float named "output",
16which is a member of TransferFunctionWindow.
17Total of 2048 samples are stored, with values ranging from [0,1]. All samples are initialized to 0 ,when program starts.
18
19***********
20Important!
21***********
22Always call WriteControlPoints() before you use the values in output array. To improve performance, the values are
23not updated upon each change of control points. By calling WriteControlPoints(), interpolation is updated.
24
25
Note: See TracBrowser for help on using the repository browser.