instant mesh on mac
6383 12 2- sascha pisonic
- Member
- 1 posts
- Joined: 3月 2016
- Offline
- AlanZ
- Member
- 41 posts
- Joined: 2月 2018
- Offline
- GSO
- Member
- 8 posts
- Joined: 5月 2020
- Offline
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
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
- Member
- 8 posts
- Joined: 5月 2020
- Offline
- Ambrosiussen
- Member
- 197 posts
- Joined: 7月 2015
- Offline
@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
- Member
- 8 posts
- Joined: 5月 2020
- Offline
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.
- 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
- Member
- 8 posts
- Joined: 5月 2020
- Offline
- GSO
- Member
- 8 posts
- Joined: 5月 2020
- Offline
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
$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
- Member
- 833 posts
- Joined: 1月 2018
- Offline
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.
>>Kays
For my Houdini tutorials and more visit:
https://www.youtube.com/c/RightBrainedTutorials [www.youtube.com]
For my Houdini tutorials and more visit:
https://www.youtube.com/c/RightBrainedTutorials [www.youtube.com]
- quickytools
- Member
- 21 posts
- Joined: 4月 2020
- Offline
If you're using Python3 build and get the following error even after setting the path on an Instant Meshes v1 node
Edit contents of the inner python1 node so the line
becomes
Works like a charm.
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)
numPolys = str(int(node.parm("poly_count").eval() / 4))
Works like a charm.
- Mark Hanny
- Member
- 2 posts
- Joined: 3月 2014
- Offline
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
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
- Member
- 1 posts
- Joined: 9月 2014
- Offline
- Ambrosiussen
- Member
- 197 posts
- Joined: 7月 2015
- Offline
-
- Quick Links