@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet


Comments:

<0> I knew there would be a channel :)
<0> I need to know more about loading extensions. if I load 1.4, to I get all the other versions before it too ?
<1> how are u loading your extensions
<0> I'm still tring to figure that one out :) I just jump in on a friends quake mod
<1> u know what a function pointer is ;p
<0> it looks like it loads each function one by one
<0> yes, I know what a function pointer is :)
<2> you should use a lib like GLEW or Glee
<2> it will do all the stuff for you
<1> ^



<1> yeah basically
<1> but all they do is call (eg for windows) wglgetprocessaddress("functionname");
<0> nah, it'll make it less likely to get my code added to the release
<3> release of what ?
<3> and you'll have to load them somehow
<3> windows opengl dll is still 1.1 so they have to be loaded manually or loaded automatically by another library ... glew as ^Fishman mentioned works great
<1> what are the standard libaries for linux?
<1> ie what version
<3> you can build them for the current version of opengl
<1> so ogl 2.0 ?
<0> it looks like it uses a version of wglgetprocessaddress or if that fails, GetProcAddress
<1> surely it would be better to strip opengl down to nothing
<3> dukey: yes
<1> and just use a standard libary to load function pointers directly from the opengl driver
<3> not if its a portable app
<0> ok, so with wglgetprocessaddress, I have to load each function I need ?
<3> then using glew would be ideal, and it is ideal even when its built for a single platform
<1> why not ZeZu ?
<3> uh b/c then you have to write code for multiple platforms obviously
<3> GetProcAddress is definitely a windows thing ..
<1> yeh that is
<1> i mean if you reduced opengl32.dll down to glGetProcessFunction("blah");
<1> then if there existed standard libarries to handle all the function pointer stuff
<1> like for immediate mode, surely that would avoid an extra copy from the opengl32.dll -> driver?
<3> uh
<3> not really
<3> if you want to get into that you would then want to get the process info on the loaded dll and process the PE file yourself and all the relocations manually
<3> not worthwhile ...
<0> why not just let video card drivers over ride opengl32.dll ?
<3> which is what happens of course
<4> Does anyone have a link for getting OpenGL installed an running on Visual C++ express?
<4> I can't for the life of me get it setup properly
<5> I thought opengl libraries and headers came with the MS compilers, the extension header was just outdated though
<4> Hmm, let me try, I started coping gl files to my Visual Studio folder and adding the dll files to my SYSTEM folder, so I don't know if the errors are from that or what
<4> Let me try to get back to a stock c++ and see what I get
<4> Nope, I'm still getting "fatal error C1083: Cannot open include file: 'gl/glut.h"
<6> glut is not opengl, it's an extra thing... I don't remember the url you download it from
<4> Yeah, I tried adding the glut libraries as well but still nothing
<5> Did you add the glut.h file to the proper include directory?
<1> http://www.xmission.com/~nate/glut/README-win32.txt



<4> Yeah, I have glut.h in: C:\Program Files\Microsoft Visual Studio 8\VC\include\GL
<4> dukey: checking that link now
<1> good, was first link on google :p
<4> Yeah, actually I tried that one now that I'm reading it
<4> But when I built the glut32.dll it kept telling me that no winow.h or something to that affect was found
<1> why build glut ?
<1> just download the precomiled binaries
<4> The files I am using are the precompiled binaries
<4> I d/led them from that site, added them to the proper dir. and am getting the error C1083 error above
<4> Also tried building them which is when I got the above error
<1> :p
<1> dont build glut
<1> unless u need to !
<4> I know, I only built it when I was getting the first error
<5> Put the headers and libraries in the proper directories, as you would for any other library, it can't be too complex...
<1> especially when the readme says copy x here and y here
<1> and bingo you've finished :p
<4> Yes, I know, I copied x here and y here
<1> then when u run your program copy a glut.dll to same path
<1> or copy it to system directory
<1> whatever
<4> And when I tried to compile my program I got fatal error C1083: Cannot open include file: 'gl/glut.h"
<1> thats because..
<1> its not in a path where your compiler expects it
<1> make sure you copied the header file to the correct location
<4> Yeah, I'm checking that now, the paths have changed a bit from the directions to the new express one
<4> Thanks
<1> np
<7> can i draw point or symbol withot window? on display
<8> hm.. i don't think so.... but you could capture the current screen, when you start your program. then you draw that screenshot at the beginning of each draw-loop before your points and symbols.... :)
<6> it all depends on your windowing system, if you can bind your context to, say, a root window, then sure... otherwise, no.
<8> with root window you mean something like the desktop in windows?
<6> um, I guess... I don't do windows... I'm more of a unix kinda guy :)
<8> :)
<1> [13:41] <7> can i draw point or symbol withot window? on display
<1> i think so, isaw a demo which drew a rotating cube on your desktop, without anything else
<1> but dunno how it worked :/
<9> any opengl intro coders here?
<8> <- :)
<9> can we PM?
<8> crYpe is another one ;)
<8> sure


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #opengl
or
Go to some related logs:

#beginner
vasko embola
#goal
ehtiopian parliament
#beginner
BEFSR41v2 torrent
#worldcup
constitution revelution
#politics
#opengl



Home  |  disclaimer  |  contact  |  submit quotes