MATLAB SIMULINK 3D ANIMATION - S Podręcznik Użytkownika Strona 460

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 490
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 459
10 Functions — Alphabetical List
10-120
Examples
Define and Apply Stereoscopic Vision Settings
Create a virtual world.
w = vrworld('octavia_scene');
open(w);
c = vr.canvas(w);
Specify stereoscopic vision settings.
s3d = vr.utils.stereo3d.ANAGLYPH_RED_CYAN;
s3d.CameraOffset = 0.05;
s3d.CameraAngle = pi/128;
Modify the red component of filter for the left camera.
s3d.LeftCameraFilter(1:3) = s3d.LeftCameraFilter(1:3)...
+ [0.1 -0.05 -0.05];
Apply stereoscopic vision settings of vr.utils.stereo3d object s3d to vr.canvas
object c.
set(c,'Stereo3D',s3d);
“View a Virtual World in Stereoscopic Vision”
See Also
vr.canvas class | vrfigure class
Introduced in R2015a
Przeglądanie stron 459
1 2 ... 455 456 457 458 459 460 461 462 463 464 465 ... 489 490

Komentarze do niniejszej Instrukcji

Brak uwag