Advertisement

what data structure is best for mixing indoor and outdoor scenes ?

Started by April 04, 2002 02:54 PM
0 comments, last by nitzan 22 years, 10 months ago
If I wanted to add caves to my terrain, or dump huge castles on it, what would be the best algorithm/data structure to use for displaying there structures ? BSP ? Portal ? Nitzan ------------------------- www.geocities.com/nitzanw www.scorchedearth3d.net -------------------------
Well, I don''t know about the best , but a combination of Quadtree based terrain and portal based indoor enviroments sounds reasonable. Or you could use octrees for everything I suppose.

But the good thing about portals is that it''s not too hard to combine them with other methods - for each portal, you can store a flag specifying how the thing on the other side should be rendered - so that you look through a window, and the indoors is rendered with a portal based engine, and then the window portal has a quadtree on the other side.

John B
The best thing about the internet is the way people with no experience or qualifications can pretend to be completely superior to other people who have no experience or qualifications.

This topic is closed to new replies.

Advertisement