Lol, thanks :) I wasn't looking anywhere above GL 2.1
Type: Posts; User: MickeyMouse
Lol, thanks :) I wasn't looking anywhere above GL 2.1
The topic pretty much explains my question.
Without ability to map piece of buffer, we're constrained to always working with whole buffer (and if it's large, it can become unacceptable performance...
Asked this in the beginners forum but got no answer, so I'll try my luck here ;)
When I'm calling wglGetPixelFormatAttribivARB to get WGL_SAMPLES_ARB value for some formats, I'm getting 0s or 1s...
When I'm calling wglGetPixelFormatAttribivARB to get WGL_SAMPLES_ARB value for some formats, I'm getting 0s or 1s (apart from getting 2, 4 and 8 for other formats).
Does anyone know what's the...
Hi,
I've been experimenting a bit with loading textures via PBOs and I'm a bit confused as to what's most reasonable approach here.
What I'm doing at the moment - every time there's request to...
Thanks a lot slang. I knew there will be someone who can help :)
Knowing link you gave me, I found this: http://www.doom3world.org/phpbb2/viewtopic.php?t=2547 , which has working download :)
Hi everyone,
I'm searching this forum through to find out the demo posted some time ago, like half a year ago, but with no success...
The demo I'm talking about demonstrated faked soft shadows...
Thanks everyone for discussion,
I was considering if there will ever be established any standard for a _really_ high-level graphics, which would let forget us about all that relatively 'low-level'...
OpenGL doesn't give you this info. This is how I had it done under Win32:
cVoid cWin32MainWindow::listGraphicModes()
{
LOG << "<i>Available graphic modes:\n";
::DEVMODE mode;
for (cInt i...
Ahh, you're right - shame on me being recently strongly influenced by Direct3D, which is a very slightly different :eek:
You're still simply doing it wrong way. You don't wait for ALL occlusion results, but just for the last one.
Here's what you should have:
Maybe try this:
1. Render color of all billboards to additional render target A with blending set to one-one.
2. Render depth of all billboards to additional render target B.
3. Scale color...
You're not doing anything I pointed out, nor you haven't read the spec ;-)
Notice the difference between GL_QUERY_RESULT_ARB in your code and GL_QUERY_RESULT_AVAILABLE_ARB in piece of code I gave...
GLuint available;
do {
DoSomeStuff();
glGetQueryObjectivARB(queries[i], GL_QUERY_RESULT_AVAILABLE_ARB, &available);
} while (!available);Read this for more details.
[Edit: GLuint...
Umm, I think I was misunderstood. Blame me for my english, but I'm far from thinking the way you suggest I do.
What I want is to hear what do you think is the direction we're currently moving to...
You need occlusion queries .
Hi everyone,
Sorry for a slight offtopic...
I'd like to hear your opinions on when (and why?), if ever, will we move from hardware acceleration to software renderers for stuff like games and...
That seems somewhat funny bug - looks like the driver's OpenGL operations' queue was full at the time you called glColor3f() and so your call was simply rejected / ignored.
Take a look at this .
If I understand you right, you want to render the scene from each lightmap texel's center (simulate hemisphere at each fragment by cube) and so, you'd be able to approximate total incoming light at...
You might want to see my old caustics demo made just for the university presentation. It's dirty, but shows well correct caustics for flat water pool bottom case. Search for caustics in 3d stuff .
...
With my 6600 all of the demos run, but the timbury one is like slideshow (after 1 minute startup), one picture every 5 seconds. Nalu and sailing demos look like >=15 fps, which is enough to say it's...
Do you know what kind of postprocessing filtering is used in "Prince of Persia WT", so they have those nice glows around windows?
Here is one screenshot: ...
It would be very nice if someone took .fx file format and did something like CgFX, but without all those bugs.
Even better would be if an ARB stated common C API on top of OpenGL for handling FX...
To load a 3ds file you don't need OpenGL at all and OpenGL won't help you doing it in any way...
To find sample code on loading 3ds file and then displaying it using OpenGL take a look here or ...