trace order from COP2net

   3642   3   0
User Avatar
Member
19 posts
Joined: 6月 2011
Offline
Hi people, I just started to mess up with COP2net, got a question about the order of the trace SOP.

say I put a bunch of spuare shape compositing nodes side by side, and simply trace this COP2net to get polygon mesh. like in the image.

The thing bugs me is, what determines the order of tracing? the primitive numbers of the traced polygon is in a different sequence than the order of the shape nodes, which ruins the goal of visualization in my particular project.

and I didn't find any parameter to tweak the orders…

any hint?
thanks

Attachments:
cop2netOrder.jpg (97.8 KB)
copTraceOrder.hip (75.1 KB)

User Avatar
Member
8837 posts
Joined: 7月 2007
Offline
you can use Sort SOP in Primitive mode to reorder traced primitives any way you want (when sorting by X, Y, Z, Proximity or Along Vector, primitive's centroid is determining)
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
スタッフ
5212 posts
Joined: 7月 2005
Offline
Essentially, when you combine all the shapes into an image, you lose the ordering information (it's now just an RGBA image to the Trace SOP). If you want to maintain a specific ordering, you could trace each shape node individually using a number of Trace SOPs, then use a merge SOP to combine the trace SOPs in the order you want.
User Avatar
Member
19 posts
Joined: 6月 2011
Offline
thanks guys , I'll just use a sort SOP
  • Quick Links