Skip to content
Snippets Groups Projects
Commit bfec374d authored by Peter Reischig's avatar Peter Reischig Committed by Nicola Vigano
Browse files

Set reflection properties for better visibility.

git-svn-id: https://svn.code.sf.net/p/dct/code/trunk@774 4c865b51-4357-4376-afb4-474e03ccb993
parent f160a031
No related branches found
No related tags found
No related merge requests found
...@@ -48,8 +48,13 @@ for ii = 1:size(grainids,1) ...@@ -48,8 +48,13 @@ for ii = 1:size(grainids,1)
vol_smooth = smooth3(vol_bin, 'box', 3); vol_smooth = smooth3(vol_bin, 'box', 3);
pp(ii) = patch(isosurface(vol_smooth, 0.5), 'FaceColor', cmap(grainids(ii)+1, :), 'EdgeColor', 'none'); pp(ii) = patch(isosurface(vol_smooth, 0.5), 'FaceColor', cmap(grainids(ii)+1, :), 'EdgeColor', 'none');
end end
set(pp,'AmbientStrength',0.5)
set(pp,'DiffuseStrength',0.5)
set(pp,'SpecularStrength',0.3)
view(30,40) view(30,40)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment