1 \documentclass{article}
2 \usepackage{pst-solides3d,pst-node,pst-plot,multido,url}
3 \usepackage[latin1]{inputenc}
4 \usepackage[T1]{fontenc}
7 \usepackage[a4paper,bottom=2.5cm,top=2cm]{geometry}
8 %%\usepackage[frenchle]{babel}
11 \title{\texttt{pst-solides3d} :\\
17 %\psset{lightsrc=10 20 30,viewpoint=50 20 30 rtp2xyz}
18 \psset{viewpoint=50 20 30 rtp2xyz}
20 \section {Test affinage avec PSTricks}
22 1 seule face, en gardant la face centrale
25 \psset{lightsrc=10 0 10,viewpoint=50 -20 30 rtp2xyz,Decran=50}
26 \begin{pspicture*}(-5,-4)(6,5)
39 \psset{lightsrc=10 0 10,viewpoint=50 -20 30 rtp2xyz,Decran=50}
40 \begin{pspicture*}(-5,-4)(6,5)
51 \psset{lightsrc=10 0 10,viewpoint=50 -20 30 rtp2xyz,Decran=50}
52 \begin{pspicture*}(-5,-4)(6,5)
58 fcolor=.5 .setopacityalpha Yellow,
65 \section {Test affinage avec jps}
70 \psset{lightsrc=10 0 10,viewpoint=50 -20 30 rtp2xyz,Decran=50}
71 \begin{pspicture*}(-5,-4)(6,9)
76 %%dup [.5 .6] solidputhuecolors %% ne fonctionne pas
77 dup {[.5 .6]} exec solidputhuecolors %% fonctionne
87 \psset{lightsrc=10 0 10,viewpoint=50 -20 30 rtp2xyz,Decran=50}
88 \begin{pspicture*}(-5,-4)(6,9)
93 %%dup [.5 .6] solidputhuecolors %% ne fonctionne pas
94 dup {[.5 .6]} exec solidputhuecolors %% fonctionne
100 \section {Test chanfreinage avec PSTricks}
104 \psset{lightsrc=10 0 10,viewpoint=50 -20 30 rtp2xyz,Decran=50}
105 \begin{pspicture*}(-5,-4)(6,5)
107 \psSolid[object=cube,