1994 20.07 1996

Vol.20 n°7 (#232) july 1995

(ddj_1995_07.jpg)

p.6 EDITORIAL

[author : Jonathan Erickson] #Edito

TABLE OF CONTENTS

FEATURES

p.18 SINGLE-IMAGE STEREOGRAMS

[author : Dennis Cronin]

Three-dimensional illusions are cropping up in everything from the funny papers to magazine advertisements. Dennis examines how the illusion works, then presents and implements an algorithm that lets you generate your own images.

p.28 A RAY-CASTING ENGINE IN C++

[author : Mark Seminatore]

Ray casting is a real-time, 3-D rendering technique that's central to many computer-graphics applications. Mark discusses the theory behind ray casting and presents a ray-casting engine he calls "Raycastr."

p.36 PNG: THE PORTABLE NETWORK GRAPHIC FORMAT

[author : Lee Daniel Crocker]

PNG, originally designed as an alternative to GIF, is a graphics file format that's simple, portable, and available free-of-charge in source-code form for reading and writing.

p.46 IMPLEMENTING AND USING BSP TREES

[author : Nathan Dwyer]

Binary space partitioning (BSP) trees are at the heart of the high-speed, 3-D display engines that are becoming common on PC systems. Nathan examines the BSP data structure and presents a C++ system that uses it.

p.50 JPEG-LIKE IMAGE COMPRESSION, PART

[author : Craig A. Lindley]

In this two-part article, Craig presents an image-compression technique that uses the same algorithms as JPEG. He then encapsulates the technique in a set of C++ classes.

EMBEDDED SYSTEMS

p.60 THE FUTURE FOR PROGRAMMABLE LOGIC

[author : Nick Tredennick]

Programmable-logic devices (PLDs) may change the way embedded systems are designed and built. Nick examines the transition from microprocessors to PLDs and speculates on what this means to designers.

NETWORKED SYSTEMS

p.70 AN ARCHITECTURE FOR NETWORK SIMULATION

[author : Peter D. Varhol]

Peter presents one way of evaluating network traffic and routing packets without a large-scale computer network.

EXAMINING ROOM

p.80 EXAMINING THE VESA VBE 2.0 SPECIFICATION

[author : Brad Haakenson]

The recently released VESA BIOS Extension 2.0 specification extends the common, device-independent interface for accessing high-resolution/color-depth video modes on graphics controllers.

PROGRAMMER'S WORKBENCH

p.86 PROGRAMMING WITH OPENGL

[author : Ron Fosner]

OpenGL, a computer-industry standard based on SGI's graphics library, lets you create some amazingly complicated and realistic scenes on Windows-based PCs.

COLUMNS

p.109 PROGRAMMING PARADIGMS

[author : Michael Swaine]

Underscoring that everyone is getting on the Net, Michael discusses the Macintosh, WWW, and Mac WWW software.

p.115 C PROGRAMMING

[author : Al Stevens]

Al continues his presentation of IMail, an application that calls an Internet host and collects and sends e-mail. This month, he examines the two C++ classes that encapsulate the serial port and the modem.

p.121 ALGORITHM ALLEY

[author : Bruce Schneier]

Dean Clark addresses the problem of "color quantization" and describes how the popularity algorithm provides one method of mapping colors to images.

p.137 PROGRAMMER'S BOOKSHELF

[author : Lou Grinzo and Steve Gallagher]

Lou takes a look at Dave Edson's Dave's Book of Top Ten Lists for Great Windows Programming, while Steve examines C++ Class Library: Power GUI Programming with CSet++, by Kevin Leong, William Law, Robert Lowe, Hiroshi Tsuji, and Bruce Olson.

FORUM

p.10 LETTERS

[author : you]

p.144 SWAINE'S FLAMES

[author : Michael Swaine]

PROGRAMMER'S SERVICES

p.142 OF INTEREST

[author : Monica E. Berg]