Jump to content

setting up if functions, for duplicated modules on a procedural house model


danelliff

Recommended Posts

Hi, I am very much a novice to Houdini, at present I am trying to create a a procedurally modelled house the for a scene/environment I am creating

Is there a way I can say/command Houdini to bbox a specific point from a resample node's length to the opposite end of the target geo? Would this need to be an if function in vex or is it possible to write if functions within a node's parameters and channels, eg, resample, transform etc.  hopefully my description below can help clarify my request, thank you for reading, and if you need more clarity please say

many thanks , Dan 

 

houdini_if_function_problem solve_odforce_001.jpg

Link to comment
Share on other sites

I've been trying to find a solution myself, however i am not having much luck

string group []= detailintrinsic(0,"windowgoup");
i@curvelength = npoints(1);
v@fronthouse = getbbox_max(2,"windowgroup");

if (i@curvelength < 1){
@P = v@fronthouse;
}
any help would be much appreciated

 

houdini_if_function_problem solve_odforce_002.JPG

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...