Graphite

所属分类:3D图形编程
开发工具:Visual C++
文件大小:440KB
下载次数:176
上传日期:2007-04-19 17:49:31
上 传 者wurenzhi
说明:  这是图形学里的国外一个牛人写的纹理变形和参数化的程序。是我看到的最好的文纹理映射和参数化程序之一。里有很多丰富的代码,是学习的好帮助。
(graphics Lane is a cow of foreign written by deformation and texture parameters of the procedure. I see the text of the best texture mapping procedures and parameters of one. There are a lot of rich codes, the study is helpful.)

文件列表:
Graphite\Graphite.dsw (8937, 2003-09-27)
Graphite\idml\idml.dsp (5393, 2003-09-27)
Graphite\idml\Release (0, 2005-08-13)
Graphite\idml\Debug (0, 2005-08-13)
Graphite\idml (0, 2005-08-13)
Graphite\graphite\graphite.dsp (4392, 2003-09-27)
Graphite\graphite\Release (0, 2005-08-13)
Graphite\graphite\Debug (0, 2005-08-13)
Graphite\graphite (0, 2005-08-13)
Graphite\nvparse\nvparse.dsp (7686, 2003-09-27)
Graphite\nvparse\Release (0, 2005-08-13)
Graphite\nvparse\Debug (0, 2005-08-13)
Graphite\nvparse (0, 2005-08-13)
Graphite\png\png.dsp (5065, 2003-09-27)
Graphite\png\Release (0, 2005-08-13)
Graphite\png\Debug (0, 2005-08-13)
Graphite\png (0, 2005-08-13)
Graphite\zlib\zlib.dsp (5498, 2003-09-27)
Graphite\zlib\Release (0, 2005-08-13)
Graphite\zlib\Debug (0, 2005-08-13)
Graphite\zlib (0, 2005-08-13)
Graphite\blas\blas.dsp (7375, 2003-09-27)
Graphite\blas\Release (0, 2005-08-13)
Graphite\blas\Debug (0, 2005-08-13)
Graphite\blas (0, 2005-08-13)
Graphite\super_lu\super_lu.dsp (18009, 2003-09-27)
Graphite\super_lu\Release (0, 2005-08-13)
Graphite\super_lu\Debug (0, 2005-08-13)
Graphite\super_lu (0, 2005-08-13)
Graphite\mpeg2\mpeg2.dsp (5223, 2003-09-27)
Graphite\mpeg2\Release (0, 2005-08-13)
Graphite\mpeg2\Debug (0, 2005-08-13)
Graphite\mpeg2 (0, 2005-08-13)
Graphite\speech\speech.dsp (6416, 2003-09-27)
Graphite\speech\Release (0, 2005-08-13)
Graphite\speech\Debug (0, 2005-08-13)
Graphite\speech (0, 2005-08-13)
Graphite\quick_start\quick_start.dsp (9456, 2003-09-27)
Graphite\quick_start\Release (0, 2005-08-13)
... ...

