Hello everyone,
I'm new to Houdini world, I've been following a tutorial of "Junichiro Horikawa", the procedural oil painting .
first part of the project includes bringing an image into comp using a cop2net, then convert it to polygons, process it into points and primitives, then clusters, extracting the outline of clusters using attribWrangle. creating a bbox_size attribWrangle node as well.
while he used compositing node (cop2net) to import the image and scale it, then converted it to polygon, I used a different approach from other tutorial to create a grid then use (attribFromMap)to copy the image over the grid.
second he creates contour lines filling each outline edge, using point distance from outline edge inside each cluster to move the points up the y axis, creating gradual elevations according to distance value.
so he applies pointWrangle using "xyzdist" function with the script :
"float dist = xyzdist(1, @P);
@P.y = dist;"
Problem:
this last node doesn't work, no elevations are created.
any idea what could be the problem ?
tutorial link :
https://www.youtube.com/watch?v=SRHxqlAthi4 [www.youtube.com]