cookie error again

   6359   7   1
User Avatar
Member
479 posts
Joined: Dec. 2009
Offline
Hi, guys,

I ran into cookie error again when trying to boolean a polygon using another geometry.

please refer to the images attached for the problematic result and the result I'm expecting.

can you help to take a look and advise me on how to solve this problem?

Thanks!

(the digital asset files used are also attached)

Attachments:
Building_Extrusion_ZJ_v07_.otl (16.2 KB)
Amsterdam Java Island - normalized v05 -cookie error.hipnc (254.3 KB)
correct cooki result.jpg (129.5 KB)
problematic cooki result.jpg (134.9 KB)
problematic cooki sop.jpg (84.7 KB)

User Avatar
Member
67 posts
Joined: Jan. 2009
Offline
Can't look a the hip-file now, but I would take a look at the normals.
IMHO
Lorenz
User Avatar
Member
8839 posts
Joined: July 2007
Offline
you can try fuse SOP before second input
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
479 posts
Joined: Dec. 2009
Offline
Hi, tamti, I've added a fuse node before the 2nd input of the problematic cookie node, but this still doesn't solve the problem.

I've also tried some of the options of the fuse node, but still can't get the cookie node to produce the right result I want.

Can you help to take a look of the hip I uploaded above and advise me on how to get the cookie node works?

Thank you!
User Avatar
Member
479 posts
Joined: Dec. 2009
Offline
Hi, LFX,

here's the normal of the problematic cookie result.

Can you help to take a look of hip file?

Thank you!

Attachments:
normal of problematic cookie result.png (21.5 KB)

User Avatar
Member
67 posts
Joined: Jan. 2009
Offline
Sry, but I don't get what are you after? The group you want to delete doesn't exist here, and you translate input B down, so there is no intersection with input A.
IMHO
Lorenz
User Avatar
Member
8839 posts
Joined: July 2007
Offline
you are using difficult geometry for cookie, you have many indifidual closed objects, touching at some sides
it's usually better to use just one closed geometry for each input

what i've done here is simple foreach loop which will try to union all groups of the second input to get minimum number of closed geometries
then this cookie will behave more predictable

i've also slightly scaled first input geometry, because it is not for cookie if you are trying to cut along already existing edge (in your case boundaries)

Attachments:
amsterdam_java_island_-_normalized_v05_fix.hipnc (264.5 KB)

Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
479 posts
Joined: Dec. 2009
Offline
Thanks, LFX and tamte!

after I scale the rectangular polygon to be booleaned, the cookie result is correct now.

I guess it's easy to get problematic cookie result when the edges of the polygons input into the cookie node are overlapping……
  • Quick Links