Silhouette from Camera Perspective - Houdini Tutorial
Outlining a mesh as seen by the camera using normal device coordinates (NDC). File: procegen.konstantinmagnus.de/...
Жүктеу.....
Пікірлер: 8
@KonstantinMagnus9 ай бұрын
Make sure to also watch this similar method: kzread.info/dash/bejne/qpqmxcltmcu1lrA.html
@Ayred Жыл бұрын
You could also use @P = fromNDC(cam,@P) after setting P.z to a distance value of let's say 2.0. Then the silhouette is transformed back into the camera view having a distance of 2.0 from your camera. No need for the aspect correction afterwards, though. :)
@syntheticperson8 ай бұрын
Very cool
@kasali2739 Жыл бұрын
cool, something like projection on screen. This is cleanest method I ever seen. Is there a way to make cuts on a geometry using texture? I mean not subdivided geometry that we could vertex split, but single triangle for example?
@luisfoscg Жыл бұрын
cool! this method does run into some issues with complex meshes, triangulate 2d can fail. also have to handle edge cases for holes
@KonstantinMagnus
Жыл бұрын
Yes, you are correct. The hole SOP can perhaps handle inside holes. If triangulating causes problems, you could look into transfering the distance to the flattened mesh to a new grid and do the cutting there.
@adrian-kewell Жыл бұрын
the pig line how to use on the pig head from camera
Пікірлер: 8
Make sure to also watch this similar method: kzread.info/dash/bejne/qpqmxcltmcu1lrA.html
You could also use @P = fromNDC(cam,@P) after setting P.z to a distance value of let's say 2.0. Then the silhouette is transformed back into the camera view having a distance of 2.0 from your camera. No need for the aspect correction afterwards, though. :)
Very cool
cool, something like projection on screen. This is cleanest method I ever seen. Is there a way to make cuts on a geometry using texture? I mean not subdivided geometry that we could vertex split, but single triangle for example?
cool! this method does run into some issues with complex meshes, triangulate 2d can fail. also have to handle edge cases for holes
@KonstantinMagnus
Жыл бұрын
Yes, you are correct. The hole SOP can perhaps handle inside holes. If triangulating causes problems, you could look into transfering the distance to the flattened mesh to a new grid and do the cutting there.
the pig line how to use on the pig head from camera
@khomatech6428
Жыл бұрын
yes absolutely