|
Post by Darkjester on Oct 28, 2008 19:15:09 GMT -5
Hello, Does any body know how to use gl extension in the dll sdk? How about returning a texture handle from bas4gl to the sdk? plz help i need this if it is not posible plz let me know before i rip hair out writing this particle engine
|
|
|
Post by Nicky Peter Hollyoake on Oct 28, 2008 19:27:07 GMT -5
What you mean?
|
|
|
Post by Darkjester on Oct 28, 2008 19:29:42 GMT -5
I want to use the gl_point_sprite extension but i dont know how to get the friggin scope to point to the headers extension unless im forgetting to tell windrivers that i want access to the gl_point_sprite_extension. As for returning the texture handle for the dll i wrote i want to make it so that you just specify a variable in bas4gl to allow people to bind a texture to the quad without the excess code thats in the bas4gl program.
|
|
|
Post by Nicky Peter Hollyoake on Oct 28, 2008 19:32:42 GMT -5
#include <GL/glext.h> ?
|
|
|
Post by Darkjester on Oct 28, 2008 19:33:41 GMT -5
Yea i got that much but when i go to compile with the extension if claims my scope of this object is out of range or simply not there.
|
|
|
Post by Nicky Peter Hollyoake on Oct 28, 2008 19:35:33 GMT -5
PM your code you're using, I'll see if I can spot the problem.
|
|
|
Post by Darkjester on Oct 28, 2008 19:39:30 GMT -5
ok thnx its there
|
|
|
Post by Nicky Peter Hollyoake on Oct 28, 2008 19:45:32 GMT -5
Three problems I found ...
1) "#include <GL/GlAux.h>" doesn't exist. 2) "GL_POINT_SPRITE" doesn't exist either, these 2 do though ...
* GL_POINT_SPRITE_NV * GL_POINT_SPRITE_R_MODE_NV
3) glTexEnvi() has 3 parameters ...
glTexEnvi(GLenum target, GLenum pname, GLint param)
Hope that helps.
- Nicky
|
|
|
Post by Darkjester on Oct 28, 2008 19:55:15 GMT -5
Yea i just got that lol rite before you posted it lol thnx
|
|