User`s guide
vrpatch2ifs
10-95
dv.position = [-1 15 30];
dv.orientation = [-0.38 -0.93 0 0.55];
setfield(dv,'set_bind',true); %#ok<STFLD,SFLD>
Convert the patch to an IndexedFaceSet nodes. The resulting nodes are created in the
root level of supplied vrworld object)
vrpatch2ifs(peaksPatch,w2);
Show the result.
vrfig2 = vrfigure(w2,'Name',...
'Virtual world containing resulting IndexedFaceSet node');
Input Arguments
patches — MATLAB patches to convert
array
MATLAB patches, specified as an array.
world — Virtual world that contains Shape nodes
vrworld object