Login  Register

CG errors in jogl-demos...

Posted by jiapei100 on Jun 05, 2011; 7:52pm
URL: https://forum.jogamp.org/CG-errors-in-jogl-demos-tp3027394.html


Hi, all:

I guess current jogl (in jogamp) doesn't support CG because I can't find the files named
CGcontext.java, CGprogram.java, CGparameter.java, CgGL.java, etc.
In such case, 3 files under jogl-demos/src won't be able to be compiled.

1) demos.cg.runtime_ogl/cgGL_vertex_example.java
2) demos.cg.runtime_ogl_vertex_fragment/runtime_ogl_vertex_fragment.java
3) demos.hdr/CgPipeline.java

My question is
1) is it possible that because my computer is with ATI video card, so that some of the classes files built upon the native codes    haven't been produced, which may have defined CGcontext, CGprogram, CGparameter, CgGL, etc.???
2) An additional silly question: Is CG only for NVidia Video Card?

Thank you very much.

Cheers
Pei
Welcome to Vision Open http://www.visionopen.com