With my little wrapper dll, you can get complete access to the OpenGL side of the
NVIDIA's Cg Toolkit from Visual Basic 6.
The attached example, starts loading a Vertex Program and a Fragment Program (vertex shader) from a text file, then updates the value of a Uniform Parameter on every render frame.
File List:
55170-55170/
0b
55170-55170/03_uniform_parameter.exe
44Kb
55170-55170/C2E2f_passthru.cg
314b
55170-55170/C3E1v_anycolor.cg
486b
55170-55170/frmMain.frm
8Kb
55170-55170/frmMain.frx
12b
55170-55170/mdlCG.bas
28Kb
55170-55170/vbCG.dll
52Kb
55170-55170/vbCGej3.vbp
1Kb
55170-55170/vbCGej3.vbw
75b
Similar code
5 Different compression algorithms in QB basic
(Popularity: ) : Modified LZ78 Encoder, LZ78 Decompressor, A static Huffman
compression program, A static Huffman decompression program ...