Image Render and draw

Hi Mabraham /Ken
I didn’t get any reply for below post pls can anyone reply .

I didn’t reply because I’m running out of ideas… :-\

Your hardware is very similar to one of my machines (dual Xeon with a Quadro 980XGL), and if I remember correctly, running my 1024x1024 texture demo I got ca 7ms and 14ms with and without using PBOs, respectively. This should scale quadratically with the tex dimensions i.e. I would expect around 30ms and 55ms for a 2048x2048 texture. The difference of 25ms between those last two figures actually compares to the difference between the timings you obtained on your system, which makes me suspect that something else consumes the remaining 90-odd milliseconds. Therefore, can you please take my original code with the 1024x1024 texture and run that. Also, what is your display configuration? You need to make sure your desktop is set to a 24-bit (32-bit??) colour depth. Do not set it to 16-bit. One more thing, you need to disable VSYNC for benchmarking, otherwise your timings will be a multiple of your monitor’s refresh rate (although that would not account for the poor performance). The NVIDIA Linux driver manual might tell you how to disable VSYNC.

Hi

Started from fresh and now I am able to get around 30 ms with PBO.Thx lot your support.
I think while wrapping the BuffereData I was doing wrong .

Now I want to zoom this image
I used following API but image didn’t zoomed any other API I have to look in …
// Zoom
gl.glLoadIdentity();
gl.glTranslatef(-15.0f,-15.0f,0.0f);
Pls can you help me out

Congrats on getting good performance! I think 30ms is the best you can expect from your 980XGL, around 530MB/sec throughput. A modern QuadroFX 4500 can do as much as 2.6GB/sec though, according to http://developer.nvidia.com/object/fast_texture_transfers.html, which should accelerate your timings substantially.

Regarding your question how to zoom the image, there would be several options, but certainly not applying a translation to whatever is your current matrix. If all you want to do is to zoom into the image then for instance you could adjust the texture coordinates when drawing the primitive, or transform your model (eg. http://www.rush3d.com/reference/opengl-bluebook-1.0/ch05.html#id5531421). Either way you can achieve panning, zooming, and even rotating or mirroring your image, at virtually no loss in speed.

You should probably start to read a good book on computer graphics and OpenGL. I’d also recommend the discussion forums hosted at opengl.org, specifically http://www.opengl.org/discussion_boards/cgi_directory/ultimatebb.cgi?ubb=forum;f=2.