Interactive Web-Based Virtual Reality With Java 3d

Interactive Web-Based Virtual Reality With Java 3d

by Chi Chung Ko, Chang Dong Cheng
     
 

ISBN-10: 1599047896

ISBN-13: 9781599047898

Pub. Date: 07/31/2008

Publisher: IGI Global

With the emergence of the Java 3D API, the creation of high quality 3D animated graphics for Java applications and applets becomes a possibility. With numerous aspects of the business, science, medical, and educational fields implementing this technology, the need for familiarity of Java 3D amplifies. Interactive Web-Based Virtual Reality with Java 3D provides both

Overview

With the emergence of the Java 3D API, the creation of high quality 3D animated graphics for Java applications and applets becomes a possibility. With numerous aspects of the business, science, medical, and educational fields implementing this technology, the need for familiarity of Java 3D amplifies. Interactive Web-Based Virtual Reality with Java 3D provides both advanced and novice programmers with comprehensive, detailed coverage of all of the important issues in Java 3D. This essential book delivers illustrations of essential keywords, syntax, and methods to provide an easy-to-read learning experience for the reader.

Product Details

ISBN-13:
9781599047898
Publisher:
IGI Global
Publication date:
07/31/2008
Pages:
492
Product dimensions:
7.10(w) x 10.30(h) x 1.30(d)

Table of Contents


Preface     ix
Virtual Reality and Java 3D     1
Introduction     1
Interactive 3D Computer Graphics     1
Virtual Reality     3
Web-Based Virtual Reality     5
VRML     6
Java 3D     8
Mixed Reality     10
Summary     11
References     12
Java 3D Overview     18
Introduction     18
Getting Started     19
A Simple Java 3D Program for a RotatingCube     20
Scene Graph Basics     22
Scene Graph for the RotatingCube     24
View Branch for the RotatingCube     25
Content Branch for the RotatingCube     26
Branch Group     27
Transform Group     28
Simple Universe     28
Difference Between Java 3D Applet and Application     29
Summary     30
References     30
Geometry Objects     32
Introduction     32
Shape3D     32
GeometryArray Class     35
GeometryStripArray     43
IndexedGeometryArray     56
IndexedStripArray     63
Creating an Object Using Multiple Geometry Classes     69
Utility Class     71
Summary     72
References     73
Appearance Objects     75
Introduction     75
PointAttributes     79
LineAttributes     82
PolygonAttributes     82
ColoringAttributes     86
TransparencyAttributes     87
RenderingAttributes     89
Material     93
Summary     95
References     96
Textures     97
Introduction     97
Texture Loading     98
Texture Coordinates     99
Texture Properties     100
Texture Attributes     101
Texture Coordinate Generation     103
Multilevel Texturing     106
MultiTexture     106
Texture in Applets     110
Summary     112
References     112
Lighting, Fog, and Background     114
Introduction     114
Material     115
Ambient Light     117
Directional Light     118
Point Light      120
Spot Light or Cone Light     122
Light Scopes     122
Fog     124
Background     128
Summary     130
References     130
Animation Objects     132
Introduction     132
Behavior and Animation     133
Alpha Object     133
Interpolator Object     134
PositionInterpolator     135
PositionPathInterpolator     136
RotationInterpolator     138
RotationPathInterpolator     138
RotPosPathInterpolator     140
ScaleInterpolator     142
RotPosScalePathInterpolator     143
SwitchValueInterpolator     144
TransparencyInterpolator     145
ColorInterpolator     146
Billboard     146
Level of Detail (LOD)     153
Morph     155
Summary     158
References     158
Interaction     159
Introduction     159
Behavior Class     160
Bounding Region     163
Wakeup Condition and Criterion     165
Keyboard and Mouse Events     168
Posted Events     169
Collision Events     176
Elapsed Time and Frame Events     176
Events due to Changes in Positions and Transforms     180
Platform Entry and Exit Events     183
Sensor Entry and Exit Events     185
Combining Different Wakeup Criteria     185
Summary     186
References     186
Picking     188
Introduction     188
PickRotateBehavior, PickTranslateBehavior, and PickZoomBehavior     189
Picking Classes in General     189
Customizing Picking Behavior Class     193
PickTool     194
Point and Ray Picking Shape     195
Ray Segment Picking Shape     196
Cone Picking Shape     201
Cylinder Picking Shape     206
Picking Objects within a Specified Bound from a Certain Position     209
Picking in a Virtual Instrument Panel     212
Summary     215
References     215
Navigation, Input Devices, and Collision     217
Introduction     217
Keyboard Navigation Using KeyBoardBehavior     218
User Defined Keyboard Navigation     219
Navigation Using Mouse Utility Class     223
User-Defined Mouse Navigation     227
Input Device     229
Sensors     232
Collisions     234
Summary     236
References     237
Multiple Views     238
Introduction     238
View Model     239
Single View     240
Multiple Views     243
View Attach Policy and Activation Radius     245
Projection Policy     246
Clip Distance     248
Window Eyepoint Policy and Field of View     248
Conventional Camera-Based View     249
Visibility, Screen Scale, Window Movement, and Frame Cycle Time     252
Canvas3D     252
PhysicalBody and PhysicalEnvironment     258
Example Applications     260
Summary     263
References     263
Audio     264
Introduction     264
BackgroundSound     265
PointSound     266
ConeSound     268
Aural Environment     269
Summary     273
References     275
A Web-Based 3D Real Time Oscilloscope Experiment      276
Introduction     276
System Reference Model and Working Principle     279
Scene Graph and Main Applet     279
Control Buttons, Sliders, Knobs, and Other Objects     282
Custom Behavior     283
Navigation Behavior     284
Collision Detection Behavior     285
Picking Behavior     286
Summary     288
References     288
Downloading Software     290
Running the Rotating Cube Program     295
ViewManager     301
Main Applet for Web-Based 3D Experiment     308
Scene Graph Implementation for Web-Based 3D Experiment     322
Knob Class for Web-Based 3D Experiment     350
Navigation and Collision Detection for Web-Based 3D Experiment     355
Picking for Web-Based 3D Experiment     371
Program Summary and Screen Capture     441
About the Authors     469
Index     470

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >