Advertisement

Dynamic stuff in a BSP-based world?

Started by March 08, 2000 08:40 PM
3 comments, last by RPGElite 24 years, 9 months ago
ok, I have a BSP tree-based engine up and running, with the tree calculated just after I load the file. Now, my question is this - let''s say I want there to be switches in the world, and when these switches are activated, things move (doors open, bridges go across pits, etc...). How do I do this since BSP Trees handle only static polygons? I _could_ recalculate the tree after doing this, but that seems terribly slow. I know there must be a better way, but I haven''t the faintest idea where to begin. And while we''re on the subject - once I get this working I plan on putting monsters of some type in the world. They''ll be moving around, so how do I use them with by renderer, since they''ll move around the tree? Thanks for any help (source code would be greatly appreciated, OGL preferred but anything is useful gameguru4@yahoo.com
Keep static stuff in your bsp, and non-static stuff out of the bsp. Make things like doors and sliding bridges as game objects (like monsters with no brains but preprogrammed to move in various ways).
Advertisement
I'm just curious - why do people not register for the board? It only took me a minute, and it lets you get e-mail reminders when your posts have been replied to.

Yet still I see a lot of "Anonymous Poster" remarks...what's up with that?

Update - I didn't mean to say it was bad to not be registered, and thanks for the help, I was just curious. I just realized it sounded kind of like I was saying that not signing up for the board was a cardinal sin or something. Don't take it that way.

gameguru4@yahoo.com

http://game.guru.tripod.com

Edited by - RPGElite on 3/8/00 11:36:34 PM
Lot''s of Anonymous posters are just people that forgot to enter their password before submitting the post.
And some of us anonymous posters are just lazy. (That was my anon post above.) I have so many passwords on so many systems that it gets annoying after a while.

But now I''m registered once, so I won''t need to worry about it again.


Blue programmer needs food badly.
Blue programmer is about to die!

This topic is closed to new replies.

Advertisement