kadir.basol Posted December 23, 2012 Posted December 23, 2012 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.
manguste Posted December 24, 2012 Posted December 24, 2012 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). 2. Add sectors and portals between them. (Make sure that intersection area between sectors is as small as possible.) 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.
kadir.basol Posted December 25, 2012 Author Posted December 25, 2012 nice , can you upload your simple example to forum or my email ? kadir.bayner@gmail.com
manguste Posted December 26, 2012 Posted December 26, 2012 Kadir, You can easily use demos/shooter/maps/map_1 as a reference. That's the scene on screenshots.
kadir.basol Posted December 27, 2012 Author Posted December 27, 2012 Is there any wizard that can generate sectors automatically by selecting mesh ?
Recommended Posts