manpagez: man pages & more
info mathgl
Home | html | info | man
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

2.7.15 Stereo image

One can easily create stereo image in MathGL. Stereo image can be produced by making two subplots with slightly different rotation angles. The corresponding code looks like this (see section Stereo image sample):

    gr->SubPlot(2,1,0);     // left image
    gr->Rotate(40,60+3);
    // draw something here
    
    gr->SubPlot(2,1,1);     // right image
    gr->Rotate(40,60-3);
    // draw the same here

© manpagez.com 2000-2024
Individual documents may contain additional copyright information.