----=== Graphite ===----- This file will help you to configure and compile Graphite for your system. Graphite is supported under Linux,IRIX*** and Windows, and it should not be difficult to compile it on any Unix system with Qt or Motif, and OpenGL. *** Warning for Windows users: re-read section 0.2 (Windows Quickstart) *** 0) Quickstart ============= 0.1) Unix Quickstart -------------------- 0) requirements: QTDIR should point to qt2.x or qt3.x g++ version 3.x (to check: g++ --version) *** Graphite DOES NOT WORK with g++ 2.x (g++ 2.x's RTTI is bugged) *** 1) Get the archive GraphiteOne.tar.gz cat GraphiteOne.tar.gz | gunzip | tar xvf - 2) Switch to 'bash' or 'sh' if you use 'csh' or 'tcsh' (just type 'bash' or 'sh' if you do not have 'bash' 3) cd GraphiteOne 4) . env_init.sh 5) cd build/unix (if the directory build/unix does not exist, create it) 6) MakeMakeUnix 7) make depend all 8) export OGF_MODULES=surface:volume 9) graphite 0.2) Windows Quickstart ----------------------- 0) requirements: - VisualC++ version 6 or 7 (.net) - Qt non-commercial edition for Windows (download from www.trolltech.com, in the 'developpers' section) should also work with Qt 3.x commercial edition (non tested) 1) Get the archive GraphiteOne.tar.gz or GraphiteOne.zip 2) Open the workspace build/windows/Graphite/graphite.dsw (if you use .net, it will be automatically converted) 3) Visual C++ 6.x: select project 'Graphite', build 3) Visual .net : build solution Note 1: If you want a fast version of Graphite, do not forget to switch the active configuration to "Release" (default is "Debug" and is much much slower). Note 2: if graphite.dsw is not present in build/windows/Graphite/, it can be generated under Unix by issuing 'MakeMakeWindows'. 0.3) Programmer's quick start ------------------------------ If you plan to extend Graphite, some examples and instructions are provided in the "quick_start" module. * To load the quick_start module: Under linux: export OGF_MODULES=surface:quick_start Under Windows: The quick_start module is statically linked with Graphite, but its features are deactivated. To activate them, see instructions in the source file: src/packages/OGF/quick_start/common/quick_start_common.cpp * To create a new command, see instructions in src/packages/OGF/quick_start/commands/surface_quick_start_commands.h * To create a new shader, see instructions in src/packages/OGF/quick_start/shaders/surface_quick_start_shader2d.h src/packages/OGF/quick_start/shaders/surface_quick_start_shader3d.h * To create a new tool, see instructions in src/packages/OGF/quick_start/tools/surface_quick_start_tool.h I) Source tree organization =========================== Graphite's source tree is organized as follows: GraphiteOne | |---src ----- packages ---- OGF | | | | | \------ third_party | | | \-------- bin | |--build ---- unix | | | \------- Windows | |--lib | |--tools | \-doc I.1) src -------- The sources are grouped into packages. A package can be then compiled to generate either a library, or a plug-in (on-demand dynamically loaded module). Graphite also includes third-party packages. They are small enough to be included in the distribution (our point is that it is annoying to have to download these packages when compiling Graphite). Remark for packagers: If you plan to generate RPM's for Linux distribs, there is some work to do to make it use other RPM's rather than included third_party libs. I.2) build ---------- The main idea is to put all generated stuff in the 'build' directory (i.e. object files, binary files and Makefiles). This leaves the rest of the source-tree completely clean. I.3) lib -------- This contains files used by the Graphite software (configuration files, icons, GOM components ...) I.4) tools ---------- Software development tools (see next section) I.5) doc -------- Documentation, licenses ... II) Development tools ===================== Graphite is shipped with several development tools to ease and speed-up cross-platform development. II.1) Automatic Makefile and DSP/DSW generator ---------------------------------------------- The Automatic Makefile generator can create a Makefile for libraries (i.e. packages) and binaries automatically. It can be invoked by : cd ogf_make makefiles The shell scripts used by MakeMake are located in tools/bin: The skeleton files are in tools/skel/ (tools/skel/make for Unix and tools/skel/dsp for Windows) II.2) GOM (Graphite Object Model): a reflection API for the C++ language ------------------------------------------------------------------------ III) Configuration files ======================== All configuration files are located in tools/config tools/config/MakeMake/MakeMake.conf: Configuration file for the Makefile generator, used by both Unix and Windows (DSP/DSW files for MSVC are generated thanks to a Unix shell-script). If MakeMake.conf is modified, makefiles need to be regenerated to take the changes into account. tools/config/MakeMake/makefile.xxx.local: Used by Unix MakeMake only: When generating a Makefile for package xxx or binary xxx, if this file is present, an "include" directive is added in the Makefile by the Makefile generator. If a makefile.xxx.local is added or removed, the Makefile for package xxx needs to be regenerated. If makefile.xxx.local is modified, the Makefile does not need to be regenerated. tools/config/platform/makefile.inc.OS.COMPILER.LINKAGE.DEBUG Main configuration file for the corresponding OS/COMPILER/LINKAGE/DEBUG combination (i.e. $PROJECT_CONFIG). makefile.inc.$PROJECT_CONFIG is included by all Makefiles of the project. tools/config/cf/... Configuration files included by the main configuration file (tools/config/platform/makefile.inc.$PROJECT_CONFIG)

近期下载者

相关文件


收藏者