Hello,
Hope I'm not too off-topic ... I'm looking to implement a very simplistic contrast tracker in GLSL ... for example, an algorithm that would track "hot" pixels in an IR or Night-vision...
Type: Posts; User: brcain
Hello,
Hope I'm not too off-topic ... I'm looking to implement a very simplistic contrast tracker in GLSL ... for example, an algorithm that would track "hot" pixels in an IR or Night-vision...
Hope I'm not too off topic ... besides the camera angles, I'm needing something that also does the image processing ... say a contrast tracker ... for example, an algorithm that would track "hot"...
Hello,
Where are the OpenGL 2.0 redbook examples?
The following only has up to OpenGL 1.4.
http://www.opengl-redbook.com/code/
Thanks,
Ben
Yep. I've been more of a Linux developer over the years. I totally missed that. I must have pulled that from long ago and never revisted. Thanks!!!
Used to do this ...
HDC deviceContext =...
This seems to work. Although it might be unorthodox. I placed the following code snippet in the glutIdleFunc(). This gives the OpenGL window time to be completely realized. If you call it before...
Just wondering ... is it possible to get the HWND of a GLUT window? ... to say define your own fonts with wglUseFontBitmaps().
I *know* I can (and have) used Win32 rather than GLUT. But, is it...
I was able to get GLSL to work with Fedora Core 2 after downloading the latest nVIDIA driver. I haven't tried lately with RH.
Does your card support overlay planes? Are you specifying the correct visual?
What's the output of /usr/X11R6/bin/glxinfo? You should see something like ...
visual x bf lv rg d st...
What version of Linux do you have? What type of graphics card?
Install the driver for your card and setup the configuration file (e.g. XF86Config).
For nVIDIA, can get driver at ...
Didn't mention this, but, for copying pixels to frame buffer use glRasterPos*() to set location for glDrawPixels().
Not sure if this is what you're after, but, try looking at OpenGL functions to copy an image to the frame buffer -- glDrawPixels(), glRasterPos*(), etc. You might also look at texturing a...
You can also write your own loader/renderer. Get the OpenFlight specification from http://www.multigen-paradigm.com/support/dc_standards.shtml
See WGL (Windows OpenGL Extensions) functions such as wglCreateContext, wglMakeCurrent, etc. Do a Google search, this FAQ, etc. and you'll find numerous examples of OpenGL and MFC.
The closest point on a line to another point p1 is the intersection of the line with a perpendicular line formed from the point p1 to the line. If testing with line segment rather than a line...
A bitmap is a rectangular array of 0's and 1's. OpenGL doesn't support pixmaps. Either look at texturing or copying image data directly into the frame buffer.
printf("OpenGL Version : %s\n", glGetString(GL_VERSION));
printf("OpenGL Vendor : %s\n", glGetString(GL_VENDOR));
printf("OpenGL Renderer : %s\n", glGetString(GL_RENDERER));
I'm looking for image processing algorithms to produce special effects (e.g. water droplets, ripples, wipes, streaks, tiling, etc.) using OpenGL/GLSL and DirectX/HLSL.
An sources of information or...
I've heard good things about wxWidgets. It's an open-source, cross-platform, C++ GUI framework.
You can do this directly with Motif/X.
Yes. See glXCreateNewContext and p663 of OpenGL redbook.
See the article at http://www.nvidia.com/object/quadro_geforce.html
One reason you might need a thread is for time consuming tasks. In other words, don't spend too much time in the idle callback. Otherwise, the UI will appear to lock-up. This is because the...
What GUI toolkit are you using?
Make sure that your event loops cooperate nicely. Are they in the same thread? If so, make sure you don't starve the GUI event processing. Otherwise your UI...
It's an issue of event-driven programming and user-interface responsiveness. The event-driven model doesn't look natural at first glance. But it makes sense for a lot of reasons.
Also, the main...
Could you not use the rotation rate approach ... and merely stop rotating when the particular button is released? ... more of a state-driven approach. Just a thought :)
What is zooning? Are you zooming for a 2D or 3D view.