CatherineKan Posted June 16, 2020 Share Posted June 16, 2020 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!! Quote Link to comment Share on other sites More sharing options...
Andrea Posted June 16, 2020 Share Posted June 16, 2020 Try to see if this is the kind of visualization you are looking for. With volumes is better to use the volume visualization SOP and the Cd field sphere_volume_colors.hipnc Which expression are you trying to use for the blue component in the color node? 1 Quote Link to comment Share on other sites More sharing options...
CatherineKan Posted June 16, 2020 Author Share Posted June 16, 2020 6 hours ago, Andrea said: Try to see if this is the kind of visualization you are looking for. With volumes is better to use the volume visualization SOP and the Cd field sphere_volume_colors.hipnc Which expression are you trying to use for the blue component in the color node? Thanks so much! I tried with the help of your workflow settings, it works for my color. The expression I used for color attributes were set in python source panel, as I attached in screenshot. There is only one defect I found, that the final sphere is covered by white color outside, I do not know which parameter I should adjust, I tried to move black color on diffuse ramp in volume visualization node, it becomes better. But I noticed your sphere's outer look is smooth, could you help to take a look? Thank you~ aerosol water loss final version.hipnc Quote Link to comment Share on other sites More sharing options...
Andrea Posted June 17, 2020 Share Posted June 17, 2020 That's because of how volumes are generated using the "surface attribute" from VDB from polygons. This method should be better aerosol water loss final version_fix.hipnc Quote Link to comment Share on other sites More sharing options...
CatherineKan Posted June 18, 2020 Author Share Posted June 18, 2020 On 2020-06-17 at 8:23 AM, Andrea said: That's because of how volumes are generated using the "surface attribute" from VDB from polygons. This method should be better aerosol water loss final version_fix.hipnc Yes, it looks better, but there are still grids can be seen on the surface. I am wondering why there is no grids on your "sphere volume colors" file? Thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.