Computer Graphics for Java Programmers (2ND)

個数:

Computer Graphics for Java Programmers (2ND)

  • 提携先の海外書籍取次会社に在庫がございます。通常3週間で発送いたします。
    重要ご説明事項
    1. 納期遅延や、ご入手不能となる場合が若干ございます。
    2. 複数冊ご注文の場合は、ご注文数量が揃ってからまとめて発送いたします。
    3. 美品のご指定は承りかねます。

    ●3Dセキュア導入とクレジットカードによるお支払いについて
  • 【入荷遅延について】
    世界情勢の影響により、海外からお取り寄せとなる洋書・洋古書の入荷が、表示している標準的な納期よりも遅延する場合がございます。
    おそれいりますが、あらかじめご了承くださいますようお願い申し上げます。
  • ◆画像の表紙や帯等は実物とは異なる場合があります。
  • ◆ウェブストアでの洋書販売価格は、弊社店舗等での販売価格とは異なります。
    また、洋書販売価格は、ご注文確定時点での日本円価格となります。
    ご注文確定後に、同じ洋書の販売価格が変動しても、それは反映されません。
  • 製本 Paperback:紙装版/ペーパーバック版/ページ数 376 p.
  • 言語 ENG
  • 商品コード 9780470031605
  • DDC分類 006.663

Full Description

The book covers elementary concepts, from how to produce simple graphical objects using logical coordinates to producing filled regions. The book reinforces concepts with useful and simple examples, then progresses to applied geometry (vectors, polygons) and then onto how to perform rotations and other transformations of graphical objects. In a logical progression of ideas, the reader is introduced to some of the classic graphics algorithms and finally to chapters which cover particular effects such as perspective drawings and hidden-face and hidden-line elimination.

The book also provides a host of ready-to-run programs and worked examples to illuminate general principles and geometric techniques for the creation of both 2D and 3D graphical objects.

Contents

Preface ix

CHAPTER 1 Elementary Concepts 1

1.1 Lines, Coordinates and Pixels 2

1.2 The Boundaries of Filled Regions 7

1.3 Logical Coordinates 8

1.4 Anisotropic and Isotropic Mapping Modes 14

1.5 Defining a Polygon by Using the Mouse 21

Exercises 26

CHAPTER 2 Applied Geometry 31

2.1 Vectors 32

2.2 Inner Product 34

2.3 Determinants 34

2.4 Vector Product 37

2.5 The Orientation of Three Points 38

2.6 Polygons 41

2.7 The Area of a Polygon 42

2.8 Point-in-Triangle Test 44

2.9 Point-in-Polygon Test 45

2.10 Point-on-Line Test 47

2.11 Distance Between a Point and a Line 50

2.12 Projection of a Point on a Line 51

2.13 Triangulation of Polygons 53

Exercises 58

CHAPTER 3 Geometrical Transformations 63

3.1 Matrix Multiplication 64

3.2 Linear Transformations 65

3.3 Translations 71

3.4 Homogeneous Coordinates 71

3.5 Inverse Transformations and Matrix Inversion 72

3.6 Rotation About an Arbitrary Point 74

3.7 Changing the Coordinate System 78

3.8 Rotations About 3D Coordinate Axes 79

3.9 Rotation About an Arbitrary Axis 80

Exercises 88

CHAPTER 4 Some Classic Algorithms 91

4.1 Bresenham's Algorithm for Line Drawing 92

4.2 Doubling the Line-Drawing Speed 97

4.3 Circles 102

4.4 Cohen-Sutherland Line Clipping 107

4.5 Sutherland-Hodgman Polygon Clipping 113

4.6 B'ezier Curves 120

4.7 B-Spline Curve Fitting 130

Exercises 135

CHAPTER 5 Perspective 139

5.1 Introduction 140

5.2 The Viewing Transformation 141

5.3 The Perspective Transformation 146

5.4 A Cube in Perspective 148

5.5 Some Useful Classes 152

5.6 A General Program for Wire-Frame Models 168

Exercises 174

CHAPTER 6 Hidden-Line Elimination 177

6.1 Line Segments and Triangles 178

6.2 Tests for Visibility 179

6.3 Specification and Representation of 3D Objects 190

6.4 Holes and Invisible Line Segments 192

6.5 Individual Faces and Line Segments 194

6.6 Automatic Generation of Object Specification 198

6.7 Hidden-Line Elimination with HP-GL Output 207

6.8 Implementation 209

Exercises 213

CHAPTER 7 Hidden-Face Elimination 219

7.1 Back-Face Culling 220

7.2 Coloring Individual Faces 225

7.3 Painter's Algorithm 226

7.4 Z-Buffer Algorithm 234

Exercises 246

CHAPTER 8 Fractals 249

8.1 Introduction 249

8.2 Koch Curves 250

8.3 String Grammars 253

8.4 Mandelbrot and Julia Sets 264

Exercises 276

APPENDIX A Linear Interpolation of 1/z 277

APPENDIX B A Note on Event Handling 281

APPENDIX C File Obj3D.java 287

APPENDIX D Class CvHLines.java 293

APPENDIX E Some Applications 301

E.1 Platonic Solids 301

E.2 Sphere Representations 312

E.3 A Torus 319

E.4 Beams in a Spiral 323

E.5 Functions of Two Variables 326

APPENDIX F Hints and Solutions to Exercises 339

Bibliography 371

Index 373

最近チェックした商品