Thanks but I did have glew32.lib. I only get this error when selecting release in VS2008 not for debug.
What else could I be missing? And how to tell to use static?
Many thanks again
Michael
Type: Posts; User: mikethebike
Thanks but I did have glew32.lib. I only get this error when selecting release in VS2008 not for debug.
What else could I be missing? And how to tell to use static?
Many thanks again
Michael
I'll have a look at glew on windows tomorrow, as I'm 99% on Linux. Anyway when do I use .dll and when *.lib?
Thanks
Hi
I'm confused and get "not resolved Symbol "___glewFramebufferTexture2DEXT".
I can debug/run in VS2008 ok but I get that in release config. I have glew32.dll and glew32mx.dll in my folder. Also...
I draw 2D terrain with glpoints. Now I can set alpha to 0.5 and see the white instrument numbers/descriptions behind but like that the colors are not very good. Hence I wonder if I could see only the...
so I hope you are...
I draw onto an instrument panel and want the white to be seen through my drawing. It's a dll so i cannot change the instrument only draw on top.
I've tried to remove the...
Hi
I want to see white from background. How? Even with this:
glblend online tool
I couldn't figure it out.
Thanks Michael
Hi
I do a x-plane plugin so I don't know what was used but I normally use:
/// Tell Xplane what we are doing
XPLMSetGraphicsState(0/*Fog*/, 1/*TexUnits*/, 0/*Lighting*/, 0/*AlphaTesting*/,...
Hi
If I make the black background transparent the white (aircraft instrument) symbols are blurred. Why?
I know, I could my new background 50% transparent and place it in front but the result is...
No, as I said 3D in FBO is ok so I need to make also glpoints visible in FBO.
Figured it out without FBO but the mesh is to pixelated, not usable?
It's a plugin (dll) for an OpenGl App so buffering, camera etc. is handled by that.
Yea, weird especially as above in FBO I don't understand why nothing is visible. Couly you tell me how to use...
I'm not sure about the coordinates but I could also draw in a FBO. But even like that the 2D drawing (3D is ok) is not visible....sigh.
if( DreiDimensional ){...
Thanks but still the same after moving loadidentity. I draw as below but with glrotate and/or gltranslate nothing is visible.
glBegin(GL_POINTS);
glColor3f(rgb[0], rgb[1], rgb[2]);
glVertex2f(z...
As a result I tried as below. tdir is the angle. But the rotation is not centered in the 128x128 mesh to draw.
Thanks
for (x=0; x<128; ++x) {
int xx = x * cos(tdir) - z * sin(tdir);
float...
Hi
glMatrixMode(GL_MODELVIEW);
glPushMatrix();
glLoadIdentity();
glDisable(GL_TEXTURE_2D);
glTranslatef(local_lat, local_lon, local_alt);
glRotatef(GetDataf(psi), 0, 1, 0);//heading...
glRotatef(GetDataf(psi), 0, 1, 0);//heading
Hmm, so why I cannot see anything anymore after adding the above line?
Hi
how to rotate a 2D mesh (glpoints, glVertex2f) with a given angle?
Many thanks
Michael
Hi
now I do:
glMatrixMode(GL_PROJECTION);
glPushMatrix();
glLoadIdentity();
glFrustum(-0.7, 0.7, -0.7, 0.7, 1, 5000);
glMatrixMode(GL_MODELVIEW);
...
Yes I do link: opengl - glu - glew32s and defined static. Still the same with Eclipse/MingW on Vista. But I got the very same working in VC2008. Any more ideas? Thanks.
Thanks now I did:
#include <GL/glew.h>
in init function:
GLenum err = glewInit();
if (GLEW_OK != err)
{
/* Problem: glewInit failed, something is seriously wrong. */
Hi
It compiles on Linux/Mac but on Windows I get the errors below.
Many thanks
Michael
..\main.cpp:50:15: error: 'GL_CURRENT_PROGRAM' was not declared in this scope
..\main.cpp:51:15:...
roll, pitch and heading of a 128x128 terrain relative to an airplane. Now first i need to put the pilot at the center.
Thanks
Hi
what am i doing wrong? I get effects like earth rotating around the sun etc. But of course the terrain should rotate around me.
Many thanks
Michael
glMatrixMode(GL_MODELVIEW);...
hi
how to flip my terrain around y?
Weird is that now i do
translate
rotate
rotate -
translate -
for the camera to be ok (seems so for now). Otherways it's like the earth rotating around...
Hi
I do something alike:
http://www.songho.ca/opengl/gl_fbo.html
now I need to get a side view of the teapot and be in the center of the rotations. I've tried all kind of gltranslate combinations...
Hi
I need to rotate on all axes a terrain. ok but now how to translate for looking from above and at distance?
glTranslatef(0, 70, -250);//distance and above?
glRotatef ...pitch heading etc.
...