1threed(6) Svgalib User Manual threed(6)
2
3
4
6 threed - The svgalib 3d demo
7
9 3d
10
11
13 Well, the 3d demo...
14
15 I, Michael, the current svgalib maintainer, do not have any source for
16 it.
17
18 Thus, you may experience weird problems with new svgalib versions and
19 you need installed a.out libc and svgalib versions. Also the demo is
20 known to be buggy in several aspects. Thus, do not panic if it appears
21 not to work for you.
22
23 If it works in a certain mode for you be happy and play around with it.
24 For example, with recent svgalibs, 3d is unable to initialize the mouse
25 if not started directly in a linux console for unknown reasons.
26
27 Otherwise: Don't worry at all.
28
29
30 Here's the author's (Harm's) info about it:
31 There's also a 3d demo binary included in this directory. It has been
32 in a similar state for several months now, but I'm planning to get some
33 work done (although it probably won't be the amazing multi-player net‐
34 worked 3D lightsource-shaded real-time VGA virtual reality simulation).
35 I'll release the source code at some point (when it has some degree of
36 flexibility). I'm sorry that there's no scene description file; it will
37 come. So now you know you can do this kind of thing in Linux. And it's
38 practically 100% C code.
39
40 You can set the graphics mode to be used with the SVGALIB_DEFAULT_MODE
41 environment variable (e.g. G640x480x256). All linear 256 color, 32K
42 color and 16M color modes are supported, with page flipping used if
43 available. Planar 256 color VGA modes also work. This should do 800x600
44 full screen 3D animation at near 10 fps with a good system. Request:
45 Please report if page flipping goes wrong on a particular chipset (e.g.
46 ET4000, Trident) in 320x200x256. Also 32-bit pixel truecolor modes
47 don't work correctly, this will be fixed. The user interface is some‐
48 what primitive at this point:
49
50 - Use the mouse to rotate.
51 - Left button accelerates, right decelerates.
52 - Press <W> to move upwards, <S> to go down again.
53 - Use <R> and <F> to control the zoom factor.
54 - <q> or <Ctrl>-C exits.
55
56 Note that the light source rotates quickly at an infinite distance.
57 This is not something that will easily occur naturally (as far as I
58 know)...
59
60 This demo is part of svgalib and can be found in the demos/ subdirec‐
61 tory of the original svgalib distribution. However, it is not installed
62 in the system by default, s.t. it is unclear where you can find it if
63 your svgalib was installed by some linux distribution. Even then, when
64 you have the demo on your system, you probably won't have the sources
65 s.t. it is only of limited use for you.
66
67 In case of any such problem, simply get an svgalib distribution from
68 the net. You even don't need to install it. Just make in the demos/
69 subdirecty. As of this writing, svgalib-1.2.12.tar.gz is the latest
70 version and can be retrieved by ftp from sunsite.unc.edu at
71 /pub/Linux/libs/graphics and tsx-11.mit.edu at /pub/linux/sources/libs
72 which will most probably be mirrored by a site close to you.
73
74
76 Countless.
77 In addition, source is still not available. Sorry, I just don't have
78 it.
79
80
82 svgalib(7), vgagl(7), libvga.config(5), accel(6), bg_test(6),
83 eventtest(6), forktest(6), fun(6), keytest(6), mousetest(6), scroll‐
84 test(6), speedtest(6), spin(6), testaccel(6), testgl(6), testlinear(6),
85 vgatest(6), plane(6), wrapdemo(6)
86
87
89 This manual page was edited by Michael Weller <eowmob@exp-math.uni-
90 essen.de>. The demo and most of it's documentation is due to Harm Hane‐
91 maayer <H.Hanemaayer@inter.nl.net>.
92
93
94
95Svgalib 1.3.0 8 April 1998 threed(6)