oodmb wrote:the source is sent. good luck getting it to compile, if you cant, just try downloading jbuilder, its probably the most awesome java ide anyway.
btw, how'd all you people get access to computers and learn how to program them so long ago?
Thanks, I looked at it briefly and can't see much wrong with the triange intersection stuff (certainly nothing obvious leaps out that suggests why swapping the vertices would cause the whole thing to go wrong

)
Re: computers...
I think I was 12 (1982) when the home computer revolution started with the Sinclair ZX81 (3.25Mhz Z80, 1K RAM expandable to 16/48, monochrome UHF display) and I wrote a "Hello World" program pretty soon after that. Then I got a Sinclair ZX Spectrum for Xmas when I was 13 but it blew up twice (nearly caught fire once) so my parents got me a BBC Micro Model B (2Mhz 6502, 32K RAM, 16 colour display) which was far more reliable. I wrote my first ray tracer in BBC BASIC when I was about 15 and speeded it up significantly by writing a floating point library (well, actually it was 5 byte fixed point) and then the ray tracer on top of it (also in assembler). It supported specular reflection, refraction, diffuse spheres over a red/white checkerboard ground. I managed to simulate 16M colours by flashing up composite images and then recording them with an open-shutter camera. Even managed to make a nice animation of a mirrored-ball bouncing up and down
It was an overnight job to render a single frame at 160x256. Those were the days...
Ian.