July 1995 - GRAPHICS PROGRAMMING


FEATURES

SINGLE-IMAGE STEREOGRAMS

by 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.

A RAY-CASTING ENGINE IN C++

by 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."

PNG: THE PORTABLE NETWORK GRAPHIC FORMAT

by 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.

IMPLEMENTING AND USING BSP TREES

by 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.

JPEG-LIKE IMAGE COMPRESSION, PART

by 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

THE FUTURE FOR PROGRAMMABLE LOGIC

by 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

AN ARCHITECTURE FOR NETWORK SIMULATION

by Peter D. Varhol

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

EXAMINING ROOM

EXAMINING THE VESA VBE 2.0 SPECIFICATION

by 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

PROGRAMMING WITH OPENGL

by 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

PROGRAMMING PARADIGMS

by Michael Swaine

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

C PROGRAMMING

by 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.

ALGORITHM ALLEY

edited by Bruce Schneier

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

PROGRAMMER'S BOOKSHELF

by 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

EDITORIAL

by Jonathan Erickson

LETTERS

by you

SWAINE'S FLAMES

by Michael Swaine

PROGRAMMER'S SERVICES

OF INTEREST

by Monica E. Berg


Copyright © 1995, Dr. Dobb's Journal