Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,014 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Some questions about regions #431459
10/16/13 13:26
10/16/13 13:26
Joined: Dec 2008
Posts: 1,218
Germany
Rackscha Offline OP
Serious User
Rackscha  Offline OP
Serious User

Joined: Dec 2008
Posts: 1,218
Germany
Hi,
I have some questions about regions(A8-Com):

As i can not disable a region manually(pro only :(), under which circumstances does the engine clip them?

Does it save some clipping time when the Engine frustrum-culls a Region, or is this already mostly compensated by ABT?

In other engines it is possible to have a region only visible, when you are inside the region or looking from another specified region through a portal into the region.

Is such a setup possible too?
Let's say i have a room in a manually created Level. This room has only one Door. The region has the size of the room.

Is it possible that the region is only visible when i am in the region or looking through the doorframe?(manually disabling it, is quite handy here, but not possible -.-)


MY Website with news of my projects:
(for example my current
Muliplayer Bomberman,
GenesisPrecompiler for LiteC
and TileMaster, an easy to use Tile editor)
Sparetime-Development

Re: Some questions about regions [Re: Rackscha] #431460
10/16/13 13:33
10/16/13 13:33
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Are you asking if you can imitate the behavior of region_set?


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: Some questions about regions [Re: Superku] #431461
10/16/13 13:34
10/16/13 13:34
Joined: Dec 2008
Posts: 1,218
Germany
Rackscha Offline OP
Serious User
Rackscha  Offline OP
Serious User

Joined: Dec 2008
Posts: 1,218
Germany
I am asking about the general behaviour of regions in a Non-Pro environment. usually regions can work like i described above, in other engines.


MY Website with news of my projects:
(for example my current
Muliplayer Bomberman,
GenesisPrecompiler for LiteC
and TileMaster, an easy to use Tile editor)
Sparetime-Development

Re: Some questions about regions [Re: Rackscha] #431463
10/16/13 13:54
10/16/13 13:54
Joined: Aug 2009
Posts: 1,438
Spain
painkiller Offline
Serious User
painkiller  Offline
Serious User

Joined: Aug 2009
Posts: 1,438
Spain
you could do a for loop each frame wich sets invisible all the entities with a different region than where the player is, and keeps visible only the ones within the same region


3D Gamestudio A8 Pro
AMD FX 8350 4.00 Ghz
16GB RAM
Gigabyte GeForce GTX 960 4GB
Re: Some questions about regions [Re: painkiller] #431465
10/16/13 13:59
10/16/13 13:59
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Kartoffel Offline
Expert
Kartoffel  Offline
Expert

Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
regarding to painkiller's suggestion using a material event might be faster than a loop.


POTATO-MAN saves the day! - Random
Re: Some questions about regions [Re: Kartoffel] #431467
10/16/13 14:25
10/16/13 14:25
Joined: Dec 2008
Posts: 1,218
Germany
Rackscha Offline OP
Serious User
Rackscha  Offline OP
Serious User

Joined: Dec 2008
Posts: 1,218
Germany
SO in short:
Regions in A8 Comercial are USELESS, as they do not introduce any automatism?.

What is about the clipping:
Is Region-COntent clipped, when the region is not within the View-Frustrum(So it does not have to walk down the abt to check each leaf), or is the Region ignored for ABT clipping?


MY Website with news of my projects:
(for example my current
Muliplayer Bomberman,
GenesisPrecompiler for LiteC
and TileMaster, an easy to use Tile editor)
Sparetime-Development

Re: Some questions about regions [Re: Rackscha] #431470
10/16/13 15:31
10/16/13 15:31
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Regions in versions below Pro can be used for triggers, spawning positions and the like (that's what I'm doing in Superku, too).

I bet they are still used for the rendering, too, even without Pro. You could probably test this in a level with some thousand entities.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends

Moderated by  HeelX, Spirit 

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