From: Mark M. <pat...@lm...> - 2003-03-19 22:15:22
|
All, I have a working gl4Java application, but I am trying to add some texture mapping to it. I thought I have all my calls in order, but the textured polygons (actually Quads) are pure white. The application is pure 2D, no depth buffering, no lighting, and no normals defined. I was hoping to find a simple, short texture mapping demo application (no applets) that used textured mapping from, let's say, a hardcoded array of bytes representing the texture. I can't seem to find a good example. Any suggestions on my bug or a good example to study? (I already looked through the demos that come zipped from GL4Java, and I tried RonsDemos and MiscDemos, but they don't have a simple, straight forward RGB texture application that I could find.) Any help is greatly appreciated. -Mark |