[pstricks] Transparency and pst-3dplot
Hamed Alsulami
alsulamihamed at gmail.com
Tue Jan 18 06:42:01 CET 2022
Dear Herbert,
I did included this line "\usepackage[pspdf={-dALLOWPSTRANSPARENCY
-dNOSAFER}]{auto-pst-pdf}" in my file but nothing changed.
\documentclass[11pt]{article}
%\usepackage{auto-pst-pdf}
\usepackage[pspdf={-dALLOWPSTRANSPARENCY -dNOSAFER}]{auto-pst-pdf}
\usepackage{pst-3dplot}
\begin{document}
\begin{pspicture}(-5,-5)(5,5)
\pstThreeDSquare[fillcolor=red,fillstyle=solid](0,0,0)(0,2,0)(2,0,0)
\pstThreeDSquare[fillcolor=blue,fillstyle=solid,opacity=0.5](0,0,0.8)(0,2,0)(2,0,0)
\pstThreeDEllipse[fillcolor=white,fillstyle=solid,opacity=0.5](1,1,0.8)(0,0.5,0)(0.5,0,0)
\end{pspicture}
\end{document}
--
Best regards,
Hamed Alsulami
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/pstricks/attachments/20220118/eeffccd4/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: try2.log
Type: application/octet-stream
Size: 14612 bytes
Desc: not available
URL: <https://tug.org/pipermail/pstricks/attachments/20220118/eeffccd4/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: try2.pdf
Type: application/pdf
Size: 4801 bytes
Desc: not available
URL: <https://tug.org/pipermail/pstricks/attachments/20220118/eeffccd4/attachment-0001.pdf>
More information about the PSTricks
mailing list.