Official Fulqrum Publishing forum

Official Fulqrum Publishing forum (http://forum.fulqrumpublishing.com/index.php)
-   IL-2 Sturmovik: Cliffs of Dover (http://forum.fulqrumpublishing.com/forumdisplay.php?f=189)
-   -   Well...we said it would be a problem.. (http://forum.fulqrumpublishing.com/showthread.php?t=24306)

Tiger27 07-06-2011 03:23 AM

Quote:

Originally Posted by ZaltysZ (Post 305763)
Why not? If escaping player has trees off, he only need to find large patch of green (where forest is supposed to be) and fly over it low enough. Not very hard thing to do.

But the problem is not that escape exploit only. In old IL2 or RoF there is always a reason not to fly over large forest with dying engine, in CoD there isn't any such reason. It is bizarre how ditching inside forest works well in CoD. This will become even more obvious and annoying when we will get to Eastern front, where fighting altitudes are lower.

Actually I often look for a forest in ROF when crashing, the trees often enable you to survive a nasty crash as they break the planes fall.

Codex 07-06-2011 04:01 AM

Quote:

Originally Posted by ZaltysZ (Post 305804)
Collidable trees are not such complex problem. You don't need to check every tree. You only need to check nearby trees. This usually is accomplished by using octree data structure, which divides space into smaller cells, whose in turn are divided further. This way, when you search "nearby" trees, you begin your "walk" from largest cell (part of map) where aircraft is, then choose smaller one inside the previous one and so on, until you get the set of smallest ones, whose can contain part of your plane. This way even if you have million of trees, you will check only 0-10 of them. It is not something unusual and is widely used.

Problems arise when you have lots of objects to check their collisions with trees. However, if only planes were checked, that object count would not be so big. In DCS, the problem is not collision detection itself, it is possible, but people want more: fire and detection cover provided by trees. That and AI pathfinding is problematic.

The method your describing is Portal Collision Detection and only works when a collision is actually taking place, it increases the detection resolution of two objects and is only effecive in relatively low poly count environments (by low I mean a First Person Shooter type environment). The problem we're faced with still remains, the game engine still needs to track every tree in the game world. If your plane hits tree[532354, x, y, z] for example it can then use the Portal Method to do the calcualtions for all the bits flying everywhere.

The only immediate solution I can see is to group all the tress into one large bounding box, similar to how IL2 1946 works now. In fact I think it would be ok to have the 1946 style as its worked well for us for so many years.

MadTommy 07-06-2011 07:39 AM

[QUOTE=JimmyBlonde;305924]
Quote:

Originally Posted by MadTommy (Post 305756)
Rise of Flight has a poorly modelled one that does not truly represent the actual tree.



Wow, maybe if you had managed to read all the way to the end of the paragraph it might have made more sense to you. As for why you feel the need to insult my for this opinion i really cant understand. Maybe Freud, if still alive, could tell me :rolleyes:

Quote:

Originally Posted by MadTommy (Post 305756)
Rise of Flight has a poorly modelled one that does not truly represent the actual tree. You can fly very close to the tree but hit its mesh, i find that more annoying.


Wolf_Rider 07-06-2011 09:03 AM

would, instead of hitboxing each tree(?) but hitboxing the forest, be a viable option?

ie the hitbox would be set to the size of the forest

Baron 07-06-2011 09:40 AM

Quote:

Originally Posted by Wolf_Rider (Post 306055)
would, instead of hitboxing each tree(?) but hitboxing the forest, be a viable option?

ie the hitbox would be set to the size of the forest


Like in IL2, but u will still have trees u can fly through. There are simply to many individual trees to give all of them individual hitboxes. And how do we know witch has hotboxes and witch doesnt. I can just see the thread's about that.

Maby in 5 years when our pc`s can handle it.

JG52Krupi 07-06-2011 09:46 AM

Hit boxes for forest like the 1946 sounds like it is the only way forward.

JG53Frankyboy 07-06-2011 09:47 AM

or more powerfull PCs in around two years.....

klem 07-06-2011 10:09 AM

Quote:

Originally Posted by Baron (Post 306064)
Like in IL2, but u will still have trees u can fly through. There are simply to many individual trees to give all of them individual hitboxes. And how do we know witch has hotboxes and witch doesnt. I can just see the thread's about that.

Maby in 5 years when our pc`s can handle it.

http://forum.1cpublishing.eu/showpos...&postcount=216

sorak 07-06-2011 11:26 AM

Quote:

Originally Posted by JG52Uther (Post 305769)
Anyone remember that development shot of the Hurricane crash landed in the tree's and we wondered how it got there?
;)

hahah nice one

haha

Wolf_Rider 07-06-2011 11:34 AM

Quote:

Originally Posted by Baron (Post 306064)
Like in IL2, but u will still have trees u can fly through. There are simply to many individual trees to give all of them individual hitboxes. And how do we know witch has hotboxes and witch doesnt. I can just see the thread's about that.

Maby in 5 years when our pc`s can handle it.

maybe in 5 years :)

but, the forest I meant was the boundary (edges and tops) of the entire forest/ clump, (perhaps combining the clump into the forest proper) not individual trees


All times are GMT. The time now is 10:18 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.