%% $Id: pst-ellipsoid-doc-exa06.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,-4)(3,4)
\pstVerb{/n1 36 def /n2 18 def  /coquille {0.984 0.95 0.718 setrgbcolor} def}%
\psset{viewpoint=50 20 20 rtp2xyz,Decran=100,lightsrc=viewpoint,solidmemory}
\psSolid[object=plan,definition=normalpoint,args={0 0 0.5 [0 0.01 100]},action=none,name=PlanHorizontal]
\psSolid[object=ellipsoid,a=3,b=2,c=1,ngrid=n1 n2,base=0 360 -90 90,
         fillcolor=blue!20,linewidth=0.01,action=none,
         plansepare=PlanHorizontal,name=demiEllipsoid]
\psSolid[object=load,load=demiEllipsoid1,rm=0,hollow,fillcolor=cyan,incolor=coquille]
\psSolid[object=plan,definition=normalpoint,args={0 0 0.5 [0 0.01 100]},action=draw,showBase,base=-3 3 -3 3]
\end{pspicture}
\end{document}
\end{externalDocument}