Connection of resolution and camera height

You think of something which could be added to TA3D post here! /
Vous pensez à quelque chose que l'on pourrait ajouter à TA3D, postez ici!
Post Reply
User avatar
Balthazar
Moderator
Posts: 2055
Joined: Wed Nov 01, 2006 4:31 pm
Location: Russian Federation
Contact:

Connection of resolution and camera height

Post by Balthazar » Tue Jun 09, 2009 6:27 am

We all know, that in TA the higher resolution - the smaller units.

But in TA3D this shouldn`t be the cause - changing resolution shouldn`t change camera height. I remember, Zuzuf mentioned this some time ago, but in 0.6.0. a5 it is still present.

Does this connected also to map size or only to resolution?

This is the example of DEFAULT camera height - 200 and 1280x960 resolution.

Image

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Re: Connection of resolution and camera height

Post by zuzuf » Tue Jun 09, 2009 3:54 pm

no, no, no, camera height doesn't change with resolution.
Only maximum height depends on map size (normal, it should be set to allow viewing all the map but you don't want small maps to look too small).
The only camera property that changes with resolution is camera plane size in orthographic mode, and since camera height doesn't change anything in orthographic mode (because there is no perspective), only the zooming factor is changed when you use your mouse roller :P.

Maybe I should add some option to set the default view size in orthographic mode.
=>;-D Penguin Powered

User avatar
Balthazar
Moderator
Posts: 2055
Joined: Wed Nov 01, 2006 4:31 pm
Location: Russian Federation
Contact:

Re: Connection of resolution and camera height

Post by Balthazar » Tue Jun 09, 2009 6:19 pm

Not the view size, but camera height :P Why with the same projection and different resolutions i`ve got a different height?

Default camera height is ignored? Maybe it should be connected to plane size then?

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Re: Connection of resolution and camera height

Post by zuzuf » Tue Jun 09, 2009 8:30 pm

It is, but screen resolution is used to when projecting, so it results in visible area increasing with resolution (because there is no compensation of the zoom factor).
=>;-D Penguin Powered

User avatar
Balthazar
Moderator
Posts: 2055
Joined: Wed Nov 01, 2006 4:31 pm
Location: Russian Federation
Contact:

Re: Connection of resolution and camera height

Post by Balthazar » Wed Jun 10, 2009 5:45 am

Well, the similar way it is work in TA - higher res->bigger visible area.

We definately should connect visible area and camera heigh to fix that.

Let`s say the default resolution is 1024x786. Then if the new res is more than default in 1.3 times (on each axis),
then camera heigh should auto-lowered on 1.69 or something like that

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests