Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
2 registered members (Quad, AndrewAMD), 1,007 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
map entities clip instantly away #34850
10/12/04 07:40
10/12/04 07:40
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
ulillillia Offline OP
Senior Expert
ulillillia  Offline OP
Senior Expert

Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
When making map entities instead of level blocks, I got some distance, a lot of it. For some reason, map entities aren't clipped the same way as models, terrains, and other level geometry. They just disappear all together at once. To simulate it, make a small level with a few blocks here and there and a fairly decent open space between them (like buildings). Then make a large map entity that goes around the level (like roads). Load the map entity to the level. Add a position so that it's just near the outside edge of this test level then build the level. Run it afterwards, call up the console (pressing tab while engine is running) and type "camera.tilt=-85;". Next, do it again only with "camera.clip_far=8000;". Press the down arrow key to back up continually and watch the scenery carefully, especially the map entity. After a short while, the map entity will disappear instantly while the rest of the level geometry disappears dependent entirely on distance and gradually. Why does the map entity disappear as it does? In fact, if you were to go outside of you level just a bit and repeat this, the map entity will disappear sooner.



I'm using Windows 98SE (accessibility kit installed), Radeon 7000 series graphics card with 256 MB RAM, and A6.22 Commercial.


"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip My 2D game - release on Jun 13th; My tutorials
Re: map entities clip instantly away [Re: ulillillia] #34851
10/12/04 17:32
10/12/04 17:32
Joined: Jul 2000
Posts: 27,935
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,935
Frankfurt
That's correct.

Re: map entities clip instantly away [Re: jcl] #34852
10/13/04 05:50
10/13/04 05:50
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
ulillillia Offline OP
Senior Expert
ulillillia  Offline OP
Senior Expert

Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
Then how come other entities and objects don't clip away instantly but rather in a straight line? How can I go about fixing this without having to use 90+ map entities of the same type to cover a rather small area?


"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip My 2D game - release on Jun 13th; My tutorials
Re: map entities clip instantly away [Re: ulillillia] #34853
10/13/04 21:49
10/13/04 21:49
Joined: Jul 2000
Posts: 27,935
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,935
Frankfurt
All entities are clipped instantly at the clip distance given in the view properties. For terrain entities, the distance to the most distant terrain point is used. For all other entities it's the distance to the entity position. I hope this helps in understanding how clipping works.


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