give color to a volume and remove a part of the volume

   2016   1   1
User Avatar
Member
10 posts
Joined: May 2020
Offline
Hello,

The visualization I want to achieve is to color my sphere volume shells by shells, which was successful by using a color node and using programming to modify its parameters; then, I want to cut a quater or a half of the sphere (it was achieved by Vexpression shown in screenshot 1) so that the shells of color contrast can be more obvious to be seen, like seeing a cross section.
However, what I noticed was that the color seems to be set again based on the new volume obtained after removing a part of the sphere by using volume wrangle node. This was noticed from the second screenshot attached, there should be half of the shells with bright color just like the color ramp gradient shows.

Could someone provide another way to achieve my visualization?

Thanks in advance!!
Edited by jingyukan - June 16, 2020 10:33:19

Attachments:
Screenshot (87).png (738.7 KB)
Screenshot (86).png (741.4 KB)

User Avatar
Member
8588 posts
Joined: July 2007
Online
Color SOP doesn't set color per voxel, jus=t for the whole volume point, prim or detail
are you sure your color ramp worked on your volue as intended?
Tomas Slancik
FX Supervisor
Method Studios, NY
  • Quick Links