Hello All.
I have the following problem.
I have a 3D grid with regular positions and connections, which represents
a volume containing several bodies (usually less than 10).
The data value is determined by following rule:
if position doesn't belong to any body than data=-1,
otherway data= body's number.
To draw this system I use the following net:
INCLUDE to remove all positions with data ==-1, then
ShowBoundaries,then AutoColor and finally Image.

Now about the problem itself: besides bodies I have 3D grid which
gives pressure for the same volume. I need to change color of bodies according
the pressure, but original color should remain the same.
That is pressure should change only intensity of bodies color, so
parts of bodies which lie in low pressure region become lighter(maybe
untill they are completly white) and one which in the high pressure
region become darker(untill they are black).

I would be thankfull for any advices ;)

----------------------------------------------
Sincerly Yours
 Ilya Ginzburg



Look at the Convert module which allows you to change RGB to HSV. Then you can compute a scalar function of, say S (saturation) according to your rules, apply that, then Convert back to RGB.

Chris Pelkie
Vice President/Scientific Visualization Producer
Conceptual Reality Presentations, Inc.
30 West Meadow Drive
Ithaca, NY 14850
[EMAIL PROTECTED]

Reply via email to