📄 readme
字号:
This directory contains the C and C++ code from the book"Graphics Gems IV", edited by Paul Heckbert, Academic Press, 1994.Comments in the source file or subdirectory's README file tell youif the code is old C, ANSI C, or C++. CONTENTS:file or book chapter title and authordirectory chapter------------------------------------------------------------ I Polygons and Polyhedracentroid.c I.1 Centroid of a Polygon Gerard Bashein and Paul R. Detmerconvex_test/ I.2 Testing the Convexity of a Polygon Peter Schorn and Frederick Fisherptpoly_weiler/ I.3 An Incremental Angle Point in Polygon Test Kevin Weilerptpoly_haines/ I.4 Point in Polygon Strategies Eric Hainesdelaunay/ I.5 Incremental Delaunay Triangulation Dani Lischinskivert_norm/ I.6 Building Vertex Normals from an Unstructured Polygon List Andrew Glassnercollide.c I.8 Fast Collision Detection of Moving Convex Polyhedra Rich Rabbitz------------------------------------------------------------ II Geometrydist_fast.c II.2 Fast Linear Approximations of Euclidean Distance in Higher Dimensions Yoshikazu Ohashioutcode/ II.3 Direct Outcode Calculation for Faster Clip Testing Walt Donovan and Tim Van Hooksph_poly.c II.4 Computing the Area of a Spherical Polygon Robert D. Miller------------------------------------------------------------ III Transformationsarcball/ III.1 Arcball Rotation Control Ken Shoemakeinv_fast.c III.3 Fast Inversion of Length- and Angle-Preserving Matrices Kevin Wupolar_decomp/ III.4 Polar Matrix Decomposition Ken Shoemakeeuler_angle/ III.5 Euler Angle Conversion Ken Shoemake------------------------------------------------------------ IV Curves and Surfacesdata_smooth/ IV.1 Smoothing and Interpolation with Finite Differences Paul H. C. Eilerscurve_isect/ IV.4 Intersecting Parametric Cubic Curves by Midpoint Subdivision R. Victor Klassenpatch_conv.C IV.5 Converting Rectangular Patches into Bezier Triangles Dani Lischinskinurb_polyg/ IV.6 Tessellation of NURB Surfaces John W. Petersonimplicit.c IV.8 An Implicit Surface Polygonizer Jules Bloomenthal------------------------------------------------------------ V Ray Tracingray_cyl.c V.2 Intersecting a Ray with a Cylinder Joseph M. Cychosz and Warren N. Waggenspack, Jr.vox_traverse.c V.3 Voxel Traversal along a 3D Line Daniel Cohenmulti_jitter/ V.4 Multi-Jittered Sampling Kenneth Chiu, Peter Shirley, and Changyaw Wangminray/ V.5 A Minimal Ray Tracer Paul S. Heckbert------------------------------------------------------------ VII Frame Buffer Techniquesdyn_range/ VII.3 High Dynamic Range Pixels Christophe Schlick------------------------------------------------------------ VIII Image Processingemboss.c VIII.1 Fast Embossing Effects on Raster Image Data John Schlagcoons_warp.c VIII.2 Bilinear Coons Patch Image Warping Paul S. Heckbertconvolve.c VIII.3 Fast Convolution with Packed Lookup Tables George Wolberg and Henry Massalinthin_image.c VIII.4 Efficient Binary Image Thinning using Neighborhood Maps Joseph M. Cychoszclahe.c VIII.5 Contrast Limited Adaptive Histogram Equalization Karel Zuiderveldmrsfoley.im VIII.6 Ideal Tiles for Shading and Halftoning Alan Wm Paeth------------------------------------------------------------ IX Graphic Designgraph_layout/ IX.2 Dynamic Layout Algorithm to Display General Graphs Laszlo Szirmay-Kalos------------------------------------------------------------ X Utilitiestrilerp.c X.1 Tri-linear Interpolation Steve Hillinterp_fast.c X.2 Faster Linear Interpolation Steven Ekervec_mat/ X.3 C++ Vector and Matrix Algebra Routines Jean-Francois Doue (there's a ray caster in the subdirectory "ray")GraphicsGems.c X.4 C Header File and Vector LibraryGraphicsGems.h Andrew Glassner and Eric Haines------------------------------------------------------------This code is available on the Internet by anonymous FTP from princeton.edu(128.112.128.1) in the directory pub/Graphics/GraphicsGems/GemsIV.These FTP versions are updated periodically with bug fixes.If you have corrections to this code, email to ph@cs.cmu.edu .Paul Heckbert, 3/15/94------------------------------------------------------------History:5/16/94 - lint fixes made to many pieces of code; mostly cosmetic (Eric Haines)8/18/94 - in README, fixed FTP path & added bug email addr. (Paul Heckbert)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -