zoom part of view

Posted By: Abarudra

zoom part of view - 03/18/14 20:43

Hey there,

just a quick question. Is it possible to zoom only a certain area of a view, eg. a square in the center?

Regards
Posted By: Aku_Aku

Re: zoom part of view - 03/18/14 21:12

I think the better question is that;
is it possible create a view inside a view?
Maybe i am wrong.
Posted By: Abarudra

Re: zoom part of view - 03/18/14 21:22

I am not sure. But first what i try to get is some kind of aiming assistance in my shooter for longrange weapons.

My first aproach was to create a second view with higher layer and smaler size, centered to the screen. It has the same position and rotation as my main view.
But the problem here is that the area covered by the second view is to0 big. It is still the whole screen just scaled down to fit within the size parameters.
I think i will need something like "window" as it is available for panels. I'm sorry i cant describe it better at the moment.

Regards
Posted By: Quad

Re: zoom part of view - 03/18/14 22:15

make second views arc higher/lower. check view.arc in manual.

Also you may want to render that second view to a texture on your weapons sights, but you need commercial edition for that.
Posted By: Abarudra

Re: zoom part of view - 03/19/14 17:13

I already played with the arc parameter, but it has almost no effect. If i reduce it to about 10, then the objects will have almost the same size. It gets better if i use the ISOMETRIC flag, but i have to test more values. Maybe it will work if i move the zooming-view a few quants ahead (including c_trace).
Rendering it to a image would be an option (i have commercial edition), but i prefere the magnifier version (if i get it to work of course laugh ).
I will try my two ideas and report my results. In the meantime im still open to suggestions. Thank you.

Regards

Edit (ISOMETRIC): Ok if i use this flag the zoom seems to be right, but the rotation is "wrong". If i compare the view with ISOMETRIC flag and my main view with arc set to 10, i can clearly see that the object "rotates more".

© 2024 lite-C Forums