NNois
- Can we scatter (in softimage generate sample set) in a VOPSOP other than using a scatter SOP.
addpoint(int geo, vector pos);
From that scattering is possible, but tedious* compared to ScatterSOP.
- Is there an equivalent of the copy SOP on a VOPSOP ?
There isn't. Generally speaking you shouldn't be trying to match ICE to VOP concepts, but rather ICE to entire SOP context. So in terms of CopySOP usual workflow is to make all math in VEX (VOPSOP, attribWranger, PointWrangler whatever), and send it to CopySOP for execution.
* - something like:
for (int x = 0; x < primcount; x++) // primcount to be provided
{
for(int y = 0; y < density; y++) // user's parm density
{
vector pos = 0;
float seed = random(y)*1000;
vector uv = random(x*seed);
// alternatively unified distributed randoms:
// vector uv = random_sobol(x, y);
pos = primuv(1, “P”, x, uv); // sample P of second VOP input at random uv
addpoint(geoself(), pos);
}
}