Hi Rune,
On Thu, 2004-10-21 at 04:01, Rune Laursen wrote:
>
> My IBR application is running on a cluster but I'm doing the texture
> updates on the display servers based on what they can see in the world
> so your solution works fine....almost :)
>
> Since the subrectangle data is contained in the original image it seems
> necessary to add the following calls to the
> TextureChunkPtr::handleTexture method
>
> glPixelStorei(GL_UNPACK_ROW_LENGTH, img->getWidth());
> glPixelStorei(GL_UNPACK_SKIP_PIXELS, ix);
> glPixelStorei(GL_UNPACK_SKIP_ROWS, iy);
>
> I think these states should also be reset to 0 at the of the
> handleTexture method.
Ack! Yeah, I only tested with a 1x1 pixel upper left corner update, so I
never saw the problem there, sorry about that.
Patched and committed.
Thanks
Dirk
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users