Mat Suarez

Mat Suarez

About Me

EXPERTISE
Gamedev
INDUSTRY
Gamedev

Connect

LOCATION
United States

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Python event callback when Houdini fully loaded Nov. 22, 2021, 5:11 a.m.

Is there a Hython equivalent of this?
In Hython this throws the error: "ImportError: hdefereval is only available in a graphical Houdini"

Terrain Heightfield Masks flatten... April 25, 2017, 12:16 p.m.

Thanks for the reply Patar! I'll see about setting up a simplified file and post it here, that way we can benefit others who might come across this post

Cheers!
-Mat

(Edit: file added)

Terrain Heightfield Masks flatten... April 24, 2017, 1:20 p.m.

Hey Patar, your response was very close to what I'm also looking to do however in my case I do not have the elevation of the plots I am trying to flatten. What I have is a triangulated mesh, created from a point cloud. I'm using a point VOP to select and delete the points beneath the shapes I would like to flatten. Using remove point within the point VOP creates holes in the traingulated mesh beneath each shape. I use another triangulate node after the VOP to cap the holes created. What this does is effectively flatten each shape's corresponding plot on the triangulated point cloud to the elevation of the seam left after deleting the selected points. Whereas in your example you are flattening the terrain to the elevation determined by the building shape (in my case I am attempting to do the opposite, my building shapes are flat in Y). The reason I am doing this is because my scan includes building heights, so deleting the mesh points corresponding to the building shapes gets me a terrain mesh without the buildings, or an approximation of a ‘bare earth’ mesh. My current implementation works correctly for my needs however using two triangulate nodes on a very large mesh results in long cook times. My thought in replacing with height fields is that I could get significantly faster and similar results. Any tips or tricks in this regard are much appreciated!

I appologize for the wordy explination but I can not post files or screen grabs due to NDA. If things aren't clear enough I can create a simple hip file demonstrating my question.

Thank you,
-Mat