Jump to content

[SOLVED] Simple indoor building utilizing BSP


photo

Recommended Posts

Posted

Hello , I know i've seen sectors on editor.

They enable bsp for indoors but there is no very simple example how to use them.

I've tried myself put 1 sector with 1 portal to the scene but how can i bind it to meshes?

 

I will add indoor scene ( building ) as a static mesh file ? ( .mesh file )

or

I will add indoor scene as walls and bsp trees?

or

I've to make building inside unigine? if yes , how.

 

 

I don't want mesh file to be rendered when inside field of view.

Need bsp solution.

 

Afaik , quake 2 had some file format named .bsp for indoor scenes.

That had some special editor for indoor scene development.

After indoor development done on editor, we import it from terrain and put bsp edited scene.

 

But I've no simple example to do it on unigine.

Posted

Kadir,

 

You can easily use demos/shooter/maps/map_1 as a reference.

 

To create an indoor scene optimized for rendering, all you to do is:

 

1. Add meshes (rooms in *.mesh format).

post-13-0-39927500-1356352444_thumb.jpg

2. Add sectors and portals between them. (Make sure that intersection area between sectors is as small as possible.)

post-13-0-70438300-1356352451_thumb.jpg

 

That's all.

 

You do not have to worry about BSP trees (they are managed by the engine completely automatically). There's also no need to "attach" sectors to meshes, or organize them into hierarchies -- just place them and they will work.

post-13-0-81334300-1356352458_thumb.jpg

Posted

nice , can you upload your simple example to forum or my email ?

kadir.bayner@gmail.com

Posted

Kadir,

 

You can easily use demos/shooter/maps/map_1 as a reference.

That's the scene on screenshots.

Posted

Is there any wizard that can generate sectors automatically by selecting mesh ?

×
×
  • Create New...