%% $Id: pst-ellipsoid-doc-exa04.tex 1285 2026-06-08 14:23:09Z herbert $
\begin{externalDocument}[
  compiler=lualatex, runs=1, crop, cleanup,
  %xindex, xindexOptions={-l DE --config AU},
  %mpwidth=0.6\linewidth, 
  usefancyvrb=false,
  docType=latex,
]{voss}
\DocumentMetadata{}
\documentclass{article}
\pagestyle{empty}
\usepackage{libertinus}
%StartVisiblePreamble
\usepackage[dvipsnames,svgnames]{pstricks}
\usepackage{pst-ellipsoid}
%StopVisiblePreamble
\begin{document}
\begin{pspicture}(-3,-3)(3,3)
\psset{viewpoint=50 20 20 rtp2xyz,Decran=100,lightsrc=viewpoint}
\psSolid[object=ellipsoid,ngrid=18 9,,a=3,b=2,c=1,base=0 360 -90 90,
         affinagecoeff=.7,affinage=all,fillcolor=cyan,hollow,incolor=yellow!20,
         affinagerm,fcolor=.5 setfillopacity Yellow]
\end{pspicture}
\end{document}
\end{externalDocument}