texmf-dist/doc/metapost/featpost/example/simplecar.mp
raw| 1 | % simplecar.mp |
| 2 | % L. Nobre G. |
| 3 | % 2004 |
| 4 | |
| 5 | input featpost3Dplus2D; |
| 6 | |
| 7 | %f := 0.25*(2,2.15,15.3); |
| 8 | f := (2,0.15,1.1); |
| 9 | Spread := 320; |
| 10 | HoriZon := -0.2; |
| 11 | |
| 12 | beginfig(1); |
| 13 | color refpos, angcol, lencol, froncol, rearcol; |
| 14 | refpos = black; |
| 15 | angcol = black; |
| 16 | lencol = (0.6, 0.35, 0.28); |
| 17 | froncol = (0.026, 0.12, 0.06); |
| 18 | rearcol = froncol; |
| 19 | setthearena( 12, 1.3 ); |
| 20 | simplecar( refpos, angcol, lencol, froncol, rearcol ); |
| 21 | endfig; |
| 22 | |
| 23 | end; |
| 24 | |
| 25 |