[Qt-interest] Fwd: image processing

ami guru dosto.walla at gmail.com
Thu Mar 26 17:27:18 CET 2009


Hello Bijay,


Did you mean glTextParameter(.....) ?


In that case the first parameter would be GL_TEXTURE_2D,

What would be the second and the third parameter, because they will  be the
filter that
stretch or shrink the texture?


Regards
Sajjad


---------- Forwarded message ----------
From: Bijay Panda <bijay at analytica-india.com>
Date: Thu, Mar 26, 2009 at 3:14 PM
Subject: Re: [Qt-interest] image processing
To: ami guru <dosto.walla at gmail.com>


Hi,
You have provide  coordinates of the screen at which u want to render
through glParameter3i() as per ur type of image(like quard..).It won't
stretch or shrink.


2009/3/26 ami guru <dosto.walla at gmail.com>

> I am planning to do some image processing using the programmable graphics
> hardware.
>
> In that case i have read image as a texture and paste that on to a quad.
> The QGLWidget class has a bindTexture() funtion that do that operation.
>
> Does that above function wrap the texture by any stretch or shrink?
>
>
> I do not want that to happen. I would like to have that quad to be created
> according to the size of the image.
>
> And the whole glwidget viewport will be used to show the image.
>
>
> Any feedback will be of great help
>
>
> Regards
> Sajjad
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>


-- 
Thanks & Regards

Bijay .
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090326/59e09a29/attachment.html 


More information about the Qt-interest-old mailing list