[pstricks] ngrid has maximum under calottesphere

Werner Grundlingh wgrundlingh at gmail.com
Sun Mar 5 08:17:29 CET 2017


Consider the following minimal example:

\documentclass{article}

\usepackage{pst-solides3d}

\begin{document}

\begin{pspicture}(-5,-5)(5,5)
\psset{
    viewpoint=0 20 4,
    Decran=25,
    lightsrc=viewpoint,
    lightintensity=1,
}

  \psSolid[
    object=calottesphere,
    r=3,
    ngrid=90 120,% <---------------- change this to ngrid=150 150
    theta=30,phi=-90,
    grid,hollow,
    fillcolor=white,incolor=green,
    action=draw**
  ](0,0,0)

\end{pspicture}

\end{document}

The result looks like this:

[image: Inline image 1]

However, changing the ngrid parameters to (say) ngrid=150 150, the output
looks like this:

[image: Inline image 2]

Why is that? I'd like to get a "bowl" that is really smooth, and therefore
would like to increase the ngrid parameters to something large without
causing the above problem.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20170304/9e61fe84/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 150890 bytes
Desc: not available
URL: <http://tug.org/pipermail/pstricks/attachments/20170304/9e61fe84/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 160096 bytes
Desc: not available
URL: <http://tug.org/pipermail/pstricks/attachments/20170304/9e61fe84/attachment-0003.png>


More information about the PSTricks mailing list