PDA

View Full Version : automatic cell and portal creation



12-11-2001, 10:46 PM
hi guys,

i know this isn't really an opengl question, but i'm sure you guys can help me.

i was wondering if you know of any algorithms that can create cells and portals automatically (other than BSP trees - i already know about them.)

a bigger question is do you know of any algorithms that will create these cells and portals as a person would???

thanks for your time

alan

Dodger
12-13-2001, 10:17 PM
Hehe... if you write one, send it to a game company... they'll pay for it http://www.opengl.org/discussion_boards/ubb/wink.gif

Seriously, there are many (and many proprietary) algorithms to do this out there, but all of them (as far as i know) require hand tweaking to yield the best results.
An algorithm can usually give you a good base to work with, and might even create perfect cells/portals for simple architecture, but the complexity of such algorithms usually equals something like the complexity of the level design squared. There will most likely never be an algorithm that gives you the best possible results for any case and complexity of architecture.