vprender-2.0b
所属分类:3D图形编程
开发工具:C/C++
文件大小:172KB
下载次数:30
上传日期:2009-02-19 21:12:20
上 传 者:
kouzh
说明: Vprender三维重建库,实现多种三维重建算法。
(Vprender three-dimensional reconstruction of the Treasury, to achieve a variety of three-dimensional reconstruction algorithm.)
文件列表:
vprender-2.0b\vprender-2.0b\bitmaps\loopfwd.bitmap (767, 1994-10-22)
vprender-2.0b\vprender-2.0b\bitmaps\looprev.bitmap (767, 1994-10-22)
vprender-2.0b\vprender-2.0b\bitmaps\playfwd.bitmap (767, 1994-10-22)
vprender-2.0b\vprender-2.0b\bitmaps\playrev.bitmap (767, 1994-10-22)
vprender-2.0b\vprender-2.0b\bitmaps\rock.bitmap (758, 1994-10-22)
vprender-2.0b\vprender-2.0b\bitmaps\stepfwd.bitmap (767, 1994-10-22)
vprender-2.0b\vprender-2.0b\bitmaps\steprev.bitmap (767, 1994-10-22)
vprender-2.0b\vprender-2.0b\bitmaps\stop.bitmap (758, 1994-10-22)
vprender-2.0b\vprender-2.0b\bitmaps (0, 2009-02-19)
vprender-2.0b\vprender-2.0b\cmdtable.txt (39985, 1994-12-31)
vprender-2.0b\vprender-2.0b\config.guess (13112, 1994-12-17)
vprender-2.0b\vprender-2.0b\config.h.in (1032, 1994-10-30)
vprender-2.0b\vprender-2.0b\config.paths (2336, 1995-01-01)
vprender-2.0b\vprender-2.0b\config.sub (16318, 1994-12-17)
vprender-2.0b\vprender-2.0b\configure (49335, 1995-01-01)
vprender-2.0b\vprender-2.0b\configure.in (2508, 1995-01-01)
vprender-2.0b\vprender-2.0b\demo\brainsmall.vprdemo (5289, 1995-01-01)
vprender-2.0b\vprender-2.0b\demo\inst_demo (68, 1994-12-17)
vprender-2.0b\vprender-2.0b\demo\inst_demo.tcl (409, 1995-01-01)
vprender-2.0b\vprender-2.0b\demo\vprdemo (63, 1994-12-30)
vprender-2.0b\vprender-2.0b\demo\vprdemo.tcl (15847, 1995-01-01)
vprender-2.0b\vprender-2.0b\demo (0, 2009-02-19)
vprender-2.0b\vprender-2.0b\example\brainsmall.tcl (1458, 1994-11-19)
vprender-2.0b\vprender-2.0b\example\brain_test1.tcl (1023, 1994-12-17)
vprender-2.0b\vprender-2.0b\example\brain_test2.tcl (1054, 1994-12-17)
vprender-2.0b\vprender-2.0b\example\brain_test3.tcl (1051, 1994-12-17)
vprender-2.0b\vprender-2.0b\example\brain_test4.tcl (1082, 1994-12-17)
vprender-2.0b\vprender-2.0b\example\brain_test5.tcl (906, 1994-12-17)
vprender-2.0b\vprender-2.0b\example\brain_test6.tcl (1305, 1994-12-17)
vprender-2.0b\vprender-2.0b\example\brain_test7.tcl (1738, 1994-12-17)
vprender-2.0b\vprender-2.0b\example (0, 2009-02-19)
vprender-2.0b\vprender-2.0b\FAQ (1397, 1995-01-01)
vprender-2.0b\vprender-2.0b\install-sh (4661, 1994-10-26)
vprender-2.0b\vprender-2.0b\library\array.doc (6837, 1994-12-24)
vprender-2.0b\vprender-2.0b\library\array.tcl (11284, 1995-01-01)
vprender-2.0b\vprender-2.0b\library\bcontext.tcl (12779, 1995-01-01)
vprender-2.0b\vprender-2.0b\library\context.doc (16229, 1994-12-17)
vprender-2.0b\vprender-2.0b\library\context.tcl (20267, 1995-01-01)
... ...
vprender version 2.0beta
--------------------------
Phil Lacroute
volpack@graphics.stanford.edu
16 December 1994
1. Introduction
---------------
Vprender is a demonstration volume rendering application based on the
Tcl scripting language, the Tk graphical user interface toolkit, and
the VolPack volume rendering library. It can also be used as a Tcl
package that can be combined with other packages.
This release of vprender is completely different from earlier
versions. It now contains nearly the full functionality of VolPack
and includes a new, streamlined demo script. The old graphical
interface ("viewer") is still available with some enhancements.
2. Installation
---------------
Vprender uses the following libraries:
VolPack version 1.0beta3, available from
ftp://graphics.stanford.edu/pub/volpack
Tcl version 7.3 and Tk version 3.6, available from
ftp://ftp.cs.berkeley.edu/ucb/tcl/tcl7.3.tar.Z
ftp://ftp.cs.berkeley.edu/ucb/tcl/tk3.6.tar.Z
(vprender has not been tested with Tk4.0 yet)
Itcl version 1.5 (required for demos and much of the provided Tcl
routines, but optional otherwise), available from
ftp://ftp.aud.alcatel.com:/tcl/extensions/itcl-1.5.tar.gz
Photo widget extension to Tcl/Tk (optional), available from
ftp://ftp.aud.alcatel.com:/tcl/extensions/photo-2.4.tar.gz
(Tcl and Tk are available here also)
tkGLX extension to Tcl/Tk (optional, for SGI only), available from
ftp://ftp.aud.alcatel.com:/tcl/extensions/tkGLXwin-1.3.2.tar.gz
Sam Leffler's TIFF library (optional), available from
ftp://sgi.com/graphics/tiff/v3.0.tar.Z
The IP addresses for the above machines are:
graphics.stanford.edu 36.22.0.39
ftp.cs.berkeley.edu 128.32.35.31
ftp.aud.alcatel.com 1***.***.191.10
sgi.com 192.48.153.1
Once you have all of these libraries installed, do the following:
A. Type "./configure" in this directory. This will run a shell
script that determines the features of your operating system
and then automatically chooses configuration constants for vprender.
If configure prints a message like:
*** cannot find (edit config.paths) ***
then edit the file config.paths, delete the file config.cache,
and rerun configure. Config.paths contains search paths for the
required and optional packages. If you still have trouble, look
at the file config.log for detailed error messages from configure
(and mail us a description of what went wrong).
Configure takes a number of options, but only the commonly-used
ones are described here. You can specify the top-level
installation directory with the "--prefix="
option, and the top-level installation directory for
architecture-dependent binaries with "--exec_prefix=".
Both options default to /usr/local.
If you want, after running configure you can look at the Makefile
and modify some of the options.
B. Type "make". This creates a library archive call "libvpr.a" and
an application called "vprender".
C. Type "make install" to install the library, include files, and
application.
D. To run the demo, cd to the demo subdirectory and follow the
instructions in the README file. It is not necessary to run
"make install" before running the demo.
3. Documentation
----------------
Since vprender is intended to be a demonstration program, not a
turn-key application, there is currently not a lot of documentation.
Most of the new Tcl commands provided by vprender are calls
to the C routines provided by VolPack. The VolPack man pages describe
the functionality of these commands. See cmdtable.txt in the vprender
source directory for a list of the Tcl command names and brief help
messages. If you want to include the Tcl bindings with other packages
in your own version of wish, then link your application against
libvpr.a and call the C function Vpr_Init(Tcl_interp *interp) in your
Tcl_AppInit function. The include file "vpr.h" contains a declaration
for Vpr_Init.
Vprender also comes with a set of [incr Tcl] classes. There are two
basic classes: an array class and a rendering context class. See
array.doc and context.doc in the library directory for basic
documentation on these classes. The sample code in that directory
includes a volume slicing tool (slicer.tcl) and a volume viewing
tool (viewer.tcl).
Sample code using the [incr Tcl] classes can be found in the example/ and
demo/ directories.
Also see the FAQ file.
4. Support
----------
If you have problems, bug reports or bug fixes, please send mail to:
volpack@graphics.stanford.edu
The author makes no commitment to fix bugs or provide support.
Vprender is intended primarily as a demonstration program, so bugs and
features in the VolPack library receive priority over vprender.
But if you like vprender then drop us a note describing what you use it
for!
If you decide to use the software then please add yourself to our
mailing list so we can tell you about bug fixes and new versions of
the software. Just send a message to
majordomo@lists.stanford.edu
with the message body:
subscribe volpack-announce
5. Data Sets
------------
Sample data sets are available from the Stanford Computer Graphics
Laboratory's ftp site:
graphics.stanford.edu:pub/volpack
or
http://www-graphics.stanford.edu/
6. Copyright
------------
Vprender is covered by the following copyright notice:
Copyright (c) 1994 The Board of Trustees of The Leland Stanford
Junior University. All rights reserved.
Permission to use, copy, modify and distribute this software and its
documentation for any purpose is hereby granted without fee, provided
that the above copyright notice and this permission notice appear in
all copies of this software and that you do not sell the software.
Commercial licensing is available by contacting the author.
THE SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTY OF ANY KIND,
EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
7. Credits
----------
VolPack and vprender were written by Phil Lacroute at the
Computer Graphics Laboratory, Stanford University. The algorithms
are based on Phil's Ph.D. thesis research and are described in the
following paper:
Philippe Lacroute and Marc Levoy, Fast Volume Rendering Using a
Shear-Warp Factorization of the Viewing Transformation, Proc. SIGGRAPH
'94 (Orlando, Florida, July 24-29, 1994). In Computer Graphics
Proceedings, Annual Conference Series, 1994, ACM SIGGRAPH, pp. 451-458.
If you publish a rendering made using VolPack and you would like to
make an attribution, the following form is suggested:
Image generated using the Stanford VolPack volume renderer.
An appropriate longer attribution could omit the word Stanford but would
include a citation of the SIGGRAPH '94 paper:
Image generated using the VolPack volume renderer [#].
[#] Philippe Lacroute and Marc Levoy, Fast Volume Rendering Using a
Shear-Warp Factorization of the Viewing Transformation, Proc. SIGGRAPH
'94 (Orlando, Florida, July 24-29, 1994). In Computer Graphics
Proceedings, Annual Conference Series, 1994, ACM SIGGRAPH, pp. 451-458.
The Tcl scripting language and Tk toolkit were designed and
implemented by John Ousterhout at Berkeley. They made implementation
of the GUI and the powerful script-based user interface far easier than
any other toolkit I have seen.
近期下载者:
相关文件:
收藏者: