Wedge Dependencies

   458   2   1
User Avatar
Member
226 posts
Joined: July 2006
Offline
Sorry, but I have so many questions;

Assuming I want to preCache the source of my each wedge for simulation in TOPs to disk .

Will TOPs just read the wedgeIndex value to pull the correct source for correct wedge?

Something like below

Attachments:
wedgedSrc.jpg (66.7 KB)

CG Supervisor / MPC Montreal
*********** https://gumroad.com/timvfx [gumroad.com] *************
Some Coding : https://github.com/tricecold [github.com]
Website : www.timucinozger.com
Reel : www.vimeo.com/user7844693
User Avatar
Staff
529 posts
Joined: Sept. 2012
Offline
No it won't unfortunately. If you want to generate more secondary wedges based on the geometry that was written to disk, you will need to put down a Geometry Import node, set the Work Item Generation to “dynamic”, and the Geometry Source to “upstream result file”, as you are now depending on the bake results of upstream workitems to make determination on how many workitems to spawn downstream.
- Ken Xu
User Avatar
Member
35 posts
Joined: April 2014
Offline
I am having trouble getting this to work. I have geometry written out and based upon this is I want to create @wedge wedges based on how many points it has. I can't upload a scene, but it is something like this

Guide Geometry ROP Geo Output (to find how many points it has)
-
Geometry Import (with work item generation to Dynamic and, Geomtry Source to Upstream Result File, Load Geometry During Cook checked, and pointing to the correct External File Path, and have set Item Index to Upstream Item Index)
-
Wedge driving @wedge (which picks in number of points from the Guide Geometry, and the same file that the Geometry Import is importing)

No matter what it doesnt set the @wedges to number of points in the Guide Geometry. I dont get any errors, just 1 work item.
Everything is set to dynamic.
Edited by Tyler Britton2 - April 16, 2019 13:53:55
  • Quick Links