I am at the moment working on the new engine for our game developing firm and till now all went fine, but when I now tried to implement the use of fences I got a little shocked, when I had to read that the needed functions are all unknown (missing in the headers I included). So I opened the VAR demo of which I know they using fences and more than “what the…” I couldn’t think anymore, when I saw, that they are using totally different headers for the extensions and also the function for theirs initialisation was named different.
The headers I’m using at the moment were as well published by NVidia, in these the function for initialisating an extension was “InitExtension” like InitExtension(“GL_NV_vertex_array_range”);, but in the VAR-demo it’s init_ext as I remember. I tried to include the headers used in the VAR-demo next to the others, but I didn’t get the DLL compiled anymore. To make it short:
-Which files I need to include, which defines do I have to make and where can I get these files from, if they’re not included in the actual GL SDK, so that I’m able to use:
-basical GL commands
-VAR
-Fences
-NVParse
-all other actual NVidia extensions
It would be great, if someone could write down here how the head had to look like, so that all functions are available… and the project still compilable.
Thanks,
Michael Ikemann / VX Software Gmbh.