Search - User list
Full Version: instant mesh on mac
Root » Houdini for Realtime » instant mesh on mac
sascha pisonic
hi everybody,
i never got the instant mesh sop working on a mac. is there anybody who can tell me where i need to point the sop too. or where i have to put the executable instant mesh on a mac envirnment?

thx in regards
AlanZ
Just ran into the same problem. This is what I put into the “Instant Meshes Location” and it worked:


$HOUDINI_USER_PREF_DIR/Instant Meshes.app/Contents/MacOS/Instant Meshes
GSO
Could you make it work on Houdini 18/Mac? (I'm currently on 18.0.566, sidefxlabs 566)
I dropped the “Instant Meshes.app” into the Houdini preferences folder as Alan suggested but the node doesn't work and does not throw any error; on the SOP parameters there's no option to set the source path location.

thx
GSO
Did anyone succeeded installing Instant Meshes on Houdini 18.0.566/mac?
I gen an error and the SOP parameters panel doesn't show the option “Instant Meshes Location”.
What am I doing wrong?

Ambrosiussen
@GS, change the version of the node to be V1 instead of V2. V1 uses an .exe, while V2 does not. To change version go to Assets>Asset Manager, and then in the Configuration tab set the “Asset bar” at the bottom to “Display Menu of All Definitions”. You will now have a dropdown at the top of your Parameter UI to change the version.
GSO
Thanks @Ambrosiussen, that worked 50%

- I did successfully enable V1 and set the path to the Instant Meshes Application (I'm on macOS, and I copied it into the Houdini pref folder) using the same string-path suggested by @AlanZ in a prev post on this thread.

–> $HOUDINI_USER_PREF_DIR/Instant Meshes.app/Contents/MacOS/Instant Meshes
(I'm assuming spaces don't need escape characters in the above string)



- but the mesh is not processed, I don't think Instant Meshes is actually called by the SOP, there is this python node warning.




Hip attached.
GSO
It eventually worked with a clean installation of Houdini 18.0.597, sidefx labs 597 and by NOT dropping the Instant Meshes app in the preferences folder, in my case it was on the Desktop. I also changed the temp folder path.



GSO
quite unhappy with the solution, I tried to load it again from 
$HOUDINI_USER_PREF_DIR/Instant Meshes.app/Contents/MacOS/Instant Meshes  
and kept the obj path to
 
$HIP/TEMP/input_geo.obj
$HIP/TEMP/output_geo.obj

rather then

$TEMP/input_geo.obj
$TEMP/output_geo.obj

it still works. I assume the blocking factor was the “$TEMP” relative path
Midphase
Ambrosiussen
@GS, change the version of the node to be V1 instead of V2. V1 uses an .exe, while V2 does not. To change version go to Assets>Asset Manager, and then in the Configuration tab set the “Asset bar” at the bottom to “Display Menu of All Definitions”. You will now have a dropdown at the top of your Parameter UI to change the version.

Paul, with all due respect, maybe fix your stuff in the first place so we don't have to? What's next, recompile our own code?

It would be nice if OSX users wouldn't keep on being treated like 2nd class citizens. Some of us have very good reasons why we need to work within OSX, and I assure you that we pay the same exact amount of money for Houdini as Linux and Windows users do.
quickytools
If you're using Python3 build and get the following error even after setting the path on an Instant Meshes v1 node
return _hou.Geometry_loadFromFile(self, file_name)
hou.OperationFailed: The attempted operation failed.
Could not read from the specified file

Edit contents of the inner python1 node so the line
numPolys = str(node.parm("poly_count").eval() / 4)
becomes
numPolys = str(int(node.parm("poly_count").eval() / 4))

Works like a charm.
Mark Hanny
so you have to do the following:

Download and copy the InstantMesh.app to $HOUDINI_USER_PREF_DIR

From the menu bar open "Assets -> Asset Manager"
In the Asset Manger Window select the Configuration tab
At of the bottom of the window set the "Asset bar" to "Display Menu of All Definitions"

From the Network Graph select the Labs Instant Meshes Node
In the Labs Instant Meshes Node Parameters
Change the "Asset Name and Path" from "labs::instant_meshes::2.0 to "labs::instant_meshes"

In the Labs Instant Meshes Node Parameters select the "Settings" tab
Change the "Instant Meshes Location" to "$HOUDINI_USER_PREF_DIR/Instant Meshes.app/Contents/MacOS/Instant Meshes"
Change the "Remesh Tmp File" & "Unmeshed Tmp File" to "$HIP/input_geo.obj" & "$HIP/output_geo.obj"
Click the gear icon in Parameter pane and select "Save as Permanent Defaults"

Right click the Labs Instant Meshes Node in the Network Graph and select "Allow Editing of Contents"
Dive into Labs Instant Meshes Node and select the "python1" node
Edit line 10 from "numPolys = str(node.parm("poly_count").eval() / 4)" to "numPolys = str(int(node.parm("poly_count").eval() / 4))"
Dive back up, right click the Labs Instant Meshes Node and select "Version Digital Asset -> Save as..."
Save as a newer version
Endosan
Thank you!

Your detailed descriptions helped me to get instant meshes up and running on MacOS Big Sur with Houdini Indie 18.5.532.

Unfortunately the usage of guide curves is still not possible, right?
Ambrosiussen
Hi,

Quick update on InstantMeshes for Mac... You dont need to change the version of the node manually anymore like @Mark Hanny suggests above. The tool will detect you are on Mac and instantiate the ::1.0 version for you automatically.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB