%! pdflatex
\documentclass{beamer}
\pagestyle{empty}

\IfFileExists{ocg.sty}{%
	\usepackage{ocg}%
}{%
	\usepackage{pgfplots_ocg_copy}%
}

\usepackage{pgfplots}
\pgfplotsset{width=9cm,compat=1.3}

\begin{document}
\def\mujbegin{\newpage\vspace*{5.5cm}}

\mujbegin
\begin{tikzpicture}[remember picture, overlay]
\begin{axis}[samples=20, domain=0:1, y domain=0:1, xlabel=$x_1$, ylabel=$x_2$, zlabel=$v$, view={110}{35}] %%shader=flat, surf, 
\addplot3+[
	execute at begin plot visualization=\begin{ocg}{prvni}{prvni}{0},
	execute at end plot visualization=\end{ocg},
]
	coordinates {(0,0,12) (0,1,2) (1,0,6) (0,0,12)};

\addplot3+[
	execute at begin plot visualization=\begin{ocg}{druhy}{druhy}{0},
	execute at end plot visualization=\end{ocg},
]
	coordinates {(0,0,9) (0,1,8) (1,0,4) (0,0,9)};

\addplot3+[
	execute at begin plot visualization=\begin{ocg}{treti}{treti}{0},
	execute at end plot visualization=\end{ocg},
]
	coordinates {(0,0,1) (0,1,7) (1,0,3) (0,0,1)};
\end{axis}
\end{tikzpicture}

\end{document}

