Shader Programs finally

@Goliat:
My celtic videocard (Riva TNT2) doesn’t seem to support “GL_ARB_fragment_shader” and xith is crashing on “glUseProgramObjectARB(…)”.
How can I switch GLSL support off? There I see method “checkOnce( GL gl )”, but it doesn’t seem to be finished yet (maybe…)?

Bohdan.

Thanks, they came in with the patch and they existed in the LWJGL version, too. Now even the WaverTest is working :slight_smile:

Please try it once more. There actually was a static boolean field for that purpose. I commented it out, because it was never read. Now I’ve reactivated it (also in LWJGL) and added a check around the glUseProgramObjectARB(…) call. Please check, if it works for you now.

Thanks, Marvin! Now works perfect! ;D

Bohdan.

sorry, I was this week not at home - so I was only rarely online - and Goliat wanted to send me the new patch, so I didn’t commited the old one.

@Goliat: At least I found some time to do those joode changes, but I got stuck with the Spaces. The idea works fine, if all Geoms extend Geom and not each other, as it is the case, with Spaces. - nah anyways here is not the correct place to discuss that - I’ll make a post in physics

@ bohdan: sorry must have forgotten that about being happy that shaders worked :wink:
@ Qudus: thanks for submitting the stuff … and for the quick fix

@ arne: … no it isn’t :slight_smile: