I’m really hyped for your Houdini Engine - Blender solution! Thank you for this great project! :)
Unfortunately it crashes when I try to load the library.hda effect after successfully importing “MfxHoudini-v1.0.0.ofx”.
using your blender build “Blender-OpenMeshEffect-210204-v0.12.0-Win64” and using Houdini 18.5.499 Indi Version. This means the .hda file is by default an .hdalc file and is not found under effects. I renamed it to .hda manually and it is executing correctly when opened by itself and then also selectable as effect in the modifier.
System Environment Variable is set to “X:\Programme\Houdini 18.5.499\bin\”
The Houdini Asset Setup is a poly extrude and a poly bevel on a box, similar to your youtube example.
Best regards!
edit: I tried some more an found out that the crash also occurs with MfxVTK from tkarabela when choosing the effect. Using the older Version “Blender-OpenMeshEffect-201025-v0.11.1-Win64” with 2.83 MfxVTK seems to work, but MfxHoudini still crashes with another error and no txt file. Console Log at the bottom.
Here is the console log v0.12.0:
[…]
Loading Houdini library D:\Houdini_Projects\HoudiniBlenderBridge\library.hda...
Releasing Houdini Session
Found 1 plugins.
Plugin #0: Sop/Vica_subnet1 (API OfxMeshEffectPluginAPI, version 1)
Plugin #0 in binary is #0 in plugin registry
Found 1 supported plugins.
Loading Sop/Vica_subnet1 to RNA
At write, extra inputs are:
updateDepsgraph
Loading Sop/Vica_subnet1 to RNA
Loading OFX plugin D:\Houdini_Projects\HoudiniBlenderBridge\MfxHoudini-v1.0.0.ofx
[get_registry] reusing registry for D:\Houdini_Projects\HoudiniBlenderBridge\MfxHoudini-v1.0.0.ofx
No selected plug-in effect
failed to get effect instance
Getting Global Host; reference counter will be set to 1.
(Allocating new host data)
Loading Houdini library D:\Houdini_Projects\HoudiniBlenderBridge\library.hda...
OfxActionLoad action returned status 0 (kOfxStatOK)
Defining input 'OfxMeshMainInput' on OfxMeshEffectHandle 0000018B871A76E0
Warning: PROP_CTX_OTHER is depreciated.
Error : EXCEPTION_ACCESS_VIOLATION
Address : 0x00007FF6E3872E50
Module : blender.exe
Thread : 00001284
Writing: C:\Users\Vica\AppData\Local\Temp\blender.crash.txt
OpenMeshEffectModifier: initData.
OpenMeshEffectModifier: initData.
OpenMeshEffectModifier: copyData.
== mfx_Modifier_reload_effect_info on data 000001B9F3EF44A8
== ensure_runtime on data 000001B9F3EF44A8
ERROR (bke.modifier): E:\SourceCode\blender\OpenMeshEffectForBlender\source\blender\blenkernel\intern\modifier.c:409 modifier_setError: Could not load ofx plugins!
==/ ensure_runtime
==/ mfx_Modifier_reload_effect_info
OpenMeshEffectModifier: freeData.
OpenMeshEffectModifier: applyModifier.
== mfx_Modifier_do on data 000001B9F3EFCC98
== ensure_runtime on data 000001B9F3EFCC98
ERROR (bke.modifier): E:\SourceCode\blender\OpenMeshEffectForBlender\source\blender\blenkernel\intern\modifier.c:409 modifier_setError: Could not load ofx plugins!
==/ ensure_runtime
failed to get effect instance
==/ mfx_Modifier_do
== mfx_Modifier_on_plugin_changed on data 000001B9F3EF44A8
== mfx_Modifier_reload_effect_info on data 000001B9F3EF44A8
== ensure_runtime on data 000001B9F3EF44A8
Loading OFX plugin D:\Houdini_Projects\HoudiniBlenderBridge\MfxHoudini-v1.0.0.ofx
[get_registry] NEW registry for D:\Houdini_Projects\HoudiniBlenderBridge\MfxHoudini-v1.0.0.ofx
Loading OFX plug-ins from D:\Houdini_Projects\HoudiniBlenderBridge\MfxHoudini-v1.0.0.ofx.
Loading Houdini library D:\Houdini_Projects\HoudiniBlenderBridge\library.hda...
Releasing Houdini Session
Found 1 plugins.
Plugin #0: Sop/Vica_subnet1 (API OfxMeshEffectPluginAPI, version 1)
Plugin #0 in binary is #0 in plugin registry
Found 1 supported plugins.
==/ ensure_runtime
Loading Sop/Vica_subnet1 to RNA
==/ mfx_Modifier_reload_effect_info
==. mfx_Modifier_on_asset_changed on data 000001B9F3EF44A8
== ensure_runtime on data 000001B9F3EF44A8
==/ ensure_runtime
==/ mfx_Modifier_on_asset_changed
==/ mfx_Modifier_on_asset_changed on data 000001B9F3EF44A8
==/ mfx_Modifier_on_plugin_changed
OpenMeshEffectModifier: freeData.
OpenMeshEffectModifier: initData.
OpenMeshEffectModifier: copyData.
== mfx_Modifier_reload_effect_info on data 000001B9F3EF44A8
== ensure_runtime on data 000001B9F3EF44A8
==/ ensure_runtime
Loading Sop/Vica_subnet1 to RNA
==/ mfx_Modifier_reload_effect_info
OpenMeshEffectModifier: freeData.
OpenMeshEffectModifier: applyModifier.
== mfx_Modifier_do on data 000001B9F3EFD5A8
== ensure_runtime on data 000001B9F3EFD5A8
Loading OFX plugin D:\Houdini_Projects\HoudiniBlenderBridge\MfxHoudini-v1.0.0.ofx
[get_registry] reusing registry for D:\Houdini_Projects\HoudiniBlenderBridge\MfxHoudini-v1.0.0.ofx
==/ ensure_runtime
No selected plug-in effect
failed to get effect instance
==/ mfx_Modifier_do
==. mfx_Modifier_on_asset_changed on data 000001B9F3EF44A8
== ensure_runtime on data 000001B9F3EF44A8
Getting Global Host; reference counter will be set to 1.
(Allocating new host data)
Loading Houdini library D:\Houdini_Projects\HoudiniBlenderBridge\library.hda...
OfxActionLoad action returned status 0 (kOfxStatOK)
Defining input 'OfxMeshMainInput' on OfxMeshEffectHandle 000001B980974000
Defining input 'OfxMeshMainOutput' on OfxMeshEffectHandle 000001B980974000
Defining parameter mfx_dist
OfxActionDescribe action returned status 0 (kOfxStatOK)
OfxActionCreateInstance action returned status 0 (kOfxStatOK)
==/ ensure_runtime
==/ mfx_Modifier_on_asset_changed on data 000001B9F3EF44A8
OpenMeshEffectModifier: freeData.
OpenMeshEffectModifier: initData.
OpenMeshEffectModifier: copyData.
== mfx_Modifier_reload_effect_info on data 000001B9F3EF44A8
== ensure_runtime on data 000001B9F3EF44A8
==/ ensure_runtime
Loading Sop/Vica_subnet1 to RNA
==/ mfx_Modifier_reload_effect_info
OpenMeshEffectModifier: freeData.
OpenMeshEffectModifier: applyModifier.
== mfx_Modifier_do on data 000001B9F3F002F8
== ensure_runtime on data 000001B9F3F002F8
Getting Global Host; reference counter will be set to 2.
Defining input 'OfxMeshMainInput' on OfxMeshEffectHandle 000001B98097F680
Defining input 'OfxMeshMainOutput' on OfxMeshEffectHandle 000001B98097F680
Defining parameter mfx_dist
OfxActionDescribe action returned status 0 (kOfxStatOK)
OfxActionCreateInstance action returned status 0 (kOfxStatOK)
==/ ensure_runtime
OfxMeshEffectActionIsIdentity action returned status 14 (kOfxStatReplyDefault)
Suite method call 'propertySuite->propGetInt(effectProperties, kOfxPropHoudiniNodeId, 0, &hr->node_id)' returned status 9 (kOfxStatErrBadHandle)
Converting blender mesh into ofx mesh...
DEBUG: Found 8 points in input mesh
Input: NOT converting ofx mesh
Houdini: cooking root node...
Houdini cooking state: 0
Node type: 2
Output: NOT converting blender mesh
Handling SOP #0.
Geo 'Vica_subnet1' has 1 parts and has type 0.
Part #0: type 0, 32 points, 120 vertices, 30 faces.
DEBUG: Allocating output mesh data: 32 points, 120 vertices, 30 faces
Loading SOP #0.
Part #0: type 0, 32 points, 120 vertices, 30 faces.
I’m really hyped for your Houdini Engine - Blender solution! Thank you for this great project! :)
Unfortunately it crashes when I try to load the library.hda effect after successfully importing “MfxHoudini-v1.0.0.ofx”.
using your blender build “Blender-OpenMeshEffect-210204-v0.12.0-Win64” and using Houdini 18.5.499 Indi Version. This means the .hda file is by default an .hdalc file and is not found under effects. I renamed it to .hda manually and it is executing correctly when opened by itself and then also selectable as effect in the modifier.
System Environment Variable is set to “X:\Programme\Houdini 18.5.499\bin\”
The Houdini Asset Setup is a poly extrude and a poly bevel on a box, similar to your youtube example.
Best regards!
edit: I tried some more an found out that the crash also occurs with MfxVTK from tkarabela when choosing the effect. Using the older Version “Blender-OpenMeshEffect-201025-v0.11.1-Win64” with 2.83 MfxVTK seems to work, but MfxHoudini still crashes with another error and no txt file. Console Log at the bottom.
Here is the console log v0.12.0: […]
[…]
And the blender.crash.txt v0.12.0
Here the other Console Log from v0.11.1: