Search - User list
Full Version: PDG and Wrap3 command line utility
Root » PDG/TOPs » PDG and Wrap3 command line utility
Vasilis Triantafyllou
Hi,
I am trying to take advantage of the procedural dependency graph in order to parallelize a command line utility from wrap3
which lives here
https://www.russian3dscanner.com/ [www.russian3dscanner.com]
I am primarily interested in utilizing the command line interface which is fairly straightforward in its use and lives here:
https://www.russian3dscanner.com/docs/Wrap3/CommandLineInterface/CommandLineInterface.html [www.russian3dscanner.com]
the way i set it up is to have an attribute create in tops which creates a counter

i then pass the command:
wrap3cmd compute “D:\projection_experimental.wrap” -s `@counter`
to a generic generator like shown

which seems to compute like shown

The problem is that i only see one geometry file generated as if somehow it is not respecting the counter in order to write out the sequence. Please note that when executing the command from a dos command prompt it writes out the geometry file numbered according to the “counter” value
Any help would be greatly appreciated.
many thanks
BrookeA
Hi there,

In this instance you do not need the attribute create node. You can simply use the generic generator node and change “@counter” to “@pdg_index”. The 100 work items generated by the Generic Generator node will be indexed from 0…99 so in this use case you can directly use the @pdg_index attribute in your command string.

Here is some more information about using attributes: https://www.sidefx.com/docs/houdini/tops/attributes.html [www.sidefx.com]
Vasilis Triantafyllou
OMG it worked perfect thanks so much for the prompt reply and the solution!
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