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
PDG and Wrap3 command line utility
4123 2 0- Vasilis Triantafyllou
- Member
- 32 posts
- Joined: Jan. 2015
- Offline
- BrookeA
- Staff
- 387 posts
- Joined: Aug. 2017
- Offline
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]
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]
Edited by BrookeA - Jan. 31, 2020 13:51:17
- Vasilis Triantafyllou
- Member
- 32 posts
- Joined: Jan. 2015
- Offline
-
- Quick Links