Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
2 registered members (steyr, alibaba), 534 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Clipping specific areas in Level? A7 #355815
01/29/11 06:48
01/29/11 06:48
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Online OP
Expert
alibaba  Online OP
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
Hey All,
I already searched for this in the manual, but didnŽt find anything. Is such a feature possible? If not, could you please add this? Just this feature. Please!


Professional Edition
A8.47.1
--------------------
http://www.yueklet.de
Re: Clipping specific areas in Level? A7 [Re: alibaba] #355973
01/30/11 07:56
01/30/11 07:56
Joined: Jan 2011
Posts: 120
United States
Logan Offline
Member
Logan  Offline
Member

Joined: Jan 2011
Posts: 120
United States
As far as I know you're describing what a BSP Tree, or alternatively ABT, does. Now as for on-the-fly clipping of areas of your choice at times of your choice, there is a feature for this in A8 Pro (which I wish I could get my hands on), but there are also potential workarounds, a.k.a. poor man's solutions, available.

For example when entering a specific room, set an MDL trigger by the doorway to reduce camera.clip_far to the lowest possible value so that the engine clips nothing in the room but as much as possible outside the room. Set a trigger up for each room and you have a very crude scene manager going.

Another solution might be to compile the area you want to clip as a WMB entity, and just set it invisible when you want to clip it. Or break it up into little entites and set them all invisible.

I don't know if you've already thought of workarounds or what but I hope this helps. I know the user-defined portals you seem to be thinking of that can be switched on and off at will are kind of a big deal for A8, and A8 Pro at that, so it seems like it would be really weird if they decided to go back and stick them into A7 at this point.

Re: Clipping specific areas in Level? A7 [Re: Logan] #355979
01/30/11 10:06
01/30/11 10:06
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Online OP
Expert
alibaba  Online OP
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
Thanks alot Logan for your Tips laugh
Never thought about WMB entitys grin
This was really helpful. Thanks alot laugh
IŽll try them and tell you if they work ::)


Professional Edition
A8.47.1
--------------------
http://www.yueklet.de
Re: Clipping specific areas in Level? A7 [Re: alibaba] #355991
01/30/11 11:52
01/30/11 11:52
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Online OP
Expert
alibaba  Online OP
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
Hmm.. The WMB thing doesnŽt work at all. The WMB part of the level has a different lightning and i dont get a noticable performace boost. IŽll try the clip_far way.


Professional Edition
A8.47.1
--------------------
http://www.yueklet.de
Re: Clipping specific areas in Level? A7 [Re: alibaba] #356042
01/30/11 17:34
01/30/11 17:34
Joined: Jan 2011
Posts: 120
United States
Logan Offline
Member
Logan  Offline
Member

Joined: Jan 2011
Posts: 120
United States
Fair enough--I think the WMB thing was kind of a long shot anyway, I'd stick with something like clip_far. Another thing, if clip_far doesn't work, is to set invisible triggers to mark off "wings" of your level, and each time the player hits one, the trigger uses ent_next to check if each entity is in the current level wing (you'll have to use an entity skill to define what wing they are in), and if an entity is not in the level wing, set it invisible, as well as stop any superfluous functions like c_trace(), effect(), ent_animate().

I used this technique just yesterday in a big level of mine, combined with the clip_far technique, and it increased the framerate around 100%... from ~30 to ~60.

Re: Clipping specific areas in Level? A7 [Re: Logan] #356138
01/31/11 02:24
01/31/11 02:24
Joined: Aug 2008
Posts: 482
B
bart_the_13th Offline
Senior Member
bart_the_13th  Offline
Senior Member
B

Joined: Aug 2008
Posts: 482
It depends on your usage. Clip far only works on outdoors. I use WMB entities to hide unseen rooms for indoor environment. And it really helps frame rate.

Re: Clipping specific areas in Level? A7 [Re: bart_the_13th] #356144
01/31/11 06:39
01/31/11 06:39
Joined: Jan 2011
Posts: 120
United States
Logan Offline
Member
Logan  Offline
Member

Joined: Jan 2011
Posts: 120
United States
Clip far doesn't only work on outdoor levels--it works on any level where you can get it as low as possible to avoid pointless rendering of geometry and entities that will then be covered up by others.

Re: Clipping specific areas in Level? A7 [Re: Logan] #356229
01/31/11 18:16
01/31/11 18:16
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Online OP
Expert
alibaba  Online OP
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
Thank you all for your tips laugh
I think i will combine everything into one ultimate optimization script grin
Thank you all laugh


Professional Edition
A8.47.1
--------------------
http://www.yueklet.de

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