maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   How to remove blur around dialogs/banners (transitions.ini mod). (https://talk.maemo.org/showthread.php?t=59352)

xomm 2010-07-28 21:02

How to remove blur around dialogs/banners (transitions.ini mod).
 
Seems I was beaten to it, long ago. :) For more information on framerates, etc., check http://talk.maemo.org/showthread.php?t=43964 .

I've been messing around with transitions.ini again, and I'd figured I should try this. It looks pretty nice now. This removes blurring around drop-down dialogs, long-press/right-click menus, banners, etc.

http://lh6.ggpht.com/_kg1s4GwFNbM/TF...%20Dialogs.png

(Video will be up in a bit. Seems YouTube can be a bit finicky... Watch in 1080p! :D See my note about my videos at the bottom as well.)

Changing these values shouldn't leave your device in need of a reflash, but whatever happens, I'm not responsible for it.

--Removing Blur--
The options are under [home]. Your transitions.ini may look different. They're all the same values, and that's what matters.

Code:

[home]
saturation = 1
brightness = 1
zoom = 1
radius_more = 0
radius = 0
zoom_applets = 0

Explanations (all values are variable, meaning a scale from 0-1, they're not yes/no switches):

Saturation: Controls the color. 1 = Full Color, 0 = Black and White

Brightness: Controls the "brightness." This is a visual effect, it doesn't control the backlight. 1 = Full Brightness, 0 = Black.

Zoom: Creates a slight zoom effect. Best used with blur. 1 = No Zoom, 0 = Max Zoom.

Radius: The amount of blur to apply on the first dialog. 0 = No Blur, 1 = Max Blur.

Radius_More: The amount of extra blur to apply on extra dialogs that appear. 0 = No blur, 1 = Max blur.

Zoom_Applets: Haven't played much with this. I'm assuming it's the same as Zoom, but with the home screen widgets. 0 = No Zoom, 1 = Max Zoom. (Correct me if I'm wrong with this one.)

----

Somehow I've also managed to make the home screen fly in/out. I don't quite remember what I did, and I don't have time to check (summer school), but I think it might have something to do with setting all the "launcher out sequenced" to 1.

----

Note: Some people have told me that they encountered frame-stops in the "All" folder of Catorise.

Can anyone confirm with other menu styles?

Anyhow, I've also attached my transitions.ini file. Rename it from transitions.txt to transitions.ini and put it in Documents. (.documents)

All commands below are intended to be back-to-back. Don't press enter between typing the two file paths.

This creates a backup of your current transitions.ini called transitions.bak in Documents.

Code:

cp /usr/share/hildon-desktop/transitions.ini  /home/user/MyDocs/.documents/transitions.bak
Then, copy the new one in.

Code:

cp /home/user/MyDocs/.documents/transitions.ini  /usr/share/hildon-desktop/transitions.ini
If at any time you want to restore your original transitions.ini, use

Code:

cp /home/user/MyDocs/.documents/transitions.bak  /home/user/MyDocs/.documents/transitions.ini
----

Note about my videos (UnleashTehNoob).

I was about a few episodes in with the "Maemo Browser Wars" series when I realized how dry the videos actually were.

Same thing with "transitions.ini explained." I couldn't really produce anything worth watching.

In other words, I've pretty much lost interest in making videos regularly. I'll still be making videos on the occasion that I find something new, though.

mangal_sk8erboy 2010-07-28 22:20

Re: How to remove blur around dialogs/banners (transitions.ini mod).
 
hey man ive tried it but it says "no such file or directory"..
btw, can you do something about the framerate?
(btw does this current mod speed things up?

xomm 2010-07-29 00:22

Re: How to remove blur around dialogs/banners (transitions.ini mod).
 
Quote:

Originally Posted by mangal_sk8erboy (Post 768453)
hey man ive tried it but it says "no such file or directory"..
btw, can you do something about the framerate?
(btw does this current mod speed things up?

What step do you get the error on? Make sure you put a space between the two file paths. (like below for step 1, just don't actually type [space]) Also, try to use Tab to auto-complete names to avoid typos (If Tab doesn't work, it means there's more than one thing with similar beginnings).

Code:

cp /usr/share/hildon-desktop/transitions.ini [SPACE] /home/user/MyDocs/.documents/transitions.bak
Usually problems with the frame rate can just be solved by slowing the transitions a bit (though not too slow). Transitions involving the home screen will always be slow if you have too many objects (regardless of size) on the current panel.

That's pretty much what my set of transitions does. Slows things down so they look fluid, but not too slow as to inhibit function. Although I'm not too sure if removing blur improves performance, it definitely looks better.

(Actually, I think it has no effect; instead of rendering the blur, it now has to render the background. To increase performance, I'd guess you would make the background completely black with saturation = 0, brightness = 0, but I don't think that's a good idea...)

Benson 2010-07-29 01:07

Re: How to remove blur around dialogs/banners (transitions.ini mod).
 
1 Attachment(s)
Quote:

Originally Posted by xomm (Post 768356)
Explanations (all values are variable, meaning a scale from 0-1, they're not yes/no switches):

Saturation: Controls the color. 1 = Full Color, 0 = Black and White

Brightness: Controls the "brightness." This is a visual effect, it doesn't control the backlight. 1 = Full Brightness, 0 = Black.

Zoom: Creates a slight zoom effect. Best used with blur. 1 = No Zoom, 0 = Max Zoom.

Radius: The amount of blur to apply on the first dialog. 0 = No Blur, 1 = Max Blur.

Radius_More: The amount of extra blur to apply on extra dialogs that appear. 0 = No blur, 1 = Max blur.

Zoom_Applets: Haven't played much with this. I'm assuming it's the same as Zoom, but with the home screen widgets. 0 = No Zoom, 1 = Max Zoom. (Correct me if I'm wrong with this one.)

Either you or the comments in the stock transitions.ini are wrong here.
  • radius/radius_more are stated as "amount of iterations of blur filter" and given default values of 12 and 16, respectively -- obviously integers.
  • zoom_applets is described as "amount to scale applets by", so I'm pretty sure 1 is no zoom, 2 is increase, and 0.5 is decrease; it's unclear what 0 does for either of the scales, but it's probably special-cased, since actually scaling things by zero tends to introduce divide-by-zero errors. (IIRC scale factors greater than 1 actually do work as expected, though it's not typically desirable...)

It makes me wonder if you deleted your original transitions.ini, and had to reverse-engineer this from a comment-stripped sample? The original will be attached shortly, if that helps. :)

EDIT: attached!

xomm 2010-07-29 03:26

Re: How to remove blur around dialogs/banners (transitions.ini mod).
 
Quote:

Originally Posted by Benson (Post 768547)
Either you or the comments in the stock transitions.ini are wrong here.
  • radius/radius_more are stated as "amount of iterations of blur filter" and given default values of 12 and 16, respectively -- obviously integers.
  • zoom_applets is described as "amount to scale applets by", so I'm pretty sure 1 is no zoom, 2 is increase, and 0.5 is decrease; it's unclear what 0 does for either of the scales, but it's probably special-cased, since actually scaling things by zero tends to introduce divide-by-zero errors. (IIRC scale factors greater than 1 actually do work as expected, though it's not typically desirable...)

It makes me wonder if you deleted your original transitions.ini, and had to reverse-engineer this from a comment-stripped sample? The original will be attached shortly, if that helps. :)

EDIT: attached!

Hmm...

I was using the comments from Urho Konttori's Theme Maker package as reference.

I remember copying over someone else's transitions.ini (leetut over at maemo-freak?). That could be the culprit.

Anywho, I'll fix everything up tomorrow morning before summer school. It's 11:30 PM/23:30 here...

dscobsct 2010-07-29 04:02

Re: How to remove blur around dialogs/banners (transitions.ini mod).
 
you might want to check out my thread her
http://talk.maemo.org/showthread.php?t=43964
post#7 onwards

xomm 2010-07-29 15:35

Re: How to remove blur around dialogs/banners (transitions.ini mod).
 
Quote:

Originally Posted by dscobsct (Post 768660)
you might want to check out my thread her
http://talk.maemo.org/showthread.php?t=43964
post#7 onwards

Dang. And I thought I was onto something new... :p

I guess I'll be closing this now...


All times are GMT. The time now is 19:25.

vBulletin® Version 3.8.8