-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 196dcf7
Showing
16 changed files
with
1,607 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Intermediate/ | ||
Binaries/ | ||
__pycache__/ | ||
backup/ |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"FileVersion": 3, | ||
"Version": 1, | ||
"VersionName": "1.0", | ||
"FriendlyName": "HoudiniMassTranslator", | ||
"Description": "", | ||
"Category": "Other", | ||
"CreatedBy": "", | ||
"CreatedByURL": "", | ||
"DocsURL": "", | ||
"MarketplaceURL": "", | ||
"SupportURL": "", | ||
"CanContainContent": true, | ||
"IsBetaVersion": false, | ||
"IsExperimentalVersion": false, | ||
"Installed": false, | ||
"Modules": [ | ||
{ | ||
"Name": "HoudiniMassTranslator", | ||
"Type": "Editor", | ||
"LoadingPhase": "Default" | ||
} | ||
], | ||
"Plugins": [ | ||
{ | ||
"Name": "HoudiniEngine", | ||
"Enabled": true | ||
}, | ||
{ | ||
"Name": "ZoneGraph", | ||
"Enabled": true | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
MIT License | ||
|
||
Copyright (c) 2024 Yuzhe Pan ([email protected]). | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Houdini Mass Translator | ||
|
||
Welcome to the [repository](https://github.com/AdrianPanGithub/HoudiniMassTranslator) for the Houdini Mass Translator For Unreal. | ||
|
||
This plug-in provides seamless integration between Houdini Engine and Zone Graph, allow zone shape input and output. | ||
|
||
# Compatibility | ||
|
||
This plug-in is reply on my custom [HoudiniEngineForUnreal](https://github.com/AdrianPanGithub/HoudiniEngineForUnreal), so same compatibility as Houdini Engine. | ||
|
||
# Installation | ||
01. In this GitHub [repository](https://github.com/AdrianPanGithub/HoudiniMassTranslator), click **Releases** on the right side. | ||
02. Download the Houdini Mass Transaltor zip file that matches your Unreal Engine Version. | ||
03. Extract the **HoudiniMassTranslator** and **HoudiniEngine** to the **Plugins** of your Unreal Project Directory. | ||
|
||
e.g. `C:/Unreal Projects/MyGameProject/Plugins/HoudiniMassTranslator` and `C:/Unreal Projects/MyGameProject/Plugins/HoudiniEngine` | ||
|
||
# Example | ||
|
||
01. Download the **CitySample** demo for Unreal Engine 5.4 or later from Epic Store. | ||
02. Put these two plug-ins into **CitySample/Plugins folder**. | ||
|
||
03. Open `/HoudiniMassTranslator/HoudiniTrafficDemo` in the content of this plug-in, and simulate. | ||
|
||
# Usage Brief | ||
|
||
Support both input and output of mass ai zone shapes | ||
|
||
There are some attributes for zone shape input and output | ||
|
||
i@**unreal_output_zone_shape** | ||
|
||
= 1 on detail, all curves will output as zone shapes | ||
i@**unreal_zone_shape_type** / s@**unreal_zone_shape_type** | ||
|
||
define whether a curve is represented as zone shape spline or polygon (intersection). | ||
s[]@**unreal_zone_shape_tags** | ||
|
||
specify zone graph tags on zone shape. | ||
d[]@**unreal_zone_lane_profile** | ||
|
||
Represent Lanes. Will find or create lane profiles based on this attribute when output. could be both on point and prim. Please click menu "Build/Clean Up Houdini Lane Profiles" at last. | ||
s@**unreal_zone_lane_profile_name** | ||
|
||
Will find lane profiles based on this attribute, could be both on point and prim. |
57 changes: 57 additions & 0 deletions
57
Source/HoudiniMassTranslator/HoudiniMassTranslator.Build.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
// Copyright Epic Games, Inc. All Rights Reserved. | ||
|
||
using UnrealBuildTool; | ||
|
||
public class HoudiniMassTranslator : ModuleRules | ||
{ | ||
public HoudiniMassTranslator(ReadOnlyTargetRules Target) : base(Target) | ||
{ | ||
PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs; | ||
|
||
PublicIncludePaths.AddRange( | ||
new string[] { | ||
// ... add public include paths required here ... | ||
} | ||
); | ||
|
||
|
||
PrivateIncludePaths.AddRange( | ||
new string[] { | ||
// ... add other private include paths required here ... | ||
} | ||
); | ||
|
||
|
||
PublicDependencyModuleNames.AddRange( | ||
new string[] | ||
{ | ||
"Core", | ||
// ... add other public dependencies that you statically link with here ... | ||
} | ||
); | ||
|
||
|
||
PrivateDependencyModuleNames.AddRange( | ||
new string[] | ||
{ | ||
"CoreUObject", | ||
"Engine", | ||
"Slate", | ||
"SlateCore", | ||
"Json", | ||
"HoudiniEngine", | ||
"ZoneGraph", | ||
"ToolMenus", | ||
"UnrealEd" | ||
} | ||
); | ||
|
||
|
||
DynamicallyLoadedModuleNames.AddRange( | ||
new string[] | ||
{ | ||
// ... add any modules that your module loads dynamically here ... | ||
} | ||
); | ||
} | ||
} |
Oops, something went wrong.