window tool: automatic boolean and placement?

   1295   11   2
User Avatar
Member
547 posts
Joined: April 2017
Offline
Hi!

I've seen a video where somebody would click on a surface and it would automatically boolean the wall and place the window there.

I've got a window setup and I can connect the boolean geo to a null and the main window to another null but how can houdini know that “null_A” should be booleaned and “null_B” should just be placed there?

Thanks.

-Olivier
User Avatar
Staff
3401 posts
Joined: July 2005
Offline
link to the video?
Michael Goldfarb | www.odforce.net
Senior Technical Director
SideFX
www.sidefx.com
User Avatar
Member
547 posts
Joined: April 2017
Offline
Ah! I just found it again!

https://www.youtube.com/watch?v=xWKCJswp_DQ [www.youtube.com]

It's not so much about doing the click on the wall to place the window, it's more about having the boolean box make the hole, having the window geo in the hole that I'm interested in knowing.

-Olivier
User Avatar
Staff
3401 posts
Joined: July 2005
Offline
this was done with scriping/hda - so given the right input (polygon wall) it would do the right things - find the bounding box, find the ‘ground’ etc
Michael Goldfarb | www.odforce.net
Senior Technical Director
SideFX
www.sidefx.com
User Avatar
Member
175 posts
Joined: Feb. 2017
Offline
I posted my solution here…is that what you're after ?

http://forums.odforce.net/topic/32668-negative-space-hda/?tab=comments#comment-179753 [forums.odforce.net]

I did this coz Boolean (well everything really) works on REAL tangible geometry…a ‘hole’ is nothingness…how can you work with nothingness ?
User Avatar
Member
467 posts
Joined: Dec. 2006
Offline
https://www.sidefx.com/forum/topic/45287/ [www.sidefx.com]

:-?
But be aware that there is used the “old” boolean in this dummy tool.
It was only a dummy ;-)
Hopefully it gives you some ideas.
Edited by matthias_k - March 3, 2018 15:59:56
English is not my native language, sorry in advance for any misunderstanding :-)
User Avatar
Member
547 posts
Joined: April 2017
Offline
Ah!

I forgot to check back!

Thanks matthias_k. It's a very good file to learn from!

-Olivier
User Avatar
Member
16 posts
Joined: April 2018
Offline
Hi, i downloaded matthias file but didnt understand anything, there is a old ( i guess ) boolean node named “cookie” but how exacly it should work? my main intention is to use it in houdini engine in unreal engine actually. i just want when i intersect to HDAs i want window or door to open a hole for itself. ofc wall is HDA too.
User Avatar
Member
467 posts
Joined: Dec. 2006
Offline
You can simply replace the cookie with a boolean tool.
Attached is a version with boolean tool.

Main idea: place a point inside a wall,
then the tool should detect the front/back poly
of the wall via ray sop ,
create a box and cut this box out then.

It has some attributes, too, to randomize/control the window options.

Feel free to ask.
Edited by matthias_k - May 15, 2018 04:44:16

Attachments:
Windows.png (482.9 KB)
KappenbergBuildingTools.hda (55.5 KB)
wall_with_windows.hip (111.6 KB)

English is not my native language, sorry in advance for any misunderstanding :-)
User Avatar
Member
16 posts
Joined: April 2018
Offline
matthias_k
You can simply replace the cookie with a boolean tool.
Attached is a version with boolean tool.

Main idea: place a point inside a wall,
then the tool should detect the front/back poly
of the wall via ray sop ,
create a box and cut this box out then.

It has some attributes, too, to randomize/control the window options.

Feel free to ask.


thank you so much, i still colundt understand logtic behind it and couldnt make it work. network is too overwhelming for me and i dont know what to look but if i understand correct, since it has subnetwork input as “wall”, its not possible to make that boolean auto-detect if it intersects with anything and auto-boolean it. i mean i have to do it manually, so it will not work in unreal engine through houdini engine anyway right? and i think there is no way? O_o
User Avatar
Member
467 posts
Joined: Dec. 2006
Offline
Maybe easier to understand…

Attachments:
simple_cutout.hip (87.7 KB)

English is not my native language, sorry in advance for any misunderstanding :-)
User Avatar
Member
16 posts
Joined: April 2018
Offline
matthias_k
Maybe easier to understand…

thank you so much, will dig it
  • Quick Links