Thanks guys, has anyone seen Zbuffer's idea implemented in GLSL? I'm hoping to get something of a real time frame rate - and pbuffers may slow things down (in addition to limiting resolution).
Type: Posts; User: JoeMac
Thanks guys, has anyone seen Zbuffer's idea implemented in GLSL? I'm hoping to get something of a real time frame rate - and pbuffers may slow things down (in addition to limiting resolution).
Hi All, Trying to get a pixel shader working on the final full screen after rendering. Any one know if you can apply a shader directly to the back buffer, or will I have to do pbuffer or convert to...
I'm fairly new to Matlab, but fairly old to GL. http://www.opengl.org/discussion_boards/ubb/smile.gif I just found myself thinking the same question. My first guess would be to compile any...
Something as simple as synchronising to the monitor refresh may help. If you are not doing this you may be rendering many times for each actual 'draw'.
Joe
Haven't used glut before, so if your problem is there, I can't help. I use CW5 all the time and have some C++/GL sample code on my we page. www.cs.dal.ca/~macinnwj
Code warrior project files and...
You can get respectable real-time performance on linux and Win without patches. I have an article and source code (C++, not glut) at http://www.cs.dal.ca/~macinnwj
The linux full screen mode is...
Its been ages since I've wriiten in Java, but memory tells me there me be some issue with the size of a byte??? Try set the array to GLubyte. Also, is there a reason your array isn't...
Well, with the function above, I get 8 fps , without it I get 60+ (synched). And this is 640x480, GL_RGB for the window and the readpixels.
I realize that readpixels has a high bandwidth, but I'm...
Check out my recent thread testing a very similar application. The top speed we were able to get was 8-9 fps, or 120ish milliseconds. ...
Fraction of a fps difference going though all combinations that I could think of, including GL_LUMINANCE : 1-4 Byte alignment as appropriate.
Joe
Thanks for the tests everyone.
JWattte, Barthold, I've posted my processing code. I actually use GL_RGB, and as far as I can tell, it should be supported. Any advice on optimizing would be...
Yakuza: I'd like to see the numbers anyway. If the 7200 does nearly the sam job, I'll save the extra money. Its starting to look like none of these cards do a decent job on glreadpixels.
Joe
Part of the bottleneck is the FFT, but the following is what I get on my 1.2G Athlon with a Radeon VE
No draw/readpixels or FFT - 85 fps (monitor refresh)
draw/readpixels, no FFT - 3 fps...
I get the picture. I know my Fourier Transform isn't very fast, but I was hoping that some cards would deal with the read/draw pixels a little better. Any Radeon's out there?
Joe
Looking for volunteers to test a piece of code for speed. It combines FFT (high pass) with Read/drawpixels so don't be surprise if the scene looks a little odd. I have to make a recommendation for...
Any (windows) cards have extensions for this yet? Any Plans? 1.3? 2.0?
Joe
A friend of mine did her PhD thesis on an opengl model of the hand (Realistic movement with a neural net) - you may find some useful links on her web site: ...
Thanks Bob, You've lead me to a minor bug, but my big problem was my textures. I didn't realize that glDrawPixels was sensitive to textures.
Joe
Hi Everyone,
I realize this is a common question, but reviewing the faq's and redbook hasn't helped. Its probably an assumption I'm making, so maybe a few thousand fresh eyes may help. I'm trying...
My preference is Metrowerks Codewarrior. Its compatible with all of the vis c code, but with an IDE (and debugger) on par with Borland. Same IDE for mac, windows and linux is also very convenient....
Thanks for the hints, but PUI, MUI and GLUI (aren't they Donald Duck's nephews?) only work with GLUT programs.
MA- do you remember the name of these libraries?
SK-Are you referring to the OpenGL...
Does anyone know of any User Interface classes for win32 that don't use glut? I don't need anything complicated.
Joe
Whoops,
Just noticed the 'MFC' in the title. I actually created my own custom window class. MFC uses the windows messaging system which would be over-ridden with REAL_TIME_PRIORITY_CLASS, so...
Hi,
You may want to check out my paper- Millisecond Timing on PCs and Macs, just published in BRMIC. paper and source code can be found at http://www.cs.dal.ca/~macinnwj/
I actually found that...
Here's an old piece of assembly that may (or may not) still work. Check your compiler's method for including assembly
Joe
void vsync()
{
__asm
//wait for vertical sync
{...