MATLAB SIMULINK 3D ANIMATION - S Betriebsanweisung Seite 434

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 490
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 433
10 Functions — Alphabetical List
10-94
Examples
Convert MATLAB Patches to VRML IndexedFaceSet Nodes
This command converts three MATLAB patches to VRML IndexedFaceSet nodes.
Create surface using MATLAB peaks function.
fig = figure('Name','Source peaks surface');
s = surf(peaks);
Convert the peaks surface to a patch.
peaksPatch = patch(surf2patch(s));
delete(s);
shading interp;
Create and open an empty virtual world.
w2 = vrworld('');
open(w2);
Create and bind viewpoint
dv = vrnode(w2, 'DefaultViewpoint','Viewpoint');
Seitenansicht 433
1 2 ... 429 430 431 432 433 434 435 436 437 438 439 ... 489 490

Kommentare zu diesen Handbüchern

Keine Kommentare