.NET
java2gra.txt
Associated article: Java 2Graphics Rendering
Tags: .NET JVM Languages
Published source code accompanying the article by Torpum Jannak in which he presents an optimized graphics-rendering pipeline that addresses the performance concerns you may have when developing scientific visualization, action-based games, and similar resource-demanding applications. Also see JAVA2GRA.ZIP.
Java 2 Graphics Rendering
by Torpum Jannak
Example 1:
public void run() {
while (true) {
while (! m_paintQueue.isEmpty()) {
repaint();
}
synchronized(m_paintQueue) {
m_paintQueue.wait();
}
}
}
Listing One
import java.util.*;
public class ZBuffer extends Object {
public static final int MIN_Z_DEPTH = 2;
...


