i use em, they work
Type: Posts; User: ngill
i use em, they work
Anyone know how to enable floating point framebuffers with OpenGL?? The reason I want it is, because I want to have huge numbers of blending operations.
Is this even supported in OpenGL?? I am...
okay, if u just have a sky plane... it's pretty easy
draw two quads on the "ceiling":
farther one will have the sun texture mapped onto it blackpixels => alpha=0 there else alpha=1
closer...
Lev, thanks a lot!
jide, look here (the faq), it might answer some of your questions... the answer is they *are* optimized... it just depends on how much control you want to have over the data......
according to the article in game programming gems (the first one), submitting and rendering vertex info with gl*pointer and stride 0 are around 40% faster than glInterleaved arrays
but, all this...
hey akash...
zed is right... to clarify he means something like this as his second solution:
you'll need to do some setting up before you can use blending in OpenGL.
Good luck yaar.
oye nikhil yaar, get a Tnt2 those come in very cheap, and are good enough for a graphics course. Geforce2 MX is if you have a bit more money, and if cash is nothing to you get a whomping Geforce3!! ...
red book
I am always hearing about DX and it's shaders. What are they?
Are they just some fancy name for some OGL equivilent stuff? if then, what are the equivilants? I am not talking about extensions...
okay, AGPGART seems to be working... I compiled it in the kernel with support for my Ali board.
X is installed correctly! No more screen artifacts... as long as I use AGPgart... I heard that...
the system seems less stable now, and screen artifacts (like parts of windows are still there after I move/close them) are back. http://www.opengl.org/discussion_boards/ubb/frown.gif. I think I am...
the NvAgp option was set to 2, and AGP started working after that... so, I think I'll leave that alone for now, unless you have a better reason.
I'll try the other suggestion
oh btw, I added Option "NvAgp" "2" or something in my XF86Config file... it fixed up my AGP problems... which caused most of the problems! http://www.opengl.org/discussion_boards/ubb/smile.gif. But...
I did that http://www.opengl.org/discussion_boards/ubb/smile.gif
www.imsa.edu/~ngill
anything else?
oh come on! you can code your own fps counter... it's not hard at all!!
here's the pseudo code
start=current time
draw frame
end=current time
timeToRender=end-start //difftime()...
Okay, this is what I did
Compiled a kernel 2.4.6
installed nvidia_kernel
installed nvidia_glx
(by source)
fixed up the XF86Config-4 file
used the nv_check.sh to see if everything was working...
I'll try when I get back... (sunday). My problem isn't with fullscreen and stuff... its about freezing... X freezes 25% of the time when a GL app runs. ...
Just grab Mesa 3.5 from www.mesa3d.org... they have glut src included.
also
use something like the following to get opengl programs working
g++ program.cpp -o ./myProgram -lglut -lGL -lGLU...
Sure... I can be more specific. What do you mean when you say by wrong installation? That I might've overlooked something?? It's possible... what should I do next?? Unfortunately, I am away from my...
www.mesa3d.org!! http://www.opengl.org/discussion_boards/ubb/smile.gif
don't know if it'll work under MS Windows.
hmm... the nvidia's drivers off the site, are VERY unstable under my system... I have NO clue what could be wrong, X just hangs when trying to do OpenGL stuff. 25% of the time an app tries to do...
hmm... have you looked into using lightmaps at all?
I dunno... didn't it become standard in OpenGL 1.2?? I think that's what the SuperBible says...
Under Linux, I just downloaded Mesa 3.5 (OpenGL 1.2 finally!) yesterday... so, i'll try that...
I am using the following function call:
glTexImage2D(GL_TEXTURE_2D,0,1,Width,Height,0,GL_LUMINANCE,GL_FLOAT,data);
where data is an Width*Height array of GLfloats.
works fine... and shows me...
don't forget about edges and corners http://www.opengl.org/discussion_boards/ubb/wink.gif... u'll have to use another formula for them. But that should be easy to figure out.
Good Luck and Have...