Enfusion Blender Tools: Portal Tools – Arma Reforger
This feature allows users to automatically generate Portals and Portal Volumes on a structure. It will generate all portals on a right position, with naming convention and a material which will automatically be assigned when exporting to Workbench.
It also can be used to generate Portal Volumes(with dummyVolume material) which will automatically resize depending on a room size in real-time. After applying them, the Portal Volumes can be manually adjusted to your needs.
Portals
Before you want to generate Portals, please ensure you have everything set upped:
- Collider with FireView/FireGeo or BuildingFireView layer preset
- Here you can learn how to simply assign layer presets to colliders
- Sockets for doors/windows on the right location and with the right naming convention
- Opened Workbench with NET API enabled
There is no need for anything to be selected or even visible, just make sure everything is in the scene
Once all the necessary preparations are in place, you can press "Generate Portals", this will generates planes the right transformations, normals, naming convention and materials from _SharedData. Materials depends on the portal size, so if the door/window frame is slightly bigger than the norm no portal material will be assigned! In such cases, a basic Blender Material will be generated, and the user will need to manually assign the appropriate material in Workbench.
Portal Volumes
To generate a PRTVOL, you have to select at least two portals to determine in which room the PRTVOL should be generated in. The origin of the PRTVOL will be generated in the middle of the selected portals. Then you can simply press "Generate PRTVOL" and it will create a PRVOL box with Geometry Nodes on it. This allows you to move the PRTVOL in real-time, as it dynamically adjust itself according to the room size. It resizes itself depending where the origin of the PRTVOL is.
After you have all PRTVOLs at its place you can apply them by pressing "Apply PRTVOL" and it will apply the geometry nodes and assign it a dummy volume material which will be automatically linked in Workbench while exporting. After pressing the apply button you can then adjust any PRTVOL to your needs so everything is set up correctly.
The Portal Volume will automatically be placed in a "Light Portals" collection.