Skip to content

firefhy/HoudiniEngineForUnreal

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Houdini Engine for Unreal - Version 2

The source code in this branch is intended to be used with Unreal Engine 5.0.2

Welcome to the repository for Version 2 of the Houdini Engine For Unreal Plugin.

This plug-in brings Houdini's powerful and flexible procedural workflow into Unreal Engine through Houdini Digital Assets. Artists can interactively adjust asset parameters inside the editor and use Unreal assets as inputs. Houdini's procedural engine will then "cook" the asset and the results will be available in the editor without the need for baking.

Version 2 is a significant rewrite of the core architecture of the existing Houdini Engine plugin, and comes with many new features, and improvements.

Here are some of the new features and improvements currently available:

Core:

  • New and redesigned core architecture, more modular and lightweight. All the Houdini Engine/HAPI logic is now Editor-only and contained in the “HoudiniEngine” module. All the custom runtime components and actors used by the plugin now simply acts as data-holders, and are processed by the HoudiniEngine modules, removing the need to bake HDA before packaging a game.
  • The plugin now relies exclusively on native, UProperties based serialization, so operations like cut and paste, move between level, duplicate etc.. do not exhibit any of the issues that version 1 had with those operations.

Outputs:

  • Static Mesh creation time has been optimized and now uses Mesh Descriptions.
  • Alternatively, you can also decide to use an even faster Proxy Mesh generation while editing the HDA.   Those can then be automatically refined to Static Meshes, either on a timer, or when saving/playing the level.
  • World composition support: Tiled heightfields can now be baked to multiple landscape actors/steaming proxies, and will create/update the levels needed for world composition.   You can specify the level's path by using the new “unreal_level_path” attribute, that is also used by meshes and instancers so they can also be baked out to separate levels.
  • Material overrides and generic uproperty attributes can either be applied on the instancer, or per instance (when using mesh split instancers or instanced Actors).
  • It is possible to create foliage instances directly, without baking, when using the “unreal_foliage” attribute on an instancer.
  • A class can be directly instantiated by the "unreal_instance" attribute (ie “PointLight”, “AudioVolume”… ).
  • Curves can be outputed to SplineComponents by using the "unreal_output_curve" primitive attribute.

Inputs:

  • Colliders on a Static Mesh can now be imported as group geometry.
  • World inputs can now read data from BSP brushes.
  • Instancers and Foliage are now imported as packed primitives.
  • World inputs have an improved bound selector mode, that lets them send all the actors and objects contained in the bounds of the selected object.
  • World inputs can now import data from all supported input objects (landscape, houdini asset actors..)
  • World inputs can now import data from actors placed in a different level than the Houdini Asset Actors's.
  • A single curve input can now create and import any number of curves.
  • You can alt-click on curve inputs or editable curves to create new points.   Parameters:
  • HDA parameters and inputs editing now support multi-selection.
  • Parameter UI/UX has been improved:
  • Folder UI (tabs, radio, collapsible) has been improved
  • Ramps UI has been improved, and it is easy to turn off auto-update while editing them.
  • When an asset is dropped on a string parameter, it automatically sets its value to the asset ref.
  • String parameters can now be turned into an asset picker via the “unreal_ref” tag.
  • Support for File parameters has been improved (custom extension, directory, new file...)
  • Multi-line strings, Column Labels, Button Strip, Log Int and Floats are now supported.

General:

  • The plugin's UI has been completely revamped, a new Houdini Engine menu has been added to the editor.
  • bgeo/bgeo.sc files can be imported natively in the content browser (Mesh and instancers).
  • The PDG Asset Link has been added, allowing control of TOP networks nested in HDAs, and works similarly to the one in the Unity plugin.
  • Session Sync is supported, allowing the plugin to connect to a session of Houdini Engine running inside Houdini.   The state of Houdini Engine can be viewed in Houdini while working with the plugin in Unreal, and changes on either end, whether in Unreal via the plugin or in Houdini via its various interfaces, will be synchronized across so that both applications will be able to make changes and see the same results.
  • Blueprint support: It is now possible to use Houdini Asset Components in the Blueprint Editor. This lets you preset and use HDAs on Blueprint Actors, and changing parameters/inputs on the Houdini Asset will automatically update all placed instances of that Blueprint.

For more details on the new features and improvements available, please visit the Wiki. Documentation for version 2.0 of the plugin is also available on the Side FX Website.

Feedback

Please send bug reports, feature requests and questions to Side FX's support.

Compatibility

Currently, the plugins has binaries that have been built for UE5.0, UE4.27 and UE4.26, and is linked with the latest production build of Houdini.

Source code for the H19.5 plugin is available on this repository for UE5.0, UE4.27, UE4.26.

Installing the plugin

  1. In this GitHub repository, click Releases on the right side.

  2. Download the Houdini Engine version zip file that matches your Houdini version.

  3. Extract the HoudiniEngine folder to the Plugins\Runtime of your Unreal Directory. You can either copy it to Unreal's engine version directory or your Unreal project directory.

    In this example, Unreal's directory location is C:\Program Files\Epic Games\UE_5.0\Engine\Plugins\Runtime\HoudiniEngine and the project directory is C:\Unreal Projects\MyGameProject\Plugins\HoudiniEngine

    Note: For Unreal Engine 5, you must use Unreal's project directory.

Verify the Plug-in works

Once you install the Houdini Engine plug-in, you can verify it's loaded properly.

  1. Open a new or existing Unreal project.
  2. In the main menu bar, you can see Houdini Engine as a new selection.

You should also check the Houdini Engine plug-in version matches your Houdini Version for the plug-in to work properly.

  1. In Unreal Engine main menu bar, click Edit then Plugins.
  2. For Houdini Engine, check the HX.Y.Z. version number matches your Houdini version. X.Y.Z means your Houdini Version number.

You can learn how to export an Houdini Digital Assets (HDA), import it into Unreal Engine, and update the asset from Assets documentation.

Building from source

  1. Get the UE source code from: https://github.com/EpicGames/UnrealEngine/releases
  2. Within the UE source, navigate to Engine/Plugins/Runtime, and clone this repo into a folder named HoudiniEngine. Alternatively, you can also install the plugin in your project, in the Plugins/Runtime directory.
  3. Download and install the correct build of 64-bit Houdini. To get the build number, look at the header of Source/HoudiniEngine/HoudiniEngine.Build.cs, under Houdini Version.
  4. Generate the UE4 Project Files (by running GenerateProjectFiles) and build Unreal, either in x64 Debug Editor or x64 Development Editor.
  5. When starting the Unreal Engine editor, go to Plug-ins menu and make sure to enable the HoudiniEngine v2 plug-in (in the Rendering section). Restart UE4 if you had to enable it.
  6. To confirm that the plug-in has been successfully installed and enabled, you can check that the editor main menu bar now has a new "Houdini Engine" menu, between "Edit" and "Window".
  7. You should now be able to import Houdini Digital Assets (HDA) .otl or .hda files or drag and drop them into the Content Browser.
  8. Once you have an HDA in the Content Browser you should be able to drag it into the Editor viewport. This will spawn a new Houdini Asset Actor. Geometry cooking will be done in a separate thread and geometry will be displayed once the cooking is complete. At this point you will be able to see asset parameters in the Details pane. Modifying any of the parameters will force the asset to recook and possibly update its geometry.

About

Houdini Engine Plugin for Unreal Engine.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 90.5%
  • C 7.8%
  • Python 1.4%
  • C# 0.3%