From: Dimi (christop++at++fhw.gr)
Date: 01/27/2003 06:59:28
Hi ,
I have noticed some strange behavior of the pfTexture::subload function
on our Octane.
Whereas on the O2 and Onyx2 the behavior is as expected, on the Octane
subload is only
possible when using source, destination coordinates which are multiples
of 32.
The area to subload has also to be of size multiple of 32.
As an exaple this command would run fine on an Onyx/O2 but would have no
effect on out Octane.
tex_->subload (0, (unsigned int *) image_,
12, 12, 256,
12, 12,
32, 32);
The same with this example:
tex_->subload (0, (unsigned int *) image_,
0, 0, 256,
0, 0,
40, 40);
The example runs fine:
tex_->subload (0, (unsigned int *) image_,
0, 0, 256,
0, 0,
32, 32);
What could be the problem?
We are using Performer 2.5.
I tried setting the glPixelStorei(GL_UNPACK_ALIGMENT, 1) before the
subload but that didi not work also!!!
Thanks for any help
Dimi
This archive was generated by hypermail 2b29 : Mon Jan 27 2003 - 08:10:12 PST