PDA

View Full Version : CG Runtime and ATI



azcoder
08-21-2003, 07:05 AM
Sorry slightly OT -
My question is, does the CG runtime work with ATI cards?

In order to remain gpu nuetral is it just better to compile with cgc(or code directly to ARB_Vertex_Program)?

Thanks in advance for any help

velco
08-21-2003, 10:58 PM
Originally posted by azcoder:
Sorry slightly OT -
My question is, does the CG runtime work with ATI cards?


Yes.



In order to remain gpu nuetral is it just better to compile with cgc(or code directly to ARB_Vertex_Program)?


You can link to libCg.so and libCgGL.so and compile from Cg during runtime, or compile offline with no need to link to the above libraries. Both alternatives are GPU neutral (modulo QoI issues).

~velco

M/\dm/\n
08-21-2003, 11:33 PM
BTW, cgc will try to optimize code for NV3x, that considerably differs from R3xx!