GLGalore, MorphOS & gl.TexEnv()

Discuss OpenGL® programming with the GL Galore plugin here

Re: GLGalore, MorphOS & gl.TexEnv()

Postby Allanon » Sat Mar 24, 2018 6:10 pm

Thank you for the answer...

I confirm that I can handle this behaviour inside of my library, simply checking the current platform and then using power of two textures where needed, the question is if all this effort is worth it, I mean that I may change my lib and after a few months the support on OpenGL side could be added, so I need to understand if it's planned and when, starting from MorphOS where the problem was found first.

From the other side I don't like very much the texture's size adjustment, for example, a background picture of 1366x768 should be wrapped to a 2048x1024 texture... a video memory waste...

I'd appreciate very much if any Hollywood devs could do a test to check on their machine if the "Power of Two" problem exists.
To do a very quick test just use the Warp test distributed with the GLGalore plugin and replace the "stars.png", which is a 128x128 image, with one with non power of two sizes.
If you need power of two textures on your system you will see garbage instead of the replaced image.

Tested so far:
- Windows : any textures accepted
- Linux : -- not tested --
- MorphOS : power of two textures needed
- AmigaOS4 : -- not tested --
- AmigaOS3 : -- not tested --
- MacOS : -- not tested --
- AROS : -- not tested --
User avatar
Allanon
 
Posts: 435
Joined: Sun Feb 14, 2010 8:53 pm
Location: Italy

Re: GLGalore, MorphOS & gl.TexEnv()

Postby emeck » Sat Mar 24, 2018 9:07 pm

Allanon wrote:Tested so far:
- Windows : any textures accepted
- Linux : -- not tested --
- MorphOS : power of two textures needed
- AmigaOS4 : -- not tested --
- AmigaOS3 : -- not tested --
- MacOS : -- not tested --
- AROS : -- not tested --


Hi Allanon. I've tested Hasteroids 20180210 under Linux with Debian 9 (stretch) amd64 and latest Raspbian on my RPi 3 and all displays correctly. Obviously it is not playable on the RPi.
User avatar
emeck
 
Posts: 48
Joined: Fri Apr 03, 2015 3:17 pm

Re: GLGalore, MorphOS & gl.TexEnv()

Postby airsoftsoftwair » Sun Mar 25, 2018 11:30 pm

OS3 and OS4: Power of two. Otherwise there is just a white rectangle.
User avatar
airsoftsoftwair
 
Posts: 2415
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany

Previous

Return to GL Galore

Who is online

Users browsing this forum: No registered users and 1 guest

cron