Xith3D Gurus I summon you

I’m having trouble setting up perpixel lighting using Xith3D.
I pretty much spent a whole night working on it, and yet I can’t get it right.
I’m positive the only flaw in my code is the way I’m declaring TextureUnitState, therefore I’m putting the source up with hope that someone would figure out what I’m doing wrong.
Source and Media
Jar needed to set up the main class
PS: Since I’m using targa files with a modified Xith3d.jar, one could very possibly convert the media into png, jpg etc and have the demo running

Aside:

I just committed your patch into CVS regarding the BMP and TGA files.

Will.

[quote]Aside:

I just committed your patch into CVS regarding the BMP and TGA files.

Will.
[/quote]
Thanks :slight_smile:

http://www.realityflux.com/abba/Java_Duke.gif

Bumpty bump bump :stuck_out_tongue:

OK looking at the source code, I ain’t seeing GL_DOT3_RGB_EXT implemented, is this right?
I might as well take the code, add few functions and show it here :stuck_out_tongue: