/[3dldf]/3dldf/Group/ANIMATNS/TITLES/titles_2.ldf
ViewVC logotype

Annotation of /3dldf/Group/ANIMATNS/TITLES/titles_2.ldf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Mon Aug 15 15:39:47 2005 UTC (18 years, 10 months ago) by lfinsto1
Branch: MAIN
Changes since 1.1: +10 -6 lines
Got scrolling titles to work.

Modified Files:
	Group/ANIMATNS/ChangeLog Group/ANIMATNS/Makefile.am
	Group/ANIMATNS/LOGS/Makefile.am.log
	Group/ANIMATNS/TITLES/ChangeLog
	Group/ANIMATNS/TITLES/encode.Params
	Group/ANIMATNS/TITLES/titles_2.ldf
	Group/ANIMATNS/TITLES/LOGS/encode.Params.log
	Group/ANIMATNS/TITLES/LOGS/titles_2.ldf.log
	Group/CWEB/3DLDFtex.tex Group/CWEB/ChangeLog
	Group/CWEB/cnepspng.web Group/CWEB/sample0.ldf
	Group/CWEB/LOGS/3DLDFtex.tex.log
	Group/CWEB/LOGS/cnepspng.web.log
	Group/CWEB/LOGS/sample0.ldf.log
	Group/SNAPSHOTS/3DLDFsnp.tar.gz
	Group/SNAPSHOTS/3DLDFsnp.tar.gz.sig

