GetLOSBetweenPoints
#17

I've always wanted to see something like this, I spent a while trying to learn how game engines work and how they check collisions with 3D objects (It's bloody confusing) and how the GPU sorts all vertices depending on the distance from the camera, checks if they should be shown etc...

I tried some "2D" versions of this before, where I basically mapped out all the vertices of buildings in a small town, made some deer walk around aimlessly then chase the player if they see him (It worked well, and was scary as fuck, ever had a crazy ravenous hungry deer chase you around a village?)
(and then I added more deer the the lulz)


It's easy for simple 2D maps where point is restricted to 2D movement but as soon as you add another dimension it becomes pretty impossible to do efficiently on the server!


I'd love for this to be added, but I imagine the function would need a playerid parameter because you'd need to pick at least one client to perform the check, and (I assume) they would have to be near the points for the objects to stream etc.

Nice work on that btw Mauzen! I was going to try something like that but it's a bit outside my knowledge!
Reply


Messages In This Thread
GetLOSBetweenPoints - by BloodyEric - 16.07.2012, 12:58
Re: GetLOSBetweenPoints - by BloodyEric - 16.07.2012, 13:11
Re: GetLOSBetweenPoints - by Maxips2 - 16.07.2012, 17:41
Re: GetLOSBetweenPoints - by MP2 - 16.07.2012, 17:57
Re: GetLOSBetweenPoints - by Mauzen - 16.07.2012, 18:38
Re: GetLOSBetweenPoints - by Joe Staff - 16.07.2012, 19:00
Re: GetLOSBetweenPoints - by Maxips2 - 16.07.2012, 19:39
Re: GetLOSBetweenPoints - by JoBullet - 16.07.2012, 20:17
Re: GetLOSBetweenPoints - by BloodyEric - 16.07.2012, 20:30
Re: GetLOSBetweenPoints - by Mauzen - 16.07.2012, 21:22
Re: GetLOSBetweenPoints - by Maxips2 - 17.07.2012, 07:59
Re: GetLOSBetweenPoints - by Slice - 17.07.2012, 11:42
Re: GetLOSBetweenPoints - by CyNiC - 17.07.2012, 13:25
Re: GetLOSBetweenPoints - by Slice - 17.07.2012, 13:28
Re: GetLOSBetweenPoints - by Maxips2 - 17.07.2012, 14:20
Re: GetLOSBetweenPoints - by Mauzen - 17.07.2012, 15:06
Re: GetLOSBetweenPoints - by [HLF]Southclaw - 18.07.2012, 09:53

Forum Jump:


Users browsing this thread: 1 Guest(s)