Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
8 crawler(s) on-line.
 146 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 pixie:  31 mins ago
 CosmosUnivers:  54 mins ago
 Musashi5150:  1 hr 23 mins ago
 AmigaPapst:  1 hr 23 mins ago
 RobertB:  1 hr 28 mins ago
 jPV:  1 hr 42 mins ago
 ppcamiga1:  1 hr 48 mins ago
 matthey:  3 hrs 32 mins ago
 DiscreetFX:  4 hrs 31 mins ago
 djnick:  4 hrs 51 mins ago

/  Forum Index
   /  Amiga OS4.x \ Workbench 4.x
      /  Should OS4 switch to vector icons?
Register To Post

PosterThread
ChrisH 
Should OS4 switch to vector icons?
Posted on 23-Nov-2006 19:18:43
#1 ]
Elite Member
Joined: 30-Jan-2005
Posts: 6679
From: Unknown

Given how efficient the Amiga OS generally is, it seems kind of odd that our icons are getting larger & larger (with PNG being the latest increase). Compare this with Haiku, which now has an incredibly efficient vector icon format, which is typically smaller than bitmaps:
Haiku Icon Facts

Amiga OS has always been slow at displaying icons, and something like vector icons could help reverse this trend.

Further techy details on the icon format:
Why Haiku Vector Icons are So Small

Food for thought, and perhaps something Hyperion should think about for OS4.1 ...

_________________
Author of the PortablE programming language.
It is pitch black. You are likely to be eaten by a grue...

 Status: Offline
Profile     Report this post  
Timo 
Re: Should OS4 switch to vector icons?
Posted on 23-Nov-2006 19:40:23
#2 ]
Regular Member
Joined: 28-Feb-2005
Posts: 119
From: Germany, Berlin

@ChrisH

PNG icons are often smaller than 256 color normal icons, because they are compressed.
And I think that showing WB icons is quite fast on OS4.

 Status: Offline
Profile     Report this post  
Chris_Y 
Re: Should OS4 switch to vector icons?
Posted on 23-Nov-2006 19:51:52
#3 ]
Elite Member
Joined: 21-Jun-2003
Posts: 3203
From: Beds, UK

@ChrisH

OS4 is very quick at displaying icons. If you open a drawer you can see that there is some delay there. However, closing and reopening the same drawer displays them instantly, so I think this is just a disk access issue (using SFS here, so on the second attempt the .infos are all cached)

IIRC the latest beta icon.library has the ability to scale icons and supports 32-bit and plug-ins. Somebody could write a plugin for vector icons I would think.

One of the charms (and thus, problems) of AmigaOS is that icons don't have a fixed size. If you changed to a vector format, you would either be stuck with all the icons the same size (not good, I like having program icons bigger than all the supporting documentation etc in a drawer), or have to specify the size for each icon individually - which would be a nightmare to change the icon size of all icons. There would have to be icon size values and some sort of global scaling factor - but would the global scaling affect the bitmap icons as well?

Lots of things to think about.

Chris

_________________
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar is Tabitha by Eric W Schwartz

 Status: Offline
Profile     Report this post  
elwood 
Re: Should OS4 switch to vector icons?
Posted on 23-Nov-2006 19:54:57
#4 ]
Elite Member
Joined: 17-Sep-2003
Posts: 3428
From: Lyon, France

@ChrisH

Quote:
Food for thought, and perhaps something Hyperion should think about for OS4.1

I bet they already thought about it

_________________
Philippe 'Elwood' Ferrucci
Sam460 1.10 Ghz
AmigaOS 4 betatester
Amiga Translator Organisation

 Status: Offline
Profile     Report this post  
saimo 
Re: Should OS4 switch to vector icons?
Posted on 23-Nov-2006 20:22:15
#5 ]
Elite Member
Joined: 11-Mar-2003
Posts: 2453
From: Unknown

@ChrisH

Quote:
Amiga OS has always been slow at displaying icons,

As others have pointed out, with AOS4 this is not true anymore - I'm not saying it could not be even better, though; who knows, maybe the new icon system had improvements also in that area (BTW: can anybody in the know share any information about it).

Quote:
and something like vector icons could help reverse this trend.

Well, actually vector icons are likely to be slower because they have to be rendered on the fly by means of a much more complex process than a simple read-write (with alphablending). Of course, caching would help... but then you would end up losing the size advantage you like so much

saimo

_________________
RETREAM - retro dreams for Amiga, Commodore 64 and PC

 Status: Offline
Profile     Report this post  
nubechecorre 
Re: Should OS4 switch to vector icons?
Posted on 23-Nov-2006 20:42:28
#6 ]
Cult Member
Joined: 21-Nov-2003
Posts: 895
From: San remo -Italy-

@saimo

The new icon.library written by Massimiliano Tantignone has a plug in system in order to add more icons format

So i think it could be possible to add even that format..

_________________
GDG-Entertainment
OS4Games
Iksnet
Bitplane

 Status: Offline
Profile     Report this post  
Severin 
Re: Should OS4 switch to vector icons?
Posted on 23-Nov-2006 21:12:11
#7 ]
Elite Member
Joined: 19-Aug-2003
Posts: 2740
From: Gloucestershire UK

@Timo

Quote:

PNG icons are often smaller than 256 color normal icons, because they are compressed.
And I think that showing WB icons is quite fast on OS4.


I converted a 32 colour glowicon drawer image to the new 24bit format and the size went from 3763 bytes down to 878 bytes.

_________________
OS4 Rocks
X1000 beta tester, Sam440 Flex (733)

Visit the Official OS4 Support Site for more help.

It may be that your sole purpose is to serve as a warning to others.

 Status: Offline
Profile     Report this post  
ssolie 
Re: Should OS4 switch to vector icons?
Posted on 24-Nov-2006 15:53:00
#8 ]
Elite Member
Joined: 10-Mar-2003
Posts: 2755
From: Alberta, Canada

@nubechecorre
Quote:
So i think it could be possible to add even that format..

It is possible.

_________________
ExecSG Team Lead

 Status: Offline
Profile     Report this post  
ChrisH 
Re: Should OS4 switch to vector icons?
Posted on 24-Nov-2006 16:11:52
#9 ]
Elite Member
Joined: 30-Jan-2005
Posts: 6679
From: Unknown

@saimo who said Quote:
Well, actually vector icons are likely to be slower because they have to be rendered on the fly by means of a much more complex process than a simple read-write (with alphablending).

No, if you read the Haiku articles, their icons are both smaller than bitmaps (so faster to read) and only need one pass to generate each pixel. Yes, vector would still take more CPU power than bitmap to render, but disk delays far outweight CPU delays on a vaguely modern system (even on A1s;).

Still, I haven't actually seen PNG icons in action on OS4, so maybe they are sufficiently fast & efficient that vector icons wouldn't be much faster.

_________________
Author of the PortablE programming language.
It is pitch black. You are likely to be eaten by a grue...

 Status: Offline
Profile     Report this post  
MigthyMax 
Re: Should OS4 switch to vector icons?
Posted on 24-Nov-2006 16:21:06
#10 ]
Member
Joined: 22-Jul-2004
Posts: 58
From: Unknown

@ChrisH

Quote:
No, if you read the Haiku articles, their icons are both smaller than bitmaps (so faster to read) and only need one pass to generate each pixel. Yes, vector would still take more CPU power than bitmap to render, but disk delays far outweight CPU delays on a vaguely modern system (even on A1s;).


I read the articles, but couldn't figure out how they enforce that only one pass is needed. Did you understand it?

 Status: Offline
Profile     Report this post  
gnarly 
Re: Should OS4 switch to vector icons?
Posted on 24-Nov-2006 16:28:12
#11 ]
Cult Member
Joined: 16-Mar-2003
Posts: 742
From: Cheltenham, UK

@ChrisH

Possibly maybe. There's been an awful lot of mac-oriented discussion on this subject recently - mainly due to OSX Leopard's new resolution-independent GUI features. There's a few problems with vectors:

- File size, though Haiku seems to have worked around that.

- Speed vs Complexity: They can get very complex indeed (when compared to a bitmap icon) and current GFX cards are much better at rendering bitmaps than vectors.

- Rendering at small pixel sizes: At something like 12x12, a complex vector won't be nearly as nice as a pixel icon developed especially for that size.

