Retour

logo_pstricks_II.tex

Télécharger le fichier Fichier PDF
\documentclass{article}
\usepackage{pst-V3D}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}% utiliser obligatoirement ce codage !!!
% sinon affichage des lettres accentuées
% très perturbées !!!
\usepackage[frenchb]{babel}
\usepackage[a4paper]{geometry}
\input{cube_object_shadow.tex}
 
\def\Rectangle(#1,#2)(#3,#4){
newpath
#1 #2 moveto
#3 #2 lineto
#3 #4 lineto
#1 #4 lineto
 closepath }
 
 
\definecolor{Orange}{rgb}{.956 .643 .376}
 
\pagestyle{empty}
\begin{document}
\begin{center}
\begin{pspicture}(-5,-6)(6,4)
\psset{d=10,A=3.5,THETA=80,PHI=20,Dobs=30,Decran=10,linecolor=white,PSfont=Helvetica}
\psset{ColorFace1= 0.8 0.6 0.2 ,
    ColorFace2= 0.8 0.4 0.2 ,
    ColorFace3= 0.75 0.45 0.2 ,
    ColorFace4= 0.7 0.40 0.2 ,
    ColorFace5= 0.65 0.35 .2 ,
    ColorFace6= 0.6 0.3 0.2 ,
    ColorFacette = 0.8 0.8 0.8 }
\psset{thetaLight=-135,phiLight=40,dLight=100}
\planThreeDput[fillstyle=solid,fillcolor=Orange,normale=90 -90]{\Rectangle(-12,-14)(11,21)}
\planThreeDput[gridcolor=white,normale=90 -90,fontscale=0.5]{\Grille(-12,-14)(11,21)}
\psCube[RotZ=30](5,-10,1.75)
\psCube[RotZ=30](5 4 30 sin mul sub ,-10 4 30 cos mul add,1.75)
\psCube[RotZ=30](5 8 30 sin mul sub ,-10 8 30 cos mul add,1.75)
\psCube[RotZ=30](5 12 30 sin mul sub ,-10 12 30 cos mul add,1.75)
\psCube[RotZ=30](5 16 30 sin mul sub ,-10 16 30 cos mul add,1.75)
\psCube[RotZ=30](5 20 30 sin mul sub ,-10 20 30 cos mul add,1.75)
\psCube[RotZ=30](5 24 30 sin mul sub ,-10 24 30 cos mul add,1.75)
\psCube[RotZ=30](5 28 30 sin mul sub ,-10 28 30 cos mul add,1.75)
{\psset{normale=0 0,linewidth=0.1,fillstyle=solid,fillcolor=white,fontscale=4.2,yO=-0.6,RotZ=30}
\textThreeDput[translation=5 -10 2,normale=0 0,RotZ=30](2,0,0){P}
\textThreeDput[translation=5 4 30 sin mul sub -10 4 30 cos mul add 2,RotZ=30](2,0,0){S}
\textThreeDput[translation=5 8 30 sin mul sub -10 8 30 cos mul add 2](2,0,0){T}
\textThreeDput[translation=5 12 30 sin mul sub -10 12 30 cos mul add 2](2,0,0){R}
\textThreeDput[translation=5 16 30 sin mul sub -10 16 30 cos mul add 2](2,0,0){I}
\textThreeDput[translation=5 20 30 sin mul sub -10 20 30 cos mul add 2](2,0,0){C}
\textThreeDput[translation=5 24 30 sin mul sub -10 24 30 cos mul add 2](2,0,0){K}
\textThreeDput[translation=5 28 30 sin mul sub -10 28 30 cos mul add 2](2,0,0){S}
\textThreeDput[translation=5 28 30 sin mul sub -10 28 30 cos mul add 2](2,0,0){S}}
\psset{normale=90 90,fontscale=2.5,fillstyle=solid,fillcolor=gray!10,xO=3,linecolor=gray!10}
\textThreeDput(5,8,0){et}
\textThreeDput(5,11,0){LaTeX}
\textThreeDput(5,14,0){des milliers}
\textThreeDput(5,17,0){d'utilisateurs}
\end{pspicture}
\end{center}
 
 
\end{document}