0.6.0 Update

General discussion about LÖVE, Lua, game development, puns, and unicorns.
User avatar
Boder
Prole
Posts: 7
Joined: Thu Aug 27, 2009 5:47 pm

Re: 0.6.0 Update

Post 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.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: 0.6.0 Update

Post by bartbes »

Okay, that sounds like a disadvantage :P
User avatar
rude
Administrator
Posts: 1052
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

Re: 0.6.0 Update

Post by rude »

Boder wrote:The default should probably be to automatically pad images
Just so we're clear: it won't be. :joker:

Sardtok: I vaguely remember that TEXTURE_RECTANGLE extensions are quite different from normal textures. Can't really remember any details, though.
User avatar
Boder
Prole
Posts: 7
Joined: Thu Aug 27, 2009 5:47 pm

Re: 0.6.0 Update

Post 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
User avatar
Sardtok
Party member
Posts: 108
Joined: Thu Feb 21, 2008 2:37 pm
Location: Norway/Norge/諾威/挪威 (Yes, I'm teh back!)
Contact:

Re: 0.6.0 Update

Post 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.
Take off every Zigg for great rapist.
Now, outgay that!
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: 0.6.0 Update

Post by Robin »

Sardtok wrote:we should be calling LÖVE coders lövers
We already do. That was decided in the Tuesday Convention. :nyu:
Help us help you: attach a .love.
User avatar
appleide
Party member
Posts: 323
Joined: Fri Jun 27, 2008 2:50 pm

Re: 0.6.0 Update

Post 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. :death:
User avatar
athanazio
Citizen
Posts: 96
Joined: Fri Apr 10, 2009 3:12 am
Location: Rio de Janeiro - Brazil
Contact:

Re: 0.6.0 Update

Post 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
Nothing is simple but everything is possible.
User avatar
rude
Administrator
Posts: 1052
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

Re: 0.6.0 Update

Post by rude »

athanazio wrote:Since I will present about LOVE on next October 7
Kick-ass! :ultraglee:

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.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: 0.6.0 Update

Post 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. :nyu:
Help us help you: attach a .love.
Post Reply

Who is online

Users browsing this forum: No registered users and 56 guests