Hey guys,
I’ve been trying, now for 3 days, to have a Cg program compiled and binded with JOGL.
My problem is quite simple, but yet frustrating. When I call CgGL.cgGLIsProfileSupported(), whatever the profile I give it, it returns false.
I have a Geforce 4 TI 4400, at least, but the very least, CG_PROFILE_VP20 should work.
I have:
- installed my vid card latest drivers (from nvidia)
- make sure I have only a single copy of cg.dll, cgGL.dll, jogl.dll, jogl_cg.dll and jogl.jar on my entire machine (no confusion possible)
- I downloaded the latest version of jogl from the current july 2005 folder
- I downloaded the Cg SDK 1.3 from jogl dev site, since the latest jogl has been linked to it.
Also, when I run the Cg\examples\runtime_ogl\Release\cgGL_vertex_example.exe from the SDK, it actually work.
The console shows:
#version 1.0.02
#profile vp20
#program main
and I see the rendered cube with correct vertex shading applied.
Any help would be much appreciated.
Peace.