The consensus seems to be that creating a hybrid icon format would be a good way forward: It could contain pixel icons for a few smaller defined sizes (e.g. logical steps from 12x12 up to 128x128), then a vector icon that's used for bigger renderings.

TBH, I'd rather they got OS4 out the door, than trying to force a new icon format on developers at this stage. The rest of the GUI isn't exactly resolution independent yet anyway, is it?

_________________

 Status: Offline
Profile     Report this post  
saimo 
Re: Should OS4 switch to vector icons?
Posted on 24-Nov-2006 17:00:44
#12 ]
Elite Member
Joined: 11-Mar-2003
Posts: 2453
From: Unknown

@gnarly

Thanks gnarly, I'll continue my discussion using these starting point of yours.

Quote:

- File size, though Haiku seems to have worked around that.

This has actually to be seen... how about complex icons (the ones shown in the screenshot, for example, are not)?

Quote:

- Speed vs Complexity: They can get very complex indeed (when compared to a bitmap icon) and current GFX cards are much better at rendering bitmaps than vectors.

Precisely. The CPU involvement is far superior.

In all, I think this discussion a bit baseless as there are not enough figures. What one would need is having the same icons (of varying complexity) in both bitmap and vectorial formats and test them on different systems with different filesystems and HDs.
With all the figures at hand, it would be easy to see when vector icons are convenient and when they are not.

saimo

_________________
RETREAM - retro dreams for Amiga, Commodore 64 and PC

 Status: Offline
Profile     Report this post  
saimo 
Re: Should OS4 switch to vector icons?
Posted on 24-Nov-2006 17:05:02
#13 ]
Elite Member
Joined: 11-Mar-2003
Posts: 2453
From: Unknown

@ChrisH

Quote:
No, if you read the Haiku articles, their icons are both smaller than bitmaps (so faster to read) and only need one pass to generate each pixel. Yes, vector would still take more CPU power than bitmap to render, but disk delays far outweight CPU delays on a vaguely modern system (even on A1s;).

The point is that the size difference may be little to nothing ;)
- (not much) more in my previous post.

saimo

_________________
RETREAM - retro dreams for Amiga, Commodore 64 and PC

 Status: Offline
Profile     Report this post  
_Steve_ 
Re: Should OS4 switch to vector icons?
Posted on 24-Nov-2006 17:37:49
#14 ]
Team Member
Joined: 18-Oct-2002
Posts: 6808
From: UK

@ChrisH

I'd like to see it rendering a screen full of much more complex icons before making a judgement. The screenshot given only has a handful of icons looking a lot like the original "newicon" style (which tbh, I really hated).

_________________
Test sig (new)

 Status: Offline
Profile     Report this post  
OldFart 
Re: Should OS4 switch to vector icons?
Posted on 24-Nov-2006 18:04:07
#15 ]
Elite Member
Joined: 12-Sep-2004
Posts: 3060
From: Stad; en d'r is moar ain stad en da's Stad. Makkelk zat!

@ChrisH

O.K. with me, sure. as long as we have an GlowIcon-ish style. I personally have a healthy dislike for the PNG types!

Sure a thing that Hyperion should look into and consider.

OldFart

_________________
More then three levels of indigestion and you're scroomed!

 Status: Offline
Profile     Report this post  
ssolie 
Re: Should OS4 switch to vector icons?
Posted on 24-Nov-2006 19:58:56
#16 ]
Elite Member
Joined: 10-Mar-2003
Posts: 2755
From: Alberta, Canada

@OldFart
Quote:
I personally have a healthy dislike for the PNG types!

It isn't the PNG file format's fault for the icons. Fortunately, soon you won't care what format the icon is in and it will just magically work once we have icon modules for them.

_________________
ExecSG Team Lead

 Status: Offline
Profile     Report this post  
OldFart 
Re: Should OS4 switch to vector icons?
Posted on 24-Nov-2006 20:22:07
#17 ]
Elite Member
Joined: 12-Sep-2004
Posts: 3060
From: Stad; en d'r is moar ain stad en da's Stad. Makkelk zat!

@ssolie

Quote:
Fortunately, soon you won't care what format the icon is in and it will just magically work once we have icon modules for them.


Something at hand?

OldFart

_________________
More then three levels of indigestion and you're scroomed!

 Status: Offline
Profile     Report this post  

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle