Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, TedMar, dr_panther), 1,049 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
zoom part of view #438617
03/18/14 20:43
03/18/14 20:43
Joined: Mar 2012
Posts: 44
A
Abarudra Offline OP
Newbie
Abarudra  Offline OP
Newbie
A

Joined: Mar 2012
Posts: 44
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

Re: zoom part of view [Re: Abarudra] #438618
03/18/14 21:12
03/18/14 21:12
Joined: Sep 2009
Posts: 993
Budapest
Aku_Aku Offline
User
Aku_Aku  Offline
User

Joined: Sep 2009
Posts: 993
Budapest
I think the better question is that;
is it possible create a view inside a view?
Maybe i am wrong.

Re: zoom part of view [Re: Aku_Aku] #438619
03/18/14 21:22
03/18/14 21:22
Joined: Mar 2012
Posts: 44
A
Abarudra Offline OP
Newbie
Abarudra  Offline OP
Newbie
A

Joined: Mar 2012
Posts: 44
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

Re: zoom part of view [Re: Abarudra] #438621
03/18/14 22:15
03/18/14 22:15
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
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.


3333333333
Re: zoom part of view [Re: Quad] #438657
03/19/14 17:13
03/19/14 17:13
Joined: Mar 2012
Posts: 44
A
Abarudra Offline OP
Newbie
Abarudra  Offline OP
Newbie
A

Joined: Mar 2012
Posts: 44
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".


Last edited by Abarudra; 03/19/14 18:04. Reason: First Testresults

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1