%% $Id: pst-ellipsoid-doc-exa05.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}
\definecolor{coquille}{rgb}{0.984 0.95 0.718}
\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}
\psSolid[object=ellipsoid,a=3,b=2,c=1,ngrid=n1 n2,base=90 270 -90 90,
	fillcolor=blue,linewidth=0.01,hollow,
% faces extérieures
        fcol=0 2 n1 2 sub {/i exch def
             i n2 mul 2 i n2 mul n2 add 1 sub {(White)} for} for
             1 2 n1 1 sub {/i exch def
             i n2 mul 1 add 2 i n2 mul n2 add 1 sub {(White)} for} for,
             incolor=coquille
]
\axesIIID(3,2,1)(4,3,2)
\end{pspicture}
\end{document}
\end{externalDocument}