Tips on graphic size and effect on PC performance

Help and techniques for creating Air Manager Instrument Graphics

Moderators: russ, Ralph

Post Reply
Message
Author
flyatr
Posts: 300
Joined: Tue Dec 01, 2015 8:53 am

Tips on graphic size and effect on PC performance

#1 Post by flyatr »

Hi,

is there a recommendation how big I should make the gauge background image? Same size as final gauge size, twice the size? Going for 2x size my EADI will be 1000 x 800 px, it seems kind of large.

Also, will it hit the PC performance if I add several small items as fullscreen pngs with alpha? Better to crop the images down? Full screen is just so easy as I can arrange everything in Skinman and just export, WYSIWYG.

Thanks!

User avatar
Amok
Posts: 43
Joined: Fri Nov 20, 2015 9:57 pm

Re: Tips on graphic size and effect on PC performance

#2 Post by Amok »

I prefer a 1x1 pixel file witch is dynamicaly scaled by

Code: Select all

img_add_fullscreen("pixel.png")
to keep resources as small as possible.


For other images I do it in the same way.
I use a 1x1 pixel file and scale it on the right position with

Code: Select all

img_add("pixel.png", 100, 100, 10, 10)
I dont know if its better to use a 10x10 pixel picture or use a 1x1 pixel picture and let it scale by the funktion.
But I think its the better way o do so.

User avatar
Ralph
Posts: 7932
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: Tips on graphic size and effect on PC performance

#3 Post by Ralph »

Performance-wise it's better to keep all images as small as possible. There's a pre-scaling function in Air Manager, which you can turn on if you want, it scales down all the images to their correct size before loading them into the video-memory. It takes a bit longer to load, because the images have to be scaled first.

So....using big images with a lot of transparency is easier, but not efficient, also transparant spaces take up video memory.

flyatr
Posts: 300
Joined: Tue Dec 01, 2015 8:53 am

Re: Tips on graphic size and effect on PC performance

#4 Post by flyatr »

That is very good to know, thank you guys.

frumpy
Posts: 361
Joined: Sat Jan 30, 2016 12:01 pm

Re: Tips on graphic size and effect on PC performance

#5 Post by frumpy »

Ralph wrote:Performance-wise it's better to keep all images as small as possible.
About what size are we talking here? I mean now with 4k monitors in the pipeline, it may be prudent
to make those instruments large.

User avatar
Ralph
Posts: 7932
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: Tips on graphic size and effect on PC performance

#6 Post by Ralph »

Of course you can make things large. But for example, when you're making a black background at 4K, a pixel of 1x1px stretched out to 4K resolution would do. Split up the instruments in little parts, empty areas also take up video ram.

Post Reply