race conditions, 199
racing games, current development of Java, 9–10
RAM (random access memory), optimizing, 184
random-number generators, 233
ray tracing, 364–365
rays and vectors, 366
ray/segment-to-triangle test (fig.), 491
ray-to-AABB collision (fig.), 487
RDBMSs (relational database management systems), 272–273
read method, 71, 294, 346
read requests, flow of data upon (fig.), 116
readExternal method, 129
readObject method, 128, 131
real-time
lighting and shading, 3D graphics, 364
current development of Java, 14
real-time simulation games, 10–11
and scripting languages, 300–301
3D graphics, 354–355
3D (RT3D), 354
Rectangle2D class, 46
redundancy and optimizations, 181
reference functions, 322–325
referential integrity and game databases, 278
reflection at runtime, 156
refresh rate
and rendering loop, 66
2D games, 55
refreshing monitor, vertical sync (VSYNC), 29–30
relational database management systems. See RDBMSs
render loops, 63–67
render( ) method, 68
Renderer class, 437
rendering
audio, 89
described, 28
to display, 63–70
pipeline, 434–435
retained-mode, 430
setIgnoreRepaint method, 61
sound-rendering contexts, 110–111
states in scene graphs, 446
text, 413–415
3D render engine. See 3D render engine
2D to 3D, 354
rendering loop, 68–70
RenderShapes class, 432–433
resolution, screen
compensating for different, 412–413
games and, 55–56
resources
Java Games Community Web pages, 236
java.nio package, 206
JDBC information, 278
JOGL forums, mailing lists, 390
MySQL, 284
OpenGL, 389
retained-mode
rendering described, 430
structures (fig.), 431
role-playing games (RPGs), development of Java, 8–9
rotating 3D graphics, 362
rotX method, 261
routers and hops, 201
RT3D vehicle simulators, 357
Run method, 68, 219
runtime
code execution and scripting languages, 303
compressing and decompressing data at, 182
efficient JDBC access, 290–292
inheritance and performance, 262
Java class representation, 153–157
Java scripts code execution, 312
VM execution optimizations, 162–167