Find out a bitmaps relative size.

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
rylleman
Posts: 750
Joined: Tue Feb 15, 2005 5:22 pm
Location: sweden
Contact:

Find out a bitmaps relative size.

Post by rylleman »

Is there an easy way to find out how large an bitmap image appears in comparison with it's original size?
I'll take an example to try to clear what I mean;
I've got bitmap images which I have scaled to 0.60 but I then have a Camera zoom set to 39, will the bitmaps render larger or smaller than 100% of it's original size?
User avatar
Lost Marble
Site Admin
Posts: 2354
Joined: Tue Aug 03, 2004 6:02 pm
Location: Scotts Valley, California, USA
Contact:

Post by Lost Marble »

It will also depend on the size of your project. With that scale and camera zoom, the image will appear at different ultimate sizes if the project is 1024x768 pixels or 320x240.

A script could compute the result of all the combined scalings and other transforms, or you could render out one frame to compare it to the original image.
Post Reply