Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Open GL scaling artifacts

Open GL scaling artifacts

All your problems with Audio, Video and Images.

Open GL scaling artifacts

Postby zaplitny » Mon Mar 09, 2009 11:38 am

I have a picture of size 512 x 1024 and draw it as a texture with GL_TRIANGLE_STRIP. When I zoom it with glScalef(zoom, zoom, 1.0f) artifacts begin starting from zoom = 2.5
1) When zoom between 2.5 and 12 there is artifact on triangles border as shown in attached picture
2) When zoom greater 12 texture is rotated on 180 degrees
Can anybody help?
P.S. I didn't test on real device. Can it be emulator's bug?
Attachments
artifact.JPG
artifact.JPG (6.64 KiB) Viewed 334 times
zaplitny
Freshman
Freshman
 
Posts: 4
Joined: Mon Mar 09, 2009 11:26 am

Top

Postby zaplitny » Mon Mar 09, 2009 7:36 pm

Also I noticed that the problem occurs when size of picture on emulator screen is greater than size of real picture.
zaplitny
Freshman
Freshman
 
Posts: 4
Joined: Mon Mar 09, 2009 11:26 am

Postby zaplitny » Tue Mar 10, 2009 11:31 am

Added simple code that reproduces the problem. Can anybody test it on emulator and on real device and say results?
Attachments
bug.zip
(12.06 KiB) Downloaded 110 times
bug.JPG
bug.JPG (15.44 KiB) Viewed 312 times
zaplitny
Freshman
Freshman
 
Posts: 4
Joined: Mon Mar 09, 2009 11:26 am

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: Google [Bot] and 5 guests