Retour

Source de triangle_02.tex

Fichier TeX
Image PNG
\documentclass{minimal}
\usepackage{pstricks}
\usepackage{pst-solides3d}
\pagestyle{empty}
 
\begin{document}
\begin{pspicture}(-6,0)(4,3)
\psset[pst-solides3d]{viewpoint=6 10 15,Decran=40,lightsrc=viewpoint}
\defFunction[algebraic]{f}(x,y,z)
{x}
{y}
{x*y*(3-x-y)}
\psSolid[%
   object=grille,
   ngrid=.2 .2,
   base=0 3 0 3,
   plansepare={[1 1 0 -3]},
   name=test,
   action=none
]%
\psSolid[%
   object=load,
   load=test1,
   fillcolor=yellow,
   transform=f,
   linewidth=0.2\pslinewidth,
]%
\end{pspicture}
\end{document}