Dear christian gaser:
Thanks a lot for your advices!
And there is another question: the disply surface function in cat12 is amzing while when I do it use the thickness gii files in the surf folder the pringting is seemed too dark as no light on it, and when I finish a surf analysis, in the result graphic window the figure is much more brighter. I notice in the cat_surf_render.m file a patch is set as behind:
P = struct('vertices',M.vertices, 'faces',double(M.faces));
H.patch = patch(P,...
'FaceColor', [0.6 0.6 0.6],...
'EdgeColor', 'none',...
'FaceLighting', 'gouraud',... phong got print problems
'SpecularStrength', 0.0,... 0.7
'AmbientStrength', 0.4,... 0.1
'DiffuseStrength', 0.6,... 0.7
'BackFaceLighting', 'unlit', ... for inner light
'SpecularExponent', 10,...
'Clipping', 'off',...
'DeleteFcn', {@myDeleteFcn, renderer},...
'Visible', 'off',...
'Tag', 'CATSurfRender',...
'Parent', H.axis);
setappdata(H.patch,'patch',P);
I assume that this means that the 'too dark' problem has been fixed and someting is wrong on my operation.
If anything I can do to fix this, please let me konw.
Best,
wei wei
|