Page 10 of 23
Re: 0.6.0 Update
Posted: Sat Oct 03, 2009 7:14 pm
by Boder
Yes, you could potentially be wasting up to 3/4 of texture memory and slowing things down on cards that can handle non-pow-2, especially if you have a lot of images.
Re: 0.6.0 Update
Posted: Sat Oct 03, 2009 7:16 pm
by bartbes
Okay, that sounds like a disadvantage
Re: 0.6.0 Update
Posted: Sat Oct 03, 2009 11:07 pm
by rude
Boder wrote:The default should probably be to automatically pad images
Just so we're clear: it won't be.
Sardtok: I vaguely remember that TEXTURE_RECTANGLE extensions are quite different from normal textures. Can't really remember any details, though.
Re: 0.6.0 Update
Posted: Sun Oct 04, 2009 3:55 am
by Boder
texture_rectangle uses non-normalized texture coordinates like (width, height) (300, 100) instead of 0.0 to 1.0
and there are a lot of restrictions on filtering modes, etc
Re: 0.6.0 Update
Posted: Sun Oct 04, 2009 12:08 pm
by Sardtok
Shouldn't this be invisible to the löver (we should be calling LÖVE coders lövers)?
For instance LÖVE should check for support, pad if needed and handle the texture, so it doesn't seem padded to the löver.
By handle it so it doesn't seem padded, I mean coordinates should be identical whether or not it is padded, thus there's no change in the löver's code.
Although, I'm guessing it already hides the padding from the löver.
Re: 0.6.0 Update
Posted: Sun Oct 04, 2009 1:06 pm
by Robin
Sardtok wrote:we should be calling LÖVE coders lövers
We already do. That was decided in the Tuesday Convention.
Re: 0.6.0 Update
Posted: Mon Oct 05, 2009 9:13 am
by appleide
Boder wrote:The default should probably be to automatically pad images loaded to power-of-2, with the ability to check the card for non-pow-2 extensions and globally disable the behavior of automatic padding.
Seems like Rude has already made up his mind.
Re: 0.6.0 Update
Posted: Mon Oct 05, 2009 12:55 pm
by athanazio
any plans when the lövers will have 0.6.0 as the current version ?
Since I will present about LOVE on next October 7 (
http://www.lua.org/wshop09.html#Athanazio)
would be good to have such great news to share.
cheers
Re: 0.6.0 Update
Posted: Mon Oct 05, 2009 6:20 pm
by rude
athanazio wrote:Since I will present about LOVE on next October 7
Kick-ass!
If you need a date, you could always present this:
http://love2d.org/style/roadmap.png (if so, I can make a bigger one). Or I can pull a random date out of some horrible orifice: November 5th. In fact, make it 1257428220 sharp.
Re: 0.6.0 Update
Posted: Mon Oct 05, 2009 8:16 pm
by Robin
rude wrote:I can pull a random date out of some horrible orifice: November 5th.
If you make it 9 days later, I'd have the perfect birthday present.