Enfusion Blender Tools – Arma Reforger

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
(20 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{TOC|side}}
{{TOC|side}}
'''Enfusion Blender Tools''' (shortened to '''EBT''') is a Blender addon allowing for a good workflow between Blender and Workbench, and Enfusion in general.
'''Enfusion Blender Tools''' (shortened to '''EBT''') is a Blender addon allowing for a good workflow between Blender and Workbench, and Enfusion in general. Primarily developed and tested with latest LTS (Long Term Support) version of Blender.
Primarily developed and tested with 2.93 LTS. Works also with 3.1 release and above, but it's not officially supported.
 
{{Feature|warning|Warning, '''Enfusion Blender Tools are not working correctly with Blender 4.x+''' versions! Use [https://www.blender.org/download/lts/ '''Blender 3.6 LTS'''] instead.}}{{Feature|informative|Enfusion Blender Tools '''Tutorials''' can be found at {{GameCategory|armaR|Modding|Tutorials|Official Tools|Enfusion Blender Tools|text= Enfusion Blender Tools Tutorials}}.}}




Line 8: Line 9:
=== Import ===
=== Import ===


* ASC elevation (.asc file) - import an ASC elevation file (Esri grid) as terrain mesh
* {{Link|Arma Reforger:Enfusion Blender Tools: Import/Export ASC Elevation|ASC elevation (.asc file)}} - import an ASC elevation file (Esri grid) as terrain mesh
* Arma 3 P3D (.p3d file) - import P3D
* {{Link|Arma Reforger:Enfusion Blender Tools: P3D Conversion|{{arma3}} P3D (.p3d file)}} - import P3D
* FBX animation (.fbx file) - import FBX with Enfusion materials
* {{Link|Arma_Reforger:Enfusion Blender Tools: Materials Preview|FBX (.fbx file)}} - import FBX with Enfusion Shaders
* Prefab (.et file) - importing models located in prefabs (including prefabs located in hierarchy). '''It is only working on prefabs where source FBX are available - that means, you cannot use this function to edit read-only assets like Arma Reforger or downloaded mods.''' Function is meant mainly for structures and baking MLODs.


=== Export ===
=== Export ===


* ASC elevation (.asc file)
* {{Link|Enfusion Blender Tools: Import/Export ASC Elevation|ASC elevation (.asc file)}}
* Enfusion animation (.txa file)
* {{Link|Arma Reforger:Enfusion Blender Tools: Import/Export Animation|Enfusion animation (.txa file)}}
* Batch FBX export (.fbx file)
* FBX (.fbx file) - exporting single FBX file with automatic registration of model in Workbench
* Quality of Life
* {{Link|Arma Reforger:Enfusion Blender Tools: Batch FBX Export|Batch FBX export (.fbx file)}} - batch exporting of FBX files
* Model Quality Assurance<!-- - see BT: Model Quality Assurance-->
 
* Materials Preview with Enfusion Shaders<!-- - see BT: Materials Preview-->
=== Misc ===
 
* {{Link|Arma Reforger:Enfusion Blender Tools: Objects Tools|Object Tools}} - Various small tools helping with preparation of model for Workbench import
* {{Link|Arma_Reforger:Enfusion_Blender_Tools:_Model_Quality_Assurance|Model Quality Assurance}}
* {{Link|Arma_Reforger:Enfusion_Blender_Tools:_NLA_Strips_Baking_Tool|NLA Strips Baking Tool}}
* {{Link|Arma_Reforger:Enfusion_Blender_Tools:_Rig_Updater|Rig Updater}}
* {{Link|Arma_Reforger:Enfusion_Blender_Tools:_Skeleton_Updater|Skeleton Updater}}
* {{Link|Arma_Reforger:Enfusion_Blender_Tools:_Portal_Tools|Portal Tools}}


{{Clear}}


== Installation ==
== Installation ==


* Download [https://www.blender.org/download/release/Blender2.93/blender-2.93.9-windows-x64.msi Blender LTS 2.93.9]
[[File:armareforger-enfusionblendertools-net-api.png|alt=Location of Enable net API in Workbench Options|thumb|600x600px|Location of Enable net API option in Workbench Options window]]
* Download '''Arma Reforger Tools''' from Steam {{Feature|informative|Arma Reforger Tools only appear if Arma Reforger is in your Steam Library.}}
* Download {{Link|https://www.blender.org/download/lts/3-6/|Blender LTS 3.6}}
* Install EBT addon from {{hl|Arma Reforger Tools\Blender\EnfusionBlenderTools-Plugin.zip}} (do not unzip it!){{Feature|informative|See the official guide: How to [https:// install Blender addon]].}}
* Download '''Arma Reforger Tools''' from Steam{{Feature|informative|Arma Reforger Tools only appear if Arma Reforger is in your Steam Library.}}
* Install EBT addon from {{hl|Arma Reforger Tools\Blender\EnfusionBlenderTools-Plugin.zip}} (do not unzip it!)
** See {{Link|https://www.youtube.com/watch?v{{=}}LzdoUTvAgXk&t{{=}}64s|How to Install Add-Ons in Blender}}
* Open '''Workbench''' and in '''Workbench → Options → Workbench''' settings turn on '''Enable net API (for communication with external applications)''' option
 
{{Clear}}
[[File:armareforger-enfusionblendertools_options_setup2.png|thumb|Enfusion Blender Tools addon preferences|alt=|600x600px]]
If you intend to use TXA exporter and want to use Reforger library of {{Link|Arma Reforger:Animation Export Profiles|animation export profiles}}, it is also necessary to set up '''Export Profile Folder'''
* Unzip {{hl|Arma Reforger Tools\Blender\EnfusionBlenderTools-Data.zip}} to any empty folder
* Unzip {{hl|Arma Reforger Tools\Blender\EnfusionBlenderTools-Data.zip}} to any empty folder
* [[File:armareforger-enfusionblendertools_options_setup.png|thumb|]]In '''Addon Folders''', press the '<nowiki/>'''+'''<nowiki/>' button and set path to the directory where {{hl|EnfusionBlenderTools-Data.zip}} file was extracted (see image)<!--
* In '''Export Profile Folder''', press the '<nowiki/>'''+'''<nowiki/>' button and set path to the directory where {{hl|EnfusionBlenderTools-Data.zip}} file was extracted (see image)
-->{{Feature|important|Make sure that this folder is always defined as the first one, any other addon folders must be defined after it.}}
Similar steps can also be performed to define the custom animation export profiles directory




{{Clear}}
== Interface ==
== Interface ==


{{Wiki|TODO|placeholder}}
Once addon is properly installed and activated, two new elements - '''(1)''' & '''(2)''' should be visible in main interface of Blender.
Depending on used layout, right section of the menu might need to be expanded by clicking on small arrow on the right side of the viewport.


=== Import ASC ===
[[File:armareforger-enfusionblendertools_interface.jpg]]


=== Top Menu ===
In the top section of the viewport, '''Enfusion Tools (1)''' tab contains '''Import''' & '''Export''' sub menus where it is possible to {{Link|#Import P3D}}, {{Link|#Import ASC|ASC file}} or {{Link|#Import FBX|FBX models}} and {{Link|#Export ASC}} or {{Link|#Export TXA}} animations.
==== Import ASC ====
Import a .asc terrain file.
Import a .asc terrain file.


=== Import P3D ===
==== Import P3D ====
 
===== Discard unsupported LODs =====
==== Discard unsupported LODs ====
LODs like View Cargo/Gunner/Pilot, Roadway, Hitpoints, Paths and similar will be discarded from the import.
LODs like View Cargo/Gunner/Pilot, Roadway, Hitpoints, Paths and similar will be discarded from the import.


==== Layer Presets ====
===== Layer Presets =====
Assign detected layers (geometry, physics)
Assign detected layers (geometry, physics)


==== Game Materials ====
===== Game Materials =====
 
====== Rename materials ======
===== Rename materials =====
Rename RVMATs to Enfusion equivalents.
Rename RVMATs to Enfusion equivalents.


==== Memory Points ====
===== Memory Points =====
 
===== Convert axis to single point =====
===== Convert axis to single point =====
Convert two points with default rotation to single point with orientation axis.
Convert two points with default rotation to single point with orientation axis.


=== Import FBX ===
==== Import FBX ====
 
This option activates import of {{Link|Arma Reforger:Enfusion Blender Tools: Materials Preview|FBX with Enfusion Shaders}}.
==== Remove All Objects ====


===== Remove All Objects =====
Remove any object present in the fbx file.
Remove any object present in the fbx file.


=== Export ASC ===
==== Export ASC ====
Export the terrain to .asc format.


Export the terrain to .asc format.
==== Export TXA ====
Export the {{Link|Arma Reforger:Enfusion Blender Tools: Import/Export Animation|animation to the TXA format}}.


=== Export TXA ===
=== Side section ===


Export the animation to the TXA format.
On the right side of the viewport, '''Enfusion Tools tab (2)''' you have following options:
==== Model Quality Assurance ====
In this panel '''(3)''' it is possible to adjust and execute Model Quality Assurance script which checks for common configuration & topology errors in the mesh.


==== Settings ====
Settings panel '''(4)''' contains options for Batch FBX export


== Tutorials ==
==== Object Tools ====
Object Tools '''(5)''' panel contains controls for {{Link|Arma Reforger:Enfusion Blender Tools: Objects Tools#Automatic sorting of objects|automatic object sorting into collections}}


* {{GameCategory|armaR|Modding|Tutorials|Official Tools|Enfusion Blender Tools|link= y|text= Enfusion Blender Tools Tutorials}}
==== Material Tools ====
This section '''(6)''' contains options {{Link|Arma Reforger:Enfusion Blender Tools: Objects Tools#Colliders .26 Layer Presets setup|colliders setup}}, light setup and {{Link|Arma Reforger:Enfusion Blender Tools: Materials Preview#Materials Synchronisation|(re)import of Enfusion Materials into Blender}}




{{GameCategory|armaR|Modding|Official Tools}}
{{GameCategory|armaR|Modding|Official Tools|Enfusion Blender Tools}}

Latest revision as of 09:14, 13 November 2024

Enfusion Blender Tools (shortened to EBT) is a Blender addon allowing for a good workflow between Blender and Workbench, and Enfusion in general. Primarily developed and tested with latest LTS (Long Term Support) version of Blender.

Warning, Enfusion Blender Tools are not working correctly with Blender 4.x+ versions! Use Blender 3.6 LTS instead.
Enfusion Blender Tools Tutorials can be found at Enfusion Blender Tools Tutorials.


Features

Import

  • ASC elevation (.asc file) - import an ASC elevation file (Esri grid) as terrain mesh
  • Arma 3 P3D (.p3d file) - import P3D
  • FBX (.fbx file) - import FBX with Enfusion Shaders
  • Prefab (.et file) - importing models located in prefabs (including prefabs located in hierarchy). It is only working on prefabs where source FBX are available - that means, you cannot use this function to edit read-only assets like Arma Reforger or downloaded mods. Function is meant mainly for structures and baking MLODs.

Export

Misc


Installation

Location of Enable net API in Workbench Options
Location of Enable net API option in Workbench Options window
  • Download Blender LTS 3.6
  • Download Arma Reforger Tools from Steam
    Arma Reforger Tools only appear if Arma Reforger is in your Steam Library.
  • Install EBT addon from Arma Reforger Tools\Blender\EnfusionBlenderTools-Plugin.zip (do not unzip it!)
  • Open Workbench and in Workbench → Options → Workbench settings turn on Enable net API (for communication with external applications) option
Enfusion Blender Tools addon preferences

If you intend to use TXA exporter and want to use Reforger library of animation export profiles, it is also necessary to set up Export Profile Folder

  • Unzip Arma Reforger Tools\Blender\EnfusionBlenderTools-Data.zip to any empty folder
  • In Export Profile Folder, press the '+' button and set path to the directory where EnfusionBlenderTools-Data.zip file was extracted (see image)

Similar steps can also be performed to define the custom animation export profiles directory


Interface

Once addon is properly installed and activated, two new elements - (1) & (2) should be visible in main interface of Blender. Depending on used layout, right section of the menu might need to be expanded by clicking on small arrow on the right side of the viewport.

armareforger-enfusionblendertools interface.jpg

Top Menu

In the top section of the viewport, Enfusion Tools (1) tab contains Import & Export sub menus where it is possible to Import P3D, ASC file or FBX models and Export ASC or Export TXA animations.

Import ASC

Import a .asc terrain file.

Import P3D

Discard unsupported LODs

LODs like View Cargo/Gunner/Pilot, Roadway, Hitpoints, Paths and similar will be discarded from the import.

Layer Presets

Assign detected layers (geometry, physics)

Game Materials
Rename materials

Rename RVMATs to Enfusion equivalents.

Memory Points
Convert axis to single point

Convert two points with default rotation to single point with orientation axis.

Import FBX

This option activates import of FBX with Enfusion Shaders.

Remove All Objects

Remove any object present in the fbx file.

Export ASC

Export the terrain to .asc format.

Export TXA

Export the animation to the TXA format.

Side section

On the right side of the viewport, Enfusion Tools tab (2) you have following options:

Model Quality Assurance

In this panel (3) it is possible to adjust and execute Model Quality Assurance script which checks for common configuration & topology errors in the mesh.

Settings

Settings panel (4) contains options for Batch FBX export

Object Tools

Object Tools (5) panel contains controls for automatic object sorting into collections

Material Tools

This section (6) contains options colliders setup, light setup and (re)import of Enfusion Materials into Blender