1 lfinsto1 1.2 %%%% titles_2.ldf
2 lfinsto1 1.1 %%%% Created by Laurence D. Finston (LDF) So Aug 14 18:45:55 CEST 2005
3    
4     %% * (1) Copyright and License.
5    
6     %%%% This file is part of GNU 3DLDF, a package for three-dimensional drawing.
7     %%%% Copyright (C) 2003, 2004, 2005 The Free Software Foundation
8    
9     %%%% GNU 3DLDF is free software; you can redistribute it and/or modify
10     %%%% it under the terms of the GNU General Public License as published by
11     %%%% the Free Software Foundation; either version 2 of the License, or
12     %%%% (at your option) any later version.
13    
14     %%%% GNU 3DLDF is distributed in the hope that it will be useful,
15     %%%% but WITHOUT ANY WARRANTY; without even the implied warranty of
16     %%%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17     %%%% GNU General Public License for more details.
18    
19     %%%% You should have received a copy of the GNU General Public License
20     %%%% along with GNU 3DLDF; if not, write to the Free Software
21     %%%% Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22    
23     %%%% GNU 3DLDF is a GNU package.
24     %%%% It is part of the GNU Project of the
25     %%%% Free Software Foundation
26     %%%% and is published under the GNU General Public License.
27     %%%% See the website http://www.gnu.org
28     %%%% for more information.
29     %%%% GNU 3DLDF is available for downloading from
30     %%%% http://www.gnu.org/software/3dldf/LDF.html.
31     %%%% It is also available from
32     %%%% http://www.dante.de/software/ctan/, the Dante www-server
33     %%%% and from http://wwwuser.gwdg.de/~lfinsto1,
34     %%%% the author's website.
35    
36     %%%% Please send bug reports to bug-3dldf@gnu.org
37     %%%% The mailing list help-3dldf@gnu.org is available for people to
38     %%%% ask other users for help.
39     %%%% The mailing list info-3dldf@gnu.org is for the maintainer of
40     %%%% GNU 3DLDF to send announcements to users.
41     %%%% To subscribe to these mailing lists, send an
42     %%%% email with ``subscribe <email-address>'' as the subject.
43    
44     %%%% The author can be contacted at:
45    
46     %%%% Laurence D. Finston
47     %%%% Kreuzbergring 41
48     %%%% D-37075 Goettingen
49     %%%% Germany
50    
51     %%%% lfinsto1@gwdg.de
52     %%%% s246794@stud.uni-goettingen.de
53    
54    
55 lfinsto1 1.2 % $Id: titles_2.ldf,v 1.4 2005/08/15 13:39:41 lfinsto1 Exp $
56 lfinsto1 1.1
57     %% * (1) Beginning of 3DLDF code.
58    
59     %% ** (2) Run these commands:
60     %% make run
61     %% cnepspng titles_2 0 47
62     %% mogrify -geometry 640x480! titles_2_*.png
63     %% See 'convert.el' for further instructions on creating an MPEG file.
64    
65     %% ** (2) Fonts.
66    
67     verbatim_metapost "verbatimtex \font\Largebx=cmbx12 etex";
68     verbatim_metapost "verbatimtex \font\Large=cmr12 scaled 2000 etex";
69     verbatim_metapost "verbatimtex \font\large=cmr17 etex";
70     verbatim_metapost "verbatimtex \font\largebx=cmbx17 etex";
71     verbatim_metapost "verbatimtex \font\bigit=cmti11 etex";
72     verbatim_metapost "verbatimtex \font\normal=cmr10 etex";
73     verbatim_metapost "verbatimtex \font\small=cmr6 etex";
74    
75     %% ** (2)
76    
77     w := 6.4cm;
78     h := 4.8cm;
79    
80     w *= 4;
81     h *= 4;
82    
83     w /= 1.1375;
84     h /= 1.1375;
85    
86     pen_width := .75mm;
87    
88     frame_w := w - .5pen_width;
89     frame_h := h - .5pen_width;
90    
91     path frame;
92     frame := origin -- (frame_w, 0) -- (frame_w, frame_h)
93     -- (0, frame_h) -- cycle;
94    
95     shift frame (-.5frame_w, -.5frame_h);
96    
97     picture frame_picture;
98    
99    
100 lfinsto1 1.2 %% ** (2) Set up frame.
101 lfinsto1 1.1
102 lfinsto1 1.2 beginfig(0);
103 lfinsto1 1.1 draw frame with_pen pensquare scaled (pen_width, pen_width, pen_width);
104     frame_picture := current_picture;
105 lfinsto1 1.2 endfig with_projection parallel_x_y;
106     endfor;
107    
108     for i = 1 upto 4:
109     beginfig(i);
110     current_picture := frame_picture;
111 lfinsto1 1.1 endfig with_projection parallel_x_y;
112     endfor;
113    
114     %% *** (3)
115    
116     j := 0;
117     for i = 5 upto 19:
118     scale_value := 1 + .5j;
119     beginfig(i);
120     label("{\Largebx Coming Soon}", origin) scaled (scale_value, scale_value)
121     with_text_color red;
122     current_picture += frame_picture;
123     endfig with_projection parallel_x_y;
124     j += 1;
125     endfor;
126    
127    
128     scale_value := 8;
129    
130     for i := 20 upto 23:
131     beginfig(i);
132     label("{\Largebx Coming Soon}", origin) scaled (scale_value, scale_value)
133     with_text_color red;
134     current_picture += frame_picture;
135     endfig with_projection parallel_x_y;
136     endfor;
137    
138     %% ** (2)
139    
140    
141     %% *** (3)
142    
143     for i = 24 upto 28:
144     beginfig(i);
145     draw frame with_pen pensquare scaled (pen_width, pen_width, pen_width);
146     frame_picture := current_picture;
147     endfig with_projection parallel_x_y;
148     endfor;
149    
150    
151    
152     % *** (3)
153    
154     j := 0;
155     for i = 29 upto 43:
156     scale_value := 1 + .5j;
157    
158    
159    
160     beginfig(i);
161     text_scale_value := 1/4scale_value;
162     message "scale_value:";
163     show scale_value;
164     message "text_scale_value:";
165     show text_scale_value;
166     label("{\Largebx To a Theater}", (0, text_scale_value))
167     scaled (scale_value, scale_value)
168     with_text_color blue;
169     label("{\Largebx Near You}", (0, -text_scale_value))
170     scaled (scale_value, scale_value)
171     with_text_color blue;
172     current_picture += frame_picture;
173     endfig with_projection parallel_x_y;
174     j += 1;
175     endfor;
176    
177     scale_value := 8;
178     text_scale_value := 1/4scale_value;
179    
180     message "scale_value:";
181     show scale_value;
182     message "text_scale_value:";
183     show text_scale_value;
184    
185    
186     for i := 44 upto 47:
187     beginfig(i);
188    
189     label("{\Largebx To a Theater}", (0, text_scale_value))
190     scaled (scale_value, scale_value)
191     with_text_color blue;
192     label("{\Largebx Near You}", (0, -text_scale_value))
193     scaled (scale_value, scale_value) with_text_color blue;
194     current_picture += frame_picture;
195     endfig with_projection parallel_x_y;
196     endfor;
197    
198     %% *** (3)
199    
200    
201     %% ** (2)
202    
203     verbatim_metapost "end";
204    
205     end;
206    
207    
208    
209     %% ** (2) End of 3DLDF code.
210    
211     %% * (1) Local variables for Emacs.
212    
213     %% Local Variables:
214     %% mode:Metafont
215     %% eval:(outline-minor-mode t)
216     %% eval:(read-abbrev-file abbrev-file-name)
217     %% outline-regexp:"%% [*\f]+"
218     %% End:

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26